Building on doris.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:f4524a9ad6e8f9deb04c38872c1c68d892f8f847304a90f71b39c260fd7c37ab Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-01-15 19:19.33 ---> 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")) 2025-01-15 19:19.33 ---> 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 451b1e526ccb27dc66364a851b27fbf7ccfbc2f2")) 2025-01-15 19:19.33 ---> using "52625e8a37d6974e498c46c5b73987a5de23eb753980981e64630dc695fbe3b3" 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. 2025-01-15 19:19.33 ---> using "bf0993b7e440c7679323e43a556b3a337fb81df454233420043ea0f043d5139e" 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'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.1.0"} | "ocaml-system" {= "5.1.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed host-arch-x86_64.1 -> installed host-system-other.1 -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.1.0 (cached) -> installed ocaml-base-compiler.5.1.0 -> installed ocaml-config.3 -> installed ocaml.5.1.0 -> installed base-domains.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.1) 2025-01-15 19:19.33 ---> using "57da3f0b69e850a472f43036af1ba9d6c485174a0ff99f82b6070eaec4a6b835" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 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-2025-01-14-2009.05-F-2025-01-09-1409.48.pdiff [564 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-01-14-2009.05-F-2025-01-09-1409.48.pdiff [564 kB] - Fetched 833 kB in 2s (550 kB/s) - Reading package lists... - 2025-01-15 19:19.33 ---> using "85b87af1dcb47771a79111e66673142733868c4fe1587b87f373ff22bc805e9d" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"posix-bindings.2.0.2\"\ \nopam install -vy \"posix-bindings.2.0.2\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"posix-bindings.2.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] posix-bindings.2.0.2 is not installed. The following actions will be performed: === install 16 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 posix-bindings] - install dune 3.17.1 [required by posix-bindings] - install dune-configurator 3.17.1 [required by ctypes, posix-getopt] - install integers 0.7.0 [required by ctypes, posix-base] - install posix-base 2.0.2 [required by posix-bindings] - install posix-bindings 2.0.2 - install posix-getopt 2.0.2 [required by posix-bindings] - install posix-socket 2.0.2 [required by posix-bindings] - install posix-socket-unix 2.0.2 [required by posix-bindings] - install posix-types 2.0.2 [required by posix-bindings] - install posix-uname 2.0.2 [required by posix-bindings] - install result 1.5 [required by unix-errno] - install stdlib-shims 0.3.0 [required by integers] - install unix-errno 0.6.2 [required by posix-socket-unix, posix-getopt, posix-uname] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/41: [bigarray-compat.1.1.0: extract] Processing 2/41: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] Processing 3/41: [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/41: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] Processing 4/41: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] [dune.3.17.1, dune-configurator.3.17.1: extract] -> retrieved csexp.1.5.2 (cached) Processing 4/41: [ctypes.0.23.0: extract] [dune.3.17.1, dune-configurator.3.17.1: extract] Processing 5/41: [ctypes.0.23.0: extract] [dune.3.17.1, dune-configurator.3.17.1: extract] [integers.0.7.0: extract] -> retrieved ctypes.0.23.0 (cached) Processing 5/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [integers.0.7.0: extract] Processing 6/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [integers.0.7.0: extract] [posix-base.2.0.2 + 6 others: extract] -> retrieved integers.0.7.0 (cached) Processing 6/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [posix-base.2.0.2 + 6 others: extract] Processing 7/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [posix-base.2.0.2 + 6 others: extract] [result.1.5: extract] -> retrieved result.1.5 (cached) Processing 7/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [posix-base.2.0.2 + 6 others: extract] Processing 8/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [posix-base.2.0.2 + 6 others: extract] [stdlib-shims.0.3.0: extract] -> retrieved stdlib-shims.0.3.0 (cached) Processing 8/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [posix-base.2.0.2 + 6 others: extract] Processing 9/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [posix-base.2.0.2 + 6 others: extract] [unix-errno.0.6.2: extract] -> retrieved posix-base.2.0.2, posix-bindings.2.0.2, posix-getopt.2.0.2, posix-socket.2.0.2, posix-socket-unix.2.0.2, posix-types.2.0.2, posix-uname.2.0.2 (cached) Processing 9/41: [dune.3.17.1, dune-configurator.3.17.1: extract] [unix-errno.0.6.2: extract] -> retrieved dune.3.17.1, dune-configurator.3.17.1 (cached) Processing 9/41: [unix-errno.0.6.2: extract] Processing 10/41: [unix-errno.0.6.2: extract] [dune: ocaml 255] -> retrieved unix-errno.0.6.2 (cached) Processing 10/41: [dune: ocaml 255] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "255" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.17.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 255 - Processing 10/41: [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/5.1/.opam-switch/build/dune.3.17.1) -> compiled dune.3.17.1 -> installed dune.3.17.1 Processing 12/41: [bigarray-compat: dune build] Processing 13/41: [bigarray-compat: dune build] [csexp: dune build] Processing 14/41: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] Processing 15/41: [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/5.1/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 15/41: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] -> installed stdlib-shims.0.3.0 Processing 16/41: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] Processing 17/41: [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/5.1/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 Processing 17/41: [bigarray-compat: dune build] [integers: dune build] [result: dune build] -> installed csexp.1.5.2 Processing 18/41: [bigarray-compat: dune build] [integers: dune build] [result: dune build] Processing 19/41: [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/5.1/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 19/41: [dune-configurator: rm] [integers: dune build] [result: dune build] -> installed bigarray-compat.1.1.0 Processing 20/41: [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/5.1/.opam-switch/build/result.1.5) -> compiled result.1.5 Processing 20/41: [dune-configurator: rm] [integers: dune build] -> installed result.1.5 Processing 21/41: [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/5.1/.opam-switch/build/integers.0.7.0) -> compiled integers.0.7.0 Processing 21/41: [dune-configurator: rm] -> installed integers.0.7.0 Processing 22/41: [dune-configurator: rm] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/csexp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.17.1) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.17.1) Processing 22/41: [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/5.1/.opam-switch/build/dune-configurator.3.17.1) -> compiled dune-configurator.3.17.1 -> installed dune-configurator.3.17.1 Processing 24/41: [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/5.1/.opam-switch/build/ctypes.0.23.0) Processing 24/41: [ctypes: dune install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ctypes" "--create-install-files" "ctypes" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ctypes.0.23.0) -> compiled ctypes.0.23.0 -> installed ctypes.0.23.0 Processing 26/41: [posix-base: dune build] Processing 27/41: [posix-base: dune build] [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-base" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-base.2.0.2) Processing 27/41: [posix-base: dune install] [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "posix-base" "--create-install-files" "posix-base" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-base.2.0.2) -> compiled posix-base.2.0.2 Processing 27/41: [unix-errno: dune build] -> installed posix-base.2.0.2 Processing 28/41: [unix-errno: dune build] Processing 29/41: [posix-socket: dune build] [unix-errno: dune build] Processing 30/41: [posix-socket: dune build] [posix-types: dune build] [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-types" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-types.2.0.2) Processing 30/41: [posix-socket: dune build] [posix-types: dune install] [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "posix-types" "--create-install-files" "posix-types" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-types.2.0.2) -> compiled posix-types.2.0.2 Processing 30/41: [posix-socket: dune build] [unix-errno: dune build] -> installed posix-types.2.0.2 Processing 31/41: [posix-socket: dune build] [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "unix-errno" "-j" "255" (CWD=/home/opam/.opam/5.1/.opam-switch/build/unix-errno.0.6.2) -> compiled unix-errno.0.6.2 Processing 31/41: [posix-socket: dune build] -> installed unix-errno.0.6.2 Processing 32/41: [posix-socket: dune build] Processing 33/41: [posix-getopt: dune build] [posix-socket: dune build] Processing 34/41: [posix-getopt: dune build] [posix-socket: dune build] [posix-uname: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-socket" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-socket.2.0.2) - (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I posix-socket/src/types/.posix_socket_types.objs/byte -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/posix-base -I /home/opam/.opam/5.1/lib/stdlib-shims -I posix-socket/src/constants/.posix_socket_constants.objs/byte -no-alias-deps -open Posix_socket_types__ -o posix-socket/src/types/.posix_socket_types.objs/byte/posix_socket_types__Posix_socket_generated_constants.cmo -c -impl posix-socket/src/types/posix_socket_generated_constants.ml) - File "posix-socket/src/types/posix_socket_generated_constants.ml", line 36, characters 4-63: - 36 | | Ctypes_static.Primitive Cstubs_internals.Int, "SOCK_STREAM" -> - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 11 [redundant-case]: this match case is unused. - (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I posix-socket/src/types/.posix_socket_types.objs/byte -I posix-socket/src/types/.posix_socket_types.objs/native -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/posix-base -I /home/opam/.opam/5.1/lib/stdlib-shims -I posix-socket/src/constants/.posix_socket_constants.objs/byte -I posix-socket/src/constants/.posix_socket_constants.objs/native -intf-suffix .ml -no-alias-deps -open Posix_socket_types__ -o posix-socket/src/types/.posix_socket_types.objs/native/posix_socket_types__Posix_socket_generated_constants.cmx -c -impl posix-socket/src/types/posix_socket_generated_constants.ml) - File "posix-socket/src/types/posix_socket_generated_constants.ml", line 36, characters 4-63: - 36 | | Ctypes_static.Primitive Cstubs_internals.Int, "SOCK_STREAM" -> - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Warning 11 [redundant-case]: this match case is unused. Processing 34/41: [posix-getopt: dune build] [posix-socket: dune install] [posix-uname: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "posix-socket" "--create-install-files" "posix-socket" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-socket.2.0.2) -> compiled posix-socket.2.0.2 Processing 34/41: [posix-getopt: dune build] [posix-uname: dune build] -> installed posix-socket.2.0.2 Processing 35/41: [posix-getopt: dune build] [posix-uname: dune build] Processing 36/41: [posix-getopt: dune build] [posix-socket-unix: dune build] [posix-uname: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-getopt" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-getopt.2.0.2) - File "posix-getopt/src/dune", line 13, characters 9-37: - 13 | (names posix_getopt_generated_stubs)) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/posix-getopt/src && /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 -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/posix-base -I /home/opam/.opam/5.1/lib/result -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/unix-errno -I /home/opam/.opam/5.1/lib/unix-errno/errno_bindings -I /home/opam/.opam/5.1/lib/unix-errno/errno_types -I /home/opam/.opam/5.1/lib/unix-errno/errno_types_detected -I /home/opam/.opam/5.1/lib/unix-errno/unix -I stubs -I types -o posix_getopt_generated_stubs.o -c posix_getopt_generated_stubs.c) - posix_getopt_generated_stubs.c: In function 'posix_getopt_1_getopt': - posix_getopt_generated_stubs.c:82:24: error: passing argument 2 of 'getopt' from incompatible pointer type [-Wincompatible-pointer-types] - 82 | int x9 = getopt(x4, x7, x8); - | ^~ - | | - | const char ** - In file included from /usr/include/x86_64-linux-gnu/bits/getopt_posix.h:27, - from /usr/include/unistd.h:903, - from posix_getopt_generated_stubs.c:2: - /usr/include/x86_64-linux-gnu/bits/getopt_core.h:91:46: note: expected 'char * const*' but argument is of type 'const char **' - 91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) - | ~~~~~~~~~~~~~^~~~~~~ - posix_getopt_generated_stubs.c: In function 'posix_getopt_3_getopt_long': - posix_getopt_generated_stubs.c:106:31: error: passing argument 2 of 'getopt_long' from incompatible pointer type [-Wincompatible-pointer-types] - 106 | int x30 = getopt_long(x23, x26, x27, x28, x29); - | ^~~ - | | - | const char ** - In file included from /usr/include/getopt.h:36, - from posix_getopt_generated_stubs.c:9: - /usr/include/x86_64-linux-gnu/bits/getopt_ext.h:66:65: note: expected 'char * const*' but argument is of type 'const char **' - 66 | extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ - posix_getopt_generated_stubs.c: In function 'posix_getopt_5_getopt_long_only': - posix_getopt_generated_stubs.c:130:36: error: passing argument 2 of 'getopt_long_only' from incompatible pointer type [-Wincompatible-pointer-types] - 130 | int x51 = getopt_long_only(x44, x47, x48, x49, x50); - | ^~~ - | | - | const char ** - /usr/include/x86_64-linux-gnu/bits/getopt_ext.h:70:70: note: expected 'char * const*' but argument is of type 'const char **' - 70 | extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ Processing 36/41: [posix-socket-unix: dune build] [posix-uname: dune build] [ERROR] The compilation of posix-getopt.2.0.2 failed at "dune build -p posix-getopt -j 255 --promote-install-files=false @install". Processing 37/41: [posix-socket-unix: dune build] [posix-uname: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-uname" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-uname.2.0.2) Processing 37/41: [posix-socket-unix: dune build] [posix-uname: dune install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "posix-uname" "--create-install-files" "posix-uname" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-uname.2.0.2) -> compiled posix-uname.2.0.2 Processing 37/41: [posix-socket-unix: dune build] -> installed posix-uname.2.0.2 Processing 38/41: [posix-socket-unix: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-socket-unix" "-j" "255" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-socket-unix.2.0.2) Processing 38/41: [posix-socket-unix: dune install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "posix-socket-unix" "--create-install-files" "posix-socket-unix" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-socket-unix.2.0.2) -> compiled posix-socket-unix.2.0.2 -> installed posix-socket-unix.2.0.2 #=== ERROR while compiling posix-getopt.2.0.2 =================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.1.0 | file:///home/opam/opam-repository # path ~/.opam/5.1/.opam-switch/build/posix-getopt.2.0.2 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p posix-getopt -j 255 --promote-install-files=false @install # exit-code 1 # env-file ~/.opam/log/posix-getopt-8-92c781.env # output-file ~/.opam/log/posix-getopt-8-92c781.out ### output ### # File "posix-getopt/src/dune", line 13, characters 9-37: # 13 | (names posix_getopt_generated_stubs)) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/posix-getopt/src && /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 -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/posix-base -I /home/opam/.opam/5.1/lib/result -I /home/opam/.opam/5.1/lib/stdlib-shims -I /home/opam/.opam/5.1/lib/unix-errno -I /home/opam/.opam/5.1/lib/unix-errno/errno_bindings -I /home/opam/.opam/5.1/lib/unix-errno/errno_types -I /home/opam/.opam/5.1/lib/unix-errno/errno_types_detected -I /home/opam/.opam/5.1/lib/unix-errno/unix -I stubs -I types -o posix_getopt_generated_stubs.o -c posix_getopt_generated_stubs.c) # posix_getopt_generated_stubs.c: In function 'posix_getopt_1_getopt': # posix_getopt_generated_stubs.c:82:24: error: passing argument 2 of 'getopt' from incompatible pointer type [-Wincompatible-pointer-types] # 82 | int x9 = getopt(x4, x7, x8); # | ^~ # | | # | const char ** # In file included from /usr/include/x86_64-linux-gnu/bits/getopt_posix.h:27, # from /usr/include/unistd.h:903, # from posix_getopt_generated_stubs.c:2: # /usr/include/x86_64-linux-gnu/bits/getopt_core.h:91:46: note: expected 'char * const*' but argument is of type 'const char **' # 91 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) # | ~~~~~~~~~~~~~^~~~~~~ # posix_getopt_generated_stubs.c: In function 'posix_getopt_3_getopt_long': # posix_getopt_generated_stubs.c:106:31: error: passing argument 2 of 'getopt_long' from incompatible pointer type [-Wincompatible-pointer-types] # 106 | int x30 = getopt_long(x23, x26, x27, x28, x29); # | ^~~ # | | # | const char ** # In file included from /usr/include/getopt.h:36, # from posix_getopt_generated_stubs.c:9: # /usr/include/x86_64-linux-gnu/bits/getopt_ext.h:66:65: note: expected 'char * const*' but argument is of type 'const char **' # 66 | extern int getopt_long (int ___argc, char *__getopt_argv_const *___argv, # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ # posix_getopt_generated_stubs.c: In function 'posix_getopt_5_getopt_long_only': # posix_getopt_generated_stubs.c:130:36: error: passing argument 2 of 'getopt_long_only' from incompatible pointer type [-Wincompatible-pointer-types] # 130 | int x51 = getopt_long_only(x44, x47, x48, x49, x50); # | ^~~ # | | # | const char ** # /usr/include/x86_64-linux-gnu/bits/getopt_ext.h:70:70: note: expected 'char * const*' but argument is of type 'const char **' # 70 | extern int getopt_long_only (int ___argc, char *__getopt_argv_const *___argv, # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install posix-bindings 2.0.2 +- +- The following actions failed | - build posix-getopt 2.0.2 +- +- The following changes have been performed (the rest was aborted) | - install bigarray-compat 1.1.0 | - install csexp 1.5.2 | - install ctypes 0.23.0 | - install dune 3.17.1 | - install dune-configurator 3.17.1 | - install integers 0.7.0 | - install posix-base 2.0.2 | - install posix-socket 2.0.2 | - install posix-socket-unix 2.0.2 | - install posix-types 2.0.2 | - install posix-uname 2.0.2 | - install result 1.5 | - install stdlib-shims 0.3.0 | - install unix-errno 0.6.2 +- # 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/5.1/.opam-switch/backup/state-20250115191934.export" 'opam install -vy posix-bindings.2.0.2' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "posix-bindings.2.0.2" opam install -vy "posix-bindings.2.0.2" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "posix-bindings.2.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