Organisationsocaml-multicoredomainslib1a7f59 (heartbeat_with_compiler_support)(lower-bound)

(lower-bound)

Link Copied
Code Copied

Logs

2026-03-14 15:25.27: New job: test ocaml-multicore/domainslib https://github.com/ocaml-multicore/domainslib.git#refs/heads/heartbeat_with_compiler_support (1a7f592b655c4a10b9fc3d74f6e901bd21028616) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-13-ocaml-5.0@sha256:e2260d92d8f11ec5b35586d61607fefc24875ef162111572fa2de6c7ff2e0810
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/domainslib.git" -b "heartbeat_with_compiler_support" && cd "domainslib" && git reset --hard 1a7f592b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.0@sha256:e2260d92d8f11ec5b35586d61607fefc24875ef162111572fa2de6c7ff2e0810
# debian-13-5.0_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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 domainslib.opam ./
RUN opam pin add -yn domainslib.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.3.1 domain-local-await.0.1.0 domain_shims.0.1.0 dune.3.5.0 dune-configurator.2.9.3 kcas.0.3.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.25 qcheck-multicoretests-util.0.8 qcheck-stm.0.8 result.1.5 saturn.0.4.0 saturn_lockfree.0.4.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y domainslib.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-14 15:25.27: Using cache hint "ocaml-multicore/domainslib-ocaml/opam:debian-13-ocaml-5.0@sha256:e2260d92d8f11ec5b35586d61607fefc24875ef162111572fa2de6c7ff2e0810-debian-13-5.0_opam-2.5-14ad7321e656946392a6232b21fbf0c6"
2026-03-14 15:25.27: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.0@sha256:e2260d92d8f11ec5b35586d61607fefc24875ef162111572fa2de6c7ff2e0810)
(comment debian-13-5.0_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 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src domainslib.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn domainslib.dev './'"))
(run (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.3.1 domain-local-await.0.1.0 domain_shims.0.1.0 dune.3.5.0 dune-configurator.2.9.3 kcas.0.3.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.25 qcheck-multicoretests-util.0.8 qcheck-stm.0.8 result.1.5 saturn.0.4.0 saturn_lockfree.0.4.0")
(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 domainslib.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-14 15:25.27: Waiting for resource in pool OCluster
2026-03-14 15:25.27: Waiting for worker…
2026-03-14 15:25.27: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 1a7f592 heartbeat with compiler support


(from ocaml/opam:debian-13-ocaml-5.0@sha256:e2260d92d8f11ec5b35586d61607fefc24875ef162111572fa2de6c7ff2e0810)
2026-03-14 15:25.27 ---> using "1af97956665d2efc3902489efa6840429d2fffc402d2f09afa7ae10086cc57e5" from cache


/: (comment debian-13-5.0_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-03-14 15:25.27 ---> using "7678fbdd439a0f8d4538c53236dafc0c71991708509e32d7ebc79416a18dc7b5" 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-14 15:25.27 ---> using "2fe30923748b04429f29ecae148f5db75daa245ddb090fc01643a449ab945ea0" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.0.0
2.5.0
2026-03-14 15:25.27 ---> using "6af19d83d422b80f80c97d282f9c55a877a159b8b2213341ac227a826ce07631" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-03-14 15:25.27 ---> using "eb95195fd28dcef34d8d31ebae736d14a665419ae1c29318278dcccaaaf08dcb" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 31462e7d24da1419f9eb9099a0b60ea507d91ef6 || git fetch origin master) && git reset -q --hard 31462e7d24da1419f9eb9099a0b60ea507d91ef6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ffb54b9bdd..f2e7a221a1  master     -> origin/master
31462e7d24 Merge pull request #29451 from dra27/relocatable-package


<><> 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-14 15:25.27 ---> using "4b621696f555e51020d0d1636f8ca40908046abae91644d866f62d0c5e5efdf4" from cache


/src: (copy (src domainslib.opam) (dst ./))
2026-03-14 15:25.27 ---> using "87b4dae6ea5b855474c56fa2d52b0c54ff1bef61731c1b289e87fb5050290bf8" from cache


/src: (run (network host)
(shell "opam pin add -yn domainslib.dev './'"))
[domainslib.dev] synchronised (file:///src)
domainslib is now pinned to file:///src (version dev)
2026-03-14 15:25.27 ---> using "8eef2b108cfcb626aed2a5c01c2c374534f9431967ed3f373b8f3065827f996d" from cache


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-03-14 15:25.27 ---> using "06ccfc40ef1e851332784758f33579bec798489aba8cfbf6be14e5c7a4bda712" from cache


/src: (env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base csexp.1.3.1 domain-local-await.0.1.0 domain_shims.0.1.0 dune.3.5.0 dune-configurator.2.9.3 kcas.0.3.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 ocaml.5.0.0 ocaml-base-compiler.5.0.0 ocaml-config.3 ocaml-options-vanilla.1 qcheck-core.0.25 qcheck-multicoretests-util.0.8 qcheck-stm.0.8 result.1.5 saturn.0.4.0 saturn_lockfree.0.4.0")


/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 domainslib.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [111 kB]
- Fetched 202 kB in 0s (664 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[domainslib.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).
# To update the current shell environment, run: eval $(opam env)
2026-03-14 15:25.27 ---> using "683d868931d720a6b7654b4df72c87a5fcb8a10f0ce98761bc1e72d296274892" 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-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 14 packages
- install csexp                      1.3.1
- install domain-local-await         0.1.0
- install domain_shims               0.1.0
- install dune                       3.5.0
- install dune-configurator          2.9.3
- install kcas                       0.3.0
- install mirage-clock               4.2.0
- install mirage-clock-unix          4.2.0
- install qcheck-core                0.25
- install qcheck-multicoretests-util 0.8
- install qcheck-stm                 0.8
- install result                     1.5
- install saturn                     0.4.0
- install saturn_lockfree            0.4.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.3.1  (cached)
-> retrieved domain-local-await.0.1.0  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved kcas.0.3.0  (cached)
-> retrieved mirage-clock.4.2.0, mirage-clock-unix.4.2.0  (cached)
-> retrieved qcheck-core.0.25  (cached)
-> retrieved qcheck-multicoretests-util.0.8, qcheck-stm.0.8  (cached)
-> retrieved result.1.5  (cached)
-> retrieved saturn.0.4.0, saturn_lockfree.0.4.0  (cached)
-> retrieved dune.3.5.0  (cached)
-> retrieved dune-configurator.2.9.3  (cached)
-> installed dune.3.5.0
-> installed domain_shims.0.1.0
-> installed mirage-clock.4.2.0
-> installed domain-local-await.0.1.0
-> installed result.1.5
-> installed csexp.1.3.1
-> installed saturn_lockfree.0.4.0
-> installed kcas.0.3.0
-> installed saturn.0.4.0
-> installed qcheck-core.0.25
-> installed dune-configurator.2.9.3
-> installed qcheck-multicoretests-util.0.8
-> installed mirage-clock-unix.4.2.0
-> installed qcheck-stm.0.8
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-14 15:25.27 ---> using "61ff690a0365c0e07b562cd4b9674db613a96cbbf0b43de7070b9ea83af02c7b" from cache


/src: (copy (src .) (dst /src))
2026-03-14 15:25.28 ---> saved as "000b665a3a97af7a995a105f1319c9efca2e1251d20c5caedf313130918da16c"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "test/dune", line 161, characters 10-20:
161 |  (modules test_small))
^^^^^^^^^^
Error: Module Test_small doesn't exist.
File "test/dune", line 166, characters 10-24:
166 |  (modules bench_analysis))
^^^^^^^^^^^^^^
Error: Module Bench_analysis doesn't exist.
File "test/dune", line 167, characters 72-87:
167 | (executable (name bench_analysis2) (libraries domainslib unix) (modules bench_analysis2))
^^^^^^^^^^^^^^^
Error: Module Bench_analysis2 doesn't exist.
File "test/dune", line 168, characters 70-83:
168 | (executable (name bench_counter) (libraries domainslib unix) (modules bench_counter))
^^^^^^^^^^^^^
Error: Module Bench_counter doesn't exist.
File "lib/dune", line 7, characters 9-24:
7 |   (names heartbeat_stubs)))
^^^^^^^^^^^^^^^
(cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -g -I /home/opam/.opam/5.0/lib/ocaml -I /home/opam/.opam/5.0/lib/domain-local-await -I /home/opam/.opam/5.0/lib/domain_shims -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/saturn -I /home/opam/.opam/5.0/lib/saturn_lockfree -o heartbeat_stubs.o -c heartbeat_stubs.c)
heartbeat_stubs.c: In function 'domainslib_set_fiber_state':
heartbeat_stubs.c:223:28: error: 'struct stack_info' has no member named 'dyn'
223 |   Caml_state->current_stack->dyn = dyn;
|                            ^~
heartbeat_stubs.c:224:28: error: 'struct stack_info' has no member named 'val'
224 |   Caml_state->current_stack->val = val;
|                            ^~
heartbeat_stubs.c:227:39: error: 'caml_domain_state' has no member named 'dynamic_bindings'
227 |   caml_dynamic_flush_thread(Caml_state->dynamic_bindings);
|                                       ^~
(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 -g -bin-annot -I lib/.domainslib.objs/byte -I /home/opam/.opam/5.0/lib/domain-local-await -I /home/opam/.opam/5.0/lib/domain_shims -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/saturn -I /home/opam/.opam/5.0/lib/saturn_lockfree -no-alias-deps -opaque -open Domainslib__ -o lib/.domainslib.objs/byte/domainslib__Multi_channel.cmo -c -impl lib/multi_channel.ml)
File "lib/multi_channel.ml", line 38, characters 15-25:
38 |   channels: 'a Ws_deque.t array;
^^^^^^^^^^
Error: Unbound type constructor Ws_deque.t
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-03-14 15:25.30: Job failed: Failed: Build failed