Building on c2-2.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1) Unable to find image 'ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1' locally docker.io/ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1: Pulling from ocaml/opam 88273bdcc4bc: Pulling fs layer 88273bdcc4bc: Verifying Checksum 88273bdcc4bc: Download complete 88273bdcc4bc: Pull complete Digest: sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1 Status: Downloaded newer image for ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1 2022-10-12 21:58.59 ---> using "72789ea385c156750aa7dd96aa50ee44bc632bea844e975f245441d9aee8bfd2" 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")) 2022-10-12 21:58.59 ---> using "00a95b0dc29356854a2323387bb3765564e1fe55593574ff6be6315935e9f655" 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 b1c9c96444d9fdc81f076b2f18ffaccd2f7c8f2f")) 2022-10-12 21:58.59 ---> using "78ae84c730ce1e5c34c37c027b1e573b31333de9c356d764a1de3654115799af" 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. 2022-10-12 21:58.59 ---> using "3910cf3733834024da3f31717f53c4d64ec6165d9ca48b4a2ad73da600e53b71" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.13' '4.13.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.13.1"} | "ocaml-system" {= "4.13.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.13.1 (https://github.com/ocaml/ocaml/archive/4.13.1.tar.gz) -> installed ocaml-base-compiler.4.13.1 -> installed ocaml-config.2 -> installed ocaml.4.13.1 Done. # Run eval $(opam env --switch=4.13) to update the current shell environment 2022-10-12 21:58.59 ---> using "d6d69dfa45e46e4b6e8625a2e80a0400f63918cf1ac925d68817fb15a7ce55a8" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 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-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB] - Fetched 341 kB in 3s (99.5 kB/s) - Reading package lists... - 2022-10-12 21:58.59 ---> using "85f69326a707d85d41f716af203801ea55a3b26932fd2a7c9090e949e6e8cd26" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"opam-core.2.0.9\"\ \nopam install -vy \"opam-core.2.0.9\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"opam-core.2.0.9\" | 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")) Nothing to do. [NOTE] opam-core.2.0.9 is not installed. The following actions will be performed: === install 7 packages - install cppo 1.6.9 [required by opam-core] - install dune 3.4.1 [required by opam-core] - install ocamlgraph 2.0.0 [required by opam-core] - install opam-core 2.0.9 - install re 1.10.4 [required by opam-core] - install seq base [required by re] - install stdlib-shims 0.3.0 [required by ocamlgraph] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/21: Processing 2/21: Processing 3/21: -> retrieved cppo.1.6.9 (cached) Processing 4/21: -> retrieved ocamlgraph.2.0.0 (cached) Processing 5/21: -> retrieved opam-core.2.0.9 (cached) Processing 6/21: Processing 7/21: Processing 8/21: -> installed seq.base Processing 9/21: -> retrieved dune.3.4.1 (cached) Processing 10/21: [dune: ocaml bootstrap.ml] -> retrieved re.1.10.4 (cached) -> retrieved stdlib-shims.0.3.0 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "47" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune.3.4.1) - 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 10/21: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "47" (CWD=/home/opam/.opam/4.13/.opam-switch/build/dune.3.4.1) -> compiled dune.3.4.1 -> installed dune.3.4.1 Processing 12/21: [cppo: dune build] Processing 13/21: [cppo: dune build] [re: dune build] Processing 14/21: [cppo: dune build] [re: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "47" (CWD=/home/opam/.opam/4.13/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 14/21: [cppo: dune build] [re: dune build] -> installed stdlib-shims.0.3.0 Processing 15/21: [cppo: dune build] [re: dune build] Processing 16/21: [cppo: dune build] [ocamlgraph: dune build] [re: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "re" "-j" "47" (CWD=/home/opam/.opam/4.13/.opam-switch/build/re.1.10.4) -> compiled re.1.10.4 Processing 16/21: [cppo: dune build] [ocamlgraph: dune build] -> installed re.1.10.4 Processing 17/21: [cppo: dune build] [ocamlgraph: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "47" (CWD=/home/opam/.opam/4.13/.opam-switch/build/cppo.1.6.9) -> compiled cppo.1.6.9 Processing 17/21: [ocamlgraph: dune build] -> installed cppo.1.6.9 Processing 18/21: [ocamlgraph: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocamlgraph" "-j" "47" "@install" (CWD=/home/opam/.opam/4.13/.opam-switch/build/ocamlgraph.2.0.0) -> compiled ocamlgraph.2.0.0 -> installed ocamlgraph.2.0.0 Processing 20/21: [opam-core: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--disable-checks" "--prefix" "/home/opam/.opam/4.13" (CWD=/home/opam/.opam/4.13/.opam-switch/build/opam-core.2.0.9) - checking for ocamlc... ocamlc - OCaml version is 4.13.1 - OCaml library path is /home/opam/.opam/4.13/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamldep.opt... ocamldep.opt - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamldoc.opt... ocamldoc.opt - checking for ocamlbuild... no - checking OCaml Sys.os_type... Unix - checking for gawk... no - checking for mawk... mawk - checking for compiler type... cc - checking for compiler architecture... - amd64 - checking for compiler system... linux - checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 accepts -g... yes - checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 option to accept ISO C89... none needed - checking for ocamlobjinfo... ocamlobjinfo - checking for ocamlfind... no - checking for curl... curl - checking for dune... dune - checking for cppo... cppo - checking for patch... patch - checking for bunzip2... bunzip2 - - checking for OCaml findlib package unix... not found - checking for OCaml findlib package bigarray... not found - checking for OCaml findlib package extlib... not found - checking for OCaml findlib package re... not found - checking for OCaml findlib package re.glob... not found - checking for OCaml findlib package cmdliner... not found - checking for OCaml findlib package ocamlgraph... not found - checking for OCaml findlib package cudf... not found - checking for OCaml findlib package dose3.common... not found - checking for OCaml findlib package dose3.algo... not found - checking for OCaml findlib package opam-file-format... not found - checking for OCaml findlib package mccs... not found - checking for g++... g++ - checking whether we are using the GNU C++ compiler... - yes - checking whether g++ accepts -g... yes - - configure: creating ./config.status - config.status: creating Makefile.config - config.status: creating src/client/opamManifest.inc - - Opam will be built WITH a built-in solver - - Executables will be installed in /home/opam/.opam/4.13/bin - Manual pages will be installed in /home/opam/.opam/4.13/share/man Processing 20/21: [opam-core: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "opam-core" "-j" "47" (CWD=/home/opam/.opam/4.13/.opam-switch/build/opam-core.2.0.9) - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -no-alias-deps -o src/core/.opam_core.objs/byte/opamStubsTypes.cmo -c -impl src/core/opamStubsTypes.ml) - File "src/core/opamStubsTypes.ml", line 1: - Warning 70 [missing-mli]: Cannot find interface file. - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamProcess.cmo -c -impl src/core/opamProcess.ml) - File "src/core/opamProcess.ml", line 382, characters 9-24: - 382 | (let open OpamCompat in - ^^^^^^^^^^^^^^^ - Warning 33 [unused-open]: unused open OpamCompat. - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamUrl.cmo -c -impl src/core/opamUrl.ml) - File "src/core/opamUrl.ml", line 56, characters 10-20: - 56 | match Re.get_all (Re.exec re u) with - ^^^^^^^^^^ - Alert deprecated: Re.get_all - Use Group.all - File "src/core/opamUrl.ml", line 109, characters 12-18: - 109 | Some (Re.get sub 1 ^ try "/" ^ Re.get sub 2 with Not_found -> "") - ^^^^^^ - Alert deprecated: Re.get - Use Group.get - File "src/core/opamUrl.ml", line 109, characters 37-43: - 109 | Some (Re.get sub 1 ^ try "/" ^ Re.get sub 2 with Not_found -> "") - ^^^^^^ - Alert deprecated: Re.get - Use Group.get - File "src/core/opamUrl.ml", line 219, characters 6-12: - 219 | Re.get (Re.exec re t.path) 1 - ^^^^^^ - Alert deprecated: Re.get - Use Group.get - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamFilename.cmo -c -impl src/core/opamFilename.ml) - File "src/core/opamFilename.ml", line 349, characters 11-25: - 349 | let link ?(relative=false) ~target ~link = - ^^^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -bin-annot -I src/core/.opam_core.objs/byte -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/byte/opamStd.cmo -c -impl src/core/opamStd.ml) - File "src/core/opamStd.ml", line 431, characters 32-46: - 431 | let subs = Array.to_list (Re.get_all_ofs subs) in - ^^^^^^^^^^^^^^ - Alert deprecated: Re.get_all_ofs - Use Group.all_offset - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -I src/core/.opam_core.objs/byte -I src/core/.opam_core.objs/native -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/native/opamStd.cmx -c -impl src/core/opamStd.ml) - File "src/core/opamStd.ml", line 431, characters 32-46: - 431 | let subs = Array.to_list (Re.get_all_ofs subs) in - ^^^^^^^^^^^^^^ - Alert deprecated: Re.get_all_ofs - Use Group.all_offset - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -I src/core/.opam_core.objs/byte -I src/core/.opam_core.objs/native -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/native/opamProcess.cmx -c -impl src/core/opamProcess.ml) - File "src/core/opamProcess.ml", line 382, characters 9-24: - 382 | (let open OpamCompat in - ^^^^^^^^^^^^^^^ - Warning 33 [unused-open]: unused open OpamCompat. - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -I src/core/.opam_core.objs/byte -I src/core/.opam_core.objs/native -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/native/opamFilename.cmx -c -impl src/core/opamFilename.ml) - File "src/core/opamFilename.ml", line 349, characters 11-25: - 349 | let link ?(relative=false) ~target ~link = - ^^^^^^^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - (cd _build/default && /home/opam/.opam/4.13/bin/ocamlopt.opt -w -40 -w +a-4-40-42-44-48 -safe-string -w -67 -g -I src/core/.opam_core.objs/byte -I src/core/.opam_core.objs/native -I /home/opam/.opam/4.13/lib/ocamlgraph -I /home/opam/.opam/4.13/lib/re -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/core/.opam_core.objs/native/opamUrl.cmx -c -impl src/core/opamUrl.ml) - File "src/core/opamUrl.ml", line 56, characters 10-20: - 56 | match Re.get_all (Re.exec re u) with - ^^^^^^^^^^ - Alert deprecated: Re.get_all - Use Group.all - File "src/core/opamUrl.ml", line 109, characters 12-18: - 109 | Some (Re.get sub 1 ^ try "/" ^ Re.get sub 2 with Not_found -> "") - ^^^^^^ - Alert deprecated: Re.get - Use Group.get - File "src/core/opamUrl.ml", line 109, characters 37-43: - 109 | Some (Re.get sub 1 ^ try "/" ^ Re.get sub 2 with Not_found -> "") - ^^^^^^ - Alert deprecated: Re.get - Use Group.get - File "src/core/opamUrl.ml", line 219, characters 6-12: - 219 | Re.get (Re.exec re t.path) 1 - ^^^^^^ - Alert deprecated: Re.get - Use Group.get -> compiled opam-core.2.0.9 -> installed opam-core.2.0.9 Done. # Run eval $(opam env) to update the current shell environment 2022-10-12 21:59.38 ---> saved as "e832452c1b42179e18f3d8ba6dcbaf75fb65a35bb3c96d5df88ba72181276ef2" Job succeeded