Building on c2-2.equinix.ci.dev (from ocaml/opam:debian-unstable@sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb) Unable to find image 'ocaml/opam:debian-unstable@sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb' locally docker.io/ocaml/opam@sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb: Pulling from ocaml/opam 1ae3b60c1a35: Pulling fs layer 1ae3b60c1a35: Verifying Checksum 1ae3b60c1a35: Download complete 1ae3b60c1a35: Pull complete Digest: sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb Status: Downloaded newer image for ocaml/opam@sha256:a81e38f7942f916eec4a7145224dbc6fcdf584820db2ab3063127d58ba80e4bb 2023-07-02 04:20.25 ---> using "c1e06f8014f4e4402e9743f32f9c406d2ceb2e9cafdf160fa25c5b4c5ddee1d0" 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-07-02 04:20.25 ---> using "8710ae7221b0b40c4c31b8ab0b81a9e7702135c592da6045a57796358f5f39d3" 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 86961ac6d7505a361cd605968329990033691c57")) 2023-07-02 04:20.25 ---> using "0d0411dee08b7b9bbde0ce3d72beb85e2380abb682bfd207e6e830d1a2f6147b" 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-07-02 04:20.25 ---> using "4fd6f3e60fac8833ee35ce0f3db21cc7397ae6010de50b9444f037226216ee99" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.10' '4.10.2'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.10.2"} | "ocaml-system" {= "4.10.2"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.10.2 (https://github.com/ocaml/ocaml/archive/4.10.2.tar.gz) -> installed ocaml-base-compiler.4.10.2 -> installed ocaml-config.1 -> installed ocaml.4.10.2 Done. # Run eval $(opam env --switch=4.10) to update the current shell environment 2023-07-02 04:20.25 ---> using "4fc272f3a3fb4be7eaaa5e9998e6c6151b7d412b3451dab2a2550acb26afa8cd" 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-07-01-0813.52-F-2023-06-29-2041.00.pdiff [102 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-07-01-0813.52-F-2023-06-29-2041.00.pdiff [102 kB] - Fetched 365 kB in 2s (228 kB/s) - Reading package lists... - 2023-07-02 04:20.25 ---> using "5ccf2a6d9b10a9873cd772c0fe50c15562420576f1649bc6db4c3e08cba1ec59" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"menhir.20201216\"\ \nopam install -vy \"menhir.20201216\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"menhir.20201216\" | 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] menhir.20201216 is not installed. Nothing to do. The following actions will be performed: === install 4 packages - install dune 3.9.0 [required by menhir] - install menhir 20201216 - install menhirLib 20201216 [required by menhir] - install menhirSdk 20201216 [required by menhir] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/10: Processing 2/10: [menhir.20201216, menhirLib.20201216, menhirSdk.20201216: http] [ERROR] Failed to get sources of menhir.20201216, menhirLib.20201216, menhirSdk.20201216 (https://gitlab.inria.fr/fpottier/menhir/-/archive/20201216/archive.tar.gz): Curl failed Processing 2/10: -> retrieved dune.3.9.0 (cached) Processing 3/10: [dune: ocaml 47] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/4.10/.opam-switch/build/dune.3.9.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 47 - Processing 3/10: [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/4.10/.opam-switch/build/dune.3.9.0) -> compiled dune.3.9.0 -> installed dune.3.9.0 #=== ERROR while fetching sources for menhir.20201216, menhirLib.20201216 and menhirSdk.20201216 OpamSolution.Fetch_fail("https://gitlab.inria.fr/fpottier/menhir/-/archive/20201216/archive.tar.gz (Curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.2.0~alpha -L -o /tmp/opam-8-7f9d07/archive.tar.gz.part -- https://gitlab.inria.fr/fpottier/menhir/-/archive/20201216/archive.tar.gz\" exited with code 7)") <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - fetch menhir.20201216, menhirLib.20201216, menhirSdk.20201216 +- +- The following changes have been performed | - install dune 3.9.0 +- # 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/4.10/.opam-switch/backup/state-20230702042027.export" 'opam install -vy menhir.20201216' failed. "/bin/bash" "-c" " opam remove -y "menhir.20201216" opam install -vy "menhir.20201216" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "menhir.20201216" | 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 40 Failed: Build failed