Organisationsocaml-multicoredomainslib731f08 (main)alpine-3.21-5.3_opam-2.3

alpine-3.21-5.3_opam-2.3

Logs

Steps to Reproduce
git clone --recursive "https://github.com/ocaml-multicore/domainslib.git" -b "main" && cd "domainslib" && git reset --hard 731f0889
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322
# alpine-3.21-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 475b0a2a534c55f9a117ee0f82c983b98bbf8ef5 || git fetch origin master) && git reset -q --hard 475b0a2a534c55f9a117ee0f82c983b98bbf8ef5 && 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.17.2 dune-configurator.3.17.2 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.23 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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 .
2025-02-09 13:22.40: New job: test ocaml-multicore/domainslib https://github.com/ocaml-multicore/domainslib.git#refs/heads/main (731f08891c87e788f2cc95f2a600328f6682a5e2) (linux-x86_64:alpine-3.21-5.3_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-5.3@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-multicore/domainslib.git" -b "main" && cd "domainslib" && git reset --hard 731f0889
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322
# alpine-3.21-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 475b0a2a534c55f9a117ee0f82c983b98bbf8ef5 || git fetch origin master) && git reset -q --hard 475b0a2a534c55f9a117ee0f82c983b98bbf8ef5 && 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.17.2 dune-configurator.3.17.2 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.23 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --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


2025-02-09 13:22.40: Using cache hint "ocaml-multicore/domainslib-ocaml/opam:alpine-3.21-ocaml-5.3@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322-alpine-3.21-5.3_opam-2.3-f58e8dd6ecc186ff8f159ac255a8b4f4"
2025-02-09 13:22.40: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322)
(comment alpine-3.21-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 475b0a2a534c55f9a117ee0f82c983b98bbf8ef5 || git fetch origin master) && git reset -q --hard 475b0a2a534c55f9a117ee0f82c983b98bbf8ef5 && 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.17.2 dune-configurator.3.17.2 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.23 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.0.7")
(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.3 --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"))
)


2025-02-09 13:22.40: Waiting for resource in pool OCluster
2025-02-09 14:07.55: Waiting for worker…
2025-02-09 14:14.07: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
HEAD is now at 731f088 Merge pull request #123 from punchagan/patch-1


(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322' locally
docker.io/ocaml/opam@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322: Pulling from ocaml/opam
f690bfb6e251: Pulling fs layer
f690bfb6e251: Verifying Checksum
f690bfb6e251: Download complete
f690bfb6e251: Pull complete
Digest: sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322
Status: Downloaded newer image for ocaml/opam@sha256:90f9778c22e9d491047f790e0b55c11247a74276c3fff1c577668674ed901322
2025-02-09 14:14.08 ---> using "839527ea30a1fbe5f754b36c163270fe0bcf8305db82fe7e6c76303ab4c17e80" from cache


/: (comment alpine-3.21-5.3_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-09 14:14.08 ---> using "a354f00c670b2c5a2f6932be59ddd90d93e4d252a8e917baff73ebc554011be4" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-02-09 14:14.08 ---> using "a373ef70f50758b773ec5c11ae763919245ce30341f2040bedeca95690f9cfa4" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-130-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-02-09 14:14.08 ---> using "297ff4519b6ea14afc955607f2c8ab055f92b818ee6cc82d0261d7c0e3659ee1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-02-09 14:14.08 ---> using "c9995df8f55c2cd26d5379c0a5df4d993292c1f9eb8af52003f20f0fbed7d7a1" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 475b0a2a534c55f9a117ee0f82c983b98bbf8ef5 || git fetch origin master) && git reset -q --hard 475b0a2a534c55f9a117ee0f82c983b98bbf8ef5 && git log --no-decorate -n1 --oneline && opam update -u"))
475b0a2a53 Merge pull request #27390 from hannesm/depr-more-mirage


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[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.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 14:15.30 ---> saved as "1e16f3d7302b7815b878ed4cab6daf8e6ee1b4f43f3975be7310bde727c185e9"


/src: (copy (src domainslib.opam) (dst ./))
2025-02-09 14:15.30 ---> saved as "20a102f849917315efef9ad530d39a136a98b4c71d7ff296dcb63ab1bb2fdaaa"


/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)
2025-02-09 14:15.33 ---> saved as "336d4f9f3d74043d64b0238911a94319195a71b722f4bbf675c72023462cce85"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-02-09 14:15.33 ---> saved as "b4bef1e33ed0f2e4e038e1b1c760214d1a05fe156bb9db8a4cb7861355bc12ad"


