2025-06-04 09:49.46: New job: test robur-coop/ocaml-h1 https://github.com/robur-coop/ocaml-h1.git#refs/pull/8/head (0ca77bf70522c6b2d3c9be775e2e9f559c1882cc) (linux-x86_64:debian-12-4.11_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.11@sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/robur-coop/ocaml-h1.git" && cd "ocaml-h1" && git fetch origin "refs/pull/8/head" && git reset --hard 0ca77bf7
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.11@sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7
# debian-12-4.11_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 h1.opam h1-lwt-unix.opam ./
RUN opam pin add -yn h1.dev './' && \
opam pin add -yn h1-lwt-unix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base sexplib0.v0.15.1 stdio.v0.15.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y h1.dev h1-lwt-unix.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-06-04 09:49.46: Using cache hint "robur-coop/ocaml-h1-ocaml/opam:debian-12-ocaml-4.11@sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7-debian-12-4.11_opam-2.3-7592d854266c02235d38f2ffbc9c21f2"
2025-06-04 09:49.46: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.11@sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7)
(comment debian-12-4.11_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src h1.opam h1-lwt-unix.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn h1.dev './' && \
\nopam pin add -yn h1-lwt-unix.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base sexplib0.v0.15.1 stdio.v0.15.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y h1.dev h1-lwt-unix.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-06-04 09:49.46: Waiting for resource in pool OCluster
2025-06-04 09:49.47: Waiting for worker…
2025-06-04 09:49.48: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 0ca77bf merge websocketaf
(from ocaml/opam:debian-12-ocaml-4.11@sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.11@sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7' locally
docker.io/ocaml/opam@sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7: Pulling from ocaml/opam
addb59789a79: Pulling fs layer
addb59789a79: Waiting
addb59789a79: Verifying Checksum
addb59789a79: Download complete
addb59789a79: Pull complete
Digest: sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7
Status: Downloaded newer image for ocaml/opam@sha256:3179e4bef0ded3ab3cc77c8853b86378bf14e1315b9a54bd287596b04599b4b7
2025-06-04 09:49.49 ---> using "49b25cdcf868bbacada17860c3312d5214218a5f56d70df22ce66fb5fae9ec75" from cache
/: (comment debian-12-4.11_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-04 09:49.49 ---> using "de0fae41e8b87426c50bfa254d505d0329e459027d4b953248032bd5fdbde4f9" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-04 09:49.49 ---> using "40c3623aae08debdb4639f8150df0f40824a290a0fd363edb6cc0dd196014d94" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.11.2
2.3.0
2025-06-04 09:49.49 ---> using "1649a393ac104b19a84f8de3dd9d87c178f018ab2941ca81d997e7d723da0f74" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-04 09:49.49 ---> using "23e961db80fb4fb93568cd1395d858f65f79b2d7e070f9a302a8c7fcd8a53ccb" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 2df846cb67d6f96ae4fced111519ff4ae27d19ae || git fetch origin master) && git reset -q --hard 2df846cb67d6f96ae4fced111519ff4ae27d19ae && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
0d013e603b..c037675bed master -> origin/master
2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-06-04 09:49.49 ---> using "0e41c42eff1358a0891d00a162c00818f99adf851a7d21a8ca08f226f5db5ab6" from cache
/src: (copy (src h1.opam h1-lwt-unix.opam) (dst ./))
2025-06-04 09:49.49 ---> saved as "02bf35ed1c31ecf60e300d76dfc4d59177834aebe6bdc5457101c0629217c97f"
/src: (run (network host)
(shell "opam pin add -yn h1.dev './' && \
\nopam pin add -yn h1-lwt-unix.dev './'"))
[h1.dev] synchronised (file:///src)
h1 is now pinned to file:///src (version dev)
[h1-lwt-unix.dev] synchronised (file:///src)
h1-lwt-unix is now pinned to file:///src (version dev)
2025-06-04 09:49.52 ---> saved as "1f5ec4b9aefe1eadf304fa25eedda1ef8b19800c201a04d233a52e29fa0d926a"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-04 09:49.52 ---> saved as "b9c16d8f03dd9019eb0044a0eeda851bbbe137935ffcde29d87f40d6f359fcd2"
/src: (env DEPS "alcotest.1.9.0 angstrom.0.16.1 astring.0.8.5 base.v0.15.1 base-bigarray.base base-bytes.base base-threads.base base-unix.base bigstringaf.0.10.0 cmdliner.1.3.0 cppo.1.8.0 csexp.1.5.2 dune.3.19.0 dune-configurator.3.19.0 faraday.0.8.2 faraday-lwt.0.8.2 faraday-lwt-unix.0.8.2 fmt.0.10.0 httpun-types.0.2.0 lwt.5.9.1 ocaml.4.11.2 ocaml-base-compiler.4.11.2 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.11.0 seq.base sexplib0.v0.15.1 stdio.v0.15.0 stdlib-shims.0.3.0 topkg.1.0.8 uutf.1.0.4")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y h1.dev h1-lwt-unix.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8793 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [265 kB]
- Fetched 9312 kB in 2s (4860 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[h1.dev] synchronised (file:///src)
[h1-lwt-unix.dev] synchronised (file:///src)
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-06-04 09:50.04 ---> saved as "d08f80e6539e35e2d6ab92d3b03a22123a9cafe7a8a9c1d26c1fd72e3c4984b6"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.11.2).
[NOTE] Package ocaml is already installed (current version is 4.11.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 28 packages
- install alcotest 1.9.0
- install angstrom 0.16.1
- install astring 0.8.5
- install base v0.15.1
- install base-bytes base
- install bigstringaf 0.10.0
- install cmdliner 1.3.0
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.19.0
- install dune-configurator 3.19.0
- install faraday 0.8.2
- install faraday-lwt 0.8.2
- install faraday-lwt-unix 0.8.2
- install fmt 0.10.0
- install httpun-types 0.2.0
- install lwt 5.9.1
- install ocaml-syntax-shims 1.0.0
- install ocamlbuild 0.16.1
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
- install re 1.11.0
- install seq base
- install sexplib0 v0.15.1
- install stdio v0.15.0
- install stdlib-shims 0.3.0
- install topkg 1.0.8
- install uutf 1.0.4
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5 (cached)
-> retrieved angstrom.0.16.1 (cached)
-> retrieved alcotest.1.9.0 (cached)
-> retrieved base.v0.15.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved cmdliner.1.3.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved faraday.0.8.2, faraday-lwt.0.8.2, faraday-lwt-unix.0.8.2 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved httpun-types.0.2.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved re.1.11.0 (cached)
-> retrieved sexplib0.v0.15.1 (cached)
-> retrieved stdio.v0.15.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)
-> installed cmdliner.1.3.0
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed astring.0.8.5
-> installed dune.3.19.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed re.1.11.0
-> installed sexplib0.v0.15.1
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed alcotest.1.9.0
-> installed dune-configurator.3.19.0
-> installed bigstringaf.0.10.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed httpun-types.0.2.0
-> installed lwt.5.9.1
-> installed faraday-lwt.0.8.2
-> installed faraday-lwt-unix.0.8.2
-> installed base.v0.15.1
-> installed stdio.v0.15.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-04 09:50.45 ---> saved as "7f2e8ed950d88293f7d18188df4de974d9196252c741537176f89e33f2c864eb"
/src: (copy (src .) (dst /src))
2025-06-04 09:50.46 ---> saved as "dbd729ac948ed9e0cac098bc63bec84131e77d35670816fc86869bda0a20c436"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "lib/dune", line 5, characters 20-26:
5 | angstrom faraday base64 bigstringaf httpun-types)
^^^^^^
Error: Library "base64" not found.
-> required by library "h1" in _build/default/lib
-> required by _build/default/lib/.h1.objs/byte/h1.cmi
-> required by alias lib/check
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-04 09:50.47: Job failed: Failed: Build failed