Organisationsdinosaurebob4bcfcd (socks)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/socks (4bcfcd216f847a3f5918d2b867d15c0f4197775f) (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 "socks" && cd "bob" && git reset --hard 4bcfcd21
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:15.16: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 4bcfcd2 Fix the com package and its pin-depends on socks

(from ocaml/opam:debian-12-ocaml-4.14@sha256:8f174c2eaa9caa1f544e1b4db815a3a6a75caf53753aeaaac9dc35168ba32a25)
2025-06-19 03:15.16 ---> 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:15.16 ---> 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:15.16 ---> 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:15.16 ---> using "655daacc11a0aca282f2da1be4916b6af5f49f89791f29ca9c34fe42323c39f5" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-06-19 03:15.16 ---> 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:15.16 ---> using "65c16bce67fb1174ee4309cef8f1f106f5b607dcfc88286f87b141968a35fa52" from cache

/src: (copy (src com.opam bob.opam bob-web.opam) (dst ./))
2025-06-19 03:15.17 ---> saved as "50581d741258a2b0553b18779d0a1e98e030e0a6e0b4e5b7e0b10be03df71524"

/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
  - socks.dev at git+https://github.com/cfcs/ocaml-socks.git#c46ed399df18307e5240457b9d5d4ff8a6739f06
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)
Package socks does not exist, create as a NEW package? [y/n] y
[socks.dev] synchronised (no changes)
[WARNING] Failed checks on socks package definition from source at git+https://github.com/cfcs/ocaml-socks.git#c46ed399df18307e5240457b9d5d4ff8a6739f06:
  warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/ : "AGPL-3.0"
socks is now pinned to git+https://github.com/cfcs/ocaml-socks.git#c46ed399df18307e5240457b9d5d4ff8a6739f06 (version dev)
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:15.40 ---> saved as "f0020cc97d78ca248706673ad0455eb64f84f7c0d20a9ece67346b1aaf08f39e"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-19 03:15.41 ---> saved as "894f25465f72b7811120be628b5040a52be204f5af4b38d44ee022604e7d2df0"

/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 1s (323 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:16.10 ---> saved as "222587bea0bb2fb93a4b1c0a6e5d7381eca5680af866da5ec10d4fa41d35f871"

/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 ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (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 uri.4.4.0  (cached)
-> retrieved uuidm.0.9.10  (cached)
-> retrieved xmlm.1.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:17.47 ---> saved as "dd204f22a670f9284d808cbeb6aecdf4a5133bf659b25fe1baa25cb0b4c74efd"

/src: (copy (src .) (dst /src))
2025-06-19 03:17.47 ---> saved as "8d675b7048cfc190de5755b3b56f1f5b49f198abc3910e6082e2d3fe0eb4f3f2"

/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 19, characters 33-41:
19 |  (libraries logs.fmt fmt.tty bob alcotest))
                                      ^^^^^^^^
Error: Library "alcotest" not found.
-> required by _build/default/test/handshake.exe
-> required by alias test/runtest in test/dune:21
File "test/dune", line 9, characters 16-21:
9 |  (libraries 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 "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:17.48: Job failed: Failed: Build failed