Build:
- 0
2026-10-06 17:34.36: New job: build snkv.0.1.1 (fbb4aa2ce273)
2026-10-06 17:34.36: Waiting for resource in pool day11-builds
2026-10-06 17:42.04: Got resource from pool day11-builds
2026-10-06 17:42.04: [profile oxcaml-odoc-master] build snkv.0.1.1
2026-10-06 17:42.04: build snkv.0.1.1 (fbb4aa2ce273)
=== DEPENDENCIES (9 transitive) ===
base-threads.base 464810371b96
base-unix.base 4596d20d2cf7
conf-autoconf.1 8ee1e3913008
conf-which.1 65c43ca119c3
dune.3.22.2+ox 9158bd0e098d
ocaml.5.2.0 879ae859f814
ocaml-config.3 37112a8040f8
ocaml-variants.5.2.0+ox 8119d9341417
oxcaml-compiler.5.2.0minus39 72925b65bf23
=== 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 -pthread -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:524:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 524 | #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:524:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 524 | #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:524:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 524 | #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:524:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 524 | #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:524:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 524 | #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:524:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 524 | #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:524:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 524 | #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-10-06 17:42.35: OK: build snkv.0.1.1 (runc: 26.7s, disk: 12KB)
2026-10-06 17:42.35: Job succeeded