2024-05-10 22:02.41: New job: test janestreet/spawn https://github.com/janestreet/spawn.git#refs/heads/master (fe3419b0db20819d7a31383544971e48a6dff20a) (linux-x86_64:debian-12-4.14_x86_32_opam-2.1)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/janestreet/spawn.git" -b "master" && cd "spawn" && git reset --hard fe3419b0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924
# debian-12-4.14_x86_32_opam-2.1
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.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 spawn.opam ./
RUN opam pin add -yn spawn.dev './'
ENV DEPS="base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 jane-street-headers.v0.16.0 jst-config.v0.16.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.0 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y spawn.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
2024-05-10 22:02.41: Using cache hint "janestreet/spawn-ocaml/opam:debian-12-ocaml-4.14@sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924-debian-12-4.14_x86_32_opam-2.1-cde300bb7ed5bb2f71813dad899e56fc"
2024-05-10 22:02.41: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924)
(comment debian-12-4.14_x86_32_opam-2.1)
(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.1 /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 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src spawn.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn spawn.dev './'"))
(env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 jane-street-headers.v0.16.0 jst-config.v0.16.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.0 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.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.1 --depext-only -y spawn.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"))
)
2024-05-10 22:02.41: Waiting for resource in pool OCluster
2024-05-11 11:23.15: Waiting for worker…
2024-05-11 11:28.18: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at fe3419b Do not require C99 mode for older GCC (#62)
(from ocaml/opam:debian-12-ocaml-4.14@sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924' locally
docker.io/ocaml/opam@sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924: Pulling from ocaml/opam
d59a9443a971: Pulling fs layer
d59a9443a971: Download complete
d59a9443a971: Pull complete
Digest: sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924
Status: Downloaded newer image for ocaml/opam@sha256:84f1ea72e62769bdd7b86dfcc73439eefde51836ecd9b9db0aa3e76235b47924
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2024-05-11 11:28.18 ---> using "8300366f591dd7d700d5b03820a25bee85616412b2b663c5565a5001ec202aae" from cache
/: (comment debian-12-4.14_x86_32_opam-2.1)
/: (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.1 /usr/bin/opam"))
2024-05-11 11:28.18 ---> using "380c1a94df81dcbc9c0ef7845af2282896e8fb22e18048b65dc3c656bfa0e593" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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] synchronised from file:///home/opam/opam-repository
2024-05-11 11:28.18 ---> using "7b839a80d0089fe77e7b5b2287b5b673446132cf247ccebb1294b44b775ce257" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-05-11 11:28.18 ---> using "c9f39004818e8b7f49bfed208fe1cabaebb8be8a9564a13832a3a6b869acc85b" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-05-11 11:28.18 ---> using "83884304c0495b8dbc96ed2844fc5c5bf875ffc0398a872acd76cbc9281d96c3" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b || git fetch origin master) && git reset -q --hard 307e33d08fc4ccc1ea453ab45b0ead8ed574b97b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
eb2dcab0d8..2ae169d7d0 master -> origin/master
307e33d08f @dra27 and @Octachron maintain the 4.08+ packages
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[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.
# Run eval $(opam env) to update the current shell environment
2024-05-11 11:28.18 ---> using "9c9d308969ebf9213675e78860f11c355e45cf027dca6f84584fdd13211961f6" from cache
/src: (copy (src spawn.opam) (dst ./))
2024-05-11 11:28.18 ---> saved as "92d5b204cadf54816ae4a2b04640af39278048d8dd96e1663cc9b1d8924b8c0b"
/src: (run (network host)
(shell "opam pin add -yn spawn.dev './'"))
[spawn.dev] synchronised (file:///src)
spawn is now pinned to file:///src (version dev)
2024-05-11 11:28.21 ---> saved as "d78a14f7516ada8491bbbad4b130cd371a81bf6b6353814c0bf6af8b30b03be0"
/src: (env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 csexp.1.5.2 dune.3.15.2 dune-configurator.3.15.2 jane-street-headers.v0.16.0 jst-config.v0.16.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ppx_assert.v0.16.0 ppx_base.v0.16.0 ppx_cold.v0.16.0 ppx_compare.v0.16.0 ppx_derivers.1.2.1 ppx_enumerate.v0.16.0 ppx_expect.v0.16.0 ppx_globalize.v0.16.0 ppx_hash.v0.16.0 ppx_here.v0.16.0 ppx_inline_test.v0.16.0 ppx_optcomp.v0.16.0 ppx_sexp_conv.v0.16.0 ppxlib.0.32.1 re.1.11.0 seq.base sexplib0.v0.16.0 stdio.v0.16.0 stdlib-shims.0.3.0 time_now.v0.16.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.1 --depext-only -y spawn.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 [154 kB]
- Fetched 257 kB in 0s (594 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[spawn.dev] synchronised (no changes)
[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).
2024-05-11 11:28.51 ---> saved as "d6d7359b8b0e708671c2fffcb706ee46951fec021a353297fa42c02436628ba3"
/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 conf-bash 1
- install seq base
- install dune 3.15.2
- install stdlib-shims 0.3.0
- install sexplib0 v0.16.0
- install re 1.11.0
- install ppx_derivers 1.2.1
- install ocaml-compiler-libs v0.12.4
- install jane-street-headers v0.16.0
- install csexp 1.5.2
- install ppxlib 0.32.1
- install dune-configurator 3.15.2
- install base v0.16.3
- install stdio v0.16.0
- install ppx_sexp_conv v0.16.0
- install ppx_here v0.16.0
- install ppx_globalize v0.16.0
- install ppx_enumerate v0.16.0
- install ppx_compare v0.16.0
- install ppx_cold v0.16.0
- install ppx_optcomp v0.16.0
- install ppx_hash v0.16.0
- install ppx_assert v0.16.0
- install ppx_base v0.16.0
- install jst-config v0.16.0
- install time_now v0.16.0
- install ppx_inline_test v0.16.0
- install ppx_expect v0.16.0
===== 28 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.3 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.15.2 (cached)
-> installed conf-bash.1
-> retrieved dune-configurator.3.15.2 (cached)
-> retrieved jane-street-headers.v0.16.0 (cached)
-> retrieved jst-config.v0.16.0 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_assert.v0.16.0 (cached)
-> retrieved ppx_base.v0.16.0 (cached)
-> retrieved ppx_cold.v0.16.0 (cached)
-> retrieved ppx_compare.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.16.0 (cached)
-> retrieved ppx_expect.v0.16.0 (cached)
-> retrieved ppx_globalize.v0.16.0 (cached)
-> retrieved ppx_hash.v0.16.0 (cached)
-> retrieved ppx_here.v0.16.0 (cached)
-> retrieved ppx_inline_test.v0.16.0 (cached)
-> retrieved ppx_optcomp.v0.16.0 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved re.1.11.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved time_now.v0.16.0 (cached)
-> retrieved ppxlib.0.32.1 (cached)
-> installed dune.3.15.2
-> installed jane-street-headers.v0.16.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed dune-configurator.3.15.2
-> installed base.v0.16.3
-> installed stdio.v0.16.0
-> installed ppxlib.0.32.1
-> installed ppx_globalize.v0.16.0
-> installed ppx_optcomp.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_hash.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_base.v0.16.0
-> installed jst-config.v0.16.0
-> installed time_now.v0.16.0
-> installed ppx_inline_test.v0.16.0
-> installed ppx_expect.v0.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-11 11:31.00 ---> saved as "5891c8d728b16b662dc7d3070933288c2d6d32cc73ff4070bfa875cc99730bec"
/src: (copy (src .) (dst /src))
2024-05-11 11:31.01 ---> saved as "3af1c282b776d91fa79cbe0655aa6504a49a8be751b4b66e06d4c59a7e198af9"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "bench/dune", line 5, characters 7-16:
5 | (pps ppx_bench)))
^^^^^^^^^
Error: Library "ppx_bench" not found.
-> required by _build/default/bench/.merlin-conf/lib-spawn_bench
-> required by alias bench/check
"/usr/bin/linux32" "/bin/sh" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-05-11 11:31.03: Job failed: Failed: Build failed