Organisationsdinosaurebobacc99b (main)debian-12-4.14_x86_32_opam-2.3

debian-12-4.14_x86_32_opam-2.3

Logs

Show full logs
2025-06-19 03:11.18: New job: test dinosaure/bob https://github.com/dinosaure/bob.git#refs/heads/main (acc99beaaab497a69c55b296ac7f850d3cb0033c) (linux-x86_64:debian-12-4.14_x86_32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:8f174c2eaa9caa1f544e1b4db815a3a6a75caf53753aeaaac9dc35168ba32a25
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/dinosaure/bob.git" -b "main" && cd "bob" && git reset --hard acc99bea
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:8f174c2eaa9caa1f544e1b4db815a3a6a75caf53753aeaaac9dc35168ba32a25
# debian-12-4.14_x86_32_opam-2.3
USER 1000:1000
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 9053e04cbc484e14d2daf65005ad40b5906f5e21 || git fetch origin master) && git reset -q --hard 9053e04cbc484e14d2daf65005ad40b5906f5e21 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 com.opam bob.opam bob-web.opam ./
RUN opam pin add -yn com.dev './' && \
    opam pin add -yn bob.dev './' && \
    opam pin add -yn bob-web.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="angstrom.0.16.1 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmarkit.0.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 stringext.1.6.0 syndic.1.7.0 topkg.1.0.8 uri.4.4.0 uuidm.0.9.10 xmlm.1.4.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y bob-web.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=bob-web @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-06-19 03:11.18: Using cache hint "dinosaure/bob-ocaml/opam:debian-12-ocaml-4.14@sha256:8f174c2eaa9caa1f544e1b4db815a3a6a75caf53753aeaaac9dc35168ba32a25-debian-12-4.14_x86_32_opam-2.3-b74514fde885a2933af8b02713c5b66f"
2025-06-19 03:11.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:8f174c2eaa9caa1f544e1b4db815a3a6a75caf53753aeaaac9dc35168ba32a25)
 (comment debian-12-4.14_x86_32_opam-2.3)
 (user (uid 1000) (gid 1000))
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 9053e04cbc484e14d2daf65005ad40b5906f5e21 || git fetch origin master) && git reset -q --hard 9053e04cbc484e14d2daf65005ad40b5906f5e21 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src com.opam bob.opam bob-web.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn com.dev './' && \
             \nopam pin add -yn bob.dev './' && \
             \nopam pin add -yn bob-web.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './dune-project'"))
 (env DEPS "angstrom.0.16.1 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmarkit.0.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 stringext.1.6.0 syndic.1.7.0 topkg.1.0.8 uri.4.4.0 uuidm.0.9.10 xmlm.1.4.0")
 (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 bob-web.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 --only-packages=bob-web @install @check @runtest && rm -rf _build"))
)

2025-06-19 03:11.18: Waiting for resource in pool OCluster
2025-06-19 03:11.18: Waiting for worker…
2025-06-19 03:14.17: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at acc99be Merge pull request #81 from dinosaure/happy-eyeballs-args

(from ocaml/opam:debian-12-ocaml-4.14@sha256:8f174c2eaa9caa1f544e1b4db815a3a6a75caf53753aeaaac9dc35168ba32a25)
2025-06-19 03:14.17 ---> using "989156f8140a137d7545562617a9eaa57a252fc70f0a355146ccdd648c708345" from cache

/: (comment debian-12-4.14_x86_32_opam-2.3)

/: (user (uid 1000) (gid 1000))

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (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-19 03:14.17 ---> using "69a35d24fad9321e038745078e1478e7cb13bfa0f7908966a15e91bc3a7e66ab" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-19 03:14.17 ---> using "e6028f3402f08024618356c232a5c8463d5326778e17d053b3b732199dc4796a" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-19 03:14.17 ---> using "655daacc11a0aca282f2da1be4916b6af5f49f89791f29ca9c34fe42323c39f5" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-06-19 03:14.17 ---> using "06b0e7ac33f2211c624c8f6d63923c12170a43d56972ad42ed46a6c0a90c00df" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 9053e04cbc484e14d2daf65005ad40b5906f5e21 || git fetch origin master) && git reset -q --hard 9053e04cbc484e14d2daf65005ad40b5906f5e21 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c7269f729a..d2b8b1c720  master     -> origin/master
9053e04cbc Merge pull request #28014 from dinosaure/release-syndic-v1.7.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-19 03:14.17 ---> using "65c16bce67fb1174ee4309cef8f1f106f5b607dcfc88286f87b141968a35fa52" from cache

