Building on laodoke.caelum.ci.dev (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 91613b24eeff: Pulling fs layer 91613b24eeff: Verifying Checksum 91613b24eeff: Download complete 91613b24eeff: Pull complete Digest: sha256:a665ae37377f145b6a15ac59e6496c9b788a65944676b50bd3010727fd4781bd Status: Downloaded newer image for ocaml/opam:debian-unstable 2023-12-28 08:49.30 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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-12-28 08:49.30 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 09658dd9ef7dd289dcc01656fdd823a595c96af3")) 2023-12-28 08:49.30 ---> using "f101de6297c1a31838b234ff2c992150780a6312fb5cf86981e0aed854f7089a" 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-12-28 08:49.30 ---> using "064a46cc7f01ead47d72c5d5a407a53ce6d147ef4cde87e82e6a9bbbcb665427" 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'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.1.0"} | "ocaml-system" {= "5.1.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.1.0 (cached) -> installed ocaml-base-compiler.5.1.0 -> 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-12-28 08:49.30 ---> using "1d1ef6f94cff024764c0068051bbae409da66134eeeddc036d2960cb90c82bbf" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [198 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-12-27-2012.46-F-2023-12-22-1419.28.pdiff [187 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-12-27-2012.46-F-2023-12-22-1419.28.pdiff [187 kB] - Fetched 448 kB in 3s (143 kB/s) - Reading package lists... 2023-12-28 08:49.30 ---> using "d7e893a1344fd5d404b9e7dd501dacf28def7d37c9308e2f5d909213745d9eef" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"opam-build.0.1.0\"\ \nopam install -vy \"opam-build.0.1.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"opam-build.0.1.0\" | 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] opam-build.0.1.0 is not installed. Nothing to do. The following actions will be performed: === install 3 packages - install cmdliner 1.2.0 [required by opam-build] - install dune 3.12.1 [required by opam-build] - install opam-build 0.1.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/9: Processing 2/9: Processing 3/9: -> retrieved cmdliner.1.2.0 (cached) Processing 4/9: [cmdliner: make all] -> retrieved opam-build.0.1.0 (cached) -> retrieved dune.3.12.1 (cached) Processing 5/9: [cmdliner: make all] [dune: ocaml 71] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" "PREFIX=/home/opam/.opam/5.1" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cmdliner.1.2.0) - ocaml build.ml cma - ocaml build.ml cmxa - ocaml build.ml cmxs -> compiled cmdliner.1.2.0 Processing 5/9: [dune: ocaml 71] Processing 6/9: [dune: ocaml 71] [cmdliner: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "LIBDIR=/home/opam/.opam/5.1/lib/cmdliner" "DOCDIR=/home/opam/.opam/5.1/doc/cmdliner" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cmdliner.1.2.0) - install -d "/home/opam/.opam/5.1/lib/cmdliner" - install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti "/home/opam/.opam/5.1/lib/cmdliner" - install cmdliner.opam "/home/opam/.opam/5.1/lib/cmdliner/opam" - install _build/cmdliner.cma "/home/opam/.opam/5.1/lib/cmdliner" - install _build/cmdliner.cmxa _build/cmdliner.a _build/cmdliner.cmx _build/cmdliner_arg.cmx _build/cmdliner_base.cmx _build/cmdliner_cline.cmx _build/cmdliner_cmd.cmx _build/cmdliner_docgen.cmx _build/cmdliner_eval.cmx _build/cmdliner_exit.cmx _build/cmdliner_info.cmx _build/cmdliner_manpage.cmx _build/cmdliner_msg.cmx _build/cmdliner_term.cmx _build/cmdliner_term_deprecated.cmx _build/cmdliner_trie.cmx \ - "/home/opam/.opam/5.1/lib/cmdliner" - install _build/cmdliner.cmxs "/home/opam/.opam/5.1/lib/cmdliner" Processing 6/9: [dune: ocaml 71] [cmdliner: make install-doc] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install-doc" "LIBDIR=/home/opam/.opam/5.1/lib/cmdliner" "DOCDIR=/home/opam/.opam/5.1/doc/cmdliner" (CWD=/home/opam/.opam/5.1/.opam-switch/build/cmdliner.1.2.0) - install -d "/home/opam/.opam/5.1/doc/cmdliner/odoc-pages" - install CHANGES.md LICENSE.md README.md "/home/opam/.opam/5.1/doc/cmdliner" - install doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \ - doc/tool_man.mld "/home/opam/.opam/5.1/doc/cmdliner/odoc-pages" -> installed cmdliner.1.2.0 Processing 6/9: [dune: ocaml 71] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "71" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.12.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 71 - cd _boot && /home/opam/.opam/5.1/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamLocal.ml - File "vendor/opam/src/repository/opamLocal.ml", lines 109-114, characters 46-34: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - - File "vendor/opam/src/repository/opamLocal.ml", lines 170-189, characters 44-56: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - - File "vendor/opam/src/repository/opamLocal.ml", lines 209-231, characters 8-44: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.1/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamVCS.ml - File "vendor/opam/src/repository/opamVCS.ml", lines 179-182, characters 11-40: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.1/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamDownload.ml - File "vendor/opam/src/repository/opamDownload.ml", lines 323-361, characters 42-41: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.1/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamRepository.ml - File "vendor/opam/src/repository/opamRepository.ml", lines 88-90, characters 45-77: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - - File "vendor/opam/src/repository/opamRepository.ml", lines 277-281, characters 38-17: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - - File "vendor/opam/src/repository/opamRepository.ml", lines 423-427, characters 12-42: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (_, Checksum_mismatch _) - Processing 6/9: [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" "71" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.12.1) -> compiled dune.3.12.1 -> installed dune.3.12.1 Processing 8/9: [opam-build: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "opam-build" "-j" "71" (CWD=/home/opam/.opam/5.1/.opam-switch/build/opam-build.0.1.0) [ERROR] The compilation of opam-build.0.1.0 failed at "dune build -p opam-build -j 71". #=== ERROR while compiling opam-build.0.1.0 ===================================# # context 2.2.0~alpha4~dev | linux/x86_64 | ocaml-base-compiler.5.1.0 | file:///home/opam/opam-repository # path ~/.opam/5.1/.opam-switch/build/opam-build.0.1.0 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p opam-build -j 71 # exit-code 1 # env-file ~/.opam/log/opam-build-8-3e1e8d.env # output-file ~/.opam/log/opam-build-8-3e1e8d.out ### output ### # File "src/dune", line 4, characters 17-28: # 4 | (libraries unix opam-client)) # ^^^^^^^^^^^ # Error: Library "opam-client" not found. # -> required by library "build_test_common" in _build/default/src # -> required by executable opam_build in src/dune:7 # -> required by _build/default/src/opam_build.exe # -> required by _build/install/default/bin/opam-build # -> required by _build/default/opam-build.install # -> required by alias install - File "src/dune", line 4, characters 17-28: - 4 | (libraries unix opam-client)) - ^^^^^^^^^^^ - Error: Library "opam-client" not found. - -> required by library "build_test_common" in _build/default/src - -> required by executable opam_build in src/dune:7 - -> required by _build/default/src/opam_build.exe - -> required by _build/install/default/bin/opam-build - -> required by _build/default/opam-build.install - -> required by alias install <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build opam-build 0.1.0 +- +- The following changes have been performed | - install cmdliner 1.2.0 | - install dune 3.12.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-20231228084933.export" 'opam install -vy opam-build.0.1.0' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "opam-build.0.1.0" opam install -vy "opam-build.0.1.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "opam-build.0.1.0" | 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