OCamllabs icon Home|Differences with the last checks|Previous runs


Building on clete.ocamllabs.io

(from ocaml/opam:debian-unstable)
WARNING: Error loading config file: .dockercfg: $HOME is not defined
2021-12-03 04:41.46 ---> 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-12-03 04:41.46 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" 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 b1ed080260d9fb3332ffd1ed74a70b40f8d46d66"))
2021-12-03 04:41.46 ---> using "470a5139cd314c308ef6f8a7115ce3eecbef27ce3b36ad57c590d49c448a8f62" 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-12-03 04:41.46 ---> using "6ff696b0fce120bd80d73dc055775d9b6cd971171da508a2aeef8fc7d75ea210" 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+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-12-03 04:41.46 ---> using "580c1559ccee38c141b0bdbed31cc9eb71bc54bd89a6dd20ec44a2d70b84f868" 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 [8877 kB]
- Fetched 9106 kB in 2s (5321 kB/s)
- Reading package lists...
- 
2021-12-03 04:41.46 ---> using "973c89adad12bb56df6faa6f25e80cf23f63cecff1667ca123c059fc2bbc19da" 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"))
Nothing to do.
[NOTE] bytearray.1.0.2 is not installed.

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" "71" (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 71
- 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" "71" (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" "71" (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" "71" (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 71".

#=== 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 71
# exit-code            1
# env-file             ~/.opam/log/bytearray-19-2a3d82.env
# output-file          ~/.opam/log/bytearray-19-2a3d82.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-20211203044150.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