Building on doris.caelum.ci.dev (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam d2f0ec64d3f4: Pulling fs layer d2f0ec64d3f4: Verifying Checksum d2f0ec64d3f4: Download complete d2f0ec64d3f4: Pull complete Digest: sha256:935c987507cf9b13d6a2f9014433ee01e1ce28db5ba3a6533fce1e30ba59c8b0 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-07-16 07:12.52 ---> 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")) 2024-07-16 07:12.52 ---> 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 80f59f9d12c0e9dda29eb80811ac7689a7ec392b")) 2024-07-16 07:12.52 ---> using "261727b5bbfeb9b6232c3be6e0deca60a5eaa5ba0fd41e545fc12d14c3e15563" 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. 2024-07-16 07:12.52 ---> using "307dc4eff9c022eb8b0a710a88f6f3ff6fe7de0e42f718d3f3c47b9778b9dbf2" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.2' '5.2.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.2.0 (cached) -> installed ocaml-base-compiler.5.2.0 -> installed ocaml-config.3 -> installed ocaml.5.2.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.2) to update the current shell environment 2024-07-16 07:12.52 ---> using "bf37cd10dbffdfef901304f7b474b1265b85e90cbd8c571b82187e4c42adfac1" 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-2024-07-16-0206.58-F-2024-07-15-2007.11.pdiff [62.8 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-07-16-0206.58-F-2024-07-15-2007.11.pdiff [62.8 kB] - Fetched 325 kB in 2s (212 kB/s) - Reading package lists... - 2024-07-16 07:12.52 ---> using "26f0a38c13b8cb163de82ecdad1d3f23114f3aa0484b240c8b59e04887251a65" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"boltzgen.0.9.3\"\ \nopam install -vy \"boltzgen.0.9.3\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"boltzgen.0.9.3\" | 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] boltzgen.0.9.3 is not installed. Nothing to do. The following actions will be performed: === install 4 packages - install boltzgen 0.9.3 - install cmdliner 1.3.0 [required by boltzgen] - install dune 3.16.0 [required by boltzgen] - install ocaml-compiler-libs v0.17.0 [required by boltzgen] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/12: [boltzgen.0.9.3: http] Processing 2/12: [boltzgen.0.9.3: http] [cmdliner.1.3.0: extract] Processing 3/12: [boltzgen.0.9.3: http] [cmdliner.1.3.0: extract] [dune.3.16.0: extract] -> retrieved cmdliner.1.3.0 (cached) Processing 3/12: [boltzgen.0.9.3: http] [dune.3.16.0: extract] Processing 4/12: [boltzgen.0.9.3: http] [dune.3.16.0: extract] [ocaml-compiler-libs.v0.17.0: extract] Processing 5/12: [boltzgen.0.9.3: http] [dune.3.16.0: extract] [ocaml-compiler-libs.v0.17.0: extract] [cmdliner: make all] -> retrieved ocaml-compiler-libs.v0.17.0 (cached) Processing 5/12: [boltzgen.0.9.3: http] [dune.3.16.0: extract] [cmdliner: make all] Processing 5/12: [boltzgen.0.9.3: extract] [dune.3.16.0: extract] [cmdliner: make all] -> retrieved boltzgen.0.9.3 (https://git.lacl.fr/barbot/boltzgen/-/archive/release-0.9.3/boltzgen-release-0.9.3.tar.gz) Processing 5/12: [dune.3.16.0: extract] [cmdliner: make all] -> retrieved dune.3.16.0 (cached) Processing 5/12: [cmdliner: make all] Processing 6/12: [cmdliner: make all] [dune: ocaml 255] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" "PREFIX=/home/opam/.opam/5.2" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - ocaml build.ml cma - ocaml build.ml cmxa - ocaml build.ml cmxs -> compiled cmdliner.1.3.0 Processing 6/12: [dune: ocaml 255] Processing 7/12: [dune: ocaml 255] [cmdliner: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" "LIBDIR=/home/opam/.opam/5.2/lib/cmdliner" "DOCDIR=/home/opam/.opam/5.2/doc/cmdliner" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - install -d "/home/opam/.opam/5.2/lib/cmdliner" - install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti "/home/opam/.opam/5.2/lib/cmdliner" - install cmdliner.opam "/home/opam/.opam/5.2/lib/cmdliner/opam" - install _build/cmdliner.cma "/home/opam/.opam/5.2/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.2/lib/cmdliner" - install _build/cmdliner.cmxs "/home/opam/.opam/5.2/lib/cmdliner" Processing 7/12: [dune: ocaml 255] [cmdliner: make install-doc] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install-doc" "LIBDIR=/home/opam/.opam/5.2/lib/cmdliner" "DOCDIR=/home/opam/.opam/5.2/doc/cmdliner" (CWD=/home/opam/.opam/5.2/.opam-switch/build/cmdliner.1.3.0) - install -d "/home/opam/.opam/5.2/doc/cmdliner/odoc-pages" - install CHANGES.md LICENSE.md README.md "/home/opam/.opam/5.2/doc/cmdliner" - install doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \ - doc/tool_man.mld "/home/opam/.opam/5.2/doc/cmdliner/odoc-pages" -> installed cmdliner.1.3.0 Processing 7/12: [dune: ocaml 255] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.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 255 - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads stdune.ml - File "otherlibs/stdune/src/stdune.ml", line 1, characters 4-9: - Warning 53 [misplaced-attribute]: the "alert" attribute cannot appear in this context - Processing 7/12: [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" "255" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 Processing 9/12: [ocaml-compiler-libs: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-compiler-libs" "-j" "255" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocaml-compiler-libs.v0.17.0) -> compiled ocaml-compiler-libs.v0.17.0 -> installed ocaml-compiler-libs.v0.17.0 Processing 11/12: [boltzgen: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "boltzgen" "-j" "255" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/boltzgen.0.9.3) - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .boltzgen_runtime.objs/byte -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Boltzgen_runtime -o .boltzgen_runtime.objs/byte/boltzgen_runtime__Parse_from_compiler.cmo -c -impl parse_from_compiler.ml) - File "parse_from_compiler.ml", line 37, characters 54-55: - 37 | Location.errorf ~loc "invalid package type: %s" s - ^ - Error: This expression has type - "Ocaml_common.Syntaxerr.invalid_package_type" = - "Syntaxerr.invalid_package_type" - but an expression was expected of type "string" - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I .boltzgen_runtime.objs/byte -I .boltzgen_runtime.objs/native -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Boltzgen_runtime -o .boltzgen_runtime.objs/native/boltzgen_runtime__Parse_from_compiler.cmx -c -impl parse_from_compiler.ml) - File "parse_from_compiler.ml", line 37, characters 54-55: - 37 | Location.errorf ~loc "invalid package type: %s" s - ^ - Error: This expression has type - "Ocaml_common.Syntaxerr.invalid_package_type" = - "Syntaxerr.invalid_package_type" - but an expression was expected of type "string" - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .gen_test.eobjs/byte -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ocaml/unix -I .boltzgen_runtime.objs/byte -no-alias-deps -o .gen_test.eobjs/byte/dune__exe__Gen_test.cmo -c -impl gen_test.ml) - File "gen_test.ml", line 141, characters 4-13: - 141 | Term.info "boltzgen" ~version:"v0.9.3" ~doc ~exits:Term.default_exits ~man - ^^^^^^^^^ - Alert deprecated: Cmdliner.Term.info - Use Cmd.info instead. - - File "gen_test.ml", line 141, characters 55-73: - 141 | Term.info "boltzgen" ~version:"v0.9.3" ~doc ~exits:Term.default_exits ~man - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: Cmdliner.Term.default_exits - Use Cmd.Exit.defaults or Cmd.info's defaults ~exits value instead. - - File "gen_test.ml", line 144, characters 15-19: - 144 | let () = Term.(exit @@ eval cmd) - ^^^^ - Alert deprecated: Cmdliner.Term.exit - Use Stdlib.exit and Cmd.eval instead. - - File "gen_test.ml", line 144, characters 23-27: - 144 | let () = Term.(exit @@ eval cmd) - ^^^^ - Alert deprecated: Cmdliner.Term.eval - Use Cmd.v and one of Cmd.eval* instead. [ERROR] The compilation of boltzgen.0.9.3 failed at "dune build -p boltzgen -j 255 @install". #=== ERROR while compiling boltzgen.0.9.3 =====================================# # context 2.3.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | file:///home/opam/opam-repository # path ~/.opam/5.2/.opam-switch/build/boltzgen.0.9.3 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p boltzgen -j 255 @install # exit-code 1 # env-file ~/.opam/log/boltzgen-8-323e07.env # output-file ~/.opam/log/boltzgen-8-323e07.out ### output ### # (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .boltzgen_runtime.objs/byte -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Boltzgen_runtime -o .boltzgen_runtime.objs/byte/boltzgen_runtime__Parse_from_compiler.cmo -c -impl parse_from_compiler.ml) # File "parse_from_compiler.ml", line 37, characters 54-55: # 37 | Location.errorf ~loc "invalid package type: %s" s # ^ # Error: This expression has type # "Ocaml_common.Syntaxerr.invalid_package_type" = # "Syntaxerr.invalid_package_type" # but an expression was expected of type "string" # (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I .boltzgen_runtime.objs/byte -I .boltzgen_runtime.objs/native -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Boltzgen_runtime -o .boltzgen_runtime.objs/native/boltzgen_runtime__Parse_from_compiler.cmx -c -impl parse_from_compiler.ml) # File "parse_from_compiler.ml", line 37, characters 54-55: # 37 | Location.errorf ~loc "invalid package type: %s" s # ^ # Error: This expression has type # "Ocaml_common.Syntaxerr.invalid_package_type" = # "Syntaxerr.invalid_package_type" # but an expression was expected of type "string" # (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .gen_test.eobjs/byte -I /home/opam/.opam/5.2/lib/cmdliner -I /home/opam/.opam/5.2/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.2/lib/ocaml/compiler-libs -I /home/opam/.opam/5.2/lib/ocaml/unix -I .boltzgen_runtime.objs/byte -no-alias-deps -o .gen_test.eobjs/byte/dune__exe__Gen_test.cmo -c -impl gen_test.ml) # File "gen_test.ml", line 141, characters 4-13: # 141 | Term.info "boltzgen" ~version:"v0.9.3" ~doc ~exits:Term.default_exits ~man # ^^^^^^^^^ # Alert deprecated: Cmdliner.Term.info # Use Cmd.info instead. # # File "gen_test.ml", line 141, characters 55-73: # 141 | Term.info "boltzgen" ~version:"v0.9.3" ~doc ~exits:Term.default_exits ~man # ^^^^^^^^^^^^^^^^^^ # Alert deprecated: Cmdliner.Term.default_exits # Use Cmd.Exit.defaults or Cmd.info's defaults ~exits value instead. # # File "gen_test.ml", line 144, characters 15-19: # 144 | let () = Term.(exit @@ eval cmd) # ^^^^ # Alert deprecated: Cmdliner.Term.exit # Use Stdlib.exit and Cmd.eval instead. # # File "gen_test.ml", line 144, characters 23-27: # 144 | let () = Term.(exit @@ eval cmd) # ^^^^ # Alert deprecated: Cmdliner.Term.eval # Use Cmd.v and one of Cmd.eval* instead. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build boltzgen 0.9.3 +- +- The following changes have been performed | - install cmdliner 1.3.0 | - install dune 3.16.0 | - install ocaml-compiler-libs v0.17.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.2/.opam-switch/backup/state-20240716071254.export" 'opam install -vy boltzgen.0.9.3' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "boltzgen.0.9.3" opam install -vy "boltzgen.0.9.3" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "boltzgen.0.9.3" | 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