Organisationsocaml-multicoreeffects-examples8a7e80 (master)debian-12-5.2_opam-2.3

debian-12-5.2_opam-2.3

Logs

Show full logs
2025-02-05 08:34.58: New job: test ocaml-multicore/effects-examples https://github.com/ocaml-multicore/effects-examples.git#refs/heads/master (8a7e80dd29e68e2d05fe4b0399c8535a51f36395) (linux-x86_64:debian-12-5.2_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797
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-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797
# debian-12-5.2_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.17.2 dune-configurator.3.17.2 lwt.5.9.0 multicont.1.0.3 ocaml.5.2.1 ocaml-base-compiler.5.2.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.3 --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-02-05 08:34.58: Using cache hint "ocaml-multicore/effects-examples-ocaml/opam:debian-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797-debian-12-5.2_opam-2.3-b9fc4b7058a399fc70d0e3efb6428c59"
2025-02-05 08:34.58: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797)
 (comment debian-12-5.2_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && 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.17.2 dune-configurator.3.17.2 lwt.5.9.0 multicont.1.0.3 ocaml.5.2.1 ocaml-base-compiler.5.2.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.3 --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-02-05 08:34.58: Waiting for resource in pool OCluster
2025-02-05 11:48.10: Waiting for worker…
2025-02-05 11:51.16: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
HEAD is now at 8a7e80d Merge pull request #44 from ocaml-multicore/multicont-1.0.3

(from ocaml/opam:debian-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797)
2025-02-05 11:51.16 ---> using "f17bdb234f3227a585fe2c1f206dac0bb90f210be3ad25fab2b82485edb7e384" from cache

/: (comment debian-12-5.2_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-05 11:51.16 ---> using "17aa5dbcc0830ea4c43f29cb5401829463a5857a3ac6ae9f859a32facad5ccad" 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 development 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] synchronised from file:///home/opam/opam-repository
2025-02-05 11:51.16 ---> using "8f7fac8a387e2010f9436db25b7ec068b989fa4b053ed1785caf3835dceedd85" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.2.1
2.3.0
2025-02-05 11:51.16 ---> using "cc523711fa8fb07d95e07479bd0c5602c704196d71d8f23a98723de3b9f20b04" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-02-05 11:51.16 ---> using "df50a92af4863176449ed9574bcaaa39a44dd25e26a5167229e548fe47db6eed" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 3ee951993de4d18fd335fcea4ac7375cab56a637 || git fetch origin master) && git reset -q --hard 3ee951993de4d18fd335fcea4ac7375cab56a637 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   3e681a81f6..053dec3778  master     -> origin/master
3ee951993d Merge pull request #27253 from kit-ty-kate/opam-publish-ocamlfind.1.9.8

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 11:51.16 ---> using "32a15a622e36295183299510896800b5f2a89ed84a0eb98bcf20454a7b0daeb3" from cache

/src: (copy (src effects-examples.opam) (dst ./))
2025-02-05 11:51.17 ---> saved as "8732bccedd88aef6545f829310762a221b864e33bbd0aeeac7055ad7f66fd697"

/src: (run (network host)
           (shell "opam pin add -yn effects-examples.dev './'"))
Package effects-examples does not exist, create as a NEW package? [y/n] y
[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-02-05 11:51.18 ---> saved as "fe719080ab420130c85c3b3ab3d5da5a4469564e7626e3c380bd6ef4d86a0564"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-05 11:51.18 ---> saved as "e71a6ba2747ac39f555d1e32b7faf35187cc1bc4ba3d5880974df4438a9c0a2f"

/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.17.2 dune-configurator.3.17.2 lwt.5.9.0 multicont.1.0.3 ocaml.5.2.1 ocaml-base-compiler.5.2.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.3 --depext-only -y effects-examples.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [243 kB]
- Fetched 346 kB in 0s (1009 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.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.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).
2025-02-05 11:51.34 ---> saved as "9e4efea1ac91f2d4e5d4e807bc08ec41ff5c5516eb750593a616431df4d3b5e2"

/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.2.1).
[NOTE] Package ocaml is already installed (current version is 5.2.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.17.2
  - install dune-configurator 3.17.2
  - install lwt               5.9.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.5.9.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.17.2
-> installed multicont.1.0.3
-> installed lwt.5.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-05 11:53.08 ---> saved as "0ba1e5f995a1e6c82889328723d179cf3216f772005ac27d1cf2e742fe98f84b"

/src: (copy (src .) (dst /src))
2025-02-05 11:53.09 ---> saved as "ddc09ad3208eda7dc6e0f175e0b9e180507978c00a0dbfb2fdee09cee758939a"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.2/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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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 -bin-annot-occurrences -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.2/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.2/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.2/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 -bin-annot-occurrences -I mvar/.chameneos.eobjs/byte -I /home/opam/.opam/5.2/lib/bytes -I /home/opam/.opam/5.2/lib/lwt -I /home/opam/.opam/5.2/lib/lwt/unix -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ocplib-endian -I /home/opam/.opam/5.2/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
(cd _build/default && /home/opam/.opam/5.2/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 -bin-annot-occurrences -I mvar/.chameneos.eobjs/byte -I /home/opam/.opam/5.2/lib/bytes -I /home/opam/.opam/5.2/lib/lwt -I /home/opam/.opam/5.2/lib/lwt/unix -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -I /home/opam/.opam/5.2/lib/ocplib-endian -I /home/opam/.opam/5.2/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
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-02-05 11:53.10: Job failed: Failed: Build failed