2025-10-15 10:19.37: New job: test ocaml-multicore/effects-examples https://github.com/ocaml-multicore/effects-examples.git#refs/heads/master (8a7e80dd29e68e2d05fe4b0399c8535a51f36395) (linux-x86_64:debian-13-5.3_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocaml-multicore/effects-examples.git" -b "master" && cd "effects-examples" && git reset --hard 8a7e80dd
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.3@sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4
# debian-13-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 effects-examples.opam ./
RUN opam pin add -yn effects-examples.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 multicont.1.0.3 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y effects-examples.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
2025-10-15 10:19.37: Using cache hint "ocaml-multicore/effects-examples-ocaml/opam:debian-13-ocaml-5.3@sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4-debian-13-5.3_opam-2.4-d53fcd723e3f5a92df0e55736a7fddf0"
2025-10-15 10:19.37: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4)
(comment debian-13-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src effects-examples.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn effects-examples.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 multicont.1.0.3 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
(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.4 --depext-only -y effects-examples.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"))
)
2025-10-15 10:19.37: Waiting for resource in pool OCluster
2025-10-15 11:47.30: Waiting for worker…
2025-10-15 11:51.09: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 8a7e80d Merge pull request #44 from ocaml-multicore/multicont-1.0.3
(from ocaml/opam:debian-13-ocaml-5.3@sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.3@sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4' locally
docker.io/ocaml/opam@sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4: Pulling from ocaml/opam
cae3b572364a: Already exists
820d433882fc: Already exists
8f6112f72fa5: Already exists
f06108004adb: Already exists
f34ea90e6bf7: Already exists
b44a65709156: Already exists
4c25908bbac9: Already exists
f76df728146d: Already exists
1fee769dfcf3: Already exists
9089a7f69af3: Already exists
6f758b47b2a0: Already exists
16b225bbb395: Already exists
abbf3ec39b68: Already exists
1a61521655a9: Already exists
6a8565a9e443: Already exists
c059a4cbd7b9: Already exists
3a00fdc9e291: Already exists
a0b62589bd38: Already exists
6e8d713bf843: Already exists
bca1fd5341ba: Already exists
34b9849c2772: Already exists
4f4fb700ef54: Already exists
d8d3d0744e38: Already exists
788c7ce0e0e5: Already exists
a297eab0ca3b: Already exists
2e79af39acdb: Already exists
8858e600236c: Already exists
9efe23d1fe7d: Already exists
47d185934312: Already exists
64a949a6caff: Already exists
c9d6a7c18bb1: Already exists
e4fde4815f0c: Already exists
d1f759c16950: Already exists
f3dd45bf195f: Already exists
3985a6049101: Already exists
aae849592418: Already exists
6173459dc6b2: Already exists
7f16ef63bee0: Already exists
fe355de6a899: Already exists
b0bc5a15bc9d: Already exists
5ef8881599f6: Pulling fs layer
43070a8c11bb: Pulling fs layer
50f4a5d16176: Pulling fs layer
caf5c7cd45dc: Pulling fs layer
cc4f1ac4e98a: Pulling fs layer
005888d39869: Pulling fs layer
97352f987d81: Pulling fs layer
caf5c7cd45dc: Waiting
cc4f1ac4e98a: Waiting
005888d39869: Waiting
97352f987d81: Waiting
43070a8c11bb: Verifying Checksum
43070a8c11bb: Download complete
5ef8881599f6: Verifying Checksum
5ef8881599f6: Download complete
50f4a5d16176: Verifying Checksum
50f4a5d16176: Download complete
5ef8881599f6: Pull complete
43070a8c11bb: Pull complete
50f4a5d16176: Pull complete
cc4f1ac4e98a: Verifying Checksum
cc4f1ac4e98a: Download complete
005888d39869: Download complete
97352f987d81: Verifying Checksum
97352f987d81: Download complete
caf5c7cd45dc: Verifying Checksum
caf5c7cd45dc: Download complete
caf5c7cd45dc: Pull complete
cc4f1ac4e98a: Pull complete
005888d39869: Pull complete
97352f987d81: Pull complete
Digest: sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4
Status: Downloaded newer image for ocaml/opam@sha256:64300a06d64cb44daabdb6ae9fde2cbba7601716d4d5671d9d4ba642d7c97fd4
2025-10-15 11:51.10 ---> using "77049904df58751db5fcb353ed61a57fdb0b9630ae2ead1464d594fce0fbfad2" from cache
/: (comment debian-13-5.3_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-15 11:51.10 ---> using "cf43e47227f5a0b7d7455a5cdc71b4852fc5a20e0dbc45da7f1e848e5a4a1782" 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.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-10-15 11:51.10 ---> using "24aa2bbd8c0dade82563ed15067d299431d528565700a0d557f897902624a14f" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-84-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-15 11:51.10 ---> using "b3ddb47dba6c20cebab94d5a04ad748ec33cd6bde37f6d0960bd261d310ff086" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-10-15 11:51.10 ---> using "4ad3d9c94a8e3eecdf261740e7a950a91cc1b237e1f69002a3013e03add4caed" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-10-15 11:51.10 ---> using "dc927d4f7036551a991c5c9380bb9aebfaf5ef7bd754d8ac21311f23c71499fc" from cache
/src: (copy (src effects-examples.opam) (dst ./))
2025-10-15 11:51.11 ---> saved as "0cfb68e92f96617d1a56f75d6001ff31298d51349077cd7fe860b1e09b204120"
/src: (run (network host)
(shell "opam pin add -yn effects-examples.dev './'"))
[NOTE] Package effects-examples does not exist in opam repositories registered in the current switch.
[effects-examples.dev] synchronised (file:///src)
[WARNING] Failed checks on effects-examples package definition from source at file:///src:
warning 68: Missing field 'license'
effects-examples is now pinned to file:///src (version dev)
2025-10-15 11:51.14 ---> saved as "00a7d580f88d843b31a06d274caae985611fcac69e5d7d46dfe2e050b0135354"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-15 11:51.15 ---> saved as "4b4e7e946ce57610f2a37ab070afab6c7bd9cd48d476039569b8e2eae4eb3118"
/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 lwt.5.9.2 multicont.1.0.3 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
/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.4 --depext-only -y effects-examples.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [53.8 kB]
- Fetched 145 kB in 0s (490 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[effects-examples.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 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-10-15 11:51.41 ---> saved as "684242d87966757360553c0876cd2c1f633c075b7fc33a80a0097beea10447d2"
/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 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 9 packages
- install base-bytes base
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.20.2
- install dune-configurator 3.20.2
- install lwt 5.9.2
- install multicont 1.0.3
- install ocamlfind 1.9.8
- install ocplib-endian 1.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved multicont.1.0.3 (cached)
-> retrieved lwt.5.9.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
[ERROR] The compilation of multicont.1.0.3 failed at "dune build -p multicont -j 71 @install".
-> installed lwt.5.9.2
#=== ERROR while compiling multicont.1.0.3 ====================================#
# context 2.4.1 | linux/x86_64 | ocaml-base-compiler.5.3.0 | git+file:///home/opam/opam-repository
# path ~/.opam/5.3/.opam-switch/build/multicont.1.0.3
# command ~/.opam/5.3/bin/dune build -p multicont -j 71 @install
# exit-code 1
# env-file ~/.opam/log/multicont-1-967fed.env
# output-file ~/.opam/log/multicont-1-967fed.out
### output ###
# File "lib/dune", lines 1-14, characters 0-317:
# 1 | (library
# 2 | (name multicont)
# 3 | (public_name multicont)
# ....
# 12 | (mode native)
# 13 | (flags :standard (:include c_native_flags.sexp))
# 14 | (names multicont_stubs)))
# (cd _build/default && /home/opam/.opam/5.3/bin/ocamlopt.opt -w -40 -g -shared -linkall -I lib -o lib/multicont.cmxs lib/multicont.cmxa)
# /usr/bin/ld: cannot find -lmulticont_stubs_native: No such file or directory
# collect2: error: ld returned 1 exit status
# File "caml_startup", line 1:
# Error: Error during linking (exit code 1)
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build multicont 1.0.3
+-
+- The following changes have been performed
| - install base-bytes base
| - install cppo 1.8.0
| - install csexp 1.5.2
| - install dune 3.20.2
| - install dune-configurator 3.20.2
| - install lwt 5.9.2
| - install ocamlfind 1.9.8
| - install ocplib-endian 1.2
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20251015115143.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2025-10-15 11:54.38: Job failed: Failed: Build failed