Organisationsocaml-multicoresaturn2a5e0a ()(lower-bound)

(lower-bound)

Logs

Show full logs
2024-08-11 08:12.38: New job: test ocaml-multicore/saturn https://github.com/ocaml-multicore/saturn.git#refs/pull/124/head (2a5e0a2a11b39bf10238070c8f99e5044e3fabae) (linux-x86_64:(lower-bound))
Base: ocaml/opam:debian-12-ocaml-4.13@sha256:cc4b34470afbe56a84d6456f33ef6ee4c63195f9c9df098216dc638cd72e20eb
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocaml-multicore/saturn.git" && cd "saturn" && git fetch origin "refs/pull/124/head" && git reset --hard 2a5e0a2a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.13@sha256:cc4b34470afbe56a84d6456f33ef6ee4c63195f9c9df098216dc638cd72e20eb
# debian-12-4.13_opam-2.2
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.2 /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 35979af3a50a8fa3acfcb80cc74be5b57676eb0c || git fetch origin master) && git reset -q --hard 35979af3a50a8fa3acfcb80cc74be5b57676eb0c && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 saturn_lockfree.opam saturn.opam ./
RUN opam pin add -yn saturn_lockfree.dev './' && \
    opam pin add -yn saturn.dev './'
ENV DEPS="alcotest.1.7.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.1.0 containers.2.8 cppo.1.6.1 domain-local-await.1.0.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.7 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 mtime.2.0.0 multicore-bench.0.1.2 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 oseq.0.4 ounit2.2.2.0 qcheck.0.21.3 qcheck-alcotest.0.21.3 qcheck-core.0.21.3 qcheck-multicoretests-util.0.3 qcheck-ounit.0.21.3 qcheck-stm.0.3 re.1.7.2 seq.0.2.2 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uutf.1.0.1 yojson.2.1.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.2 --depext-only -y saturn_lockfree.dev saturn.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

2024-08-11 08:12.38: Using cache hint "ocaml-multicore/saturn-ocaml/opam:debian-12-ocaml-4.13@sha256:cc4b34470afbe56a84d6456f33ef6ee4c63195f9c9df098216dc638cd72e20eb-debian-12-4.13_opam-2.2-205ba23810fca798d05ee3d7a8b140d2"
2024-08-11 08:12.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.13@sha256:cc4b34470afbe56a84d6456f33ef6ee4c63195f9c9df098216dc638cd72e20eb)
 (comment debian-12-4.13_opam-2.2)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.2 /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 35979af3a50a8fa3acfcb80cc74be5b57676eb0c || git fetch origin master) && git reset -q --hard 35979af3a50a8fa3acfcb80cc74be5b57676eb0c && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src saturn_lockfree.opam saturn.opam) (dst ./))
 (run (network host)
      (shell  "opam pin add -yn saturn_lockfree.dev './' && \
             \nopam pin add -yn saturn.dev './'"))
 (env DEPS "alcotest.1.7.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.1.0 containers.2.8 cppo.1.6.1 domain-local-await.1.0.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.7 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 mtime.2.0.0 multicore-bench.0.1.2 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 oseq.0.4 ounit2.2.2.0 qcheck.0.21.3 qcheck-alcotest.0.21.3 qcheck-core.0.21.3 qcheck-multicoretests-util.0.3 qcheck-ounit.0.21.3 qcheck-stm.0.3 re.1.7.2 seq.0.2.2 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uutf.1.0.1 yojson.2.1.0")
 (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.2 --depext-only -y saturn_lockfree.dev saturn.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"))
)

2024-08-11 08:12.38: Waiting for resource in pool OCluster
2024-08-11 08:12.38: Waiting for worker…
2024-08-11 08:12.38: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at 2a5e0a2 Implement caching of the thief side index

(from ocaml/opam:debian-12-ocaml-4.13@sha256:cc4b34470afbe56a84d6456f33ef6ee4c63195f9c9df098216dc638cd72e20eb)
2024-08-11 08:12.39 ---> using "566b1858c6a271754dcdba46b59b76a212827f3366fa0612653a622ede6cd4cb" from cache

