Building on asteria.caelum.ci.dev (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:730ba1f0177ca25fd2003dcf99bd6c4e2bc2f1957c5aebd8d47e1bd69cf161a0 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-11-10 00:35.56 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-11-10 00:35.56 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" 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 eecf6d033c6c13a6bda9b445601ddcbaa09dd288")) 2024-11-10 00:35.56 ---> using "659878f189cdb906ec3e452fdc4f26cfb0c3654f53f43b380cf690e70b2f5ac6" 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-11-10 00:35.56 ---> using "b22293df705e6cba3afecfd99e3970445bf105f18df9a7b31bf5584e65710795" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.12' '4.12.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.12.1"} | "ocaml-system" {= "4.12.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-config.2 (2 extra sources) -> retrieved ocaml-config.2 (2 extra sources) -> retrieved ocaml-base-compiler.4.12.1 (cached) -> installed ocaml-base-compiler.4.12.1 -> installed ocaml-config.2 -> installed ocaml.4.12.1 Done. # To update the current shell environment, run: eval $(opam env --switch=4.12) 2024-11-10 00:35.56 ---> using "8e072d2100013b7fbfd2e2a934d5269f60a24523a1d7608dedb5cd7f53f91b50" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [202 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-11-09-0804.37-F-2024-11-04-2012.18.pdiff [276 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-09-0804.37-F-2024-11-04-2012.18.pdiff [276 kB] - Fetched 542 kB in 1s (380 kB/s) - Reading package lists... - 2024-11-10 00:35.56 ---> using "8594e0d5e06a4bdec6e94987a0f566258bae68149fd1f6736606e18778ec4417" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"luv.0.5.5\"\ \nopam install -vy \"luv.0.5.5\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"luv.0.5.5\" | 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] luv.0.5.5 is not installed. Nothing to do. The following actions will be performed: === install 9 packages - install bigarray-compat 1.1.0 [required by ctypes] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by luv] - install dune 3.16.1 [required by luv] - install dune-configurator 3.16.1 [required by ctypes] - install integers 0.7.0 [required by ctypes] - install luv 0.5.5 - install result 1.5 [required by luv] - install stdlib-shims 0.3.0 [required by integers] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/26: [bigarray-compat.1.1.0: extract] Processing 2/26: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] Processing 3/26: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] [ctypes.0.23.0: extract] -> retrieved bigarray-compat.1.1.0 (cached) Processing 3/26: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] Processing 4/26: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] -> retrieved csexp.1.5.2 (cached) Processing 4/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 5/26: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] [integers.0.7.0: extract] -> retrieved ctypes.0.23.0 (cached) Processing 5/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [integers.0.7.0: extract] Processing 6/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [integers.0.7.0: extract] [luv.0.5.5: http] -> retrieved integers.0.7.0 (cached) Processing 6/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [luv.0.5.5: http] Processing 7/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [luv.0.5.5: http] [result.1.5: extract] -> retrieved result.1.5 (cached) Processing 7/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [luv.0.5.5: http] Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [luv.0.5.5: http] [stdlib-shims.0.3.0: extract] -> retrieved stdlib-shims.0.3.0 (cached) Processing 8/26: [dune.3.16.1, dune-configurator.3.16.1: extract] [luv.0.5.5: http] -> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached) Processing 8/26: [luv.0.5.5: http] Processing 9/26: [luv.0.5.5: http] [dune: ocaml 255] Processing 9/26: [luv.0.5.5: extract] [dune: ocaml 255] -> retrieved luv.0.5.5 (https://github.com/aantron/luv/releases/download/0.5.5/luv-0.5.5.tar.gz) Processing 9/26: [dune: ocaml 255] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/dune.3.16.1) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 255 - Processing 9/26: [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" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/dune.3.16.1) -> compiled dune.3.16.1 -> installed dune.3.16.1 Processing 11/26: [bigarray-compat: dune build] Processing 12/26: [bigarray-compat: dune build] [csexp: dune build] Processing 13/26: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] Processing 14/26: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 14/26: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] -> installed stdlib-shims.0.3.0 Processing 15/26: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] Processing 16/26: [bigarray-compat: dune build] [csexp: dune build] [integers: dune build] [result: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "255" "@install" (CWD=/home/opam/.opam/4.12/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 Processing 16/26: [bigarray-compat: dune build] [integers: dune build] [result: dune build] -> installed csexp.1.5.2 Processing 17/26: [bigarray-compat: dune build] [integers: dune build] [result: dune build] Processing 18/26: [bigarray-compat: dune build] [dune-configurator: rm] [integers: dune build] [result: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 18/26: [dune-configurator: rm] [integers: dune build] [result: dune build] -> installed bigarray-compat.1.1.0 Processing 19/26: [dune-configurator: rm] [integers: dune build] [result: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "result" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/result.1.5) -> compiled result.1.5 Processing 19/26: [dune-configurator: rm] [integers: dune build] -> installed result.1.5 Processing 20/26: [dune-configurator: rm] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "integers" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/integers.0.7.0) -> compiled integers.0.7.0 Processing 20/26: [dune-configurator: rm] -> installed integers.0.7.0 Processing 21/26: [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/4.12/.opam-switch/build/dune-configurator.3.16.1) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/4.12/.opam-switch/build/dune-configurator.3.16.1) Processing 21/26: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "255" "@install" (CWD=/home/opam/.opam/4.12/.opam-switch/build/dune-configurator.3.16.1) -> compiled dune-configurator.3.16.1 -> installed dune-configurator.3.16.1 Processing 23/26: [ctypes: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ctypes.0.23.0) - (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -g -I src/ctypes-top/.ctypes_top.objs/byte -I src/ctypes-top/.ctypes_top.objs/native -I /home/opam/.opam/4.12/lib/bigarray-compat -I /home/opam/.opam/4.12/lib/integers -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/stdlib-shims -I src/ctypes/.ctypes.objs/byte -I src/ctypes/.ctypes.objs/native -intf-suffix .ml -no-alias-deps -open Ctypes_top -o src/ctypes-top/.ctypes_top.objs/native/ctypes_top__Install_ctypes_printers.cmx -c -impl src/ctypes-top/install_ctypes_printers.ml) - File "_none_", line 1: - Warning 58 [no-cmx-file]: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque Processing 23/26: [ctypes: dune install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ctypes.0.23.0) -> compiled ctypes.0.23.0 -> installed ctypes.0.23.0 Processing 25/26: [luv: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "luv" "-j" "255" (CWD=/home/opam/.opam/4.12/.opam-switch/build/luv.0.5.5) - File "src/c/dune", line 10, characters 9-30: - 10 | (names c_generated_functions helpers) - ^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/src/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fPIC -g -I /home/opam/.opam/4.12/lib/ocaml -I /home/opam/.opam/4.12/lib/bigarray-compat -I /home/opam/.opam/4.12/lib/ctypes -I /home/opam/.opam/4.12/lib/integers -I /home/opam/.opam/4.12/lib/ocaml/threads -I /home/opam/.opam/4.12/lib/stdlib-shims -I . -I vendor/libuv/include -o c_generated_functions.o -c c_generated_functions.c) - c_generated_functions.c: In function 'luv_stub_136_luv_spawn': - c_generated_functions.c:974:38: error: passing argument 5 of 'luv_spawn' from incompatible pointer type [-Wincompatible-pointer-types] - 974 | luv_spawn(x739, x740, x741, x742, x743, x744, x747, x748, x751, x754, - | ^~~~ - | | - | const char ** - In file included from c_generated_functions.c:7: - helpers.h:201:12: note: expected 'char **' but argument is of type 'const char **' - 201 | char **args, - | ~~~~~~~^~~~ - c_generated_functions.c:974:50: error: passing argument 7 of 'luv_spawn' from incompatible pointer type [-Wincompatible-pointer-types] - 974 | luv_spawn(x739, x740, x741, x742, x743, x744, x747, x748, x751, x754, - | ^~~~ - | | - | const char ** - helpers.h:203:12: note: expected 'char **' but argument is of type 'const char **' - 203 | char **env, - | ~~~~~~~^~~ - c_generated_functions.c: In function 'luv_stub_151_luv_get_getnameinfo_trampoline': - c_generated_functions.c:1119:4: error: initialization of 'void (*)(uv_getnameinfo_t *, int, const char *, const char *)' {aka 'void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)'} from incompatible pointer type 'luv_getnameinfo_cb' {aka 'void (*)(struct uv_getnameinfo_s *, int, char *, char *)'} [-Wincompatible-pointer-types] - 1119 | luv_get_getnameinfo_trampoline(); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - c_generated_functions.c: In function 'luv_stub_152_luv_getnameinfo': - c_generated_functions.c:1131:43: error: passing argument 3 of 'luv_getnameinfo' from incompatible pointer type [-Wincompatible-pointer-types] - 1131 | int x887 = luv_getnameinfo(x880, x881, x882, x883, x884); - | ^~~~ - | | - | void (*)(uv_getnameinfo_t *, int, const char *, const char *) {aka void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)} - helpers.h:174:64: note: expected 'luv_getnameinfo_cb' {aka 'void (*)(struct uv_getnameinfo_s *, int, char *, char *)'} but argument is of type 'void (*)(uv_getnameinfo_t *, int, const char *, const char *)' {aka 'void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)'} - 174 | uv_loop_t *loop, uv_getnameinfo_t *req, luv_getnameinfo_cb getnameinfo_cb, - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ - (cd _build/default/src/c/vendor/libuv && /usr/bin/bash -e -u -o pipefail -c 'sh configure --host `ocamlc -config | awk '\''/host/ {print $NF}'\''` '\''CC=gcc -O2 -fno-strict-aliasing -fwrapv -fPIC'\'' CFLAGS=-DNDEBUG --silent --enable-silent-rules') - configure: line 7190: /usr/bin/file: No such file or directory [ERROR] The compilation of luv.0.5.5 failed at "dune build -p luv -j 255". #=== ERROR while compiling luv.0.5.5 ==========================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/opam/opam-repository # path ~/.opam/4.12/.opam-switch/build/luv.0.5.5 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p luv -j 255 # exit-code 1 # env-file ~/.opam/log/luv-8-e550ca.env # output-file ~/.opam/log/luv-8-e550ca.out ### output ### # File "src/c/dune", line 10, characters 9-30: # 10 | (names c_generated_functions helpers) # ^^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/src/c && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -fno-strict-aliasing -fwrapv -fPIC -g -I /home/opam/.opam/4.12/lib/ocaml -I /home/opam/.opam/4.12/lib/bigarray-compat -I /home/opam/.opam/4.12/lib/ctypes -I /home/opam/.opam/4.12/lib/integers -I /home/opam/.opam/4.12/lib/ocaml/threads -I /home/opam/.opam/4.12/lib/stdlib-shims -I . -I vendor/libuv/include -o c_generated_functions.o -c c_generated_functions.c) # c_generated_functions.c: In function 'luv_stub_136_luv_spawn': # c_generated_functions.c:974:38: error: passing argument 5 of 'luv_spawn' from incompatible pointer type [-Wincompatible-pointer-types] # 974 | luv_spawn(x739, x740, x741, x742, x743, x744, x747, x748, x751, x754, # | ^~~~ # | | # | const char ** # In file included from c_generated_functions.c:7: # helpers.h:201:12: note: expected 'char **' but argument is of type 'const char **' # 201 | char **args, # | ~~~~~~~^~~~ # c_generated_functions.c:974:50: error: passing argument 7 of 'luv_spawn' from incompatible pointer type [-Wincompatible-pointer-types] # 974 | luv_spawn(x739, x740, x741, x742, x743, x744, x747, x748, x751, x754, # | ^~~~ # | | # | const char ** # helpers.h:203:12: note: expected 'char **' but argument is of type 'const char **' # 203 | char **env, # | ~~~~~~~^~~ # c_generated_functions.c: In function 'luv_stub_151_luv_get_getnameinfo_trampoline': # c_generated_functions.c:1119:4: error: initialization of 'void (*)(uv_getnameinfo_t *, int, const char *, const char *)' {aka 'void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)'} from incompatible pointer type 'luv_getnameinfo_cb' {aka 'void (*)(struct uv_getnameinfo_s *, int, char *, char *)'} [-Wincompatible-pointer-types] # 1119 | luv_get_getnameinfo_trampoline(); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # c_generated_functions.c: In function 'luv_stub_152_luv_getnameinfo': # c_generated_functions.c:1131:43: error: passing argument 3 of 'luv_getnameinfo' from incompatible pointer type [-Wincompatible-pointer-types] # 1131 | int x887 = luv_getnameinfo(x880, x881, x882, x883, x884); # | ^~~~ # | | # | void (*)(uv_getnameinfo_t *, int, const char *, const char *) {aka void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)} # helpers.h:174:64: note: expected 'luv_getnameinfo_cb' {aka 'void (*)(struct uv_getnameinfo_s *, int, char *, char *)'} but argument is of type 'void (*)(uv_getnameinfo_t *, int, const char *, const char *)' {aka 'void (*)(struct uv_getnameinfo_s *, int, const char *, const char *)'} # 174 | uv_loop_t *loop, uv_getnameinfo_t *req, luv_getnameinfo_cb getnameinfo_cb, # | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ # (cd _build/default/src/c/vendor/libuv && /usr/bin/bash -e -u -o pipefail -c 'sh configure --host `ocamlc -config | awk '\''/host/ {print $NF}'\''` '\''CC=gcc -O2 -fno-strict-aliasing -fwrapv -fPIC'\'' CFLAGS=-DNDEBUG --silent --enable-silent-rules') # configure: line 7190: /usr/bin/file: No such file or directory <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build luv 0.5.5 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install csexp 1.5.2 | - install ctypes 0.23.0 | - install dune 3.16.1 | - install dune-configurator 3.16.1 | - install integers 0.7.0 | - install result 1.5 | - install stdlib-shims 0.3.0 +- # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.12/.opam-switch/backup/state-20241110003558.export" 'opam install -vy luv.0.5.5' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "luv.0.5.5" opam install -vy "luv.0.5.5" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "luv.0.5.5" | 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