Organisationsocaml-multicoreeffects-examples9840de (master)fedora-42-5.4_opam-2.5

fedora-42-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-03-20 09:48.12: New job: test ocaml-multicore/effects-examples https://github.com/ocaml-multicore/effects-examples.git#refs/heads/master (9840de71aba67d59e67ef1a4452560725c0a3efd) (linux-x86_64:fedora-42-5.4_opam-2.5)
Base: ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
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 9840de71
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9
# fedora-42-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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && 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.22.0 dune-configurator.3.22.0 lwt.6.1.1 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-03-20 09:48.12: Using cache hint "ocaml-multicore/effects-examples-ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9-fedora-42-5.4_opam-2.5-c8ea5ce6e1f83b238388671072324a9f"
2026-03-20 09:48.12: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9)
(comment fedora-42-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 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && 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 (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.22.0 dune-configurator.3.22.0 lwt.6.1.1 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-03-20 09:48.12: Waiting for resource in pool OCluster
2026-03-20 09:48.12: Waiting for worker…
2026-03-20 09:48.12: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 9840de7 Port all examples to effect syntax; update CI to setup-ocaml v3


(from ocaml/opam:fedora-42-ocaml-5.4@sha256:31a7434d1de367a9ff4870003a1d7af0a9940077b3c821e0a7de41ef1d94cdf9)
2026-03-20 09:48.13 ---> using "7475aab050e630f181222e2bcfd2f2ccc93ea244c4604746c566288291c5f731" from cache


/: (comment fedora-42-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 42 - x86_64 - Updates           100% | 124.4 KiB/s |  17.3 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2026-03-20 09:48.13 ---> using "ad03b594e80fdfe7eb6420d71fdc4a385393716432efc0ecd7710b2f5059dc41" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-03-20 09:48.13 ---> using "8432c7b9b18a821faf615d2ef2c1d4f2d374119b56bb9397d03b1c51c5368209" 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.


Continue? [Y/n] y
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.


Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-20 09:48.13 ---> using "8f9ef1abca30d916cd46406e0d3fe0436c1db51b92f8a2e3fd96adb58fda524f" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-101-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-03-20 09:48.13 ---> using "2a71f2c35a51ffe6926d0c0830d13e687d1e361d3d3464e5c6e0b31040d46258" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-20 09:48.13 ---> using "98153c43af34ff83f63aca5cbdbb63a261ec7eee9ec3694252ae1cbc561f86cf" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef || git fetch origin master) && git reset -q --hard 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
4f056bfedf..9f189ca4f9  master     -> origin/master
9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+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 at these versions (e.g. "opam upgrade ocaml.5.5.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-03-20 09:48.13 ---> using "7613794f52c67f1bf64a1902a8ce09342cdefdd455124c3e48a58b0b76162288" from cache


/src: (copy (src effects-examples.opam) (dst ./))
2026-03-20 09:48.13 ---> using "d81c79da6725669549325aca93a7f6113d6f77f9f85cae6d2ced29e71ae68852" from cache


/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-03-20 09:48.13 ---> using "2abc6bc9566c61e4b3c6a93914c49e96a1aac00dbdf3e94635f4afd0956856b6" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-20 09:48.13 ---> using "c018b18e285e7ee16ba9892063d195eb5a0fa26a153adda72b18d7dc21c1408e" from cache


/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.22.0 dune-configurator.3.22.0 lwt.6.1.1 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:
-  Fedora 42 - x86_64 - Updates           100% |  42.6 KiB/s |  17.8 KiB |  00m00s
- 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-03-20 09:48.13 ---> using "acdf7748bb8b74724a6c9322f08b9765c9f22ea9eb2ef28d9ba6c3ea7b100b3b" 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-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.22.0
- install dune-configurator 3.22.0
- install lwt               6.1.1
- 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.1.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.22.0, dune-configurator.3.22.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.22.0
-> installed multicont.1.0.3
-> installed lwt.6.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-20 09:48.13 ---> using "9b4f7c4579b5701648bf7551c0add2c9641c8eaa9edcf4574150654516e0ae16" from cache


/src: (copy (src .) (dst /src))
2026-03-20 09:48.13 ---> saved as "88719844a896a205ad13ed26309f78d5645534c0fb85cee566f392fa033294ce"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-03-20 09:48.13 ---> saved as "2c0c84032cbf117a6cc219995f88f7877a8014116dc8b9a1e1c9ed8418cb11a2"
Job succeeded
2026-03-20 09:48.14: Job succeeded