Organisationsocaml-multicoredomainslib1a7f59 (heartbeat_with_compiler_support)freebsd-14.3-5.4_opam-2.5

freebsd-14.3-5.4_opam-2.5

Logs

Show full logs
2026-01-19 20:49.05: New job: test ocaml-multicore/domainslib https://github.com/ocaml-multicore/domainslib.git#refs/heads/heartbeat_with_compiler_support (1a7f592b655c4a10b9fc3d74f6e901bd21028616) (freebsd-x86_64:freebsd-14.3-5.4_opam-2.5)
Base: freebsd-14.3-ocaml-5.4
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 freebsd-14.3-ocaml-5.4
# freebsd-14.3-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.5 /usr/local/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 20:49.05: Using cache hint "ocaml-multicore/domainslib-freebsd-14.3-ocaml-5.4-freebsd-14.3-5.4_opam-2.5-f8b67c8f06bef238a47c049207efa8cc"
2026-01-19 20:49.05: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.4)
 (comment freebsd-14.3-5.4_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /usr/local/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 20:49.05: Waiting for resource in pool OCluster
2026-01-19 20:49.05: Waiting for worker…
2026-01-19 20:51.05: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at 1a7f592 heartbeat with compiler support

(from freebsd-14.3-ocaml-5.4)
2026-01-19 20:47.35 ---> using "463e9b939b79b2568bf98b05cff00f85b3ec5717170cf88773a44ae3b08f11e7" from cache

/: (comment freebsd-14.3-5.4_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-01-19 20:47.36 ---> using "e61cc6f90204801db314d0aa3481b9199ff82a8a270abed9917e5690810c70ed" from cache

/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-01-19 20:47.37 ---> using "991489237400f99acdd227f8234d37ac98134e18d1f3c091be7204acf59248ac" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-19 20:47.37 ---> using "add5f681a375911dcea6c14418d3635cba7f82294574aa9177e3a0a9fa01d5bd" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-19 20:47.38 ---> using "56f48ccddab22348a30c0beee9b14f69a3990eb0fbd9a0ccd0040d116cc1fce5" 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
   71325ac6ed..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.
2026-01-19 20:47.39 ---> using "b3f125d4c851da7be3da31dc43eccfc37bc7961f690ff3fedbd3cf45ddc260e4" from cache

/src: (copy (src domainslib.opam) (dst ./))
2026-01-19 20:47.40 ---> using "c41cab033960d1e8ab87e5f64acedff255e0db636daa33fddc6bbe12882f7591" 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-19 20:47.41 ---> using "40b7ffca17f64a52e9f8a0452a678274c97fdd07598ca98e5b432f0c1d63bfef" from cache

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-19 20:47.42 ---> using "8e809fbef10d81c413758c4704ecfa9a273015680cd9b5b2f83ad051d5f0d232" 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"))
[WARNING] Unknown update command for bsd, skipping system update

<><> 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).
2026-01-19 20:47.43 ---> using "ba404a51fcb04b6c3944c8cfd691713c48554900f0ca11c38c7fdb28ad34f5b7" 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
   backoff                    0.1.1
   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
   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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved domain-local-await.1.0.1  (cached)
 retrieved csexp.1.5.2  (cached)
 retrieved domain-local-timeout.1.0.1  (cached)
 retrieved backoff.0.1.1  (cached)
 retrieved kcas.0.7.0  (cached)
 retrieved mtime.2.1.0  (cached)
 retrieved mirage-clock.4.2.0, mirage-clock-unix.4.2.0  (cached)
 retrieved multicore-magic.2.3.2  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved psq.0.2.1  (cached)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved qcheck-multicoretests-util.0.10, qcheck-stm.0.10  (cached)
 retrieved qcheck-core.0.91  (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 thread-table.1.0.0
 installed psq.0.2.1
 installed multicore-magic.2.3.2
 installed backoff.0.1.1
 installed domain-local-timeout.1.0.1
 installed qcheck-core.0.91
 installed domain-local-await.1.0.1
 installed kcas.0.7.0
 installed saturn.1.0.0
 installed qcheck-multicoretests-util.0.10
 installed dune-configurator.3.21.0
 installed qcheck-stm.0.10
 installed mirage-clock-unix.4.2.0
Done.
2026-01-19 20:47.45 ---> using "83f7be265bb8d65a5bc755afd91f8919a34440b258ed8e2e138145132d0380da" from cache

/src: (copy (src .) (dst /src))
2026-01-19 20:47.50 ---> saved as "b779fc851d7e6d2300a359489c366e9b055e0d3080b26c90ded1306c8648057a"

/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/cc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4.0/lib/ocaml -I /home/opam/.opam/5.4.0/lib/backoff -I /home/opam/.opam/5.4.0/lib/domain-local-await -I /home/opam/.opam/5.4.0/lib/multicore-magic -I /home/opam/.opam/5.4.0/lib/multicore-magic/__private__/multicore_magic_atomic_array_unboxed5_4 -I /home/opam/.opam/5.4.0/lib/ocaml/unix -I /home/opam/.opam/5.4.0/lib/saturn -I /home/opam/.opam/5.4.0/lib/thread-table -o heartbeat_stubs.o -c heartbeat_stubs.c)
heartbeat_stubs.c:223:30: error: no member named 'dyn' in 'struct stack_info'
  223 |   Caml_state->current_stack->dyn = dyn;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~  ^
heartbeat_stubs.c:224:30: error: no member named 'val' in 'struct stack_info'
  224 |   Caml_state->current_stack->val = val;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~  ^
heartbeat_stubs.c:227:41: error: no member named 'dynamic_bindings' in 'caml_domain_state'
  227 |   caml_dynamic_flush_thread(Caml_state->dynamic_bindings);
      |                             ~~~~~~~~~~  ^
3 errors generated.
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_56181_60789" "mount.devfs" "path=/obuilder/result/16b6229ce5385d73ff4c6df5d55d945f92c02429cff5bfb24fc99ec32671ff6c/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' 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' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2026-01-19 20:51.29: Job failed: Failed: Build failed