Building on x86-bm-10.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-11 23:06.32 ---> 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-11 23:06.32 ---> 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-11 23:06.32 ---> 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-11 23:06.32 ---> using "3910cf3733834024da3f31717f53c4d64ec6165d9ca48b4a2ad73da600e53b71" from cache /: (run (network host) (shell "git clone -q 'https://github.com/kit-ty-kate/opam-alpha-repository' ~/'alpha' && git -C ~/'alpha' checkout -q 93756c209fef55790e277d7a3521c9fc9e2336d5")) 2022-10-11 23:06.32 ---> using "b6d4d3be9a711ba309ef3d5f6ca762985d6e203b1beb1cf2dd38cc8f4d3493d8" from cache /: (run (shell "opam repository add --dont-select 'alpha' ~/'alpha'")) [alpha] Initialised 2022-10-11 23:06.32 ---> using "80d0de8980f4d082bfa7f5d3e0882d81f8f594ed44fbc90542cd317ea80e9ae8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=alpha,default '4.14+alpha-repo' '4.14.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.14.0"} | "ocaml-system" {= "4.14.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.14.0 (cached) -> installed ocaml-base-compiler.4.14.0 -> installed ocaml-config.2 -> installed ocaml.4.14.0 Done. # Run eval $(opam env --switch=4.14+alpha-repo) to update the current shell environment 2022-10-11 23:06.32 ---> using "3500717c1cf7fc3ed606be9fdc07c6050b590017d3dd4491e8648cb42204674f" 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 (109 kB/s) - Reading package lists... - 2022-10-11 23:06.32 ---> using "bcb2c8e9ff467d141232024e999a8d1be97c071aae68a54d80158d4317c03dbd" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"atds.2.2.1.1~alpha-repo\"\ \nopam install -vy \"atds.2.2.1.1~alpha-repo\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"atds.2.2.1.1~alpha-repo\" | 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] atds.2.2.1.1~alpha-repo is not installed. Nothing to do. The following actions will be performed: === install 11 packages - install atd 2.10.0 [required by atds] - install atds 2.2.1.1~alpha-repo - install cppo 1.6.9 [required by yojson] - install dune 3.4.1 [required by atds] - install easy-format 1.3.4 [required by atd] - install menhir 20220210 [required by atd] - install menhirLib 20220210 [required by menhir] - install menhirSdk 20220210 [required by menhir] - install re 1.10.4 [required by atds] - install seq base [required by re, yojson] - install yojson 2.0.2 [required by atd] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/31: Processing 2/31: [atds.2.2.1.1~alpha-repo: http] Processing 3/31: [atds.2.2.1.1~alpha-repo: http] -> retrieved cppo.1.6.9 (cached) Processing 4/31: [atds.2.2.1.1~alpha-repo: http] Processing 4/31: -> retrieved atd.2.10.0 (cached) Processing 5/31: -> retrieved dune.3.4.1 (cached) Processing 6/31: Processing 7/31: [dune: ocaml bootstrap.ml] -> retrieved atds.2.2.1.1~alpha-repo (https://github.com/kit-ty-kate/atd/archive/500.tar.gz) Processing 8/31: [dune: ocaml bootstrap.ml] -> retrieved easy-format.1.3.4 (cached) Processing 9/31: [dune: ocaml bootstrap.ml] Processing 10/31: [dune: ocaml bootstrap.ml] Processing 11/31: [dune: ocaml bootstrap.ml] -> installed seq.base Processing 12/31: [dune: ocaml bootstrap.ml] -> retrieved menhir.20220210, menhirLib.20220210, menhirSdk.20220210 (cached) -> retrieved re.1.10.4 (cached) -> retrieved yojson.2.0.2 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/4.14+alpha-repo/.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 31 - Processing 12/31: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/dune.3.4.1) -> compiled dune.3.4.1 -> installed dune.3.4.1 Processing 14/31: [cppo: dune build] Processing 15/31: [cppo: dune build] [easy-format: dune build] Processing 16/31: [cppo: dune build] [easy-format: dune build] [menhirLib: dune build] Processing 17/31: [cppo: dune build] [easy-format: dune build] [menhirLib: dune build] [menhirSdk: dune build] Processing 18/31: [cppo: dune build] [easy-format: dune build] [menhirLib: dune build] [menhirSdk: dune build] [re: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "easy-format" "-j" "31" "@install" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/easy-format.1.3.4) -> compiled easy-format.1.3.4 Processing 18/31: [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] [re: dune build] -> installed easy-format.1.3.4 Processing 19/31: [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] [re: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirSdk" "-j" "31" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/menhirSdk.20220210) -> compiled menhirSdk.20220210 Processing 19/31: [cppo: dune build] [menhirLib: dune build] [re: dune build] -> installed menhirSdk.20220210 Processing 20/31: [cppo: dune build] [menhirLib: dune build] [re: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhirLib" "-j" "31" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/menhirLib.20220210) - (cd _build/default/lib/pack && ./pack.exe) - Creating menhirLib.ml... - Creating menhirLib.mli... -> compiled menhirLib.20220210 Processing 20/31: [cppo: dune build] [re: dune build] -> installed menhirLib.20220210 Processing 21/31: [cppo: dune build] [re: dune build] Processing 22/31: [cppo: dune build] [menhir: dune build] [re: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "re" "-j" "31" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/re.1.10.4) -> compiled re.1.10.4 Processing 22/31: [cppo: dune build] [menhir: dune build] -> installed re.1.10.4 Processing 23/31: [cppo: dune build] [menhir: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "31" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/cppo.1.6.9) -> compiled cppo.1.6.9 Processing 23/31: [menhir: dune build] -> installed cppo.1.6.9 Processing 24/31: [menhir: dune build] Processing 25/31: [menhir: dune build] [yojson: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "yojson" "-j" "31" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/yojson.2.0.2) -> compiled yojson.2.0.2 Processing 25/31: [menhir: dune build] -> installed yojson.2.0.2 Processing 26/31: [menhir: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "menhir" "-j" "31" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/menhir.20220210) - (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 101 sample input sentences and 101 error messages. - Read 101 sample input sentences and 48 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 194 states. - The grammar is not SLR(1) -- 5 states have a conflict. - The construction mode is no-pager. - Built an LR(1) automaton with 298 states. - One shift/reduce conflict was silently solved. - Extra reductions on error were added in 40 states. - Priority played a role in 0 of these states. - 152 out of 298 states have a default reduction. - 102 out of 298 states are represented. - 44 out of 96 symbols keep track of their start position. - 41 out of 96 symbols keep track of their end position. - 264 specialized copies of 64 functions have been created. - The StackLang code contains 5161 instructions in 241 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 101 sample input sentences and 48 error messages. -> compiled menhir.20220210 -> installed menhir.20220210 Processing 28/31: [atd: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "atd" "-j" "31" "@install" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/atd.2.10.0) -> compiled atd.2.10.0 -> installed atd.2.10.0 Processing 30/31: [atds: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "atds" "-j" "31" "@install" (CWD=/home/opam/.opam/4.14+alpha-repo/.opam-switch/build/atds.2.2.1.1~alpha-repo) - (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlc.opt -w -40 -w -27 -safe-string -g -bin-annot -I atds/src/.atds_main.eobjs/byte -I /home/opam/.opam/4.14+alpha-repo/lib/atd -no-alias-deps -o atds/src/.atds_main.eobjs/byte/atds_trans.cmo -c -impl atds/src/atds_trans.ml) - File "atds/src/atds_trans.ml", line 156, characters 22-49: - 156 | | Atd.Ast.Variant (_, (atd_name, an), opt_ty) -> - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Error: This pattern matches values of type 'a * 'b * 'c - but a pattern was expected which matches values of type - Atd.Ast.variant [ERROR] The compilation of atds.2.2.1.1~alpha-repo failed at "dune build -p atds -j 31 @install". #=== ERROR while compiling atds.2.2.1.1~alpha-repo ============================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.14.0 | git+file:///home/opam/alpha # path ~/.opam/4.14+alpha-repo/.opam-switch/build/atds.2.2.1.1~alpha-repo # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p atds -j 31 @install # exit-code 1 # env-file ~/.opam/log/atds-9-7d59bc.env # output-file ~/.opam/log/atds-9-7d59bc.out ### output ### # (cd _build/default && /home/opam/.opam/4.14+alpha-repo/bin/ocamlc.opt -w -40 -w -27 -safe-string -g -bin-annot -I atds/src/.atds_main.eobjs/byte -I /home/opam/.opam/4.14+alpha-repo/lib/atd -no-alias-deps -o atds/src/.atds_main.eobjs/byte/atds_trans.cmo -c -impl atds/src/atds_trans.ml) # File "atds/src/atds_trans.ml", line 156, characters 22-49: # 156 | | Atd.Ast.Variant (_, (atd_name, an), opt_ty) -> # ^^^^^^^^^^^^^^^^^^^^^^^^^^^ # Error: This pattern matches values of type 'a * 'b * 'c # but a pattern was expected which matches values of type # Atd.Ast.variant <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build atds 2.2.1.1~alpha-repo +- +- The following changes have been performed | - install atd 2.10.0 | - install cppo 1.6.9 | - install dune 3.4.1 | - install easy-format 1.3.4 | - install menhir 20220210 | - install menhirLib 20220210 | - install menhirSdk 20220210 | - install re 1.10.4 | - install seq base | - install yojson 2.0.2 +- # 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.14+alpha-repo/.opam-switch/backup/state-20221011230635.export" 'opam install -vy atds.2.2.1.1~alpha-repo' failed. "/bin/bash" "-c" " opam remove -y "atds.2.2.1.1~alpha-repo" opam install -vy "atds.2.2.1.1~alpha-repo" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "atds.2.2.1.1~alpha-repo" | 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