Build:
- 0
2026-08-05 23:38.12: New job: build posix-time2.2.0.0 (e85ea3713443)
2026-08-05 23:38.12: Waiting for resource in pool day11-builds
2026-08-06 00:25.22: Got resource from pool day11-builds
2026-08-06 00:25.22: [profile full] build posix-time2.2.0.0
2026-08-06 00:25.22: build posix-time2.2.0.0 (e85ea3713443)
=== DEPENDENCIES (16 transitive) ===
base-threads.base 4e0218232a65
base-unix.base 2d2c0bf34146
compiler-cloning.enabled 645922735998
csexp.1.5.2 ddbe24786709
ctypes.0.24.0 900ed4336b51
dune.3.24.2 1e5f2fe7e8cc
dune-configurator.3.24.2 023c240b9537
integers.0.8.0 1ad07401023c
ocaml.5.5.0 07a9fea0affc
ocaml-base-compiler.5.5.0 90119128ecb1
ocaml-compiler.5.5.0 6aaaaa99fb41
posix-base.2.0.0 e9829ede35df
posix-types.2.0.0 ab03cf0bc786
result.1.5 883d21c379c1
stdlib-shims.0.3.0 e988f750ed71
unix-errno.0.6.2 4127fcf28847
=== STDOUT ===
Processing: [default: loading data]
[posix-time2.2.0.0: extract]
-> retrieved posix-time2.2.0.0 (cached)
[posix-time2: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "posix-time2" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.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 -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/posix-base -I /home/opam/.opam/default/lib/posix-types -I /home/opam/.opam/default/lib/posix-types/constants -I /home/opam/.opam/default/lib/result -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/unix-errno -I /home/opam/.opam/default/lib/unix-errno/errno_bindings -I /home/opam/.opam/default/lib/unix-errno/errno_types -I /home/opam/.opam/default/lib/unix-errno/errno_types_detected -I /home/opam/.opam/default/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;
- | ~~~~~~~~~~~~~~^~~~~~~
build failed...
[ERROR] The compilation of posix-time2.2.0.0 failed at "dune build -p posix-time2 -j 39 @install".
=== STDERR ===
2026-08-06 00:25.32: FAILED: build posix-time2.2.0.0
2026-08-06 00:25.32: Job failed: build failed: posix-time2.2.0.0