Build:
- 0
2026-06-20 15:54.12: New job: build snkv.0.1.1 (cd1d0b0c97b1)
2026-06-20 15:54.12: Waiting for resource in pool day11-builds
2026-06-20 16:00.52: Got resource from pool day11-builds
2026-06-20 16:00.52: [profile full] build snkv.0.1.1
2026-06-20 16:00.52: build snkv.0.1.1 (cd1d0b0c97b1)
=== DEPENDENCIES (7 transitive) ===
base-threads.base b7164ff76afe
base-unix.base 839dc585f12d
compiler-cloning.enabled 0d2606125f88
dune.3.23.1 dbfeecb5ca10
ocaml.5.5.0 1b4132bddf48
ocaml-base-compiler.5.5.0 1901c3a760c1
ocaml-compiler.5.5.0 5f593a0b4a8c
=== STDOUT ===
Processing: [default: loading data]
[snkv.0.1.1: dl]
[snkv.0.1.1: extract]
-> retrieved snkv.0.1.1 (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.1.1)
- (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:16:10: note: in expansion of macro 'String_val'
- 16 | memcpy(String_val(v), s, len);
- | ^~~~~~~~~~
- In file included from snkv.h:16293,
- 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:274:10: note: in expansion of macro 'String_val'
- 274 | 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:339:10: note: in expansion of macro 'String_val'
- 339 | 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:578:10: note: in expansion of macro 'String_val'
- 578 | 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:593:10: note: in expansion of macro 'String_val'
- 593 | 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:848:10: note: in expansion of macro 'String_val'
- 848 | 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: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: At top level:
- snkv_stubs.c:36:13: warning: 'check_rc_generic' defined but not used [-Wunused-function]
- 36 | static void check_rc_generic(int rc) {
- | ^~~~~~~~~~~~~~~~
- snkv_stubs.c:21:13: warning: 'string_of_val' defined but not used [-Wunused-function]
- 21 | static void string_of_val(value v, const char **out, int *len) {
- | ^~~~~~~~~~~~~
- snkv_stubs.c:14:14: warning: 'val_of_string_copy' defined but not used [-Wunused-function]
- 14 | static value val_of_string_copy(const char *s, int len) {
- | ^~~~~~~~~~~~~~~~~~
-> compiled snkv.0.1.1
-> installed snkv.0.1.1
=== STDERR ===
2026-06-20 16:01.17: OK: build snkv.0.1.1 (runc: 17.1s, disk: 11KB)
2026-06-20 16:01.17: Job succeeded