Organisationsocaml-multicoredomainslib1a7f59 (heartbeat_with_compiler_support)windows-server-mingw-ltsc2025-5.4_opam-2.5

windows-server-mingw-ltsc2025-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-04-03 11:36.13: New job: test ocaml-multicore/domainslib https://github.com/ocaml-multicore/domainslib.git#refs/heads/heartbeat_with_compiler_support (1a7f592b655c4a10b9fc3d74f6e901bd21028616) (windows-x86_64:windows-server-mingw-ltsc2025-5.4_opam-2.5)
Base: ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
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:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1
# windows-server-mingw-ltsc2025-5.4_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN 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
RUN cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 domainslib.opam /cygwin64/home/opam/src/./
RUN opam pin add -yn domainslib.dev '/cygwin64/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.22.1 dune-configurator.3.22.1 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 kcas.0.7.0 mingw-w64-shims.0.2.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 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 system-mingw.1 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 . /cygwin64/home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-04-03 11:36.13: Using cache hint "ocaml-multicore/domainslib-ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1-windows-server-mingw-ltsc2025-5.4_opam-2.5-1df75e54c2ac94a60d77efe5741f63ea"
2026-04-03 11:36.13: Using OBuilder spec:
((from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
(comment windows-server-mingw-ltsc2025-5.4_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "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"))
(run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src domainslib.opam) (dst /cygwin64/home/opam/src/./))
(run (network host)
(shell "opam pin add -yn domainslib.dev '/cygwin64/home/opam/src/./'"))
(run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "arch-x86_64.1 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.22.1 dune-configurator.3.22.1 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 kcas.0.7.0 mingw-w64-shims.0.2.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 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 system-mingw.1 thread-table.1.0.0 topkg.1.1.1")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\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 "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /cygwin64/home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-04-03 11:36.13: Waiting for resource in pool OCluster
2026-04-03 12:00.43: Waiting for worker…
2026-04-03 21:41.12: Got resource from pool OCluster
Building on ltsc2025-1
All commits already cached
HEAD is now at 1a7f592 heartbeat with compiler support


(from ocaml/opam:windows-server-mingw-ltsc2025-ocaml-5.4@sha256:0e4fa08d05a319101c6ab90f612f6b79d83aa94d5df9b492774b9176694093e1)
2026-04-03 22:02.28 ---> using "e6e8a2cf62a928430568e9b050d6cc986ddb11ca371f3b24e6b6f1ad80860153" from cache


C:/: (comment windows-server-mingw-ltsc2025-5.4_opam-2.5)


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


C:/: (env CLICOLOR_FORCE 1)


C:/: (env OPAMCOLOR always)


