Building on x86-bm-c8.sw.ocaml.org (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:21.13 ---> 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:21.13 ---> 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:21.13 ---> 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:21.13 ---> using "4fd6f3e60fac8833ee35ce0f3db21cc7397ae6010de50b9444f037226216ee99" 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-07-02 04:21.13 ---> using "df2a8606e8577975a9d53716563184142ae2ffed54e43f7df15a592329551920" 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 3s (116 kB/s) - Reading package lists... - 2023-07-02 04:21.13 ---> using "a8be0fb8b09f04d544db323f4a5b4b37da2c4ee6311ef09591e54dc266d1b17a" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"menhirLib.20200612\"\ \nopam install -vy \"menhirLib.20200612\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"menhirLib.20200612\" | 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] menhirLib.20200612 is not installed. Nothing to do. The following actions will be performed: === install 2 packages - install dune 3.9.0 [required by menhirLib] - install menhirLib 20200612 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/6: Processing 2/6: [menhirLib.20200612: http] Processing 2/6: [ERROR] Failed to get sources of menhirLib.20200612: Curl failed -> retrieved dune.3.9.0 (cached) Processing 3/6: [dune: ocaml 31] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.9.0) - 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 31 - 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" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.9.0) -> compiled dune.3.9.0 -> installed dune.3.9.0 #=== ERROR while fetching sources for menhirLib.20200612 ======================# OpamSolution.Fetch_fail("https://gitlab.inria.fr/fpottier/menhir/-/archive/20200612/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 /home/opam/.opam/5.1/.opam-switch/sources/menhirLib.20200612/archive.tar.gz.part -- https://gitlab.inria.fr/fpottier/menhir/-/archive/20200612/archive.tar.gz\" exited with code 7)") <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - fetch menhirLib 20200612 +- +- 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/5.1/.opam-switch/backup/state-20230702042121.export" 'opam install -vy menhirLib.20200612' failed. "/bin/bash" "-c" " opam remove -y "menhirLib.20200612" opam install -vy "menhirLib.20200612" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "menhirLib.20200612" | 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