/: (comment debian-12-4.13_opam-2.2)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam"))
2024-08-11 08:12.39 ---> using "ed8369bae3eb46f890499da8e49e50c11342bc290210d82a2c788755af2f9f8d" 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 development 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 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-08-11 08:12.39 ---> using "f09c0892a96fccce33cc9fa9386b07e86f6116a594e5a4b2633e6bb8a1f9df56" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-117-generic
The OCaml toplevel, version 4.13.1
2.2.0
2024-08-11 08:12.39 ---> using "830eacdfe78118d9d738f7549d10ef4baddd592c8f16771e8867cab1621ba11d" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-08-11 08:12.39 ---> using "846f8eca5e9df8c6e581a72be806c104efe0cf06aa96777c9a870fb4380eac40" from cache

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 35979af3a50a8fa3acfcb80cc74be5b57676eb0c || git fetch origin master) && git reset -q --hard 35979af3a50a8fa3acfcb80cc74be5b57676eb0c && git log --no-decorate -n1 --oneline && opam update -u"))
35979af3a5 [new release] multicore-magic (2 packages) (2.3.0)

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

Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2024-08-11 08:13.40 ---> saved as "24e9e447f0ceef9e76ebf2efe0f5462fd096b4099a3c19100c6d642d976ee9a8"

/src: (copy (src saturn_lockfree.opam saturn.opam) (dst ./))
2024-08-11 08:13.40 ---> saved as "d93d948fe5ad13e493e98883a98d44d0efec73c9da3a268fc0833cbc7822a7f7"

/src: (run (network host)
           (shell  "opam pin add -yn saturn_lockfree.dev './' && \
                  \nopam pin add -yn saturn.dev './'"))
