Organisationsocaml-multicoredomainslib1a7f59 (heartbeat_with_compiler_support)macos-homebrew-5.4_arm64_opam-2.5

macos-homebrew-5.4_arm64_opam-2.5

Logs

Show full 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) (macos-arm64:macos-homebrew-5.4_arm64_opam-2.5)
Base: macos-homebrew-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 macos-homebrew-ocaml-5.4
# macos-homebrew-5.4_arm64_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.5 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
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 ./src/./
RUN opam pin add -yn domainslib.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./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 cd ./src && 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-macos-homebrew-ocaml-5.4-macos-homebrew-5.4_arm64_opam-2.5-f8b67c8f06bef238a47c049207efa8cc"
2026-01-19 21:17.29: Using OBuilder spec:
((from macos-homebrew-ocaml-5.4)
 (comment macos-homebrew-5.4_arm64_opam-2.5)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
 (run (shell "opam init --reinit -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (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 ./src/./))
 (run (network host)
      (shell "opam pin add -yn domainslib.dev './src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './src/./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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y domainslib.dev $DEPS"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell "opam install $DEPS"))
 (copy (src .) (dst ./src))
 (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2026-01-19 21:17.29: Waiting for resource in pool OCluster
2026-01-19 21:17.35: Waiting for worker…
2026-01-19 23:10.31: Got resource from pool OCluster
Building on m1-worker-04
All commits already cached
HEAD is now at 1a7f592 heartbeat with compiler support

(from macos-homebrew-ocaml-5.4)
2026-01-19 23:10.31 ---> using "338135fbf1889e924a607b47198b8b308c32a925cc9436066d65a9bdc402cad5" from cache

/: (comment macos-homebrew-5.4_arm64_opam-2.5)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (run (shell "ln -f ~/local/bin/opam-2.5 ~/local/bin/opam"))
2026-01-19 23:10.31 ---> using "0e9d0f8ed44ab1f77ef30c8d8456629e6c63f869a24319cbb64657a84e315111" from cache

/: (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 /Users/mac1000/.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:///Users/mac1000/opam-repository
2026-01-19 23:10.31 ---> using "06effe220fa63e5f9fae9bf4643255961d59bf292a94931a0e1dd6d81a9fa7c6" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 24.5.0
The OCaml toplevel, version 5.4.0
2.5.0
2026-01-19 23:10.31 ---> using "78e99acc02a52806060d0075d40f6ea681e9ef77eb60ecbbaff6e5155272646b" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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
   95f7875db7..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:///Users/mac1000/opam-repository

Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 23:10.31 ---> using "f9a5f719da477d2c9d7a3035c50aa92c1d166be59441cca15ba5fc9bc236f238" from cache

/: (copy (src domainslib.opam) (dst ./src/./))
2026-01-19 23:10.32 ---> using "2642c3778127c34f3c0bd42a5fc7c35145496abda4ea68faf19c300500f4e548" from cache

/: (run (network host)
        (shell "opam pin add -yn domainslib.dev './src/./'"))
[domainslib.dev] synchronised (file:///Users/mac1000/src)
domainslib is now pinned to file:///Users/mac1000/src (version dev)
2026-01-19 23:10.32 ---> using "badbdac89bde647e841c2bc19a885b56a4bfa2edb7e9eab581797628780eecde" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2026-01-19 23:10.32 ---> using "8c19ee23eaf96abb38329685bfeda784b99838e0f540db7aa5daef72c82e4291" from cache

/: (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 /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell "opam update --depexts && opam install --cli=2.5 --depext-only -y domainslib.dev $DEPS"))
+ /opt/homebrew/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[domainslib.dev] synchronised (file:///Users/mac1000/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-19 23:10.32 ---> using "a932435e0c3e2869efab08f91cb1e0c14879463d5dc225cc7206e9ae4d0c717a" from cache

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (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 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 mirage-clock.4.2.0, mirage-clock-unix.4.2.0  (cached)
-> retrieved kcas.0.7.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved multicore-magic.2.3.2  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved ocamlfind.1.9.8  (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 thread-table.1.0.0
-> installed psq.0.2.1
-> installed multicore-magic.2.3.2
-> installed backoff.0.1.1
-> installed qcheck-core.0.91
-> 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 dune-configurator.3.21.0
-> installed qcheck-stm.0.10
-> installed mirage-clock-unix.4.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-19 23:10.32 ---> using "7b56e420a3aaa67a80e53518b81c2307a246107bf64e7e3d2911ebb1257e09d2" from cache

/: (copy (src .) (dst ./src))
2026-01-19 23:10.33 ---> saved as "f8e94bac13e022a4a85ce175811fd04c8801e4a83b21a81de5aa3b3268fe93cf"

/: (run (shell "cd ./src && 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 -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /Users/mac1000/.opam/5.4.0/lib/ocaml -I /Users/mac1000/.opam/5.4.0/lib/backoff -I /Users/mac1000/.opam/5.4.0/lib/domain-local-await -I /Users/mac1000/.opam/5.4.0/lib/multicore-magic -I /Users/mac1000/.opam/5.4.0/lib/multicore-magic/__private__/multicore_magic_atomic_array_unboxed5_4 -I /Users/mac1000/.opam/5.4.0/lib/ocaml/unix -I /Users/mac1000/.opam/5.4.0/lib/saturn -I /Users/mac1000/.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.
"/usr/bin/env" "bash" "-c" "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-01-19 23:10.38: Job failed: Failed: Build failed