Building on c2-3.equinix.ci.dev
(from ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6)
Unable to find image 'ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6' locally
docker.io/ocaml/opam@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6: Pulling from ocaml/opam
624365a1732e: Pulling fs layer
624365a1732e: Verifying Checksum
624365a1732e: Download complete
624365a1732e: Pull complete
Digest: sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6
Status: Downloaded newer image for ocaml/opam@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6
2023-06-16 04:23.45 ---> using "7d60bd9cf13de83a2fc915bd8660b84a000026ca2eadd109efbf3b57cd5af04f" from cache
/: (user (uid 1000) (gid 1000))
/: (env OPAMPRECISETRACKING 1)
/: (env OPAMUTF8 never)
/: (env OPAMEXTERNALSOLVER builtin-0install)
/: (env OPAMCRITERIA +removed)
/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2023-06-16 04:23.45 ---> using "62379d35ed668426d9d8110913c125fa3183b296a68efdc9da0c91b6897e4bf2" from cache
/: (run (network host)
(shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 6ed4e23f2cefb96b2e2fce1c99e5cd85d7c4ee04"))
2023-06-16 04:23.45 ---> using "d67783525c2f7c1fb3010c0e770129217b499fe94429b3e3f0772c072398792a" from cache
/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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.
<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
User configuration:
~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.
2023-06-16 04:23.45 ---> using "394a25570d264bb6df13e493742820ac5dab3969c617aac9165a8108bc036a57" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=default '5.1' '5.1.0+trunk'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "5.1.0+trunk"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-variants.5.1.0+trunk (https://github.com/ocaml/ocaml/archive/5.1.tar.gz)
-> installed ocaml-variants.5.1.0+trunk
-> installed ocaml-config.3
-> installed ocaml.5.1.0
-> installed base-domains.base
-> installed base-nnp.base
Done.
# Run eval $(opam env --switch=5.1) to update the current shell environment
2023-06-16 04:23.45 ---> using "b49f927472fad51b348c3e17c573d5cdd40d4c6cd16cc17508ab6a17111d9c65" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [199 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-06-15-2028.21-F-2023-06-15-1407.28.pdiff [42.2 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-06-15-2028.21-F-2023-06-15-1407.28.pdiff [42.2 kB]
- Fetched 305 kB in 2s (155 kB/s)
- Reading package lists...
2023-06-16 04:23.45 ---> using "6ce2251c75bfff0d407ea6759fbe2a1637e17267056e58d1f4e3734fd5fce4fb" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "\
\nopam remove -y \"domainslib.0.3.1\"\
\nopam install -vy \"domainslib.0.3.1\"\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: \"domainslib.0.3.1\" | grep -q '\"debian-unstable\"'; then\
\n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
\n exit 69\
\n fi\
\nfi\
\n\
\n\
\nexit $res\
\n"))
[NOTE] domainslib.0.3.1 is not installed.
Nothing to do.
The following actions will be performed:
=== install 2 packages
- install domainslib 0.3.1
- install dune 3.8.1 [required by domainslib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/6: [domainslib.0.3.1: http]
Processing 2/6: [domainslib.0.3.1: http]
Processing 2/6:
-> retrieved domainslib.0.3.1 (https://github.com/ocaml-multicore/domainslib/archive/0.3.1.tar.gz)
-> retrieved dune.3.8.1 (cached)
Processing 3/6: [dune: ocaml 47]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.8.1)
- ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
- ./.duneboot.exe -j 47
-
Processing 3/6: [dune: ./_boot/dune.exe build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "47" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.8.1)
-> compiled dune.3.8.1
-> installed dune.3.8.1
Processing 5/6: [domainslib: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "domainslib" "-j" "47" (CWD=/home/opam/.opam/5.1/.opam-switch/build/domainslib.0.3.1)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.domainslib.objs/byte -no-alias-deps -open Domainslib__ -o lib/.domainslib.objs/byte/domainslib__Ws_deque.cmo -c -impl lib/ws_deque.ml)
- File "lib/ws_deque.ml", line 192, characters 8-29:
- 192 | Domain.Sync.cpu_relax ();
- ^^^^^^^^^^^^^^^^^^^^^
- Error: Unbound module Domain.Sync
[ERROR] The compilation of domainslib.0.3.1 failed at "dune build -p domainslib -j 47".
#=== ERROR while compiling domainslib.0.3.1 ===================================#
# context 2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.1.0+trunk | file:///home/opam/opam-repository
# path ~/.opam/5.1/.opam-switch/build/domainslib.0.3.1
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p domainslib -j 47
# exit-code 1
# env-file ~/.opam/log/domainslib-8-b15a3c.env
# output-file ~/.opam/log/domainslib-8-b15a3c.out
### output ###
# (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.domainslib.objs/byte -no-alias-deps -open Domainslib__ -o lib/.domainslib.objs/byte/domainslib__Ws_deque.cmo -c -impl lib/ws_deque.ml)
# File "lib/ws_deque.ml", line 192, characters 8-29:
# 192 | Domain.Sync.cpu_relax ();
# ^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound module Domain.Sync
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build domainslib 0.3.1
+-
+- The following changes have been performed
| - install dune 3.8.1
+-
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20230616042348.export"
'opam install -vy domainslib.0.3.1' failed.
"/bin/bash" "-c" "
opam remove -y "domainslib.0.3.1"
opam install -vy "domainslib.0.3.1"
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: "domainslib.0.3.1" | grep -q '"debian-unstable"'; then
echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
exit 69
fi
fi
exit $res
" failed with exit status 31
Failed: Build failed