Building on asteria.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:6200889acf783b4c7f92501ba49537bb51f4081b0384664689814e665205ee88) Unable to find image 'ocaml/opam:debian-unstable@sha256:6200889acf783b4c7f92501ba49537bb51f4081b0384664689814e665205ee88' locally docker.io/ocaml/opam@sha256:6200889acf783b4c7f92501ba49537bb51f4081b0384664689814e665205ee88: Pulling from ocaml/opam 2db5444d1f5b: Already exists ddf232e0e2a5: Pulling fs layer 6974fe0ded69: Pulling fs layer 6974fe0ded69: Verifying Checksum 6974fe0ded69: Download complete ddf232e0e2a5: Download complete ddf232e0e2a5: Pull complete 6974fe0ded69: Pull complete Digest: sha256:6200889acf783b4c7f92501ba49537bb51f4081b0384664689814e665205ee88 Status: Downloaded newer image for ocaml/opam@sha256:6200889acf783b4c7f92501ba49537bb51f4081b0384664689814e665205ee88 2022-02-10 23:49.10 ---> using "f3ee8f7f03f525f6dc8d7acc2f1da118e4aa5026e28a05b9ad651d07354a5f00" 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-02-10 23:49.10 ---> using "3b7d33f9f091274756e34e26a80cb99370097f13b0bd30e6483e11a7a029e9ed" 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 dd31bfa892e6408a76cefd5a446edb1a757fe009")) 2022-02-10 23:49.10 ---> using "67e398cdbccdcfd88c355cb1bfaef6feebe7f4199a4d4002fb36caedb6f6db3b" 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-02-10 23:49.10 ---> using "1eeec508ab68ff355f86d7275df68ccc73567a6e6814057b340dd61dc1cc783e" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.00' '5.00.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "5.00.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.5.00.0+trunk (https://github.com/ocaml/ocaml/archive/trunk.tar.gz) -> installed ocaml-variants.5.00.0+trunk -> installed ocaml-config.2 -> installed ocaml.5.00.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.00) to update the current shell environment 2022-02-10 23:49.10 ---> using "ea3da2a0ae7f551c50109ca9b8b85b3b486ae562011d0126cdf557d0b3bfc6aa" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 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-02-10-2004.13-F-2022-01-30-0201.48.pdiff [753 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-02-10-2004.13-F-2022-01-30-0201.48.pdiff [753 kB] - Fetched 982 kB in 1s (723 kB/s) - Reading package lists... 2022-02-10 23:49.10 ---> using "78970d4898314f51c93076c4ca58b21d65e11021c756cb665ac495a911cffd10" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"atdgen-runtime.2.2.1\"\ \nopam install -vy \"atdgen-runtime.2.2.1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"atdgen-runtime.2.2.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] atdgen-runtime.2.2.1 is not installed. Nothing to do. The following actions will be performed: - install seq base [required by re] - install dune 2.9.3 [required by atdgen-runtime] - install re 1.10.3 [required by atdgen-runtime] - install easy-format 1.3.2 [required by biniou, yojson] - install cppo 1.6.8 [required by yojson] - install biniou 1.2.1 [required by atdgen-runtime] - install yojson 1.7.0 [required by atdgen-runtime] - install atdgen-runtime 2.2.1 ===== 8 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/24: Processing 2/24: Processing 3/24: -> retrieved biniou.1.2.1 (cached) Processing 4/24: -> retrieved cppo.1.6.8 (cached) Processing 5/24: -> retrieved easy-format.1.3.2 (cached) Processing 6/24: -> retrieved re.1.10.3 (cached) Processing 7/24: Processing 8/24: Processing 9/24: -> installed seq.base Processing 10/24: -> retrieved atdgen-runtime.2.2.1 (cached) -> retrieved dune.2.9.3 (cached) Processing 11/24: [dune: ocaml bootstrap.ml] -> retrieved yojson.1.7.0 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/5.00/.opam-switch/build/dune.2.9.3) - File "./bootstrap.ml", line 46, characters 17-27: - 46 | && String.sub fn 0 (String.length duneboot) = duneboot - ^^^^^^^^^^ - Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. - File "./bootstrap.ml", line 103, characters 28-37: - 103 | let args = Array.to_list (Array.sub Sys.argv 1 (Array.length Sys.argv - 1)) in - ^^^^^^^^^ - Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 255 - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads build_path_prefix_map.ml - File "vendor/build_path_prefix_map/src/build_path_prefix_map.ml", line 5, characters 17-31: - Alert deprecated: Stdlib.Printf.kprintf - Use Printf.ksprintf instead. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads opamLexer.ml - File "vendor/opam-file-format/src/opamLexer.mll", line 21, characters 2-16: - Alert deprecated: Stdlib.Printf.kprintf - Use Printf.ksprintf instead. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_base.ml - File "vendor/cmdliner/src/cmdliner_base.ml", line 158, characters 14-27: - Warning 6 [labels-omitted]: labels kind, ambs were omitted in the application of this function. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_docgen.ml - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 278, characters 23-39: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 293, characters 22-56: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 294, characters 35-51: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 295, characters 36-52: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_cline.ml - File "vendor/cmdliner/src/cmdliner_cline.ml", line 128, characters 20-47: - Warning 6 [labels-omitted]: labels kind, ambs were omitted in the application of this function. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_arg.ml - File "vendor/cmdliner/src/cmdliner_arg.ml", line 193, characters 24-50: - Warning 6 [labels-omitted]: label err was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_arg.ml", line 243, characters 24-50: - Warning 6 [labels-omitted]: label err was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_arg.ml", line 260, characters 10-36: - Warning 6 [labels-omitted]: label pos was omitted in the application of this function. - cd _boot && /home/opam/.opam/5.00/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner.ml - File "vendor/cmdliner/src/cmdliner.ml", line 195, characters 25-47: - Warning 6 [labels-omitted]: label errs was omitted in the application of this function. - Processing 11/24: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "255" (CWD=/home/opam/.opam/5.00/.opam-switch/build/dune.2.9.3) -> compiled dune.2.9.3 -> installed dune.2.9.3 Processing 13/24: [cppo: dune build] Processing 14/24: [cppo: dune build] [easy-format: dune build] Processing 15/24: [cppo: dune build] [easy-format: dune build] [re: dune build] - ocamlc src/.easy_format.objs/byte/easy_format.{cmo,cmt} (exit 2) - (cd _build/default && /home/opam/.opam/5.00/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.easy_format.objs/byte -intf-suffix .ml -no-alias-deps -o src/.easy_format.objs/byte/easy_format.cmo -c -impl src/easy_format.ml) - File "src/easy_format.ml", line 203, characters 16-46: - 203 | let tagf0 = pp_get_formatter_tag_functions fmt () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Error: Unbound value pp_get_formatter_tag_functions - Hint: Did you mean pp_get_formatter_stag_functions? - ocamlopt src/.easy_format.objs/native/easy_format.{cmx,o} (exit 2) - (cd _build/default && /home/opam/.opam/5.00/bin/ocamlopt.opt -w -40 -g -I src/.easy_format.objs/byte -I src/.easy_format.objs/native -intf-suffix .ml -no-alias-deps -o src/.easy_format.objs/native/easy_format.cmx -c -impl src/easy_format.ml) - File "src/easy_format.ml", line 203, characters 16-46: - 203 | let tagf0 = pp_get_formatter_tag_functions fmt () in - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Error: Unbound value pp_get_formatter_tag_functions - Hint: Did you mean pp_get_formatter_stag_functions? [ERROR] The compilation of easy-format.1.3.2 failed at "dune build -p easy-format -j 255". Processing 15/24: [cppo: dune build] [re: dune build] Processing 16/24: [cppo: dune build] [re: dune build] Processing 17/24: [cppo: dune build] [re: dune build] Processing 18/24: [cppo: dune build] [re: dune build] -> compiled re.1.10.3 Processing 18/24: [cppo: dune build] -> installed re.1.10.3 Processing 19/24: [cppo: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "255" (CWD=/home/opam/.opam/5.00/.opam-switch/build/cppo.1.6.8) -> compiled cppo.1.6.8 -> installed cppo.1.6.8 #=== ERROR while compiling easy-format.1.3.2 ==================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.00.0+trunk | file:///home/opam/opam-repository # path ~/.opam/5.00/.opam-switch/build/easy-format.1.3.2 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p easy-format -j 255 # exit-code 1 # env-file ~/.opam/log/easy-format-10-909894.env # output-file ~/.opam/log/easy-format-10-909894.out ### output ### # ocamlc src/.easy_format.objs/byte/easy_format.{cmo,cmt} (exit 2) # (cd _build/default && /home/opam/.opam/5.00/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.easy_format.objs/byte -intf-suffix .ml -no-alias-deps -o src/.easy_format.objs/byte/easy_format.cmo -c -impl src/easy_format.ml) # File "src/easy_format.ml", line 203, characters 16-46: # 203 | let tagf0 = pp_get_formatter_tag_functions fmt () in # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Error: Unbound value pp_get_formatter_tag_functions # Hint: Did you mean pp_get_formatter_stag_functions? # ocamlopt src/.easy_format.objs/native/easy_format.{cmx,o} (exit 2) # (cd _build/default && /home/opam/.opam/5.00/bin/ocamlopt.opt -w -40 -g -I src/.easy_format.objs/byte -I src/.easy_format.objs/native -intf-suffix .ml -no-alias-deps -o src/.easy_format.objs/native/easy_format.cmx -c -impl src/easy_format.ml) # File "src/easy_format.ml", line 203, characters 16-46: # 203 | let tagf0 = pp_get_formatter_tag_functions fmt () in # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Error: Unbound value pp_get_formatter_tag_functions # Hint: Did you mean pp_get_formatter_stag_functions? <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install atdgen-runtime 2.2.1 | - install biniou 1.2.1 | - install yojson 1.7.0 +- +- The following actions failed | - build easy-format 1.3.2 +- +- The following changes have been performed (the rest was aborted) | - install cppo 1.6.8 | - install dune 2.9.3 | - install re 1.10.3 | - install seq base +- # 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.00/.opam-switch/backup/state-20220210234916.export" 'opam install -vy atdgen-runtime.2.2.1' failed. "/bin/bash" "-c" " opam remove -y "atdgen-runtime.2.2.1" opam install -vy "atdgen-runtime.2.2.1" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "atdgen-runtime.2.2.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