/src: (copy (src com.opam bob.opam bob-web.opam) (dst ./))
2025-06-19 03:14.17 ---> using "499f3955e392d6adee108ab31004deadea044f7e940a64075a3f96aac76c2675" from cache

/src: (run (network host)
           (shell  "opam pin add -yn com.dev './' && \
                  \nopam pin add -yn bob.dev './' && \
                  \nopam pin add -yn bob-web.dev './'"))
Package com does not exist, create as a NEW package? [y/n] y
[com.dev] synchronised (file:///src)
The following additional pinnings are required by com.dev:
  - spoke.dev at git+https://github.com/dinosaure/spoke.git#eda61bb0c2671f3eaaac9f0f0ffa8423b3e63c98
  - mirage-crypto.2.0.0 at git+https://github.com/dinosaure/mirage-crypto.git#24e20a0681b221954f7bac9dc76559007aaeb09a
  - mirage-crypto-pk.2.0.0 at git+https://github.com/dinosaure/mirage-crypto.git#24e20a0681b221954f7bac9dc76559007aaeb09a
  - mirage-crypto-ec.2.0.0 at git+https://github.com/dinosaure/mirage-crypto.git#24e20a0681b221954f7bac9dc76559007aaeb09a
  - mirage-crypto-rng.2.0.0 at git+https://github.com/dinosaure/mirage-crypto.git#24e20a0681b221954f7bac9dc76559007aaeb09a
Pin and install them? [y/n] y
[spoke.dev] synchronised (no changes)
spoke is now pinned to git+https://github.com/dinosaure/spoke.git#eda61bb0c2671f3eaaac9f0f0ffa8423b3e63c98 (version dev)
[mirage-crypto.2.0.0] synchronised (no changes)
mirage-crypto is now pinned to git+https://github.com/dinosaure/mirage-crypto.git#24e20a0681b221954f7bac9dc76559007aaeb09a (version 2.0.0)
[mirage-crypto-pk.2.0.0] synchronised (no changes)
mirage-crypto-pk is now pinned to git+https://github.com/dinosaure/mirage-crypto.git#24e20a0681b221954f7bac9dc76559007aaeb09a (version 2.0.0)
[mirage-crypto-ec.2.0.0] synchronised (no changes)
mirage-crypto-ec is now pinned to git+https://github.com/dinosaure/mirage-crypto.git#24e20a0681b221954f7bac9dc76559007aaeb09a (version 2.0.0)
[mirage-crypto-rng.2.0.0] synchronised (no changes)
mirage-crypto-rng is now pinned to git+https://github.com/dinosaure/mirage-crypto.git#24e20a0681b221954f7bac9dc76559007aaeb09a (version 2.0.0)
com is now pinned to file:///src (version dev)
Package bob does not exist, create as a NEW package? [y/n] y
[bob.dev] synchronised (file:///src)
bob is now pinned to file:///src (version dev)
Package bob-web does not exist, create as a NEW package? [y/n] y
[bob-web.dev] synchronised (file:///src)
bob-web is now pinned to file:///src (version dev)
2025-06-19 03:14.17 ---> using "80f049adce31981ed0a7392084e79f580d08b0e890d0df1e55ba4f56ee00d763" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-19 03:14.17 ---> using "a57ce229fd34dca7d5f937f699d2192d83133b0a33e205a7639ded7eae151af1" from cache

/src: (env DEPS "angstrom.0.16.1 base-bigarray.base base-threads.base base-unix.base bigstringaf.0.10.0 cmarkit.0.3.0 csexp.1.5.2 dune.3.19.1 dune-configurator.3.19.1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ptime.1.2.0 stringext.1.6.0 syndic.1.7.0 topkg.1.0.8 uri.4.4.0 uuidm.0.9.10 xmlm.1.4.0")

/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 bob-web.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- 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-security bookworm-security/main i386 Packages [260 kB]
- Fetched 364 kB in 0s (839 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bob-web.dev] synchronised (file:///src)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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-19 03:14.17 ---> using "36c4528bf17d6d9360d359af920d1d83b6647d29d9a866ae9ddb3cc26205657e" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.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 16 packages
  - install angstrom           0.16.1
  - install bigstringaf        0.10.0
  - install cmarkit            0.3.0
  - install csexp              1.5.2
  - install dune               3.19.1
  - install dune-configurator  3.19.1
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install ptime              1.2.0
  - install stringext          1.6.0
  - install syndic             1.7.0
  - install topkg              1.0.8
  - install uri                4.4.0
  - install uuidm              0.9.10
  - install xmlm               1.4.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved cmarkit.0.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved syndic.1.7.0  (cached)
-> retrieved uuidm.0.9.10  (cached)
-> retrieved xmlm.1.4.0  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed uuidm.0.9.10
-> installed ptime.1.2.0
-> installed xmlm.1.4.0
-> installed cmarkit.0.3.0
-> installed dune.3.19.1
-> installed stringext.1.6.0
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed dune-configurator.3.19.1
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed syndic.1.7.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-19 03:15.14 ---> saved as "206e0ca9d0688ffc78479d250fa056a452146d8ee585d5ca5de869c103b8beed"

/src: (copy (src .) (dst /src))
2025-06-19 03:15.14 ---> saved as "bab27d40f895e85cf0463072cffe814ce062d609a1510db40dac8dea2038585e"

/src: (run (shell "opam exec -- dune build --only-packages=bob-web @install @check @runtest && rm -rf _build"))
Error: No rule found for bin/cat.exe
-> required by alias test/bob
-> required by alias test/runtest
File "test/dune", line 24, characters 32-40:
24 |  (libraries alcotest bob.stream bob.pack))
                                     ^^^^^^^^
Error: Library "bob.pack" not found.
-> required by _build/default/test/test_pack.exe
-> required by alias test/runtest in test/dune:26
File "test/dune", line 9, characters 25-30:
9 |  (libraries logs.fmt fmt fpath unix))
                             ^^^^^
Error: Library "fpath" not found.
-> required by _build/default/test/sched.exe
-> required by alias test/bob
-> required by alias test/runtest
File "test/dune", line 14, characters 12-20:
14 |  (libraries logs.fmt unix))
                 ^^^^^^^^
Error: Library "logs.fmt" not found.
-> required by _build/default/test/free.exe
-> required by alias test/bob
-> required by alias test/runtest
File "test/dune", line 19, characters 33-41:
19 |  (libraries logs.fmt fmt.tty bob alcotest))
                                      ^^^^^^^^
Error: Library "alcotest" not found.
-> required by _build/default/test/test_handshake.exe
-> required by alias test/runtest in test/dune:17
File "dict/dune", line 4, characters 12-15:
4 |  (libraries fmt))
                ^^^
Error: Library "fmt" not found.
-> required by
   _build/default/dict/.generate.eobjs/byte/dune__exe__Generate.cmi
-> required by alias dict/check
File "test/dune", line 4, characters 7-17:
4 |  (deps %{bin:bob} sched.exe free.exe ../bin/cat.exe))
           ^^^^^^^^^^
Error: Program bob not found in the tree or in PATH
 (context: default)
File "web/dune", line 6, characters 30-36:
6 |  (libraries cmarkit fmt uuidm base64 syndic))
                                  ^^^^^^
Error: Library "base64" not found.
-> required by _build/default/web/syndication.exe
-> required by _build/install/default/bin/bob.feed
-> required by _build/default/bob-web.install
-> required by alias install
"/usr/bin/linux32" "/bin/sh" "-c" "opam exec -- dune build --only-packages=bob-web @install @check @runtest && rm -rf _build" failed with exit status 1
2025-06-19 03:15.15: Job failed: Failed: Build failed