Building on x86-bm-7.ocamllabs.io (from ocaml/opam:debian-unstable) WARNING: Error loading config file: .dockercfg: $HOME is not defined Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:a32e554d37007cabaf12da2261dad1c6890fb793357d4499f39865f3c85d81ab Status: Downloaded newer image for ocaml/opam:debian-unstable 2021-11-10 04:01.17 ---> 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-2.1 /usr/bin/opam")) 2021-11-10 04:01.17 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'git://github.com/ocaml/opam-repository.git' ~/opam-repository && git -C ~/opam-repository checkout -q 7b361ce572d98a700d2e0018cb6e9c72db9a3675")) 2021-11-10 04:01.17 ---> using "d735cc1084771dd7a4c27bc038a74be9c565f9b4862c23ef3b35f68ab04a6aef" 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. 2021-11-10 04:01.17 ---> using "44eb507bce7a2e2ed046a7a65eaf9728147d93dd5621a9ab5b08e6a2b062590d" from cache /: (run (network host) (shell "git clone -q 'git://github.com/ocaml/ocaml-beta-repository.git' ~/'beta' && git -C ~/'beta' checkout -q 79aeeadd813bdae424ab53f882f08bee0a4e0b89")) 2021-11-10 04:01.17 ---> using "982f7d54b73fc7cab2a09dec2ae08ff2574343a9745a7f336abd76f9a26d22dc" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-11-10 04:01.17 ---> using "581fbaf65c6cbed22afcc69cdb3cb3a52aafc46e8c4cea4bc9ca5a44060fda80" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default '4.14' '4.14.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "4.14.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.4.14.0+trunk (https://github.com/ocaml/ocaml/archive/4.14.tar.gz) -> installed ocaml-variants.4.14.0+trunk -> installed ocaml-config.2 -> installed ocaml.4.14.0 Done. # Run eval $(opam env --switch=4.14) to update the current shell environment 2021-11-10 04:01.17 ---> using "73976cffa15aca56a35ec409ba9bc8aafeb18f0a466d1e35f65a41465e663878" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8831 kB] - Fetched 9059 kB in 3s (3262 kB/s) - Reading package lists... - 2021-11-10 04:01.17 ---> using "b43d04a7b902a31d721be3ca13919df3215784adea8a4139337e37d64d084da8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"bytearray.1.0.2\"\ \nopam install -vy \"bytearray.1.0.2\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"bytearray.1.0.2\" | 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] bytearray.1.0.2 is not installed. Nothing to do. The following actions will be performed: - install dune 2.9.1 [required by bytearray] - install cppo 1.6.8 [required by bytearray] - install bytearray 1.0.2 ===== 3 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/9: Processing 2/9: Processing 3/9: -> retrieved bytearray.1.0.2 (cached) -> retrieved cppo.1.6.8 (cached) -> retrieved dune.2.9.1 (cached) Processing 4/9: [dune: ocaml bootstrap.ml] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.2.9.1) - File "./bootstrap.ml", line 46, characters 17-27: - 46 | && String.sub fn 0 (String.length duneboot) = duneboot - ^^^^^^^^^^ - Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. - File "./bootstrap.ml", line 103, characters 28-37: - 103 | let args = Array.to_list (Array.sub Sys.argv 1 (Array.length Sys.argv - 1)) in - ^^^^^^^^^ - Warning 6 [labels-omitted]: labels pos, len were omitted in the application of this function. - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 31 - cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_base.ml - File "vendor/cmdliner/src/cmdliner_base.ml", line 158, characters 14-27: - Warning 6 [labels-omitted]: labels kind, ambs were omitted in the application of this function. - cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_docgen.ml - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 278, characters 23-39: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 293, characters 22-56: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 294, characters 35-51: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_docgen.ml", line 295, characters 36-52: - Warning 6 [labels-omitted]: label sec was omitted in the application of this function. - cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_cline.ml - File "vendor/cmdliner/src/cmdliner_cline.ml", line 128, characters 20-47: - Warning 6 [labels-omitted]: labels kind, ambs were omitted in the application of this function. - cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner_arg.ml - File "vendor/cmdliner/src/cmdliner_arg.ml", line 193, characters 24-50: - Warning 6 [labels-omitted]: label err was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_arg.ml", line 243, characters 24-50: - Warning 6 [labels-omitted]: label err was omitted in the application of this function. - File "vendor/cmdliner/src/cmdliner_arg.ml", line 260, characters 10-36: - Warning 6 [labels-omitted]: label pos was omitted in the application of this function. - cd _boot && /home/opam/.opam/4.14/bin/ocamlopt.opt -c -g -no-alias-deps -w -49 -I +threads cmdliner.ml - File "vendor/cmdliner/src/cmdliner.ml", line 195, characters 25-47: - Warning 6 [labels-omitted]: label errs was omitted in the application of this function. - Processing 4/9: [dune: ./dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./dune.exe" "build" "-p" "dune" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/dune.2.9.1) -> compiled dune.2.9.1 -> installed dune.2.9.1 Processing 6/9: [cppo: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cppo" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cppo.1.6.8) -> compiled cppo.1.6.8 -> installed cppo.1.6.8 Processing 8/9: [bytearray: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bytearray" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/bytearray.1.0.2) - gcc src/bytearray_stubs.o (exit 1) - (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Wall -pedantic -Werror -Wno-long-long -g -I /home/opam/.opam/4.14/lib/ocaml -o bytearray_stubs.o -c bytearray_stubs.c) - bytearray_stubs.c: In function 'ml_marshal_to_bigarray': - bytearray_stubs.c:16:13: error: "output_value_to_malloc" is deprecated: use "caml_output_value_to_malloc" instead [-Werror] - 16 | output_value_to_malloc(v, flags, &buf, &len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c:17:13: error: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead [-Werror] - 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c:17:13: error: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead [-Werror] - bytearray_stubs.c:17:13: error: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead [-Werror] - 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c:17:13: error: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead [-Werror] - 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c: In function 'ml_marshal_to_bigarray_buffer': - bytearray_stubs.c:24:13: error: "caml_bigarray" is deprecated: use "caml_ba_array" instead [-Werror] - 24 | struct caml_bigarray *b_arr = Bigarray_val(b); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c:24:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] - 24 | struct caml_bigarray *b_arr = Bigarray_val(b); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c: In function 'ml_unmarshal_from_bigarray': - bytearray_stubs.c:32:13: error: "caml_bigarray" is deprecated: use "caml_ba_array" instead [-Werror] - 32 | struct caml_bigarray *b_arr = Bigarray_val(b); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c:32:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] - 32 | struct caml_bigarray *b_arr = Bigarray_val(b); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c:33:13: error: "input_value_from_block" is deprecated: use "caml_input_value_from_block" instead [-Werror] - 33 | return input_value_from_block (Array_data (b_arr, ofs), - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c: In function 'ml_blit_string_to_bigarray': - bytearray_stubs.c:41:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] - 41 | char *dest = Array_data(Bigarray_val(a), j); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c: In function 'ml_blit_floatarray_to_bigarray': - bytearray_stubs.c:51:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] - 51 | char *dest = Floatarray_data(Bigarray_val(a), j); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - bytearray_stubs.c: In function 'ml_blit_bigarray_to_floatarray': - bytearray_stubs.c:60:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] - 60 | char *src = Floatarray_data(Bigarray_val(a), i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - cc1: all warnings being treated as errors [ERROR] The compilation of bytearray.1.0.2 failed at "dune build -p bytearray -j 31". #=== ERROR while compiling bytearray.1.0.2 ====================================# # context 2.1.0 | linux/x86_64 | ocaml-variants.4.14.0+trunk | file:///home/opam/opam-repository # path ~/.opam/4.14/.opam-switch/build/bytearray.1.0.2 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p bytearray -j 31 # exit-code 1 # env-file ~/.opam/log/bytearray-19-3600a8.env # output-file ~/.opam/log/bytearray-19-3600a8.out ### output ### # gcc src/bytearray_stubs.o (exit 1) # (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -Wall -pedantic -Werror -Wno-long-long -g -I /home/opam/.opam/4.14/lib/ocaml -o bytearray_stubs.o -c bytearray_stubs.c) # bytearray_stubs.c: In function 'ml_marshal_to_bigarray': # bytearray_stubs.c:16:13: error: "output_value_to_malloc" is deprecated: use "caml_output_value_to_malloc" instead [-Werror] # 16 | output_value_to_malloc(v, flags, &buf, &len); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c:17:13: error: "alloc_bigarray" is deprecated: use "caml_ba_alloc" instead [-Werror] # 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c:17:13: error: "BIGARRAY_UINT8" is deprecated: use "CAML_BA_UINT8" instead [-Werror] # bytearray_stubs.c:17:13: error: "BIGARRAY_C_LAYOUT" is deprecated: use "CAML_BA_C_LAYOUT" instead [-Werror] # 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c:17:13: error: "BIGARRAY_MANAGED" is deprecated: use "CAML_BA_MANAGED" instead [-Werror] # 17 | return alloc_bigarray(BIGARRAY_UINT8 | BIGARRAY_C_LAYOUT | BIGARRAY_MANAGED, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c: In function 'ml_marshal_to_bigarray_buffer': # bytearray_stubs.c:24:13: error: "caml_bigarray" is deprecated: use "caml_ba_array" instead [-Werror] # 24 | struct caml_bigarray *b_arr = Bigarray_val(b); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c:24:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] # 24 | struct caml_bigarray *b_arr = Bigarray_val(b); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c: In function 'ml_unmarshal_from_bigarray': # bytearray_stubs.c:32:13: error: "caml_bigarray" is deprecated: use "caml_ba_array" instead [-Werror] # 32 | struct caml_bigarray *b_arr = Bigarray_val(b); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c:32:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] # 32 | struct caml_bigarray *b_arr = Bigarray_val(b); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c:33:13: error: "input_value_from_block" is deprecated: use "caml_input_value_from_block" instead [-Werror] # 33 | return input_value_from_block (Array_data (b_arr, ofs), # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c: In function 'ml_blit_string_to_bigarray': # bytearray_stubs.c:41:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] # 41 | char *dest = Array_data(Bigarray_val(a), j); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c: In function 'ml_blit_floatarray_to_bigarray': # bytearray_stubs.c:51:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] # 51 | char *dest = Floatarray_data(Bigarray_val(a), j); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # bytearray_stubs.c: In function 'ml_blit_bigarray_to_floatarray': # bytearray_stubs.c:60:13: error: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead [-Werror] # 60 | char *src = Floatarray_data(Bigarray_val(a), i); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # cc1: all warnings being treated as errors <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build bytearray 1.0.2 +- +- The following changes have been performed | - install cppo 1.6.8 | - install dune 2.9.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/4.14/.opam-switch/backup/state-20211110040122.export" 'opam install -vy bytearray.1.0.2' failed. "/bin/bash" "-c" " opam remove -y "bytearray.1.0.2" opam install -vy "bytearray.1.0.2" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "bytearray.1.0.2" | 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