Building on x86-bm-4.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41) Unable to find image 'ocaml/opam:debian-unstable@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41' locally docker.io/ocaml/opam@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41: Pulling from ocaml/opam Digest: sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41 Status: Downloaded newer image for ocaml/opam@sha256:1d295ed572083ab5916b9b9195219954afa816ee169f48eecca1b2e2b0faad41 2022-05-01 12:53.18 ---> using "e16578957f674ca141475612bdd8fe456bdeb3cf55dca9de0669bf5f721951e7" 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-05-01 12:53.18 ---> using "09ae07f34eca5d84e953ea4b87a3c466448be28706a95338ba19feb13b3b66fd" 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 4ce6f847a29936b1d875b70940837be093fec84e")) 2022-05-01 12:53.18 ---> using "8a62ed72fc23e1663b0f130dbecbe2a8d6a9d36667f58fd75e99df9fc9855900" 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-05-01 12:53.18 ---> using "1da6a21744e622352d23ddb067012a46b76c5e5a957ab9cd9733a836f9d86396" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.14' '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) to update the current shell environment 2022-05-01 12:53.18 ---> using "150c21f6bf364b3ce9b23d3185d3015b2c366014b1bdcd1da140901dbc8cc6c5" 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] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-05-01-0201.40-F-2022-04-26-0801.40.pdiff [201 kB] - Fetched 430 kB in 2s (185 kB/s) - Reading package lists... - 2022-05-01 12:53.18 ---> using "5a6ca2a5880208f2b093122dca64b98d8ee0c74bac104360c523ff6b2d97498e" 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 3 packages - install bytearray 1.0.2 - install cppo 1.6.8 [required by bytearray] - install dune 3.1.1 [required by bytearray] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/9: [bytearray.1.0.2: http] Processing 2/9: [bytearray.1.0.2: http] Processing 3/9: [bytearray.1.0.2: http] -> retrieved cppo.1.6.8 (cached) Processing 3/9: -> retrieved bytearray.1.0.2 (https://github.com/UnixJunkie/bytearray/archive/v1.0.2.tar.gz) -> retrieved dune.3.1.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.3.1.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 4/9: [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/.opam-switch/build/dune.3.1.1) -> compiled dune.3.1.1 -> installed dune.3.1.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) [ERROR] The compilation of bytearray.1.0.2 failed at "dune build -p bytearray -j 31". - File "src/dune", line 8, characters 11-26: - 8 | (c_names bytearray_stubs) - ^^^^^^^^^^^^^^^ - (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 while compiling bytearray.1.0.2 ====================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.4.14.0 | 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-11-c07156.env # output-file ~/.opam/log/bytearray-11-c07156.out ### output ### # File "src/dune", line 8, characters 11-26: # 8 | (c_names bytearray_stubs) # ^^^^^^^^^^^^^^^ # (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 3.1.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-20220501125323.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