Organisationsocaml-multicoreeffects-examples8a7e80 (master)ubuntu-25.10-5.4_opam-2.5

ubuntu-25.10-5.4_opam-2.5

Logs

Show full logs
2026-01-12 14:12.44: New job: test ocaml-multicore/effects-examples https://github.com/ocaml-multicore/effects-examples.git#refs/heads/master (8a7e80dd29e68e2d05fe4b0399c8535a51f36395) (linux-x86_64:ubuntu-25.10-5.4_opam-2.5)
Base: ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3
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:ubuntu-25.10-ocaml-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3
# ubuntu-25.10-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 7d22a58614c38be74d79ae6ef2b64994ca4ffef0 || git fetch origin master) && git reset -q --hard 7d22a58614c38be74d79ae6ef2b64994ca4ffef0 && 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.6.0.0 multicont.1.0.3 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.5 --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

2026-01-12 14:12.44: Using cache hint "ocaml-multicore/effects-examples-ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3-ubuntu-25.10-5.4_opam-2.5-3c40eed6e97307e7ea0e83d7ef25a649"
2026-01-12 14:12.44: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3)
 (comment ubuntu-25.10-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.5 /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 7d22a58614c38be74d79ae6ef2b64994ca4ffef0 || git fetch origin master) && git reset -q --hard 7d22a58614c38be74d79ae6ef2b64994ca4ffef0 && 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.6.0.0 multicont.1.0.3 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.5 --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"))
)

2026-01-12 14:12.44: Waiting for resource in pool OCluster
2026-01-13 20:35.06: Waiting for worker…
2026-01-13 20:39.51: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 8a7e80d Merge pull request #44 from ocaml-multicore/multicont-1.0.3

(from ocaml/opam:ubuntu-25.10-ocaml-5.4@sha256:9cbf3da9bfd77a10b23a729cefa9f882afad591e9ce96d8832affb9695de0ab3)
2026-01-13 20:39.51 ---> using "2d3af8a2eb621494054029e85a3557d7609b364473df85d89e2f074564c464ef" from cache

/: (comment ubuntu-25.10-5.4_opam-2.5)

/: (user (uid 1000) (gid 1000))

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-13 20:39.51 ---> using "564d88f7a87962dfeb6f5f53d8b8eeb863e6a3dd4e50380cdb5f3e64d911b9a3" 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
2026-01-13 20:39.51 ---> using "163bc07db16bfb613e84b924d498023109cbaac350b865dd2268aa75cade598d" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-13 20:39.51 ---> using "07c2e02348ae65c427555de33add9881be0018a6196a65f0104765793f022ec2" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-13 20:39.51 ---> using "74120422c8add92672a5d3454fbf07b14e993b395e7d21f5a9d9561b29cda0b9" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 7d22a58614c38be74d79ae6ef2b64994ca4ffef0 || git fetch origin master) && git reset -q --hard 7d22a58614c38be74d79ae6ef2b64994ca4ffef0 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   ee48e882f0..df0b753b90  master     -> origin/master
7d22a58614 Merge pull request #29184 from raphael-proust/opam-publish-lwt.6.0.0

<><> 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)
2026-01-13 20:39.51 ---> using "cc3a239bf74c69956b8b55fdd9509e156fcb12f9df416af4a94fb548496cb2b4" from cache

/src: (copy (src effects-examples.opam) (dst ./))
2026-01-13 20:39.52 ---> saved as "7bee3be1ebe6f7aa06984782be4bb67ed4eab909342fd5a8608b3348e6bff315"

/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)
2026-01-13 20:39.55 ---> saved as "47bf8e9b11a6ce99d26d9794632fde94b200837e63c1b789ec849cd79e0c3a7e"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-13 20:39.55 ---> saved as "e04582b229a2edb4f866fa79968c5c36ad8a65debec313c95b6133f2fb6c16e1"

/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.6.0.0 multicont.1.0.3 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.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.5 --depext-only -y effects-examples.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu questing InRelease
- Get:2 http://archive.ubuntu.com/ubuntu questing-updates InRelease [136 kB]
- Get:3 http://security.ubuntu.com/ubuntu questing-security InRelease [136 kB]
- Get:4 http://archive.ubuntu.com/ubuntu questing-backports InRelease [133 kB]
- Get:5 http://security.ubuntu.com/ubuntu questing-security/universe amd64 Packages [114 kB]
- Get:6 http://security.ubuntu.com/ubuntu questing-security/main amd64 Packages [172 kB]
- Get:7 http://archive.ubuntu.com/ubuntu questing-updates/restricted amd64 Packages [122 kB]
- Get:8 http://archive.ubuntu.com/ubuntu questing-updates/main amd64 Packages [294 kB]
- Get:9 http://security.ubuntu.com/ubuntu questing-security/restricted amd64 Packages [120 kB]
- Get:10 http://archive.ubuntu.com/ubuntu questing-updates/multiverse amd64 Packages [1689 B]
- Get:11 http://archive.ubuntu.com/ubuntu questing-updates/universe amd64 Packages [168 kB]
- Get:12 http://archive.ubuntu.com/ubuntu questing-backports/universe amd64 Packages [666 B]
- Fetched 1397 kB in 0s (6342 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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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).
# To update the current shell environment, run: eval $(opam env)
2026-01-13 20:40.15 ---> saved as "9e6a0f2ecf034e26725cc790ced91a685b7fe0ff752285062dda3da8cdde38d0"

/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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               6.0.0
  - 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.6.0.0  (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.6.0.0

#=== ERROR while compiling multicont.1.0.3 ====================================#
# context     2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | git+file:///home/opam/opam-repository
# path        ~/.opam/5.4/.opam-switch/build/multicont.1.0.3
# command     ~/.opam/5.4/bin/dune build -p multicont -j 71 @install
# exit-code   1
# env-file    ~/.opam/log/multicont-1-7e63f8.env
# output-file ~/.opam/log/multicont-1-7e63f8.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.4/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               6.0.0
| - 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.4/.opam-switch/backup/state-20260113204016.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2026-01-13 20:41.45: Job failed: Failed: Build failed