C:/: (run (shell "ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-04-03 22:02.28 ---> using "8371c7bbeda21231937607a48921d4490a1c9c23810f1d7416ef9e1aa874f8e3" from cache


C:/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.


<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>


opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.


How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
3. Use Cygwin installation found in C:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation


[1/2/3/4/5] 1
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-04-03 22:02.28 ---> using "8bf506c77ce4ea2b6efe0b049434ba77c8ea5f4c0beccb9cedbfead0127ea0b7" from cache


C:/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-26100 3.6.7-1.x86_64
The OCaml toplevel, version 5.4.1
2.5.0
2026-04-03 22:02.28 ---> using "017acac92f6c222a89f675ad77684e3ed5874f73aa36dd7947a6dd1cf4a5b5c7" from cache


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d06cfb1853afceb1dc127f88edaac3f8110bf6cc || git fetch origin master) && git reset -q --hard d06cfb1853afceb1dc127f88edaac3f8110bf6cc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
65664dc5b2..d06cfb1853  master     -> origin/master
d06cfb1853 Merge pull request #29632 from shonfeder/release-dune-3.22.1


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


Everything as up-to-date as possible
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-04-03 22:02.28 ---> using "336eb34db5e647012f2aaae2737f84ba9d7c97d66e4a73adcd8264b7c65b55f1" from cache


C:/: (copy (src domainslib.opam) (dst /cygwin64/home/opam/src/./))
2026-04-03 22:02.49 ---> saved as "9fe4c0959b1bed91be61cd540df8b37f94ac2ce8a9025d3baf9da66619832e61"


C:/: (run (network host)
(shell "opam pin add -yn domainslib.dev '/cygwin64/home/opam/src/./'"))
[domainslib.dev] synchronised (file://C:/cygwin64/home/opam/src)
domainslib is now pinned to file://C:/cygwin64/home/opam/src (version dev)
2026-04-03 22:04.23 ---> saved as "0d6790bbae01f7a6754dabe06e92ca0c01a17a34c9f92e12eb6b369248c961da"


C:/: (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2026-04-03 22:05.18 ---> saved as "306462e93ba3d7c895fcdcbd64479728bfc9db0d281ebe49453c590cd836dffa"


C:/: (env DEPS "arch-x86_64.1 backoff.0.1.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base conf-mingw-w64-gcc-x86_64.1 csexp.1.5.2 domain-local-await.1.0.1 domain-local-timeout.1.0.1 dune.3.22.1 dune-configurator.3.22.1 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 kcas.0.7.0 mingw-w64-shims.0.2.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.2 ocaml.5.4.1 ocaml-base-compiler.5.4.1 ocaml-compiler.5.4.1 ocaml-config.3 ocaml-env-mingw64.1 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 system-mingw.1 thread-table.1.0.0 topkg.1.1.1")


C:/: (env CI true)


C:/: (env OCAMLCI true)


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y domainslib.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[domainslib.dev] synchronised (file://C:/cygwin64/home/opam/src)


[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
# To update the current shell environment, run: eval $(opam env)
2026-04-03 22:06.52 ---> saved as "5cc0e3cd7f224d815a5f58c1658e50224977be9f54524d46fd79617295b23426"


C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 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.1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.1).
[NOTE] Package ocaml is already installed (current version is 5.4.1).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[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).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
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.22.1
- install dune-configurator          3.22.1
- 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.22.1, dune-configurator.3.22.1  (cached)
-> installed ocamlbuild.0.16.1
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\opam\.opam\5.4\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\opam\.opam\5.4\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed mtime.2.1.0
-> installed dune.3.22.1
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed mirage-clock.4.2.0
-> installed multicore-magic.2.3.2
-> installed psq.0.2.1
-> installed qcheck-core.0.91
-> installed thread-table.1.0.0
-> installed qcheck-multicoretests-util.0.10
-> installed saturn.1.0.0
-> installed domain-local-await.1.0.1
-> installed domain-local-timeout.1.0.1
-> installed qcheck-stm.0.10
-> installed dune-configurator.3.22.1
-> installed kcas.0.7.0
-> installed mirage-clock-unix.4.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-03 22:19.17 ---> saved as "2709886a8f6be5b33a48d582b7edd7d1c9c7a0889e09624286d09263b8b9a4a9"


C:/: (copy (src .) (dst /cygwin64/home/opam/src))
2026-04-03 22:24.47 ---> saved as "96614635985ef9875a09be5d33535a73867a8ffabd441ca19a698d0a269daccc"


C:/: (run (shell "cd /home/opam/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 && C:\cygwin64\bin\x86_64-w64-mingw32-gcc.exe -O2 -fno-strict-aliasing -fwrapv -mms-bitfields -Wall -fdiagnostics-color=always -g -I C:/opam/.opam/5.4/lib/ocaml -I C:/opam/.opam/5.4/lib/ocaml\unix -I C:\opam\.opam\5.4\lib\backoff -I C:\opam\.opam\5.4\lib\domain-local-await -I C:\opam\.opam\5.4\lib\multicore-magic -I C:\opam\.opam\5.4\lib\multicore-magic\__private__/multicore_magic_atomic_array_unboxed5_4 -I C:\opam\.opam\5.4\lib\saturn -I C:\opam\.opam\5.4\lib\thread-table -o heartbeat_stubs.o -c heartbeat_stubs.c)
heartbeat_stubs.c:32:15: warning: caml_domain_external_interrupt_hook’ redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
32 | extern void (*caml_domain_external_interrupt_hook)(void);
|               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
heartbeat_stubs.c: In function ‘domainslib_heartbeat_acquire’:
heartbeat_stubs.c:179:5: error: unknown type name ‘sigset_t’; did you mean ‘_sigset_t’?
179 |     sigset_t mask, old_mask;
|     ^~~~~~~~
|     _sigset_t
heartbeat_stubs.c:180:5: warning: implicit declaration of function ‘sigfillset’ [-Wimplicit-function-declaration]
180 |     sigfillset(&mask);
|     ^~~~~~~~~~
heartbeat_stubs.c:181:5: warning: implicit declaration of function ‘pthread_sigmask’; did you mean ‘pthread_spin_lock’? [-Wimplicit-function-declaration]
181 |     pthread_sigmask(SIG_BLOCK, &mask, &old_mask);
|     ^~~~~~~~~~~~~~~
|     pthread_spin_lock
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);
|                                       ^~
"C:\cygwin64\bin\bash.exe" "-lc" "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2026-04-03 22:28.56: Job failed: Failed: Build failed