Building on x86-bm-c16.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam Digest: sha256:a708df2d96414c61dc47c9f06e6c2d22e9a6350ad772417bd0e7a3550e440e73 Status: Downloaded newer image for ocaml/opam:debian-unstable 2024-08-05 08:33.01 ---> 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-dev /usr/bin/opam")) 2024-08-05 08:33.01 ---> using "65c3237f501f7c75f3828458ecf2342bc41c98aaef8c6a7fd82bf46a58cb258c" 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 fe8dffac61bbab376897c0f4e7cc5b7b8c4eecc1")) 2024-08-05 08:33.01 ---> using "828e9194b01b44f44dbe3a17fa70d9df857e6edbfbc28830335e417ee457f303" 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-08-05 08:33.01 ---> using "e4c5e8d9ee051813ad71799bcfd0cce33f59a36ff0befb5e5fbb9434b383bc16" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.0' '5.0.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.0.0"} | "ocaml-system" {= "5.0.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.0.0 (cached) -> installed ocaml-base-compiler.5.0.0 -> installed ocaml-config.3 -> installed ocaml.5.0.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.0) to update the current shell environment 2024-08-05 08:33.01 ---> using "0fa4f64323c3dbadca4295108590835d54b86d7f6a2b761e64a3eed8638bf091" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [198 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-08-05-0205.56-F-2024-07-29-1441.34.pdiff [516 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-08-05-0205.56-F-2024-07-29-1441.34.pdiff [516 kB] - Fetched 778 kB in 4s (178 kB/s) - Reading package lists... - 2024-08-05 08:33.01 ---> using "3748dd197a64024ec5de97dec52346edb2707192fd06fc809898c0250c975d8f" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"posix-time2.2.0.0\"\ \nopam install -vy \"posix-time2.2.0.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"posix-time2.2.0.0\" | 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.0 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.22.0 [required by posix-time2] - install dune 3.16.0 [required by posix-time2] - install dune-configurator 3.16.0 [required by ctypes] - install integers 0.7.0 [required by posix-base, ctypes, unix-errno] - install posix-base 2.0.0 [required by posix-time2] - install posix-time2 2.0.0 - install posix-types 2.0.0 [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.22.0: extract] -> retrieved bigarray-compat.1.1.0 (cached) Processing 3/33: [csexp.1.5.2: extract] [ctypes.0.22.0: extract] Processing 4/33: [csexp.1.5.2: extract] [ctypes.0.22.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] -> retrieved csexp.1.5.2 (cached) Processing 4/33: [ctypes.0.22.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] Processing 5/33: [ctypes.0.22.0: extract] [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] -> retrieved ctypes.0.22.0 (cached) Processing 5/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] Processing 6/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [integers.0.7.0: extract] [posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0: http] -> retrieved integers.0.7.0 (cached) Processing 6/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0: http] Processing 7/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0: http] [result.1.5: extract] -> retrieved result.1.5 (cached) Processing 7/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0: http] Processing 8/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0: http] [stdlib-shims.0.3.0: extract] -> retrieved stdlib-shims.0.3.0 (cached) Processing 8/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0: http] Processing 9/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0: http] [unix-errno.0.6.2: extract] -> retrieved unix-errno.0.6.2 (cached) Processing 9/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0: http] Processing 9/33: [dune.3.16.0, dune-configurator.3.16.0: extract] [posix-base.2.0.0 + 2 others: extract] -> retrieved dune.3.16.0, dune-configurator.3.16.0 (cached) Processing 9/33: [posix-base.2.0.0 + 2 others: extract] Processing 10/33: [posix-base.2.0.0 + 2 others: extract] [dune: ocaml 31] -> retrieved posix-base.2.0.0, posix-time2.2.0.0, posix-types.2.0.0 (https://github.com/savonet/ocaml-posix/archive/v2.0.0.tar.gz) Processing 10/33: [dune: ocaml 31] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.16.0) - 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 31 - 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" "31" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune.3.16.0) -> compiled dune.3.16.0 -> installed dune.3.16.0 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" "result" "-j" "31" (CWD=/home/opam/.opam/5.0/.opam-switch/build/result.1.5) -> compiled result.1.5 Processing 15/33: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build] -> installed result.1.5 Processing 16/33: [bigarray-compat: dune build] [csexp: dune build] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "31" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/csexp.1.5.2) -> compiled csexp.1.5.2 Processing 16/33: [bigarray-compat: dune build] [stdlib-shims: dune build] -> installed csexp.1.5.2 Processing 17/33: [bigarray-compat: dune build] [stdlib-shims: dune build] Processing 18/33: [bigarray-compat: dune build] [dune-configurator: rm] [stdlib-shims: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "bigarray-compat" "-j" "31" (CWD=/home/opam/.opam/5.0/.opam-switch/build/bigarray-compat.1.1.0) -> compiled bigarray-compat.1.1.0 Processing 18/33: [dune-configurator: rm] [stdlib-shims: dune build] -> installed bigarray-compat.1.1.0 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" "31" (CWD=/home/opam/.opam/5.0/.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.0/.opam-switch/build/dune-configurator.3.16.0) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rm" "-rf" "vendor/pp" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune-configurator.3.16.0) Processing 21/33: [dune-configurator: dune build] [integers: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "integers" "-j" "31" (CWD=/home/opam/.opam/5.0/.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" "31" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/dune-configurator.3.16.0) -> compiled dune-configurator.3.16.0 -> installed dune-configurator.3.16.0 Processing 24/33: [ctypes: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ctypes" "-j" "31" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/ctypes.0.22.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.0/.opam-switch/build/ctypes.0.22.0) -> compiled ctypes.0.22.0 -> installed ctypes.0.22.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" "31" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/posix-base.2.0.0) -> compiled posix-base.2.0.0 Processing 27/33: [unix-errno: dune build] -> installed posix-base.2.0.0 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" "31" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/posix-types.2.0.0) -> compiled posix-types.2.0.0 Processing 29/33: [unix-errno: dune build] -> installed posix-types.2.0.0 Processing 30/33: [unix-errno: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "unix-errno" "-j" "31" (CWD=/home/opam/.opam/5.0/.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" "31" "@install" (CWD=/home/opam/.opam/5.0/.opam-switch/build/posix-time2.2.0.0) - 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.0/lib/ocaml -I /home/opam/.opam/5.0/lib/bigarray-compat -I /home/opam/.opam/5.0/lib/ctypes -I /home/opam/.opam/5.0/lib/ctypes/stubs -I /home/opam/.opam/5.0/lib/integers -I /home/opam/.opam/5.0/lib/ocaml/str -I /home/opam/.opam/5.0/lib/ocaml/unix -I /home/opam/.opam/5.0/lib/posix-base -I /home/opam/.opam/5.0/lib/posix-types -I /home/opam/.opam/5.0/lib/posix-types/constants -I /home/opam/.opam/5.0/lib/result -I /home/opam/.opam/5.0/lib/stdlib-shims -I /home/opam/.opam/5.0/lib/unix-errno -I /home/opam/.opam/5.0/lib/unix-errno/errno_bindings -I /home/opam/.opam/5.0/lib/unix-errno/errno_types -I /home/opam/.opam/5.0/lib/unix-errno/errno_types_detected -I /home/opam/.opam/5.0/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:22: error: passing argument 1 of 'ctime' makes pointer from integer without a cast [-Wint-conversion] - 71 | char* x41 = ctime(x38); - | ^~~ - | | - | int64_t {aka long int} - In file included from posix_time2_generated_stubs.c:2: - /usr/include/time.h:184:35: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} - 184 | 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:133:41: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} - 133 | 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:137:44: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} - 137 | extern struct tm *localtime (const time_t *__timer) __THROW; - | ~~~~~~~~~~~~~~^~~~~~~ [ERROR] The compilation of posix-time2.2.0.0 failed at "dune build -p posix-time2 -j 31 @install". #=== ERROR while compiling posix-time2.2.0.0 ==================================# # context 2.3.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository # path ~/.opam/5.0/.opam-switch/build/posix-time2.2.0.0 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p posix-time2 -j 31 @install # exit-code 1 # env-file ~/.opam/log/posix-time2-8-72d670.env # output-file ~/.opam/log/posix-time2-8-72d670.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.0/lib/ocaml -I /home/opam/.opam/5.0/lib/bigarray-compat -I /home/opam/.opam/5.0/lib/ctypes -I /home/opam/.opam/5.0/lib/ctypes/stubs -I /home/opam/.opam/5.0/lib/integers -I /home/opam/.opam/5.0/lib/ocaml/str -I /home/opam/.opam/5.0/lib/ocaml/unix -I /home/opam/.opam/5.0/lib/posix-base -I /home/opam/.opam/5.0/lib/posix-types -I /home/opam/.opam/5.0/lib/posix-types/constants -I /home/opam/.opam/5.0/lib/result -I /home/opam/.opam/5.0/lib/stdlib-shims -I /home/opam/.opam/5.0/lib/unix-errno -I /home/opam/.opam/5.0/lib/unix-errno/errno_bindings -I /home/opam/.opam/5.0/lib/unix-errno/errno_types -I /home/opam/.opam/5.0/lib/unix-errno/errno_types_detected -I /home/opam/.opam/5.0/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:22: error: passing argument 1 of 'ctime' makes pointer from integer without a cast [-Wint-conversion] # 71 | char* x41 = ctime(x38); # | ^~~ # | | # | int64_t {aka long int} # In file included from posix_time2_generated_stubs.c:2: # /usr/include/time.h:184:35: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} # 184 | 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:133:41: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} # 133 | 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:137:44: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'int64_t' {aka 'long int'} # 137 | extern struct tm *localtime (const time_t *__timer) __THROW; # | ~~~~~~~~~~~~~~^~~~~~~ <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build posix-time2 2.0.0 +- +- The following changes have been performed | - install bigarray-compat 1.1.0 | - install csexp 1.5.2 | - install ctypes 0.22.0 | - install dune 3.16.0 | - install dune-configurator 3.16.0 | - install integers 0.7.0 | - install posix-base 2.0.0 | - install posix-types 2.0.0 | - install result 1.5 | - install stdlib-shims 0.3.0 | - install unix-errno 0.6.2 +- # 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/5.0/.opam-switch/backup/state-20240805083303.export" 'opam install -vy posix-time2.2.0.0' failed. "/usr/bin/env" "bash" "-c" " opam remove -y "posix-time2.2.0.0" opam install -vy "posix-time2.2.0.0" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "posix-time2.2.0.0" | 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