Building on x86-bm-c12.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 70674f18d57d: Pulling fs layer 70674f18d57d: Verifying Checksum 70674f18d57d: Download complete 70674f18d57d: Pull complete Digest: sha256:730ba1f0177ca25fd2003dcf99bd6c4e2bc2f1957c5aebd8d47e1bd69cf161a0 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-11-10 04:55.07 ---> 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 04:55.07 ---> 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 04:55.07 ---> 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 04:55.07 ---> using "b22293df705e6cba3afecfd99e3970445bf105f18df9a7b31bf5584e65710795" 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) 2024-11-10 04:55.07 ---> using "1fca67b33a3cc76003abcdde85a676d4eef3e94f66005c92f89b5bf9b01277bb" 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-10-0209.36-F-2024-11-04-2012.18.pdiff [328 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-10-0209.36-F-2024-11-04-2012.18.pdiff [328 kB] - Fetched 594 kB in 5s (117 kB/s) - Reading package lists... - 2024-11-10 04:55.07 ---> using "b58996a10af4f7bbcfdf93a21f86e9b313b0babf6fd22ada407b43314a4028bc" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"posix-time2.2.0.1\"\ \nopam install -vy \"posix-time2.2.0.1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"posix-time2.2.0.1\" | 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] posix-time2.2.0.1 is not installed. Nothing to do. The following actions will be performed: === install 12 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-time2] - install dune 3.16.1 [required by posix-time2] - install dune-configurator 3.16.1 [required by ctypes] - install integers 0.7.0 [required by posix-base, ctypes, unix-errno] - install posix-base 2.0.1 [required by posix-time2] - install posix-time2 2.0.1 - install posix-types 2.0.1 [required by posix-time2] - 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-time2] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/33: [bigarray-compat.1.1.0: extract] Processing 2/33: [bigarray-compat.1.1.0: extract] [csexp.1.5.2: extract] Processing 3/33: [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/33: [csexp.1.5.2: extract] [ctypes.0.23.0: extract] Processing 4/33: [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/33: [ctypes.0.23.0: extract] [dune.3.16.1, dune-configurator.3.16.1: extract] Processing 5/33: [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/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [integers.0.7.0: extract] Processing 6/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [integers.0.7.0: extract] [posix-base.2.0.1 + 2 others: extract] -> retrieved integers.0.7.0 (cached) Processing 6/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [posix-base.2.0.1 + 2 others: extract] Processing 7/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [posix-base.2.0.1 + 2 others: extract] [result.1.5: extract] -> retrieved result.1.5 (cached) Processing 7/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [posix-base.2.0.1 + 2 others: extract] Processing 8/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [posix-base.2.0.1 + 2 others: extract] [stdlib-shims.0.3.0: extract] -> retrieved stdlib-shims.0.3.0 (cached) Processing 8/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [posix-base.2.0.1 + 2 others: extract] Processing 9/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [posix-base.2.0.1 + 2 others: extract] [unix-errno.0.6.2: extract] -> retrieved unix-errno.0.6.2 (cached) Processing 9/33: [dune.3.16.1, dune-configurator.3.16.1: extract] [posix-base.2.0.1 + 2 others: extract] -> retrieved posix-base.2.0.1, posix-time2.2.0.1, posix-types.2.0.1 (cached) Processing 9/33: [dune.3.16.1, dune-configurator.3.16.1: extract] -> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached) Processing 10/33: [dune: ocaml 39] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.16.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 39 - Processing 10/33: [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" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune.3.16.1) -> compiled dune.3.16.1 -> installed dune.3.16.1 Processing 12/33: [bigarray-compat: dune build] Processing 13/33: [bigarray-compat: dune build] [csexp: dune build] Processing 14/33: [bigarray-compat: dune build] [csexp: dune build] [result: dune build] Processing 15/33: [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" "csexp" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 Processing 15/33: [bigarray-compat: dune build] [result: dune build] [stdlib-shims: dune build] -> installed csexp.1.5.2 Processing 16/33: [bigarray-compat: dune build] [result: dune build] [stdlib-shims: dune build] Processing 17/33: [bigarray-compat: dune build] [dune-configurator: rm] [result: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 17/33: [dune-configurator: rm] [result: dune build] [stdlib-shims: dune build] -> installed bigarray-compat.1.1.0 Processing 18/33: [dune-configurator: rm] [result: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "result" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/result.1.5) -> compiled result.1.5 Processing 18/33: [dune-configurator: rm] [stdlib-shims: dune build] -> installed result.1.5 Processing 19/33: [dune-configurator: rm] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "stdlib-shims" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/stdlib-shims.0.3.0) -> compiled stdlib-shims.0.3.0 Processing 19/33: [dune-configurator: rm] -> installed stdlib-shims.0.3.0 Processing 20/33: [dune-configurator: rm] Processing 21/33: [dune-configurator: rm] [integers: dune build] + /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.16.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.16.1) Processing 21/33: [dune-configurator: dune build] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "integers" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/integers.0.7.0) -> compiled integers.0.7.0 Processing 21/33: [dune-configurator: dune build] -> installed integers.0.7.0 Processing 22/33: [dune-configurator: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dune-configurator" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/dune-configurator.3.16.1) -> compiled dune-configurator.3.16.1 -> installed dune-configurator.3.16.1 Processing 24/33: [ctypes: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes" "-j" "39" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/ctypes.0.23.0) Processing 24/33: [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/33: [posix-base: dune build] Processing 27/33: [posix-base: dune build] [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-base" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-base.2.0.1) -> compiled posix-base.2.0.1 Processing 27/33: [unix-errno: dune build] -> installed posix-base.2.0.1 Processing 28/33: [unix-errno: dune build] Processing 29/33: [posix-types: dune build] [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-types" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-types.2.0.1) -> compiled posix-types.2.0.1 Processing 29/33: [unix-errno: dune build] -> installed posix-types.2.0.1 Processing 30/33: [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "unix-errno" "-j" "39" (CWD=/home/opam/.opam/5.1/.opam-switch/build/unix-errno.0.6.2) -> compiled unix-errno.0.6.2 -> installed unix-errno.0.6.2 Processing 32/33: [posix-time2: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "posix-time2" "-j" "39" "@install" (CWD=/home/opam/.opam/5.1/.opam-switch/build/posix-time2.2.0.1) - File "posix-time2/src/dune", line 12, characters 9-36: - 12 | (names posix_time2_generated_stubs)) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - (cd _build/default/posix-time2/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/posix-types -I /home/opam/.opam/5.1/lib/posix-types/constants -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 constants -I stubs -I types -o posix_time2_generated_stubs.o -c posix_time2_generated_stubs.c) - posix_time2_generated_stubs.c: In function 'posix_time2_5_ctime': - posix_time2_generated_stubs.c:71:28: error: passing argument 1 of 'ctime' makes pointer from integer without a cast [-Wint-conversion] - 71 | char const* x41 = ctime(x38); - | ^~~ - | | - | int64_t {aka long int} - In file included from posix_time2_generated_stubs.c:2: - /usr/include/time.h:183:35: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} - 183 | extern char *ctime (const time_t *__timer) __THROW; - | ~~~~~~~~~~~~~~^~~~~~~ - posix_time2_generated_stubs.c: In function 'posix_time2_6_gmtime': - posix_time2_generated_stubs.c:81:28: error: passing argument 1 of 'gmtime' makes pointer from integer without a cast [-Wint-conversion] - 81 | struct tm* x49 = gmtime(x46); - | ^~~ - | | - | int64_t {aka long int} - /usr/include/time.h:132:41: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} - 132 | extern struct tm *gmtime (const time_t *__timer) __THROW; - | ~~~~~~~~~~~~~~^~~~~~~ - posix_time2_generated_stubs.c: In function 'posix_time2_7_localtime': - posix_time2_generated_stubs.c:91:31: error: passing argument 1 of 'localtime' makes pointer from integer without a cast [-Wint-conversion] - 91 | struct tm* x57 = localtime(x54); - | ^~~ - | | - | int64_t {aka long int} - /usr/include/time.h:136:44: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} - 136 | extern struct tm *localtime (const time_t *__timer) __THROW; - | ~~~~~~~~~~~~~~^~~~~~~ [ERROR] The compilation of posix-time2.2.0.1 failed at "dune build -p posix-time2 -j 39 @install". #=== ERROR while compiling posix-time2.2.0.1 ==================================# # 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-time2.2.0.1 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p posix-time2 -j 39 @install # exit-code 1 # env-file ~/.opam/log/posix-time2-8-4f7251.env # output-file ~/.opam/log/posix-time2-8-4f7251.out ### output ### # File "posix-time2/src/dune", line 12, characters 9-36: # 12 | (names posix_time2_generated_stubs)) # ^^^^^^^^^^^^^^^^^^^^^^^^^^^ # (cd _build/default/posix-time2/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/posix-types -I /home/opam/.opam/5.1/lib/posix-types/constants -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 constants -I stubs -I types -o posix_time2_generated_stubs.o -c posix_time2_generated_stubs.c) # posix_time2_generated_stubs.c: In function 'posix_time2_5_ctime': # posix_time2_generated_stubs.c:71:28: error: passing argument 1 of 'ctime' makes pointer from integer without a cast [-Wint-conversion] # 71 | char const* x41 = ctime(x38); # | ^~~ # | | # | int64_t {aka long int} # In file included from posix_time2_generated_stubs.c:2: # /usr/include/time.h:183:35: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} # 183 | extern char *ctime (const time_t *__timer) __THROW; # | ~~~~~~~~~~~~~~^~~~~~~ # posix_time2_generated_stubs.c: In function 'posix_time2_6_gmtime': # posix_time2_generated_stubs.c:81:28: error: passing argument 1 of 'gmtime' makes pointer from integer without a cast [-Wint-conversion] # 81 | struct tm* x49 = gmtime(x46); # | ^~~ # | | # | int64_t {aka long int} # /usr/include/time.h:132:41: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} # 132 | extern struct tm *gmtime (const time_t *__timer) __THROW; # | ~~~~~~~~~~~~~~^~~~~~~ # posix_time2_generated_stubs.c: In function 'posix_time2_7_localtime': # posix_time2_generated_stubs.c:91:31: error: passing argument 1 of 'localtime' makes pointer from integer without a cast [-Wint-conversion] # 91 | struct tm* x57 = localtime(x54); # | ^~~ # | | # | int64_t {aka long int} # /usr/include/time.h:136:44: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} # 136 | extern struct tm *localtime (const time_t *__timer) __THROW; # | ~~~~~~~~~~~~~~^~~~~~~ <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build posix-time2 2.0.1 +- +- 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 posix-base 2.0.1 | - install posix-types 2.0.1 | - 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-20241110045509.export" 'opam install -vy posix-time2.2.0.1' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "posix-time2.2.0.1" opam install -vy "posix-time2.2.0.1" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "posix-time2.2.0.1" | 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