Organisationsocaml-multicoreeffects-examples8a7e80 (master)debian-13-5.1_opam-2.5

debian-13-5.1_opam-2.5

Link Copied
Code Copied

Logs

2026-01-13 20:20.55: 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.1_opam-2.5)
Base: ocaml/opam:debian-13-ocaml-5.1@sha256:f294625544466e7500ffcfe7dbb6cbcbe07e8248a4c53d6af8e32d74a8b56b5b
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.1@sha256:f294625544466e7500ffcfe7dbb6cbcbe07e8248a4c53d6af8e32d74a8b56b5b
# debian-13-5.1_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-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.1.1 ocaml-base-compiler.5.1.1 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-13 20:20.55: Using cache hint "ocaml-multicore/effects-examples-ocaml/opam:debian-13-ocaml-5.1@sha256:f294625544466e7500ffcfe7dbb6cbcbe07e8248a4c53d6af8e32d74a8b56b5b-debian-13-5.1_opam-2.5-722a70ebb6a76b3ef2ee0b2303e7cd07"
2026-01-13 20:20.55: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.1@sha256:f294625544466e7500ffcfe7dbb6cbcbe07e8248a4c53d6af8e32d74a8b56b5b)
(comment debian-13-5.1_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-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.1.1 ocaml-base-compiler.5.1.1 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-13 20:20.55: Waiting for resource in pool OCluster
2026-01-14 00:40.21: Waiting for worker…
2026-01-14 00:43.21: Got resource from pool OCluster
Building on asteria.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:debian-13-ocaml-5.1@sha256:f294625544466e7500ffcfe7dbb6cbcbe07e8248a4c53d6af8e32d74a8b56b5b)
2026-01-14 00:43.21 ---> using "deb7339621d5d29ffcbc6f18592db655941c3ffa61703058bdf27cb277812b74" from cache


