2025-03-28 12:48.37: New job: test dinosaure/bob https://github.com/dinosaure/bob.git#refs/heads/main (f99d19e45c7bdd2c19ce318edb56a4b7fe607b3e) (linux-x86_64:debian-12-5.3_x86_32_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/dinosaure/bob.git" -b "main" && cd "bob" && git reset --hard f99d19e4
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08
# debian-12-5.3_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 cmarkit.0.3.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 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.6.1 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-03-28 12:48.37: Using cache hint "dinosaure/bob-ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08-debian-12-5.3_x86_32_opam-2.3-4537e160cc08fe666ad23a11dccfa650"
2025-03-28 12:48.37: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08)
(comment debian-12-5.3_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 cmarkit.0.3.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 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.6.1 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-03-28 12:48.37: Waiting for resource in pool OCluster
2025-03-28 12:48.37: Waiting for worker…
2025-03-28 12:49.06: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at f99d19e Merge pull request #76 from dinosaure/new-carton
(from ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08)
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-03-28 12:49.06 ---> using "500cb5d7aa46192a426cc87da683903759830c9514c5bf81dc2090b2e37f5ff2" from cache
/: (comment debian-12-5.3_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-03-28 12:49.06 ---> using "880e122e72e04febf08d451554d14cbb972a210d73793c7a965e740f86c8f791" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-28 12:49.06 ---> using "f721e5aeefe50d3fb599f9dc71ba81870e51addf52f52848fbedf6f1f27841aa" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-28 12:49.06 ---> using "76c8b9f29d4ffc62689b4f4a101ea53d07dca706c29173a00604461e112db351" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-03-28 12:49.06 ---> using "50da955932c563d26be0512ab5d957d526921ac7e5fd60f1c907e9754f3ecc72" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
862a7640b1..251c7662af master -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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-03-28 12:49.06 ---> using "35df8fef0d9489206eaad4bf9fcac78e53a3517138dee61ffb31de1619a8634c" from cache
/src: (copy (src com.opam bob.opam bob-web.opam) (dst ./))
2025-03-28 12:49.06 ---> using "8ab8fce4708a5d2e0d5a2e40188fddc186736ba6d084ef63ac33017a29f9798c" 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-03-28 12:49.06 ---> using "4893ecc11f2816c4fb60ade07d4dcd41186b26ac1b5d1eb585c3305b0adc8fb2" from cache
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-28 12:49.06 ---> using "666383cb1164507db369d96c85aa862120105a9c0b734f33eb14af083a2e826e" from cache
/src: (env DEPS "angstrom.0.16.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigstringaf.0.10.0 cmarkit.0.3.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-option-bytecode-only.1 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.6.1 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"
- 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 i386 Packages [8685 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main i386 Packages.diff/Index [16.2 kB]
- Get:6 http://deb.debian.org/debian bookworm-updates/main i386 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian bookworm-updates/main i386 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:7 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [243 kB]
- Fetched 9199 kB in 2s (5339 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-option-bytecode-only is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-03-28 12:49.06 ---> using "833a1be4c1dc7ce3b745a1ccade13c806eac4e5ba10f1d7abe593b08a36f7f1d" 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-option-bytecode-only is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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.17.2
- install dune-configurator 3.17.2
- 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.6.1
- 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.6.1 (cached)
-> retrieved uuidm.0.9.10 (cached)
-> retrieved xmlm.1.4.0 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (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.17.2
-> installed stringext.1.6.0
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> installed dune-configurator.3.17.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed uri.4.4.0
-> installed syndic.1.6.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-28 12:49.06 ---> using "308477b7f43e56df309287eced2149b8575c42933aa7cd41fa06984d86573916" from cache
/src: (copy (src .) (dst /src))
2025-03-28 12:49.06 ---> using "4b9ba398ddfe2f264f0edec6afa49a6359e935621e21a3c047b9eed36dae44ab" from cache
/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/runtest
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/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 "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-03-28 12:49.08: Job failed: Failed: Build failed