Building on x86-bm-c7.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam d17903a8b5bb: Pulling fs layer d17903a8b5bb: Verifying Checksum d17903a8b5bb: Download complete d17903a8b5bb: Pull complete Digest: sha256:fc4a1db9bca3b44e988887700974d69f848529f31aed5bce3d9808f8cf771239 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-06-09 11:49.48 ---> 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-06-09 11:49.48 ---> 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 f4fe6a19e8ca89de0028a1ab90cb61ecdab7084b")) 2024-06-09 11:49.48 ---> using "307bb6974cfcb6190f28f6f7d49d40b196c2bfe8efe0033ec2dcae030ffa6019" 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-06-09 11:49.48 ---> using "e61767b92e01fc91060002a915012365bb54961334fb628e2e2bfb162cd99d7e" 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-06-09 11:49.48 ---> using "f2265d36df0bbedd99947bd20e38afe95c9847127eaa02d15b602a08438e7f01" 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-06-08-1408.33-F-2024-06-04-0804.54.pdiff [331 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-06-08-1408.33-F-2024-06-04-0804.54.pdiff [331 kB] - Fetched 593 kB in 5s (129 kB/s) - Reading package lists... - 2024-06-09 11:49.48 ---> using "8aa1384bc2a599e8420866df43db227a11cbdd3bb7c20703bece1e75d6c22a07" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"memtrace.0.1\"\ \nopam install -vy \"memtrace.0.1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"memtrace.0.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")) Nothing to do. [NOTE] memtrace.0.1 is not installed. The following actions will be performed: === install 2 packages - install dune 3.15.3 [required by memtrace] - install memtrace 0.1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/6: Processing 2/6: -> retrieved memtrace.0.1 (cached) -> retrieved dune.3.15.3 (cached) Processing 3/6: [dune: ocaml 31] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.15.3) - 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 31 - 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 - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads fiber.mli - File "vendor/fiber/src/fiber.mli", line 117, characters 3-9: - Warning 53 [misplaced-attribute]: the "inline" attribute cannot appear in this context - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads memo.mli - File "src/memo/memo.mli", line 104, characters 3-9: - Warning 53 [misplaced-attribute]: the "inline" attribute cannot appear in this context - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamLocal.ml - File "vendor/opam/src/repository/opamLocal.ml", lines 109-114, characters 46-34: - Warning 8 [partial-match]: 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", lines 170-189, characters 44-56: - Warning 8 [partial-match]: 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", lines 209-231, characters 8-44: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamVCS.ml - File "vendor/opam/src/repository/opamVCS.ml", lines 179-182, characters 11-40: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamDownload.ml - File "vendor/opam/src/repository/opamDownload.ml", lines 323-361, characters 42-41: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - Checksum_mismatch _ - cd _boot && /home/opam/.opam/5.2/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads opamRepository.ml - File "vendor/opam/src/repository/opamRepository.ml", lines 88-90, characters 45-77: - Warning 8 [partial-match]: 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", lines 277-280, characters 39-59: - Warning 8 [partial-match]: 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", lines 423-427, characters 12-42: - Warning 8 [partial-match]: this pattern-matching is not exhaustive. - Here is an example of a case that is not matched: - (_, Checksum_mismatch _) - Processing 3/6: [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/5.2/.opam-switch/build/dune.3.15.3) -> compiled dune.3.15.3 -> installed dune.3.15.3 Processing 5/6: [memtrace: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "memtrace" "-j" "31" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/memtrace.0.1) - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I src/.memtrace.objs/byte -I src/.memtrace.objs/native -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Memtrace__ -o src/.memtrace.objs/native/memtrace__Trace.cmx -c -impl src/trace.ml) - File "src/trace.ml", lines 346-352, characters 16-4: - 346 | ................Hashtbl.MakeSeeded (struct - 347 | type t = int - 348 | let hash _seed (id : t) = - 349 | let h = id * 189696287 in - 350 | h lxor (h lsr 23) - 351 | let equal (a : t) (b : t) = a = b - 352 | end) - Error: Modules do not match: - sig - type t = int - val hash : 'a -> t -> int - val equal : t -> t -> bool - end - is not included in Hashtbl.SeededHashedType - The value "seeded_hash" is required but not provided - File "hashtbl.mli", line 439, characters 4-36: Expected declaration [ERROR] The compilation of memtrace.0.1 failed at "dune build -p memtrace -j 31 @install". #=== ERROR while compiling memtrace.0.1 =======================================# # context 2.2.0~beta3~dev | linux/x86_64 | ocaml-base-compiler.5.2.0 | file:///home/opam/opam-repository # path ~/.opam/5.2/.opam-switch/build/memtrace.0.1 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p memtrace -j 31 @install # exit-code 1 # env-file ~/.opam/log/memtrace-8-c6b188.env # output-file ~/.opam/log/memtrace-8-c6b188.out ### output ### # (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I src/.memtrace.objs/byte -I src/.memtrace.objs/native -I /home/opam/.opam/5.2/lib/ocaml/threads -I /home/opam/.opam/5.2/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Memtrace__ -o src/.memtrace.objs/native/memtrace__Trace.cmx -c -impl src/trace.ml) # File "src/trace.ml", lines 346-352, characters 16-4: # 346 | ................Hashtbl.MakeSeeded (struct # 347 | type t = int # 348 | let hash _seed (id : t) = # 349 | let h = id * 189696287 in # 350 | h lxor (h lsr 23) # 351 | let equal (a : t) (b : t) = a = b # 352 | end) # Error: Modules do not match: # sig # type t = int # val hash : 'a -> t -> int # val equal : t -> t -> bool # end # is not included in Hashtbl.SeededHashedType # The value "seeded_hash" is required but not provided # File "hashtbl.mli", line 439, characters 4-36: Expected declaration <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build memtrace 0.1 +- +- The following changes have been performed | - install dune 3.15.3 +- # 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-20240609114950.export" 'opam install -vy memtrace.0.1' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "memtrace.0.1" opam install -vy "memtrace.0.1" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "memtrace.0.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