Building on x86-bm-c8.sw.ocaml.org (from ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6) Unable to find image 'ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6' locally docker.io/ocaml/opam@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6: Pulling from ocaml/opam 624365a1732e: Pulling fs layer 624365a1732e: Verifying Checksum 624365a1732e: Download complete 624365a1732e: Pull complete Digest: sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6 Status: Downloaded newer image for ocaml/opam@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6 2023-06-16 07:50.31 ---> using "7d60bd9cf13de83a2fc915bd8660b84a000026ca2eadd109efbf3b57cd5af04f" 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")) 2023-06-16 07:50.31 ---> using "62379d35ed668426d9d8110913c125fa3183b296a68efdc9da0c91b6897e4bf2" 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 6ed4e23f2cefb96b2e2fce1c99e5cd85d7c4ee04")) 2023-06-16 07:50.31 ---> using "d67783525c2f7c1fb3010c0e770129217b499fe94429b3e3f0772c072398792a" 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. 2023-06-16 07:50.31 ---> using "394a25570d264bb6df13e493742820ac5dab3969c617aac9165a8108bc036a57" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.1' '5.1.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "5.1.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.5.1.0+trunk (https://github.com/ocaml/ocaml/archive/5.1.tar.gz) -> installed ocaml-variants.5.1.0+trunk -> installed ocaml-config.3 -> installed ocaml.5.1.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.1) to update the current shell environment 2023-06-16 07:50.31 ---> using "b49f927472fad51b348c3e17c573d5cdd40d4c6cd16cc17508ab6a17111d9c65" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [199 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-2023-06-15-1407.28-F-2023-06-15-1407.28.pdiff [26.8 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-06-15-1407.28-F-2023-06-15-1407.28.pdiff [26.8 kB] - Fetched 290 kB in 3s (104 kB/s) - Reading package lists... 2023-06-16 07:50.31 ---> using "6ce2251c75bfff0d407ea6759fbe2a1637e17267056e58d1f4e3734fd5fce4fb" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"grenier.0.14\"\ \nopam install -vy \"grenier.0.14\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"grenier.0.14\" | 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] grenier.0.14 is not installed. The following actions will be performed: === install 2 packages - install dune 3.8.1 [required by grenier] - install grenier 0.14 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/6: Processing 2/6: [grenier.0.14: http] Processing 2/6: -> retrieved grenier.0.14 (https://github.com/let-def/grenier/releases/download/v0.14/grenier-0.14.tbz) -> retrieved dune.3.8.1 (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.1/.opam-switch/build/dune.3.8.1) - 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 - 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.1/.opam-switch/build/dune.3.8.1) -> compiled dune.3.8.1 -> installed dune.3.8.1 Processing 5/6: [grenier: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "grenier" "-j" "31" (CWD=/home/opam/.opam/5.1/.opam-switch/build/grenier.0.14) - File "physh/dune", line 5, characters 23-35: - 5 | (c_names ml_physh_map ml_physh_set) - ^^^^^^^^^^^^ - (cd _build/default/physh && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/5.1/lib/ocaml -o ml_physh_set.o -c ml_physh_set.c) - In file included from /home/opam/.opam/5.1/lib/ocaml/caml/alloc.h:21, - from ml_physh_set.c:6: - ml_physh_set.c: In function 'ml_physh_set_alloc': - ml_physh_set.c:62:25: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? - 62 | Field(v, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' - 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - | ^ - ml_physh_set.c:62:17: note: in expansion of macro 'Val_int' - 62 | Field(v, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~ - ml_physh_set.c:62:25: note: each undeclared identifier is reported only once for each function it appears in - 62 | Field(v, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' - 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - | ^ - ml_physh_set.c:62:17: note: in expansion of macro 'Val_int' - 62 | Field(v, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~ - ml_physh_set.c: In function 't_minor_is_valid': - ml_physh_set.c:83:35: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? - 83 | return (Int_val(Field(t, 0)) == caml_stat_minor_collections); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | caml_stat_major_collections - ml_physh_set.c: In function 't_minor_set_valid': - ml_physh_set.c:88:25: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? - 88 | Field(t, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' - 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - | ^ - ml_physh_set.c:88:17: note: in expansion of macro 'Val_int' - 88 | Field(t, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~ - File "physh/dune", line 5, characters 10-22: - 5 | (c_names ml_physh_map ml_physh_set) - ^^^^^^^^^^^^ - (cd _build/default/physh && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/5.1/lib/ocaml -o ml_physh_map.o -c ml_physh_map.c) - In file included from /home/opam/.opam/5.1/lib/ocaml/caml/alloc.h:21, - from ml_physh_map.c:6: - ml_physh_map.c: In function 'ml_physh_map_alloc': - ml_physh_map.c:64:25: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? - 64 | Field(v, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' - 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - | ^ - ml_physh_map.c:64:17: note: in expansion of macro 'Val_int' - 64 | Field(v, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~ - ml_physh_map.c:64:25: note: each undeclared identifier is reported only once for each function it appears in - 64 | Field(v, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' - 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - | ^ - ml_physh_map.c:64:17: note: in expansion of macro 'Val_int' - 64 | Field(v, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~ - ml_physh_map.c: In function 't_minor_is_valid': - ml_physh_map.c:85:35: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? - 85 | return (Int_val(Field(t, 0)) == caml_stat_minor_collections); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | caml_stat_major_collections - ml_physh_map.c: In function 't_minor_set_valid': - ml_physh_map.c:90:25: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? - 90 | Field(t, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' - 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) - | ^ - ml_physh_map.c:90:17: note: in expansion of macro 'Val_int' - 90 | Field(t, 0) = Val_int(caml_stat_minor_collections); - | ^~~~~~~ - (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I balmap/.balmap.objs/byte -I baltree/.grenier_baltree.objs/byte -no-alias-deps -open Balmap -o balmap/.balmap.objs/byte/balmap__Set.cmo -c -impl balmap/set.ml) - File "balmap/set.ml", lines 11-369, characters 0-3: - 11 | struct - 12 | type elt = O.t - 13 | - 14 | type t = O.t balset - 15 | - ... - 366 | Bt1.node l k1 r - 367 | else - 368 | Bt1.join l r - 369 | end - Error: Signature mismatch: - ... - The value `to_list' is required but not provided - File "set.mli", line 288, characters 4-31: Expected declaration - (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I balmap/.balmap.objs/byte -I baltree/.grenier_baltree.objs/byte -no-alias-deps -open Balmap -o balmap/.balmap.objs/byte/balmap__Map.cmo -c -impl balmap/map.ml) - File "balmap/map.ml", lines 12-371, characters 0-3: - 12 | struct - 13 | type key = O.t - 14 | - 15 | type 'a t = (O.t, 'a) balmap - 16 | - ... - 368 | - 369 | let of_seq seq = - 370 | add_seq seq empty - 371 | end - Error: Signature mismatch: - ... - The value `add_to_list' is required but not provided - File "map.mli", line 88, characters 4-56: Expected declaration - The value `to_list' is required but not provided - File "map.mli", line 333, characters 4-41: Expected declaration - The value `of_list' is required but not provided - File "map.mli", line 337, characters 4-41: Expected declaration [ERROR] The compilation of grenier.0.14 failed at "dune build -p grenier -j 31". #=== ERROR while compiling grenier.0.14 =======================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.1.0+trunk | file:///home/opam/opam-repository # path ~/.opam/5.1/.opam-switch/build/grenier.0.14 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p grenier -j 31 # exit-code 1 # env-file ~/.opam/log/grenier-8-00e641.env # output-file ~/.opam/log/grenier-8-00e641.out ### output ### # File "physh/dune", line 5, characters 23-35: # 5 | (c_names ml_physh_map ml_physh_set) # ^^^^^^^^^^^^ # (cd _build/default/physh && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/5.1/lib/ocaml -o ml_physh_set.o -c ml_physh_set.c) # In file included from /home/opam/.opam/5.1/lib/ocaml/caml/alloc.h:21, # from ml_physh_set.c:6: # ml_physh_set.c: In function 'ml_physh_set_alloc': # ml_physh_set.c:62:25: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? # 62 | Field(v, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' # 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) # | ^ # ml_physh_set.c:62:17: note: in expansion of macro 'Val_int' # 62 | Field(v, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~ # ml_physh_set.c:62:25: note: each undeclared identifier is reported only once for each function it appears in # 62 | Field(v, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' # 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) # | ^ # ml_physh_set.c:62:17: note: in expansion of macro 'Val_int' # 62 | Field(v, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~ # ml_physh_set.c: In function 't_minor_is_valid': # ml_physh_set.c:83:35: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? # 83 | return (Int_val(Field(t, 0)) == caml_stat_minor_collections); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # | caml_stat_major_collections # ml_physh_set.c: In function 't_minor_set_valid': # ml_physh_set.c:88:25: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? # 88 | Field(t, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' # 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) # | ^ # ml_physh_set.c:88:17: note: in expansion of macro 'Val_int' # 88 | Field(t, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~ # File "physh/dune", line 5, characters 10-22: # 5 | (c_names ml_physh_map ml_physh_set) # ^^^^^^^^^^^^ # (cd _build/default/physh && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/5.1/lib/ocaml -o ml_physh_map.o -c ml_physh_map.c) # In file included from /home/opam/.opam/5.1/lib/ocaml/caml/alloc.h:21, # from ml_physh_map.c:6: # ml_physh_map.c: In function 'ml_physh_map_alloc': # ml_physh_map.c:64:25: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? # 64 | Field(v, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' # 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) # | ^ # ml_physh_map.c:64:17: note: in expansion of macro 'Val_int' # 64 | Field(v, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~ # ml_physh_map.c:64:25: note: each undeclared identifier is reported only once for each function it appears in # 64 | Field(v, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' # 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) # | ^ # ml_physh_map.c:64:17: note: in expansion of macro 'Val_int' # 64 | Field(v, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~ # ml_physh_map.c: In function 't_minor_is_valid': # ml_physh_map.c:85:35: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? # 85 | return (Int_val(Field(t, 0)) == caml_stat_minor_collections); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # | caml_stat_major_collections # ml_physh_map.c: In function 't_minor_set_valid': # ml_physh_map.c:90:25: error: 'caml_stat_minor_collections' undeclared (first use in this function); did you mean 'caml_stat_major_collections'? # 90 | Field(t, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # /home/opam/.opam/5.1/lib/ocaml/caml/mlvalues.h:76:47: note: in definition of macro 'Val_long' # 76 | #define Val_long(x) ((intnat) (((uintnat)(x) << 1)) + 1) # | ^ # ml_physh_map.c:90:17: note: in expansion of macro 'Val_int' # 90 | Field(t, 0) = Val_int(caml_stat_minor_collections); # | ^~~~~~~ # (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I balmap/.balmap.objs/byte -I baltree/.grenier_baltree.objs/byte -no-alias-deps -open Balmap -o balmap/.balmap.objs/byte/balmap__Set.cmo -c -impl balmap/set.ml) # File "balmap/set.ml", lines 11-369, characters 0-3: # 11 | struct # 12 | type elt = O.t # 13 | # 14 | type t = O.t balset # 15 | # ... # 366 | Bt1.node l k1 r # 367 | else # 368 | Bt1.join l r # 369 | end # Error: Signature mismatch: # ... # The value `to_list' is required but not provided # File "set.mli", line 288, characters 4-31: Expected declaration # (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I balmap/.balmap.objs/byte -I baltree/.grenier_baltree.objs/byte -no-alias-deps -open Balmap -o balmap/.balmap.objs/byte/balmap__Map.cmo -c -impl balmap/map.ml) # File "balmap/map.ml", lines 12-371, characters 0-3: # 12 | struct # 13 | type key = O.t # 14 | # 15 | type 'a t = (O.t, 'a) balmap # 16 | # ... # 368 | # 369 | let of_seq seq = # 370 | add_seq seq empty # 371 | end # Error: Signature mismatch: # ... # The value `add_to_list' is required but not provided # File "map.mli", line 88, characters 4-56: Expected declaration # The value `to_list' is required but not provided # File "map.mli", line 333, characters 4-41: Expected declaration # The value `of_list' is required but not provided # File "map.mli", line 337, characters 4-41: Expected declaration <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build grenier 0.14 +- +- The following changes have been performed | - install dune 3.8.1 +- # 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.1/.opam-switch/backup/state-20230616075222.export" 'opam install -vy grenier.0.14' failed. "/bin/bash" "-c" " opam remove -y "grenier.0.14" opam install -vy "grenier.0.14" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "grenier.0.14" | 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