[saturn_lockfree.dev] synchronised (file:///src)
saturn_lockfree is now pinned to file:///src (version dev)
[saturn.dev] synchronised (file:///src)
saturn is now pinned to file:///src (version dev)
2024-08-11 08:13.44 ---> saved as "519fc69586682235a2b0c296ec79f3a45dc1cd3335699b01156a2e5de2c99ed9"

/src: (env DEPS "alcotest.1.7.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.1.0 containers.2.8 cppo.1.6.1 domain-local-await.1.0.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.14.0 dune-configurator.2.3.0 dune-private-libs.2.3.0 fmt.0.8.7 host-arch-x86_64.1 host-system-other.1 jbuilder.1.0+beta20.1 mtime.2.0.0 multicore-bench.0.1.2 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 ocaml.4.13.1 ocaml-base-compiler.4.13.1 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.14.0 ocamlfind.1.9.1 oseq.0.4 ounit2.2.2.0 qcheck.0.21.3 qcheck-alcotest.0.21.3 qcheck-core.0.21.3 qcheck-multicoretests-util.0.3 qcheck-ounit.0.21.3 qcheck-stm.0.3 re.1.7.2 seq.0.2.2 stdlib-shims.0.1.0 thread-table.1.0.0 topkg.1.0.3 tsort.1.0.0 uchar.0.0.2 uutf.1.0.1 yojson.2.1.0")

/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.2 --depext-only -y saturn_lockfree.dev saturn.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [169 kB]
- Fetched 273 kB in 0s (1169 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[saturn.dev] synchronised (no changes)
[saturn_lockfree.dev] synchronised (no changes)

[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-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-bigarray is already installed (current version is base).
2024-08-11 08:13.59 ---> saved as "7df51e779cbf318c8082dc5101265087f915eb33cd7b333d0722d93fcaa38903"

/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.13.1).
[NOTE] Package ocaml is already installed (current version is 4.13.1).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 39 packages
  - install alcotest                   1.7.0
  - install astring                    0.8.5
  - install backoff                    0.1.0
  - install base-bytes                 base
  - install cmdliner                   1.1.0
  - install containers                 2.8
  - install cppo                       1.6.1
  - install domain-local-await         1.0.1
  - install domain_shims               0.1.0
  - install dscheck                    0.5.0
  - install dune                       3.14.0
  - install dune-configurator          2.3.0
  - install dune-private-libs          2.3.0
  - install fmt                        0.8.7
  - install jbuilder                   1.0+beta20.1
  - install mtime                      2.0.0
  - install multicore-bench            0.1.2
  - install multicore-magic            2.3.0
  - install multicore-magic-dscheck    2.3.0
  - install ocaml-syntax-shims         1.0.0
  - install ocamlbuild                 0.14.0
  - install ocamlfind                  1.9.1
  - install oseq                       0.4
  - install ounit2                     2.2.0
  - install qcheck                     0.21.3
  - install qcheck-alcotest            0.21.3
  - install qcheck-core                0.21.3
  - install qcheck-multicoretests-util 0.3
  - install qcheck-ounit               0.21.3
  - install qcheck-stm                 0.3
  - install re                         1.7.2
  - install seq                        0.2.2
  - install stdlib-shims               0.1.0
  - install thread-table               1.0.0
  - install topkg                      1.0.3
  - install tsort                      1.0.0
  - install uchar                      0.0.2
  - install uutf                       1.0.1
  - install yojson                     2.1.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.1.0  (cached)
-> retrieved alcotest.1.7.0  (cached)
-> retrieved containers.2.8  (cached)
-> retrieved cppo.1.6.1  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved dscheck.0.5.0  (cached)
-> retrieved fmt.0.8.7  (cached)
-> retrieved jbuilder.1.0+beta20.1  (cached)
-> retrieved dune-configurator.2.3.0, dune-private-libs.2.3.0  (cached)
-> retrieved dune.3.14.0  (cached)
-> retrieved mtime.2.0.0  (cached)
-> retrieved multicore-bench.0.1.2  (cached)
-> retrieved multicore-magic.2.3.0, multicore-magic-dscheck.2.3.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.14.0  (cached)
-> retrieved ocamlfind.1.9.1  (cached)
-> installed cmdliner.1.1.0
-> retrieved oseq.0.4  (cached)
-> retrieved ounit2.2.2.0  (cached)
-> retrieved qcheck.0.21.3, qcheck-alcotest.0.21.3, qcheck-core.0.21.3, qcheck-ounit.0.21.3  (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3  (cached)
-> retrieved re.1.7.2  (cached)
-> retrieved seq.0.2.2  (cached)
-> retrieved stdlib-shims.0.1.0  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved tsort.1.0.0  (cached)
-> retrieved uchar.0.0.2  (cached)
-> retrieved uutf.1.0.1  (cached)
-> retrieved topkg.1.0.3  (cached)
-> retrieved yojson.2.1.0  (cached)
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed uchar.0.0.2
-> installed jbuilder.1.0+beta20.1
-> installed cppo.1.6.1
-> installed re.1.7.2
-> installed topkg.1.0.3
-> installed uutf.1.0.1
-> installed mtime.2.0.0
-> installed astring.0.8.5
-> installed dune.3.14.0
-> installed backoff.0.1.0
-> installed domain_shims.0.1.0
-> installed thread-table.1.0.0
-> installed multicore-magic.2.3.0
-> installed stdlib-shims.0.1.0
-> installed seq.0.2.2
-> installed domain-local-await.1.0.1
-> installed ocaml-syntax-shims.1.0.0
-> installed oseq.0.4
-> installed ounit2.2.2.0
-> installed fmt.0.8.7
-> installed qcheck-core.0.21.3
-> installed qcheck-ounit.0.21.3
-> installed qcheck-multicoretests-util.0.3
-> installed qcheck.0.21.3
-> installed yojson.2.1.0
-> installed alcotest.1.7.0
-> installed dune-private-libs.2.3.0
-> installed qcheck-stm.0.3
-> installed multicore-bench.0.1.2
-> installed qcheck-alcotest.0.21.3
-> installed dune-configurator.2.3.0
-> installed containers.2.8
-> installed tsort.1.0.0
-> installed dscheck.0.5.0
-> installed multicore-magic-dscheck.2.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-08-11 08:14.53 ---> saved as "7f388638789d44a64bfee34f679c56302bd1a40571a1e4444ffddec427a28f9e"

/src: (copy (src .) (dst /src))
2024-08-11 08:14.54 ---> saved as "300d5462a8d8cf3e0e3e25308256fa7b7475931a95d0f6506b35528cbfe3faf3"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I src_lockfree/.saturn_lockfree.objs/byte -I /home/opam/.opam/4.13/lib/backoff -I /home/opam/.opam/4.13/lib/multicore-magic -I /home/opam/.opam/4.13/lib/ocaml/threads -intf-suffix .ml -no-alias-deps -opaque -open Saturn_lockfree__ -o src_lockfree/.saturn_lockfree.objs/byte/saturn_lockfree__Ws_deque.cmo -c -impl src_lockfree/ws_deque.ml)
File "src_lockfree/ws_deque.ml", line 49, characters 14-22:
49 |     top : int Atomic.t;
                   ^^^^^^^^
Error: The module Atomic is an alias for module Transparent_atomic, which is missing
(cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -I src_lockfree/.saturn_lockfree.objs/byte -I src_lockfree/.saturn_lockfree.objs/native -I /home/opam/.opam/4.13/lib/backoff -I /home/opam/.opam/4.13/lib/multicore-magic -I /home/opam/.opam/4.13/lib/ocaml/threads -intf-suffix .ml -no-alias-deps -opaque -open Saturn_lockfree__ -o src_lockfree/.saturn_lockfree.objs/native/saturn_lockfree__Ws_deque.cmx -c -impl src_lockfree/ws_deque.ml)
File "src_lockfree/ws_deque.ml", line 49, characters 14-22:
49 |     top : int Atomic.t;
                   ^^^^^^^^
Error: The module Atomic is an alias for module Transparent_atomic, which is missing
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-08-11 08:14.55: Job failed: Failed: Build failed