/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.17.2 dune-configurator.3.17.2 kcas.0.7.0 mirage-clock.4.2.0 mirage-clock-unix.4.2.0 mtime.2.1.0 multicore-magic.2.3.1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 psq.0.2.1 qcheck-core.0.23 qcheck-multicoretests-util.0.7 qcheck-stm.0.7 saturn.1.0.0 seq.base thread-table.1.0.0 topkg.1.0.7")


/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.3 --depext-only -y domainslib.dev $DEPS"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.2-201-g38cb75ccac3 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.2-204-g2b6b8c9cf02 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-1846-g5084ca15664 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-1854-g4af917b870c [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-1848-g27e66a13106 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 56197 distinct packages available


<><> 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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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).
2025-02-09 14:15.56 ---> saved as "cb440b521f6ea1c2ca0e37a146e3da21af01e0710cd3b716c57b1ffb5363ba08"


/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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.17.2
- install dune-configurator          3.17.2
- 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.1
- install ocamlbuild                 0.15.0
- install ocamlfind                  1.9.8
- install psq                        0.2.1
- install qcheck-core                0.23
- install qcheck-multicoretests-util 0.7
- install qcheck-stm                 0.7
- install saturn                     1.0.0
- install seq                        base
- install thread-table               1.0.0
- install topkg                      1.0.7


<><> 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.1  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved qcheck-core.0.23  (cached)
-> retrieved qcheck-multicoretests-util.0.7, qcheck-stm.0.7  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved saturn.1.0.0  (cached)
-> retrieved thread-table.1.0.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
-> installed ocamlbuild.0.15.0
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.7
-> installed mtime.2.1.0
-> installed dune.3.17.2
-> installed mirage-clock.4.2.0
-> installed csexp.1.5.2
-> installed backoff.0.1.1
-> installed multicore-magic.2.3.1
-> installed psq.0.2.1
-> installed thread-table.1.0.0
-> installed domain-local-timeout.1.0.1
-> installed domain-local-await.1.0.1
-> installed qcheck-core.0.23
-> installed saturn.1.0.0
-> installed kcas.0.7.0
-> installed qcheck-multicoretests-util.0.7
-> installed dune-configurator.3.17.2
-> installed qcheck-stm.0.7
-> installed mirage-clock-unix.4.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-09 14:17.50 ---> saved as "54b428b59a641ffadad07e181390d1cb724404f1d395884de726e30ce203e128"


/src: (copy (src .) (dst /src))
2025-02-09 14:17.50 ---> saved as "5aaa9a841724ee959493cc6e1dbe0832f36785f5b9cdd87dbc86703667241441"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -bin-annot-occurrences -I lib/.domainslib.objs/byte -I /home/opam/.opam/5.3/lib/backoff -I /home/opam/.opam/5.3/lib/domain-local-await -I /home/opam/.opam/5.3/lib/multicore-magic -I /home/opam/.opam/5.3/lib/saturn -I /home/opam/.opam/5.3/lib/thread-table -no-alias-deps -opaque -open Domainslib__ -o lib/.domainslib.objs/byte/domainslib__Multi_channel.cmo -c -impl lib/multi_channel.ml)
File "lib/multi_channel.ml", line 17, characters 18-46:
17 | module Ws_deque = Saturn.Work_stealing_deque.M
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Saturn.Work_stealing_deque.M
(cd _build/default/test && ./game_of_life.exe)
...o.oooo..o....
.....o..o.....oo
oo..o...ooo.o.o.
...o.o.oooooo.o.
oooooooo.o.oo.o.
o..oooooo.oooo.o
.oooo.oo..o.oo.o
ooo..o...ooo.ooo
o.o....oo.oooo..
ooo.ooo...oo...o
..o..o....oooooo
.o.ooo....oo..oo
oooo....oooooo.o
.o...ooo...ooo..
..o.oo.o..oo....
.....o.ooo.o..o.


................
................
................
................
..ooooooo.......
.o...o.oo.......
o..ooo.oo.......
ooo.............
o.......ooo.....
oo....oo..oo..o.
......oo..oo.o.o
...o.o..........
..ooo.........oo
..oo.o....oo....
.o..o.....oo....
..o.............


(cd _build/default/test && ./spectralnorm2.exe)
1.274224152
(cd _build/default/test && ./fib.exe)
fib(43) = 701408733
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-02-09 14:17.55: Job failed: Failed: Build failed