Organisationsocaml-multicoreeffects-examples8a7e80 (master)fedora-43-5.4_opam-2.5

fedora-43-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:fedora-43-5.4_opam-2.5)
Base: ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2
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:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2
# fedora-43-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2-fedora-43-5.4_opam-2.5-3c40eed6e97307e7ea0e83d7ef25a649"
2026-01-12 14:12.44: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2)
 (comment fedora-43-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (network host)
      (shell "sudo dnf install -y findutils"))
 (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.25: Waiting for worker…
2026-01-13 20:40.00: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 8a7e80d Merge pull request #44 from ocaml-multicore/multicont-1.0.3

(from ocaml/opam:fedora-43-ocaml-5.4@sha256:51857b77e14453184f8e7d44a9a7171bcfa8c2affcfc6df48a5bb08522abc6a2)
2026-01-13 20:40.00 ---> using "71487916328e2521e9b3eace51b2d612b3cb065793b43d1600de6f3b03cd399e" from cache

/: (comment fedora-43-5.4_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (network host)
           (shell "sudo dnf install -y findutils"))
Updating and loading repositories:
 Fedora 43 - x86_64                     100% |  48.0 KiB/s |  22.4 KiB |  00m00s
 Fedora 43 openh264 (From Cisco) - x86_ 100% |   3.2 KiB/s | 986.0   B |  00m00s
 Fedora 43 - x86_64 - Updates           100% | 115.1 KiB/s |  21.8 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.

Nothing to do.
2026-01-13 20:40.00 ---> using "0b34afd4e3087d469b73a6367d196bb2e8240ba8587cb3dff0225a61fbc4d704" from cache

/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-13 20:40.00 ---> using "cda57de870a0fb8a1b2aae3460ee81a914a60dde9ae3de8901b78ed905770b52" 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:40.00 ---> using "fff8ea5001be0d93f319380baf4ac13ad247643d070b0ee435a4260a4ed83eae" 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:40.00 ---> using "ec068aa0d3f8f59972847d7b6d8a63a2103209f4fc3ff6b4ca6d36fbe9c62033" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-13 20:40.00 ---> using "15fb57da25d3835d29238de7432d19d2c06a159c23571da32ce6aec7d9aa4aba" 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:40.00 ---> using "fa0c787e372dad911a55394bb0dbc083c7aea2ed0dc5fef63f7a8298162ca7ed" from cache

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

/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.
[WARNING] Failed checks on effects-examples package definition from source at file:///src:
  warning 68: Missing field 'license'
[effects-examples.dev] synchronised (file:///src)
effects-examples is now pinned to file:///src (version dev)
2026-01-13 20:40.02 ---> saved as "c27ff8c49eee00a4e1e40210a39d6d47bdc332f01b81d6c8b5a4ef4ec7d79335"

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

/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/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.

<><> 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.17 ---> saved as "d9b2b65ab15c4adcfd35e7e1af4dc463b2984ee068b725390e0f10182b30994e"

/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-880c04.env
# output-file ~/.opam/log/multicont-1-880c04.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/sbin/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-20260113204018.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2026-01-13 20:41.41: Job failed: Failed: Build failed