Organisationsocaml-multicoredomainslib1a7f59 (heartbeat_with_compiler_support)fedora-43-5.4_opam-2.5

fedora-43-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-01-19 21:17.29: New job: test ocaml-multicore/domainslib https://github.com/ocaml-multicore/domainslib.git#refs/heads/heartbeat_with_compiler_support (1a7f592b655c4a10b9fc3d74f6e901bd21028616) (linux-x86_64:fedora-43-5.4_opam-2.5)
Base: ocaml/opam:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7
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:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7
# fedora-43-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 1c997ec9e6ebc6ea699547000cb8dfa44e52efaa || git fetch origin master) && git reset -q --hard 1c997ec9e6ebc6ea699547000cb8dfa44e52efaa && 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="backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.21.0 dune-configurator.3.21.0 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.91 qcheck-multicoretests-util.0.10 qcheck-stm.0.10 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.1.1"
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-01-19 21:17.29: Using cache hint "ocaml-multicore/domainslib-ocaml/opam:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7-fedora-43-5.4_opam-2.5-f8b67c8f06bef238a47c049207efa8cc"
2026-01-19 21:17.29: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7)
(comment fedora-43-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 1c997ec9e6ebc6ea699547000cb8dfa44e52efaa || git fetch origin master) && git reset -q --hard 1c997ec9e6ebc6ea699547000cb8dfa44e52efaa && 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 (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.21.0 dune-configurator.3.21.0 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.91 qcheck-multicoretests-util.0.10 qcheck-stm.0.10 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.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.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-01-19 21:17.29: Waiting for resource in pool OCluster
2026-01-20 01:06.26: Waiting for worker…
2026-01-20 01:13.29: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 1a7f592 heartbeat with compiler support


(from ocaml/opam:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7)
Unable to find image 'ocaml/opam:fedora-43-ocaml-5.4@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7' locally
docker.io/ocaml/opam@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7: Pulling from ocaml/opam
1216d224fefc: Already exists
d2b80d0f9692: Already exists
b44754d8bf82: Already exists
36abc5888bbf: Already exists
13ceeda275e3: Already exists
9d0a0e279caf: Already exists
40e2d63e6bc8: Already exists
75b3ac574ea6: Already exists
1049f777ea82: Already exists
03fc9df51c6a: Already exists
b047e90b13a5: Already exists
9e9b975180f0: Already exists
67d0d0d5c8c1: Already exists
89a5d6bde7a7: Already exists
1d93c1211989: Already exists
29eae7cc87b0: Already exists
29eae7cc87b0: Already exists
cbc0891b6ad5: Already exists
1dcdb5dba4d6: Already exists
cbbbe6830481: Already exists
21e1ea572da2: Already exists
4f4fb700ef54: Already exists
98b69470db28: Already exists
2dcdfd57803f: Already exists
379ef38822e9: Already exists
3bc4f9dcff1f: Already exists
d9698ccc8ea7: Already exists
5ed663178eca: Already exists
c8305c642087: Already exists
8f6d93fd556f: Already exists
921519ed1807: Already exists
c60d13ca69bb: Already exists
2aac9c9633a8: Already exists
c0e95d961175: Already exists
27ce8579a8e4: Already exists
fe5862feaa51: Already exists
e29132ca7758: Already exists
7f1e364d449b: Already exists
a8bd8d8144bc: Already exists
571a3efac70d: Already exists
a83a90a79bde: Pulling fs layer
965ec293f8c1: Pulling fs layer
98102c35b6c5: Pulling fs layer
be27aa16171d: Pulling fs layer
c900362c76d3: Pulling fs layer
be27aa16171d: Waiting
c900362c76d3: Waiting
a83a90a79bde: Download complete
98102c35b6c5: Verifying Checksum
98102c35b6c5: Download complete
a83a90a79bde: Pull complete
be27aa16171d: Verifying Checksum
be27aa16171d: Download complete
c900362c76d3: Download complete
965ec293f8c1: Verifying Checksum
965ec293f8c1: Download complete
965ec293f8c1: Pull complete
98102c35b6c5: Pull complete
be27aa16171d: Pull complete
c900362c76d3: Pull complete
Digest: sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7
Status: Downloaded newer image for ocaml/opam@sha256:e63cb54f263f69a5487a22bff4673effded4c57d56bd27fd67e3cc2615aab9b7
2026-01-20 01:13.30 ---> using "4e2b8591845136281b2629afb7934c15f1ae534ce6c700ee8841e11b607a33a7" from cache


/: (comment fedora-43-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 43 - x86_64                     100% |  68.7 KiB/s |  22.0 KiB |  00m00s
Fedora 43 - x86_64 - Updates           100% | 119.5 KiB/s |  20.1 KiB |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-6.fc43.x86_64" is already installed.


Nothing to do.
2026-01-20 01:13.30 ---> using "837c07188bf50ea546afbccb4d2f64bc0404968bc0937813826ca26b88c6ea71" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-20 01:13.30 ---> using "a0e1ae1c42dd01ffe431135132f32b5d6f97bc76e97c00f10122bcde345422b4" 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-20 01:13.30 ---> using "61a7774f29dc5820513e99ec972f57df997429bf3f81ba129e961d9c42ee9cf0" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-87-generic
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-20 01:13.30 ---> using "63917ca5af84f6109637526de6c22761387273cdcaa1b1d885dc1d45fbb1fa8b" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-20 01:13.30 ---> using "26df678581fbe1125840d6b3260cbe14d9d438bec832027001047372311489df" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1c997ec9e6ebc6ea699547000cb8dfa44e52efaa || git fetch origin master) && git reset -q --hard 1c997ec9e6ebc6ea699547000cb8dfa44e52efaa && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
a6b2f19780..1c997ec9e6  master     -> origin/master
1c997ec9e6 Merge pull request #29241 from polytypic/release-multicore-magic-2.3.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-20 01:13.30 ---> using "4874d436b33e70a855081203195963319ce1ad23300dee3146ccde0d7d14bb71" from cache


/src: (copy (src domainslib.opam) (dst ./))
2026-01-20 01:13.30 ---> using "bf25e3694fa353d49b978867088e1bb9e301ad5fde8404914f2ba3f33d146900" 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-01-20 01:13.30 ---> using "d988bd39d499f3ee6bcca75cb0d1244cdf65f7a8edb780db6458bc93c97e9b63" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-20 01:13.30 ---> using "344732f07ceaf019b8ca0d83d72c3b13b8148974be55c905d7fa611e25ce3592" from cache


/src: (env DEPS "backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.21.0 dune-configurator.3.21.0 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.91 qcheck-multicoretests-util.0.10 qcheck-stm.0.10 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.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.5 --depext-only -y domainslib.dev $DEPS"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> 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-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-01-20 01:13.30 ---> using "5595f3d546e464adc1cd8e2f058677080505e3099788e3aa28670b91c6486cff" 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 21 packages
- install backoff                    0.1.1
- install csexp                      1.5.2
- install domain-local-await         1.0.1
- install domain-local-timeout       1.0.1
- install dune                       3.21.0
- install dune-configurator          3.21.0
- install kcas                       0.7.0
- install mirage-clock               4.2.0
- install mirage-clock-unix          4.2.0
- install mtime                      2.1.0
- install multicore-magic            2.3.2
- install ocamlbuild                 0.16.1
- install ocamlfind                  1.9.8
- install psq                        0.2.1
- install qcheck-core                0.91
- install qcheck-multicoretests-util 0.10
- install qcheck-stm                 0.10
- install saturn                     1.0.0
- install seq                        base
- install thread-table               1.0.0
- install topkg                      1.1.1


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved domain-local-timeout.1.0.1  (cached)
-> retrieved kcas.0.7.0  (cached)
-> retrieved mirage-clock.4.2.0, mirage-clock-unix.4.2.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved multicore-magic.2.3.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved qcheck-core.0.91  (cached)
-> retrieved qcheck-multicoretests-util.0.10, qcheck-stm.0.10  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved saturn.1.0.0  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed mtime.2.1.0
-> installed dune.3.21.0
-> installed mirage-clock.4.2.0
-> installed csexp.1.5.2
-> installed backoff.0.1.1
-> installed multicore-magic.2.3.2
-> installed psq.0.2.1
-> installed qcheck-core.0.91
-> installed thread-table.1.0.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed qcheck-multicoretests-util.0.10
-> installed saturn.1.0.0
-> installed kcas.0.7.0
-> installed qcheck-stm.0.10
-> installed dune-configurator.3.21.0
-> installed mirage-clock-unix.4.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-20 01:13.30 ---> using "9695acf783c14910aef5a6b0ac87e0a70f689c3b03a380e193e58cc8a2b48237" from cache


/src: (copy (src .) (dst /src))
2026-01-20 01:13.30 ---> saved as "75cfe48439ad799d09514e67fada17dda3494f56755c225fec22ef674f65efb1"


/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/sbin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/backoff -I /home/opam/.opam/5.4/lib/domain-local-await -I /home/opam/.opam/5.4/lib/multicore-magic -I /home/opam/.opam/5.4/lib/multicore-magic/__private__/multicore_magic_atomic_array_unboxed5_4 -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/saturn -I /home/opam/.opam/5.4/lib/thread-table -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);
|                                       ^~
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-01-20 01:13.31: Job failed: Failed: Build failed