Organisationsdinosaurebobd8555e (bstr)debian-12-4.14_x86_32_opam-2.3

debian-12-4.14_x86_32_opam-2.3

Logs

Steps to Reproduce
git clone --recursive "https://github.com/dinosaure/bob.git" -b "bstr" && cd "bob" && git reset --hard d8555ee8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:4ef62a55ef4b33441cc63caefde1e7f07015b6a4273aadb4c6086517ca5fbd9d
# 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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.1.0 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 .
2025-07-25 21:34.45: New job: test dinosaure/bob https://github.com/dinosaure/bob.git#refs/heads/bstr (d8555ee85091e4c231e10b9b73bb2265c34f84df) (linux-x86_64:debian-12-4.14_x86_32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:4ef62a55ef4b33441cc63caefde1e7f07015b6a4273aadb4c6086517ca5fbd9d
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/dinosaure/bob.git" -b "bstr" && cd "bob" && git reset --hard d8555ee8
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:4ef62a55ef4b33441cc63caefde1e7f07015b6a4273aadb4c6086517ca5fbd9d
# 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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.1.0 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-07-25 21:34.45: Using cache hint "dinosaure/bob-ocaml/opam:debian-12-ocaml-4.14@sha256:4ef62a55ef4b33441cc63caefde1e7f07015b6a4273aadb4c6086517ca5fbd9d-debian-12-4.14_x86_32_opam-2.3-000dea6a09dca2ef8444ab02d5f2a8fe"
2025-07-25 21:34.45: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:4ef62a55ef4b33441cc63caefde1e7f07015b6a4273aadb4c6086517ca5fbd9d)
(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 b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && 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.1.0 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-07-25 21:34.45: Waiting for resource in pool OCluster
2025-07-25 22:54.37: Waiting for worker…
2025-07-25 22:59.17: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at d8555ee Use bstr package instead of our own implementation


(from ocaml/opam:debian-12-ocaml-4.14@sha256:4ef62a55ef4b33441cc63caefde1e7f07015b6a4273aadb4c6086517ca5fbd9d)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-07-25 22:59.19 ---> using "ddf1f874e6dcfd961bc9bf900311c0735a61a147515a201dd8de498759bde5a4" 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-07-25 22:59.19 ---> using "18c861b2e0138bb00bc41871608b7c22d126e87b4ee6d1da80afd8a75f994be3" from cache


/src: (run (shell "opam init --reinit -ni"))
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.


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.


Continue? [y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-25 22:59.19 ---> using "90f8a8942e8e804dc1e0953002d1eedb197e7e8902cb720c67c07f21d15a58d8" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-07-25 22:59.19 ---> using "cfc8d4874305c814d3f4ce3d8ed61b20ed83a7afeef5fee089a3d4e924d23af2" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-25 22:59.19 ---> using "90627834ac479fb1c0d17523924ac8e425f9830297526ba870d4529cc48094fa" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
0094db1438..b8021439f8  master     -> origin/master
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


The following actions will be performed:
=== recompile 2 packages
- recompile ocaml       4.14.2 [upstream or system changes]
- recompile opam-depext 1.2.3  [uses ocaml]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.4.14.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.3
Done.


<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# To update the current shell environment, run: eval $(opam env)
2025-07-25 22:59.19 ---> using "8920ca2fe6450581914fff7794f1aeeeb1bec764aad3e47f58721227a859b333" from cache


/src: (copy (src com.opam bob.opam bob-web.opam) (dst ./))
2025-07-25 22:59.19 ---> saved as "5a0da5efd8f3b72965fcf8236384e49510a3016c6ac664a6c239461ac25dec97"


/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-07-25 22:59.41 ---> saved as "08f629c24193f26f4c44b803fd83836c050b0dfabae0afe88106ed7d856c5815"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-25 22:59.41 ---> saved as "2dd9d08ebbf3b742c4c933fd0ddcf9eb258c704d32c83022e654c16065ff0121"


/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.1.0 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 [265 kB]
- Fetched 369 kB in 1s (363 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-07-25 23:00.03 ---> saved as "596ffe623cd7e3c2e001ec102c70e8f504e5050d5d16e40c4e14e4c77378a655"


/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.1.0
- 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.1.0  (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.1.0
-> installed uuidm.0.9.10
-> installed xmlm.1.4.0
-> installed ptime.1.2.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-07-25 23:02.00 ---> saved as "bbb6cb842ec25c14f77cabb18d85f4132b4557706441eaf4d90b3e00028bc091"


/src: (copy (src .) (dst /src))
2025-07-25 23:02.01 ---> saved as "2d4e26ae25e5949b69a718c70bffba6b8899e0c4574091294ea77505cd367f1b"


/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-07-25 23:02.03: Job failed: Failed: Build failed