Organisationsocaml-multicoresaturn2a5e0a ()debian-12-4.14_arm64_opam-2.2

debian-12-4.14_arm64_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-arm64:debian-12-4.14_arm64_opam-2.2)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9
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.14@sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9
# debian-12-4.14_arm64_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-arm64.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-12-ocaml-4.14@sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9-debian-12-4.14_arm64_opam-2.2-13ecd7f003ff0cb0246c780a2e02916d"
2024-08-11 08:12.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9)
 (comment debian-12-4.14_arm64_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-arm64.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 kydoime.caelum.ci.dev
HEAD is now at 5fe2462 Add a "lazy" queue
HEAD is now at 2a5e0a2 Implement caching of the thief side index

(from ocaml/opam:debian-12-ocaml-4.14@sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9' locally
docker.io/ocaml/opam@sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9: Pulling from ocaml/opam
Digest: sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9
Status: Downloaded newer image for ocaml/opam@sha256:1e155cd3495f0feb236402782201173b883a04c52b662b5200e8228477da99a9
2024-08-11 08:12.39 ---> using "10040033b39bb6a4e660b197fad3984fc31e160c96d37f69957d982711eb3d33" from cache

/: (comment debian-12-4.14_arm64_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 "dc971fdef657cbf719743322aa5e3c12a56698d2baea0626b8dd8ed8d8272df5" 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
Format upgrade done.

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

/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:12.39 ---> using "1f02593224e2895cc808d922399119c02e791abb3e5fd2788eb3a67de16ad8e0" from cache

/src: (workdir /src)

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

/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..fe8dffac61  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:12.39 ---> using "56bd510ef1b6470bafac4ca513224af01a2fc1b273e90d686a105faa24ef8209" from cache

/src: (copy (src saturn_lockfree.opam saturn.opam) (dst ./))
2024-08-11 08:12.39 ---> using "b2379e9b200e7243399c8694d313027efcbaec77e9c617123905fe402f9c1fde" from cache

/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:12.39 ---> using "24d6bd43b80121509bf60f855f1bd6bd9e0499a7a4745a89b92f1ceeb27a02f7" from cache

/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-arm64.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 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]
- Fetched 103 kB in 2s (48.7 kB/s)
- Reading package lists...
- 

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[saturn_lockfree.dev] synchronised (no changes)
[saturn.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-arm64 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:12.39 ---> using "b5a0611a1edbf946babc4ac22979547eae3f6db0e96935e929f582183a729586" from cache

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

/src: (copy (src .) (dst /src))
2024-08-11 08:12.39 ---> saved as "46685cfc016df9ec298c7f2e52fd3edd547444314b65466b6dfb7c675b9afea5"

/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
"/bin/bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-08-11 08:12.41: Job failed: Failed: Build failed