Build:
- 0
2026-10-24 00:31.07: New job: build snkv.0.2.0 (d121450d24c0)
2026-10-24 00:31.07: Waiting for resource in pool day11-builds
2026-10-24 00:59.48: Got resource from pool day11-builds
2026-10-24 00:59.48: [profile full] build snkv.0.2.0
2026-10-24 00:59.48: build snkv.0.2.0 (d121450d24c0)
=== DEPENDENCIES (7 transitive) ===
base-threads.base ca51096a9c5b
base-unix.base 88a83b7ed333
compiler-cloning.enabled 1aa529c962c5
dune.3.24.2 6cd6abc0b8c5
ocaml.5.5.2 3d66d99b0b38
ocaml-base-compiler.5.5.2 546a7f1026cd
ocaml-compiler.5.5.2 956e368db607
=== STDOUT ===
Processing: [default: loading data]
[snkv.0.2.0: dl]
[snkv.0.2.0: extract]
-> retrieved snkv.0.2.0 (https://opam.ocaml.org/cache)
[snkv: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "snkv" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/snkv.0.2.0)
- (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ocaml/unix -o snkv_stubs.o -c snkv_stubs.c)
- In file included from snkv_stubs.c:4:
- snkv_stubs.c: In function 'val_of_string_copy':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- snkv_stubs.c:17:10: note: in expansion of macro 'String_val'
- 17 | memcpy(String_val(v), s, len);
- | ^~~~~~~~~~
- In file included from snkv.h:16310,
- from snkv_stubs.c:3:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- snkv_stubs.c: In function 'ocaml_kvstore_get':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- snkv_stubs.c:353:10: note: in expansion of macro 'String_val'
- 353 | memcpy(String_val(result), pValue, nValue);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- snkv_stubs.c: In function 'ocaml_kvstore_cf_get':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- snkv_stubs.c:418:10: note: in expansion of macro 'String_val'
- 418 | memcpy(String_val(result), pValue, nValue);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- snkv_stubs.c: In function 'ocaml_kvstore_iterator_key':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- snkv_stubs.c:657:10: note: in expansion of macro 'String_val'
- 657 | memcpy(String_val(result), pKey, nKey);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- snkv_stubs.c: In function 'ocaml_kvstore_iterator_value':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- snkv_stubs.c:672:10: note: in expansion of macro 'String_val'
- 672 | memcpy(String_val(result), pValue, nValue);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- snkv_stubs.c: In function 'ocaml_kvstore_get_ttl':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- snkv_stubs.c:920:10: note: in expansion of macro 'String_val'
- 920 | memcpy(String_val(Field(result, 0)), pValue, nValue);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- snkv_stubs.c: In function 'ocaml_kvstore_cf_get_ttl':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- snkv_stubs.c:992:10: note: in expansion of macro 'String_val'
- 992 | memcpy(String_val(Field(result, 0)), pValue, nValue);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- snkv_stubs.c: At top level:
- snkv_stubs.c:22:13: warning: 'string_of_val' defined but not used [-Wunused-function]
- 22 | static void string_of_val(value v, const char **out, int *len) {
- | ^~~~~~~~~~~~~
- snkv_stubs.c:15:14: warning: 'val_of_string_copy' defined but not used [-Wunused-function]
- 15 | static value val_of_string_copy(const char *s, int len) {
- | ^~~~~~~~~~~~~~~~~~
-> compiled snkv.0.2.0
-> installed snkv.0.2.0
=== STDERR ===
2026-10-24 01:00.45: OK: build snkv.0.2.0 (runc: 53.4s, disk: 11KB)
2026-10-24 01:00.45: Job succeeded