Building on phoebe.caelum.ci.dev (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:cb76113ac235cd5c32f736db85bcfc8888018aacdc9c798abbb097ef4fbc9206 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-01-17 18:18.40 ---> 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-01-17 18:18.40 ---> 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 28c3ca4ddd028f5a7bdb6a8172dd869315b6b65d")) 2024-01-17 18:18.40 ---> using "f42a41ef0a6cf3dbbafb21d8e520e7db703b9cf09fe07ffd32a08fe4177af3e7" 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: [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. ~/.profile is already up-to-date. 2024-01-17 18:18.40 ---> using "9cd974eb59ff7fce393824adce4e31b3bad3729a4858b8cec79ef3afc63c8b14" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.08' '4.08.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.08.1"} | "ocaml-system" {= "4.08.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.08.1 (cached) -> installed ocaml-base-compiler.4.08.1 -> installed ocaml-config.1 -> installed ocaml.4.08.1 Done. # Run eval $(opam env --switch=4.08) to update the current shell environment 2024-01-17 18:18.40 ---> using "3473fb5792b8ed03a1a6d6e93e05f3e5b163c66e856f6ba4fc08bbec800a92bb" 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-01-17-0205.06-F-2024-01-12-1405.21.pdiff [210 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-01-17-0205.06-F-2024-01-12-1405.21.pdiff [210 kB] - Fetched 471 kB in 4s (123 kB/s) - Reading package lists... - 2024-01-17 18:18.40 ---> using "aab236368421a8daa9d28fade6908bcfa72022eb5b8714f517a63ea218083e44" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"owl-symbolic.0.2.0\"\ \nopam install -vy \"owl-symbolic.0.2.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"owl-symbolic.0.2.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")) Nothing to do. [NOTE] owl-symbolic.0.2.0 is not installed. The following actions will be performed: === install 6 packages - install dune 3.12.2 [required by owl-symbolic] - install ocaml-protoc 3.0.1 [required by owl-symbolic] - install owl-base 0.8.0 [required by owl-symbolic] - install owl-symbolic 0.2.0 - install pbrt 3.0.1 [required by ocaml-protoc] - install stdlib-shims 0.3.0 [required by owl-base] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/17: Processing 2/17: Processing 3/17: -> retrieved ocaml-protoc.3.0.1, pbrt.3.0.1 (cached) Processing 4/17: [owl-symbolic.0.2.0: http] Processing 4/17: -> retrieved owl-symbolic.0.2.0 (https://github.com/owlbarn/owl_symbolic/releases/download/0.2.0/owl-symbolic-0.2.0.tbz) Processing 5/17: -> retrieved dune.3.12.2 (cached) Processing 6/17: [dune: ocaml 71] -> retrieved owl-base.0.8.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "71" (CWD=/home/opam/.opam/4.08/.opam-switch/build/dune.3.12.2) - ocamlc -custom -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 71 - cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamLocal.ml - File "vendor/opam/src/repository/opamLocal.ml", line 109, characters 46-225: - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - File "vendor/opam/src/repository/opamLocal.ml", line 170, characters 44-866: - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - File "vendor/opam/src/repository/opamLocal.ml", line 209, characters 8-775: - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamVCS.ml - File "vendor/opam/src/repository/opamVCS.ml", line 179, characters 11-183: - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads dune_util__Gc.ml - File "src/dune_util/gc.ml", line 78, characters 5-351: - Warning 23: all the fields are explicitly listed in this record: - the 'with' clause is useless. - cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamDownload.ml - File "vendor/opam/src/repository/opamDownload.ml", line 323, characters 42-1950: - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/4.08/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +threads opamRepository.ml - File "vendor/opam/src/repository/opamRepository.ml", line 88, characters 45-174: - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - File "vendor/opam/src/repository/opamRepository.ml", line 277, characters 38-236: - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - File "vendor/opam/src/repository/opamRepository.ml", line 423, characters 12-252: - Warning 8: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (_, Checksum_mismatch _) - Processing 6/17: [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" "71" (CWD=/home/opam/.opam/4.08/.opam-switch/build/dune.3.12.2) -> compiled dune.3.12.2 -> installed dune.3.12.2 Processing 8/17: [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "71" (CWD=/home/opam/.opam/4.08/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 -> installed stdlib-shims.0.3.0 Processing 10/17: [owl-base: dune build] Processing 11/17: [owl-base: dune build] [pbrt: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "pbrt" "-j" "71" "@install" (CWD=/home/opam/.opam/4.08/.opam-switch/build/pbrt.3.0.1) -> compiled pbrt.3.0.1 Processing 11/17: [owl-base: dune build] -> installed pbrt.3.0.1 Processing 12/17: [owl-base: dune build] Processing 13/17: [ocaml-protoc: dune build] [owl-base: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-protoc" "-j" "71" "@install" (CWD=/home/opam/.opam/4.08/.opam-switch/build/ocaml-protoc.3.0.1) -> compiled ocaml-protoc.3.0.1 Processing 13/17: [owl-base: dune build] -> installed ocaml-protoc.3.0.1 Processing 14/17: [owl-base: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "owl-base" "-j" "71" (CWD=/home/opam/.opam/4.08/.opam-switch/build/owl-base.0.8.0) -> compiled owl-base.0.8.0 -> installed owl-base.0.8.0 Processing 16/17: [owl-symbolic: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "owl-symbolic" "-j" "71" (CWD=/home/opam/.opam/4.08/.opam-switch/build/owl-symbolic.0.2.0) - (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.owl_symbolic.objs/byte -I /home/opam/.opam/4.08/lib/ocaml-protoc -I /home/opam/.opam/4.08/lib/owl-base -I /home/opam/.opam/4.08/lib/pbrt -I /home/opam/.opam/4.08/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.owl_symbolic.objs/byte/onnx_pb.cmo -c -impl src/onnx_pb.ml) - File "src/onnx_specs/onnx_pb.ml", line 1036, characters 21-37: - Error: This expression has type 'a * 'b - but an expression was expected of type int - (cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w -40 -g -I src/.owl_symbolic.objs/byte -I src/.owl_symbolic.objs/native -I /home/opam/.opam/4.08/lib/ocaml-protoc -I /home/opam/.opam/4.08/lib/owl-base -I /home/opam/.opam/4.08/lib/pbrt -I /home/opam/.opam/4.08/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.owl_symbolic.objs/native/onnx_pb.cmx -c -impl src/onnx_pb.ml) - File "src/onnx_specs/onnx_pb.ml", line 1036, characters 21-37: - Error: This expression has type 'a * 'b - but an expression was expected of type int [ERROR] The compilation of owl-symbolic.0.2.0 failed at "dune build -p owl-symbolic -j 71". #=== ERROR while compiling owl-symbolic.0.2.0 =================================# # context 2.2.0~alpha4~dev | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///home/opam/opam-repository # path ~/.opam/4.08/.opam-switch/build/owl-symbolic.0.2.0 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p owl-symbolic -j 71 # exit-code 1 # env-file ~/.opam/log/owl-symbolic-8-b59638.env # output-file ~/.opam/log/owl-symbolic-8-b59638.out ### output ### # (cd _build/default && /home/opam/.opam/4.08/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.owl_symbolic.objs/byte -I /home/opam/.opam/4.08/lib/ocaml-protoc -I /home/opam/.opam/4.08/lib/owl-base -I /home/opam/.opam/4.08/lib/pbrt -I /home/opam/.opam/4.08/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.owl_symbolic.objs/byte/onnx_pb.cmo -c -impl src/onnx_pb.ml) # File "src/onnx_specs/onnx_pb.ml", line 1036, characters 21-37: # Error: This expression has type 'a * 'b # but an expression was expected of type int # (cd _build/default && /home/opam/.opam/4.08/bin/ocamlopt.opt -w -40 -g -I src/.owl_symbolic.objs/byte -I src/.owl_symbolic.objs/native -I /home/opam/.opam/4.08/lib/ocaml-protoc -I /home/opam/.opam/4.08/lib/owl-base -I /home/opam/.opam/4.08/lib/pbrt -I /home/opam/.opam/4.08/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/.owl_symbolic.objs/native/onnx_pb.cmx -c -impl src/onnx_pb.ml) # File "src/onnx_specs/onnx_pb.ml", line 1036, characters 21-37: # Error: This expression has type 'a * 'b # but an expression was expected of type int <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build owl-symbolic 0.2.0 +- +- The following changes have been performed | - install dune 3.12.2 | - install ocaml-protoc 3.0.1 | - install owl-base 0.8.0 | - install pbrt 3.0.1 | - install stdlib-shims 0.3.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/4.08/.opam-switch/backup/state-20240117181842.export" 'opam install -vy owl-symbolic.0.2.0' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "owl-symbolic.0.2.0" opam install -vy "owl-symbolic.0.2.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "owl-symbolic.0.2.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