Building on x86-bm-c18.sw.ocaml.org (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 08:24.24 ---> 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 08:24.24 ---> 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 08:24.24 ---> 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 08:24.24 ---> using "307dc4eff9c022eb8b0a710a88f6f3ff6fe7de0e42f718d3f3c47b9778b9dbf2" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.12' '4.12.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.12.1"} | "ocaml-system" {= "4.12.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.2 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.12.1 (cached) -> installed ocaml-base-compiler.4.12.1 -> installed ocaml-config.2 -> installed ocaml.4.12.1 Done. # Run eval $(opam env --switch=4.12) to update the current shell environment 2024-07-16 08:24.24 ---> using "d793b68344ad8f974e127b0b55b161d826e92e56094b372664335451b77b6d88" 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 3s (121 kB/s) - Reading package lists... - 2024-07-16 08:24.24 ---> using "3f8df786ece285904767c414d6b27f7d0fbe5018be27eaed4dccd1afac76c9b3" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"codept.0.11.0\"\ \nopam install -vy \"codept.0.11.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"codept.0.11.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] codept.0.11.0 is not installed. Nothing to do. The following actions will be performed: === install 6 packages - install codept 0.11.0 - install dune 3.16.0 [required by codept] - install menhir 20231231 [required by codept] - install menhirCST 20231231 [required by menhir] - install menhirLib 20231231 [required by menhir] - install menhirSdk 20231231 [required by menhir] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/15: [codept.0.11.0: http] Processing 2/15: [codept.0.11.0: http] [dune.3.16.0: extract] Processing 3/15: [codept.0.11.0: http] [dune.3.16.0: extract] [menhir.20231231 + 3 others: extract] -> retrieved menhir.20231231, menhirCST.20231231, menhirLib.20231231, menhirSdk.20231231 (cached) Processing 3/15: [codept.0.11.0: http] [dune.3.16.0: extract] Processing 3/15: [codept.0.11.0: extract] [dune.3.16.0: extract] -> retrieved dune.3.16.0 (cached) Processing 3/15: [codept.0.11.0: extract] Processing 4/15: [codept.0.11.0: extract] [dune: ocaml 31] -> retrieved codept.0.11.0 (https://github.com/Octachron/codept/releases/download/0.11.0/codept-0.11.0.tbz) Processing 4/15: [dune: ocaml 31] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/4.12/.opam-switch/build/dune.3.16.0) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 31 - Processing 4/15: [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/4.12/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 Processing 6/15: [menhirCST: dune build] Processing 7/15: [menhirCST: dune build] [menhirLib: dune build] Processing 8/15: [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirCST" "-j" "31" (CWD=/home/opam/.opam/4.12/.opam-switch/build/menhirCST.20231231) -> compiled menhirCST.20231231 Processing 8/15: [menhirLib: dune build] [menhirSdk: dune build] -> installed menhirCST.20231231 Processing 9/15: [menhirLib: dune build] [menhirSdk: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirSdk" "-j" "31" (CWD=/home/opam/.opam/4.12/.opam-switch/build/menhirSdk.20231231) -> compiled menhirSdk.20231231 Processing 9/15: [menhirLib: dune build] -> installed menhirSdk.20231231 Processing 10/15: [menhirLib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirLib" "-j" "31" (CWD=/home/opam/.opam/4.12/.opam-switch/build/menhirLib.20231231) - (cd _build/default/lib/pack && ./pack.exe) - Creating menhirLib.ml... - Creating menhirLib.mli... -> compiled menhirLib.20231231 -> installed menhirLib.20231231 Processing 12/15: [menhir: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhir" "-j" "31" (CWD=/home/opam/.opam/4.12/.opam-switch/build/menhir.20231231) - (cd _build/default/lib/pack && ./pack.exe) - Creating menhirLib.ml... - Creating menhirLib.mli... - (cd _build/default/src/stage2 && .bin/menhir --exn-carries-state --no-pager --require-aliases --strict parser.mly --compare-errors parserMessages.auto.messages --compare-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.check - Read 99 sample input sentences and 99 error messages. - Read 99 sample input sentences and 47 error messages. - (cd _build/default && src/stage2/.bin/menhir --exn-carries-state --no-pager --require-aliases --strict -lg 1 -la 1 -lc 1 -v src/stage2/parser.mly --base src/stage2/parser --infer-read-reply src/stage2/parser__mock.mli.inferred) - Grammar has 56 nonterminal symbols, among which 1 start symbols. - Grammar has 37 terminal symbols. - Grammar has 129 productions. - Built an LR(0) automaton with 199 states. - The grammar is not SLR(1) -- 7 states have a conflict. - The construction mode is no-pager. - Built an LR(1) automaton with 308 states. - One shift/reduce conflict was silently solved. - Extra reductions on error were added in 50 states. - Priority played a role in 0 of these states. - 156 out of 308 states have a default reduction. - 108 out of 308 states are represented. - 44 out of 96 symbols keep track of their start position. - 39 out of 96 symbols keep track of their end position. - The StackLang code contains 4113 instructions in 277 blocks. - The StackLang code comprises 5 mutually recursive groups. - (cd _build/default/src/stage2 && .bin/menhir --exn-carries-state --no-pager --require-aliases --strict parser.mly --compile-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.ml - Read 99 sample input sentences and 47 error messages. -> compiled menhir.20231231 -> installed menhir.20231231 Processing 14/15: [codept: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "codept" "-j" "31" (CWD=/home/opam/.opam/4.12/.opam-switch/build/codept.0.11.0) - File "dune-project", line 18, characters 23-29: - 18 | (depends dune menhir {build & >= 20180523}) - ^^^^^^ - Error: "{build" is an invalid package dependency. - Package names can contain letters, numbers, '-', '_' and '+', and need to - contain at least a letter. - Hint: _build would be a correct package dependency [ERROR] The compilation of codept.0.11.0 failed at "dune build -p codept -j 31". #=== ERROR while compiling codept.0.11.0 ======================================# # context 2.3.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/opam/opam-repository # path ~/.opam/4.12/.opam-switch/build/codept.0.11.0 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p codept -j 31 # exit-code 1 # env-file ~/.opam/log/codept-8-ba8127.env # output-file ~/.opam/log/codept-8-ba8127.out ### output ### # File "dune-project", line 18, characters 23-29: # 18 | (depends dune menhir {build & >= 20180523}) # ^^^^^^ # Error: "{build" is an invalid package dependency. # Package names can contain letters, numbers, '-', '_' and '+', and need to # contain at least a letter. # Hint: _build would be a correct package dependency <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build codept 0.11.0 +- +- The following changes have been performed | - install dune 3.16.0 | - install menhir 20231231 | - install menhirCST 20231231 | - install menhirLib 20231231 | - install menhirSdk 20231231 +- # 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/4.12/.opam-switch/backup/state-20240716082427.export" 'opam install -vy codept.0.11.0' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "codept.0.11.0" opam install -vy "codept.0.11.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "codept.0.11.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