Organisationsocaml-multicoresaturn2a5e0a ()debian-11-4.14_opam-2.2

debian-11-4.14_opam-2.2

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:debian-11-4.14_opam-2.2)
Base: ocaml/opam:debian-11-ocaml-4.14@sha256:d26d44ae2d714db35e758f03b4907496e9ab26c81b481cbe1e2c661be919490b
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-11-ocaml-4.14@sha256:d26d44ae2d714db35e758f03b4907496e9ab26c81b481cbe1e2c661be919490b
# debian-11-4.14_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 4e32cbc4e890d5fdd0b9afa7d4901c897fbd50e6 || git fetch origin master) && git reset -q --hard 4e32cbc4e890d5fdd0b9afa7d4901c897fbd50e6 && 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.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.13.1 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 mtime.2.0.0 multicore-bench.0.1.4 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 ounit2.2.2.7 qcheck.0.22 qcheck-alcotest.0.22 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-ounit.0.22 qcheck-stm.0.3 re.1.11.0 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uutf.1.0.3 yojson.2.2.2"
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-11-ocaml-4.14@sha256:d26d44ae2d714db35e758f03b4907496e9ab26c81b481cbe1e2c661be919490b-debian-11-4.14_opam-2.2-1ad543997cce4519666d1d5474aef008"
2024-08-11 08:12.38: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-4.14@sha256:d26d44ae2d714db35e758f03b4907496e9ab26c81b481cbe1e2c661be919490b)
 (comment debian-11-4.14_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 4e32cbc4e890d5fdd0b9afa7d4901c897fbd50e6 || git fetch origin master) && git reset -q --hard 4e32cbc4e890d5fdd0b9afa7d4901c897fbd50e6 && 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.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.13.1 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 mtime.2.0.0 multicore-bench.0.1.4 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 ounit2.2.2.7 qcheck.0.22 qcheck-alcotest.0.22 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-ounit.0.22 qcheck-stm.0.3 re.1.11.0 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uutf.1.0.3 yojson.2.2.2")
 (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-c1.sw.ocaml.org
HEAD is now at c6729d9 Using multicore-magic-dscheck for dscheck tests (#143)
HEAD is now at 2a5e0a2 Implement caching of the thief side index

(from ocaml/opam:debian-11-ocaml-4.14@sha256:d26d44ae2d714db35e758f03b4907496e9ab26c81b481cbe1e2c661be919490b)
2024-08-11 08:13.26 ---> saved as "9eafb637edfb450e01fd3848426d59551900f3ab3a67df0b59eaf8f9483266d7"

/: (comment debian-11-4.14_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:13.26 ---> saved as "faf29f3b95704358379fb209e805cbd1797fadd169ae936b40009b1115d36dbd"

/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 31 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=31 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-08-11 08:15.05 ---> saved as "3a83b4b9126bf2e1db56a2bad3987904de93e6f3c7013552cb9d4bb7e86bbec6"

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-117-generic
The OCaml toplevel, version 4.14.2
2.2.0
2024-08-11 08:15.05 ---> saved as "4358f50c66b0b7d3d5a2f56213c40932a5086715eee70aa167d9948b351c39f0"

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2024-08-11 08:15.05 ---> saved as "1d8aa02f1273a8cae7fd8ec8a06d760660dde07608bff44d1d7e3577f96ddbf8"

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 4e32cbc4e890d5fdd0b9afa7d4901c897fbd50e6 || git fetch origin master) && git reset -q --hard 4e32cbc4e890d5fdd0b9afa7d4901c897fbd50e6 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   7c4ff52ef3..13acffc3de  master     -> origin/master
4e32cbc4e8 Add ocaml as a dependency of either

<><> 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:16.44 ---> saved as "9a789a3dfadf9563a8200a6ad5444082578b31dd6120ccb8daf35012ea463dd8"

/src: (copy (src saturn_lockfree.opam saturn.opam) (dst ./))
2024-08-11 08:16.44 ---> saved as "192b7f60165523e1c29582bacd6d468d7bca766690382878af193ba62de20cdb"

/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:16.47 ---> saved as "d8a87082b1d94fbd5fe14b59ec9589a3ecf819ba09c9c2ff9d6ed765e86082f5"

/src: (env DEPS "alcotest.1.8.0 astring.0.8.5 backoff.0.1.0 base-bigarray.base base-threads.base base-unix.base cmdliner.1.3.0 containers.3.13.1 csexp.1.5.2 domain-local-await.1.0.1 domain_shims.0.1.0 dscheck.0.5.0 dune.3.16.0 dune-configurator.3.16.0 either.1.0.0 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 mtime.2.0.0 multicore-bench.0.1.4 multicore-magic.2.3.0 multicore-magic-dscheck.2.3.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.15.0 ocamlfind.1.9.6 oseq.0.5.1 ounit2.2.2.7 qcheck.0.22 qcheck-alcotest.0.22 qcheck-core.0.22 qcheck-multicoretests-util.0.3 qcheck-ounit.0.22 qcheck-stm.0.3 re.1.11.0 seq.base stdlib-shims.0.3.0 thread-table.1.0.0 topkg.1.0.7 tsort.2.1.0 uutf.1.0.3 yojson.2.2.2")

/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 bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [279 kB]
- Fetched 371 kB in 0s (959 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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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:17.10 ---> saved as "2697ad4f96fb3c7f11513770c0798256ef4b856e0948ebae687b514f9f35f71b"

/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.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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 36 packages
  - install alcotest                   1.8.0
  - install astring                    0.8.5
  - install backoff                    0.1.0
  - install cmdliner                   1.3.0
  - install containers                 3.13.1
  - install csexp                      1.5.2
  - install domain-local-await         1.0.1
  - install domain_shims               0.1.0
  - install dscheck                    0.5.0
  - install dune                       3.16.0
  - install dune-configurator          3.16.0
  - install either                     1.0.0
  - install fmt                        0.9.0
  - install mtime                      2.0.0
  - install multicore-bench            0.1.4
  - install multicore-magic            2.3.0
  - install multicore-magic-dscheck    2.3.0
  - install ocaml-syntax-shims         1.0.0
  - install ocamlbuild                 0.15.0
  - install ocamlfind                  1.9.6
  - install oseq                       0.5.1
  - install ounit2                     2.2.7
  - install qcheck                     0.22
  - install qcheck-alcotest            0.22
  - install qcheck-core                0.22
  - install qcheck-multicoretests-util 0.3
  - install qcheck-ounit               0.22
  - install qcheck-stm                 0.3
  - install re                         1.11.0
  - install seq                        base
  - install stdlib-shims               0.3.0
  - install thread-table               1.0.0
  - install topkg                      1.0.7
  - install tsort                      2.1.0
  - install uutf                       1.0.3
  - install yojson                     2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved backoff.0.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved alcotest.1.8.0  (cached)
-> retrieved containers.3.13.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved domain-local-await.1.0.1  (cached)
-> retrieved domain_shims.0.1.0  (cached)
-> retrieved dscheck.0.5.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved mtime.2.0.0  (cached)
-> retrieved multicore-bench.0.1.4  (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.15.0  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.16.0, dune-configurator.3.16.0  (cached)
-> retrieved oseq.0.5.1  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved qcheck.0.22, qcheck-alcotest.0.22, qcheck-core.0.22, qcheck-ounit.0.22  (cached)
-> retrieved seq.base  (cached)
-> retrieved qcheck-multicoretests-util.0.3, qcheck-stm.0.3  (cached)
-> retrieved re.1.11.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved tsort.2.1.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed mtime.2.0.0
-> installed astring.0.8.5
-> installed dune.3.16.0
-> installed domain_shims.0.1.0
-> installed csexp.1.5.2
-> installed backoff.0.1.0
-> installed either.1.0.0
-> installed multicore-magic.2.3.0
-> installed oseq.0.5.1
-> installed re.1.11.0
-> installed ocaml-syntax-shims.1.0.0
-> installed stdlib-shims.0.3.0
-> installed thread-table.1.0.0
-> installed tsort.2.1.0
-> installed yojson.2.2.2
-> installed qcheck-core.0.22
-> installed domain-local-await.1.0.1
-> installed qcheck-multicoretests-util.0.3
-> installed ounit2.2.2.7
-> installed alcotest.1.8.0
-> installed multicore-bench.0.1.4
-> installed qcheck-stm.0.3
-> installed qcheck-ounit.0.22
-> installed qcheck-alcotest.0.22
-> installed qcheck.0.22
-> installed dune-configurator.3.16.0
-> installed containers.3.13.1
-> 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:18.08 ---> saved as "ad8924fa39a9fffe70c15d6616982c1011d4e174e4c287372eb65f142451dd20"

/src: (copy (src .) (dst /src))
2024-08-11 08:18.08 ---> saved as "75dbb4ca88d4b468b51f2e15e78cf17598d3bfa3f438551e4ef7267241217179"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/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.14/lib/backoff -I /home/opam/.opam/4.14/lib/multicore-magic -I /home/opam/.opam/4.14/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.14/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.14/lib/backoff -I /home/opam/.opam/4.14/lib/multicore-magic -I /home/opam/.opam/4.14/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:18.09: Job failed: Failed: Build failed