Organisationsocaml-multicoreeffects-examples8a7e80 (master)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2025-01-21 14:12.42: New job: test ocaml-multicore/effects-examples https://github.com/ocaml-multicore/effects-examples.git#refs/heads/master (8a7e80dd29e68e2d05fe4b0399c8535a51f36395) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0
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.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0
# debian-12-5.0_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 b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && 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.6.6 csexp.1.5.1 dune.3.14.0 dune-configurator.3.14.0 lwt.5.7.0 multicont.1.0.3 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.5 ocplib-endian.1.1"
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-01-21 14:12.42: Using cache hint "ocaml-multicore/effects-examples-ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0-debian-12-5.0_opam-2.3-c8b4e57d58a99204a41255cf9b7e2f5e"
2025-01-21 14:12.42: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0)
(comment debian-12-5.0_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 b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && 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.6.6 csexp.1.5.1 dune.3.14.0 dune-configurator.3.14.0 lwt.5.7.0 multicont.1.0.3 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.5 ocplib-endian.1.1")
(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-01-21 14:12.42: Waiting for resource in pool OCluster
2025-01-21 15:13.04: Waiting for worker…
2025-01-21 15:15.02: Got resource from pool OCluster
Building on phoebe.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-12-ocaml-5.0@sha256:b76c766bee396852c25d4b17148c2c695483eba5904a1515808a576bc92c07f0)
2025-01-21 15:15.02 ---> using "810efee3cf583c9f1c39146a67e6881f77bdf5162f874b2f96caa8c7358148f6" from cache


/: (comment debian-12-5.0_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-01-21 15:15.02 ---> using "0ef660b0f17c4f56349af07d651289e5fba1745eb57cc4d471ec59c81ba16d12" 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
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2025-01-21 15:15.02 ---> using "7bec2f6f2999bdcfd2f1ee4c47a378838362e853c4907d29c853c7014ae07bcc" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.0.0
2.3.0
2025-01-21 15:15.02 ---> using "a341da5be79535bb7972bf5db9a3fd7a3450a5dff3fac8bbca4610969d93319f" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-01-21 15:15.02 ---> using "0174626be44927b0b490b049a79201ad915319691d2452a298fe92ecb230d64e" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b41fc63234d56d04112634b1ea9121f12caf9794 || git fetch origin master) && git reset -q --hard b41fc63234d56d04112634b1ea9121f12caf9794 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
3e681a81f6..b41fc63234  master     -> origin/master
b41fc63234 Merge pull request #27302 from ocaml/dra27--rm-non-win32-host-pkgs


<><> 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-01-21 15:15.02 ---> using "0cb34c033cd3b6422c59554cae8693390a42e8bfe6ce5c4be7d4ccb6fdb6c8a1" from cache


/src: (copy (src effects-examples.opam) (dst ./))
2025-01-21 15:15.02 ---> using "e8effc398b76fd84145cd445cc1c352576cd951707516e7008a7f2d8f169bc65" from cache


/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
[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)
2025-01-21 15:15.04 ---> saved as "11c680c09da64497eccae954511099638b75beb2ef3839e8e8f4ae50255a4c93"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-01-21 15:15.04 ---> saved as "b2378f64c8193e06ee805c392125e6d4ea3bfb444d6035d8792c8b8a33bedf68"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cppo.1.6.6 csexp.1.5.1 dune.3.14.0 dune-configurator.3.14.0 lwt.5.7.0 multicont.1.0.3 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.5 ocplib-endian.1.1")


/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 [241 kB]
- Fetched 344 kB in 1s (649 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.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-01-21 15:15.31 ---> saved as "a07a5b0802d805fa3a3a511427accf5df994c6f9447ea3d03ba36fc2d82d9ee2"


/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.0.0).
[NOTE] Package ocaml is already installed (current version is 5.0.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-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.6.6
- install csexp             1.5.1
- install dune              3.14.0
- install dune-configurator 3.14.0
- install lwt               5.7.0
- install multicont         1.0.3
- install ocamlfind         1.9.5
- install ocplib-endian     1.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.6.6  (cached)
-> retrieved csexp.1.5.1  (cached)
-> retrieved multicont.1.0.3  (cached)
-> retrieved lwt.5.7.0  (cached)
-> retrieved ocamlfind.1.9.5  (cached)
-> retrieved ocplib-endian.1.1  (cached)
-> retrieved dune.3.14.0, dune-configurator.3.14.0  (cached)
-> installed ocamlfind.1.9.5
-> installed base-bytes.base
-> installed dune.3.14.0
-> installed csexp.1.5.1
-> installed cppo.1.6.6
-> installed ocplib-endian.1.1
-> installed dune-configurator.3.14.0
-> installed multicont.1.0.3
-> installed lwt.5.7.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-01-21 15:17.14 ---> saved as "45d0f471ce96b6f4fea47ad71a7a5c38c80ceeac9c8ac8c39cf2cedce7d8a2c4"


/src: (copy (src .) (dst /src))
2025-01-21 15:17.15 ---> saved as "df55be17c161b88cd4164cde3e9a2e430b974fdd6d3bbbb8f763e5f20a87548f"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/lib/bytes -I /home/opam/.opam/5.0/lib/lwt -I /home/opam/.opam/5.0/lib/lwt/unix -I /home/opam/.opam/5.0/lib/ocaml/threads -I /home/opam/.opam/5.0/lib/ocaml/unix -I /home/opam/.opam/5.0/lib/ocplib-endian -I /home/opam/.opam/5.0/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.0/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.0/lib/bytes -I /home/opam/.opam/5.0/lib/lwt -I /home/opam/.opam/5.0/lib/lwt/unix -I /home/opam/.opam/5.0/lib/ocaml/threads -I /home/opam/.opam/5.0/lib/ocaml/unix -I /home/opam/.opam/5.0/lib/ocplib-endian -I /home/opam/.opam/5.0/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
2025-01-21 15:17.16: Job failed: Failed: Build failed