/: (comment debian-13-5.1_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-14 00:43.21 ---> using "b23b5557c99cbb7c32f65f4a288e99106ef52847244956a49cf26975845c64da" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=71 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-14 00:43.21 ---> using "d34fcb3eea0a84e661f425d214b6206b44f09f56849ec65e8f8452244051f38a" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.1.1
2.5.0
2026-01-14 00:43.21 ---> using "feb8e42e7592aa0181a8cdb6582db607e462c431f749bcdcd12a11b490a8d153" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-14 00:43.21 ---> using "fe14a6a7754197c765a76d2404263b1e5acc1c70e93e3f63d17bc2e1fd0ef498" 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
16d9c0eb87..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


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.4.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-01-14 00:43.21 ---> using "257f5dc4590cd06a8fa2cacaac1b34ac7fe3cf8beb38bf3daa5aa3047aff8e43" from cache


/src: (copy (src effects-examples.opam) (dst ./))
2026-01-14 00:43.22 ---> saved as "d793c7236c2ea903863c550098c0b157d64446827c70669eaa4caac24cd9fd6c"


/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-14 00:43.23 ---> saved as "17bf02aebb6ca8afd98111d207081647d29fd8e95d0c827eecdf94ce58bef5d4"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-14 00:43.23 ---> saved as "e0b2031b30463d01ac384c4da531692070ed994b8b745ae5a519ea007554497a"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.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.1.1 ocaml-base-compiler.5.1.1 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"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [95.5 kB]
- Fetched 9997 kB in 1s (7120 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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-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-14 00:43.33 ---> saved as "8a9dd77ea7ba6948a076e9cecc70cc7b1de531d96a154f029d43cdfd192709b1"


/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-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.1).
[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-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
-> installed multicont.1.0.3
-> installed lwt.6.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-14 00:44.07 ---> saved as "06a289c5b447f6f21cb5d55ab04d0f33f79532351112eba552270bdac48971a9"


/src: (copy (src .) (dst /src))
2026-01-14 00:44.08 ---> saved as "489b0294d00a04332b9b4ae0e217019b165c4cb1ea19972a31afdbbb741dae23"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.1/bin/ocamldep.opt -modules -impl ref.ml) > _build/default/.ref.eobjs/dune__exe__Ref.impl.d
File "ref.ml", line 78, characters 12-13:
78 |      effect (Ref init), k ->
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .fringe.eobjs/byte -no-alias-deps -opaque -o .fringe.eobjs/byte/dune__exe__Fringe.cmo -c -impl fringe.ml)
File "fringe.ml", line 45, characters 13-18:
45 |     | effect Yield e, k -> Yielded (e, k)
^^^^^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .algorithmic_differentiation.eobjs/byte -no-alias-deps -opaque -o .algorithmic_differentiation.eobjs/byte/dune__exe__Algorithmic_differentiation.cmo -c -impl algorithmic_differentiation.ml)
File "algorithmic_differentiation.ml", line 26, characters 15-16:
26 |       | effect (Add(a,b)), k ->
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .transaction.eobjs/byte -no-alias-deps -opaque -o .transaction.eobjs/byte/dune__exe__Transaction.cmo -c -impl transaction.ml)
File "transaction.ml", line 26, characters 15-16:
26 |       | effect (Update (r,v)), k -> (fun rb ->
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .dyn_wind.eobjs/byte -no-alias-deps -opaque -o .dyn_wind.eobjs/byte/dune__exe__Dyn_wind.cmo -c -impl dyn_wind.ml)
File "dyn_wind.ml", line 12, characters 13-14:
12 |     | effect e, k ->
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .dynamic_state.eobjs/byte -no-alias-deps -opaque -o .dynamic_state.eobjs/byte/dune__exe__Dynamic_state.cmo -c -impl dynamic_state.ml)
File "dynamic_state.ml", line 37, characters 15-16:
37 |       | effect (S.New i), k ->
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .generator.eobjs/byte -no-alias-deps -opaque -o .generator.eobjs/byte/dune__exe__Generator.cmo -c -impl generator.ml)
File "generator.ml", line 63, characters 18-19:
63 |       with effect (Next v), k ->
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .reify_reflect.eobjs/byte -no-alias-deps -opaque -o .reify_reflect.eobjs/byte/dune__exe__Reify_reflect.cmo -c -impl reify_reflect.ml)
File "reify_reflect.ml", line 23, characters 13-14:
23 |     | effect (E m), k -> M.bind m (continue k)
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .promises.eobjs/byte -no-alias-deps -opaque -o .promises.eobjs/byte/dune__exe__Promises.cmo -c -impl promises.ml)
File "promises.ml", line 112, characters 17-18:
112 |         | effect (Wait sr), k -> wait sr k; dequeue run_q
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .loop.eobjs/byte -no-alias-deps -opaque -o .loop.eobjs/byte/dune__exe__Loop.cmo -c -impl loop.ml)
File "loop.ml", line 11, characters 11-14:
11 |   | effect Foo, k ->
^^^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .eratosthenes.eobjs/byte -no-alias-deps -opaque -o .eratosthenes.eobjs/byte/dune__exe__Eratosthenes.cmo -c -impl eratosthenes.ml)
File "eratosthenes.ml", line 80, characters 11-12:
80 |   | effect (Send (pid, msg)), k ->
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I .pipes.eobjs/byte -no-alias-deps -opaque -o .pipes.eobjs/byte/dune__exe__Pipes.cmo -c -impl pipes.ml)
File "pipes.ml", line 22, characters 11-12:
22 |   | effect (Yield s), k ->
^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamldep.opt -modules -impl state.ml) > _build/default/.ref.eobjs/dune__exe__State.impl.d
File "state.ml", line 150, characters 13-16:
150 |     | effect Get, k -> continue k (!var : t)
^^^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamldep.opt -modules -impl sched.ml) > _build/default/.concurrent.eobjs/dune__exe__Sched.impl.d
File "sched.ml", line 21, characters 13-18:
21 |     | effect Yield, k ->
^^^^^
Error: Syntax error
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I mvar/.chameneos.eobjs/byte -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -no-alias-deps -opaque -open Dune__exe -o mvar/.chameneos.eobjs/byte/dune__exe__Sched.cmi -c -intf mvar/sched.mli)
File "mvar/sched.mli", line 4, characters 7-10:
4 | type _ eff +=
^^^
Error: Unbound type constructor eff
(cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w -50 -w -32 -w -27 -g -bin-annot -I mvar/.chameneos.eobjs/byte -I /home/opam/.opam/5.1/lib/bytes -I /home/opam/.opam/5.1/lib/lwt -I /home/opam/.opam/5.1/lib/lwt/unix -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/ocplib-endian -I /home/opam/.opam/5.1/lib/ocplib-endian/bigstring -no-alias-deps -opaque -open Dune__exe -o mvar/.chameneos.eobjs/byte/dune__exe__MVar.cmi -c -intf mvar/MVar.mli)
File "mvar/MVar.mli", line 25, characters 9-12:
25 |   type _ eff +=
^^^
Error: Unbound type constructor eff
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-01-14 00:44.08: Job failed: Failed: Build failed