Organisationsocaml-multicoredomainslib1a7f59 (heartbeat_with_compiler_support)opensuse-16.0-5.4_opam-2.5

opensuse-16.0-5.4_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) (linux-x86_64:opensuse-16.0-5.4_opam-2.5)
Base: ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:b4c4078273e87bccedd39788dec2f1547d525cdade7f23d755aa37113ddc398a
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:opensuse-16.0-ocaml-5.4@sha256:b4c4078273e87bccedd39788dec2f1547d525cdade7f23d755aa37113ddc398a
# opensuse-16.0-5.4_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 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:opensuse-16.0-ocaml-5.4@sha256:b4c4078273e87bccedd39788dec2f1547d525cdade7f23d755aa37113ddc398a-opensuse-16.0-5.4_opam-2.5-f8b67c8f06bef238a47c049207efa8cc"
2026-01-19 21:17.29: Using OBuilder spec:
((from ocaml/opam:opensuse-16.0-ocaml-5.4@sha256:b4c4078273e87bccedd39788dec2f1547d525cdade7f23d755aa37113ddc398a)
 (comment opensuse-16.0-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/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.25: Waiting for worker…
2026-01-20 01:13.18: 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:opensuse-16.0-ocaml-5.4@sha256:b4c4078273e87bccedd39788dec2f1547d525cdade7f23d755aa37113ddc398a)
2026-01-20 01:13.19 ---> using "b406375448d05c740c3dfe01a84fe3cd4b6f40cee7cc2d77fc552f60deaa28cc" from cache

/: (comment opensuse-16.0-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/bin/opam-2.5 /usr/bin/opam"))
2026-01-20 01:13.19 ---> using "e52efa2e417126b2cc9ca6b06ee06ca2cf19f79eb01abf7549797e638e948965" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-20 01:13.19 ---> using "49aca0de9152a0b0cbe38070c29ee47f5eb8e632702fc4f07f3a7ff8d4681d19" 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.19 ---> using "14c58864aff76dfab37c499a5a3ac973d232b7c895985e383b7693f2531fa5e9" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2026-01-20 01:13.19 ---> using "38c76ef71d1eae91b92930f133bce9bdf458edda72e0592684a30bf74a9e77ad" 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.19 ---> using "b41ec64765d118a38fdc3f5dec245ffe827eca2c4cb003ca1b8ed225b9504eb2" from cache

/src: (copy (src domainslib.opam) (dst ./))
2026-01-20 01:13.19 ---> saved as "d3642589566debb8b55d25bc49b2be662253a9acbef5d59c501ad6262b058878"

/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.20 ---> saved as "4e9f4bcec278eb4de0f9c564f016dc3def3fef56c6cfd4e143ca30197d24db3a"

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-20 01:13.21 ---> saved as "72c4507e45bb4c8d510ed1202e3dcb9a4f7fe816f7f7147514f941c566db8466"

/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/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'repo-openh264 (16.0)' is up to date.
- Retrieving repository 'repo-oss (16.0)' metadata [..
- Looking for gpg keys in repository repo-oss (16.0).
-   gpgkey=http://cdn.opensuse.org/distribution/leap/16.0/repo/oss/x86_64/repodata/repomd.xml.key
- ..
- 
- Note: Received 1 new package signing key from repository "repo-oss (16.0)":
- 
-   Those additional keys are usually used to sign packages shipped by the repository. In order to
-   validate those packages upon download and installation the new keys will be imported into the rpm
-   database.
- 
-   New:
-   Key Fingerprint:  F044 C2C5 07A1 262B 538A AADD 8A49 EB03 25DB 7AE0
-   Key Name:         openSUSE:Backports OBS Project <openSUSE:Backports@build.opensuse.org>
-   Key Algorithm:    RSA 4096
-   Key Created:      Wed May 10 14:46:12 2023
-   Key Expires:      Sun May  9 14:46:12 2027
-   Rpm Name:         gpg-pubkey-25db7ae0-645bae34
- 
-   The repository metadata introducing the new keys have been signed and validated by the trusted
-   key:
- 
-   Repository:       repo-oss (16.0)
-   Key Fingerprint:  AD48 5664 E901 B867 051A B15F 35A2 F86E 29B7 00A4
-   Key Name:         openSUSE Project Signing Key <opensuse@opensuse.org>
-   Key Algorithm:    RSA 4096
-   Key Created:      Mon Jun 20 14:03:14 2022
-   Key Expires:      Fri Jun 19 14:03:14 2026
-   Rpm Name:         gpg-pubkey-29b700a4-62b07e22
- 
- .
- ..
- ..........
- ..........
- ...done]
- Building repository 'repo-oss (16.0)' cache [..
- ..done]
- All repositories have been refreshed.

<><> 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.46 ---> saved as "3b522d4870bac883f9ba1def40f87963e39cd4f8767b700f5e264f3f4225c025"

/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:14.26 ---> saved as "e0ce4c873addbdbb553bdae977f4fe7a87d51726cd694430b41fb2b35ab9ac59"

/src: (copy (src .) (dst /src))
2026-01-20 01:14.27 ---> saved as "ace199976e26762dd5f5b0d13675beaf9e8febf1d3b419c5b5897b33ce0cde80"

/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 -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:14.28: Job failed: Failed: Build failed