Build:
  1. 0
2026-10-06 18:50.19: New job: build mmdb.0.3.0 (f5f5588e2fc5)
2026-10-06 18:50.19: Waiting for resource in pool day11-builds
2026-10-06 18:54.24: Got resource from pool day11-builds
2026-10-06 18:54.24: [profile oxcaml-odoc-master] build mmdb.0.3.0
2026-10-06 18:54.24: build mmdb.0.3.0 (f5f5588e2fc5)
=== DEPENDENCIES (45 transitive) ===
  base.v0.18~preview.130.83+317                      05f8b398a27d
  base-threads.base                                  464810371b96
  base-unix.base                                     4596d20d2cf7
  basement.v0.18~preview.130.83+317                  5a082dee44ba
  capsule0.v0.18~preview.130.83+317                  133db39e4943
  conf-autoconf.1                                    8ee1e3913008
  conf-libffi.2.0.0                                  3b04165a8510
  conf-libmaxminddb.1                                746c8f77f610
  conf-pkg-config.5                                  e39f7209b38f
  conf-which.1                                       65c43ca119c3
  cppo.1.8.0                                         e16aa16befbb
  csexp.1.5.2                                        150b91ccc2e1
  ctypes.0.24.0+ox                                   369755718c79
  ctypes-foreign.0.24.0+ox                           1fe1c5228919
  dune.3.22.2+ox                                     c16d8afadb18
  dune-configurator.3.22.2+ox                        76e290e1b56c
  integers.0.8.0                                     ddd0049ad20c
  ocaml.5.2.0                                        9d46674255e6
  ocaml-compiler-libs.v0.17.0+ox                     14922d822522
  ocaml-config.3                                     15a28f46f03a
  ocaml-variants.5.2.0+ox                            807c3ef9c420
  ocaml_intrinsics_kernel.v0.18~preview.130.83+317   ad0628c6204e
  ocamlfind.1.9.8+ox                                 747b1b555a03
  oxcaml-compiler.5.2.0minus25                       0929841197b1
  ppx_array_base.v0.18~preview.130.83+317            d7fb683185ed
  ppx_base.v0.18~preview.130.83+317                  d32f7cc45742
  ppx_cold.v0.18~preview.130.83+317                  1fe3a5b0ca78
  ppx_compare.v0.18~preview.130.83+317               14c5bcf3ef08
  ppx_derivers.1.2.1                                 32fdf6aeaa22
  ppx_deriving.6.1.1+ox                              23bb9d328d89
  ppx_enumerate.v0.18~preview.130.83+317             62c9750a28ef
  ppx_globalize.v0.18~preview.130.83+317             61d3d14bdb9a
  ppx_hash.v0.18~preview.130.83+317                  09efc494d157
  ppx_helpers.v0.18~preview.130.83+317               df92dc6e20a9
  ppx_here.v0.18~preview.130.83+317                  43207948ccf1
  ppx_let.v0.18~preview.130.83+317                   179a5b2b7e5e
  ppx_sexp_conv.v0.18~preview.130.83+317             b57520a80217
  ppx_shorthand.v0.18~preview.130.83+317             3e973a7ba5bf
  ppx_template.v0.18~preview.130.83+317              d53eded48cd4
  ppxlib.0.33.0+ox                                   91adba82e909
  ppxlib_ast.0.33.0+ox                               fb8a034045c0
  ppxlib_jane.v0.18~preview.130.83+317               663fbe433471
  sexp_type.v0.18~preview.130.83+317                 f4b7181e44c7
  sexplib0.v0.18~preview.130.83+317                  b097e7dc4ae1
  stdlib-shims.0.3.0                                 fc997682ec0f
=== STDOUT ===
Processing: [default: loading data]
[mmdb.0.3.0: dl]
[mmdb.0.3.0: extract]
-> retrieved mmdb.0.3.0  (https://opam.ocaml.org/cache)
[mmdb: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "mmdb" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/mmdb.0.3.0)
- File "src/ffi/dune", line 23, characters 25-37:
- 23 |  (c_names mmdb_ffi_stubs mmdb_helpers)
-                               ^^^^^^^^^^^^
- (cd _build/default/src/ffi && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wno-incompatible-pointer-types-discards-qualifiers -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -I bindings -I ../types -I ../types/bindings -o mmdb_helpers.o -c mmdb_helpers.c)
- mmdb_helpers.c: In function 'mmdb_ml_language_names':
- mmdb_helpers.c:25:36: error: returning 'const char **' from a function with incompatible return type 'char **' [-Wincompatible-pointer-types]
-    25 |     return mmdb->metadata.languages.names;
-       |            ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
- At top level:
- cc1: note: unrecognized command-line option '-Wno-incompatible-pointer-types-discards-qualifiers' may have been intended to silence earlier diagnostics
- (cd _build/default/src/types/stubgen && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread mmdb_ml_types_stubgen.c -lmaxminddb -I /home/opam/.opam/default/lib/ocaml/../ctypes -I /home/opam/.opam/default/lib/ocaml -o mmdb_ml_types_stubgen.exe)
- In file included from /home/opam/.opam/default/lib/ocaml/../ctypes/ctypes_primitives.h:16,
-                  from /home/opam/.opam/default/lib/ocaml/../ctypes/ctypes_cstubs_internals.h:13,
-                  from mmdb_ml_types_stubgen.c:10:
- /home/opam/.opam/default/lib/ocaml/../ctypes/ocaml_integers.h:37:9: warning: "Int8_val" redefined
-    37 | #define Int8_val(V) ((int8_t)(Int_val(V)))
-       |         ^~~~~~~~
- In file included from /home/opam/.opam/default/lib/ocaml/../ctypes/ocaml_integers.h:11:
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:154:9: note: this is the location of the previous definition
-   154 | #define Int8_val(x)  ((int8_t) Long_val(x))
-       |         ^~~~~~~~
- /home/opam/.opam/default/lib/ocaml/../ctypes/ocaml_integers.h:38:9: warning: "Int16_val" redefined
-    38 | #define Int16_val(V) ((int16_t)(Int_val(V)))
-       |         ^~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:153:9: note: this is the location of the previous definition
-   153 | #define Int16_val(x) ((int16_t) Long_val(x))
-       |         ^~~~~~~~~
- File "src/ffi/dune", line 23, characters 10-24:
- 23 |  (c_names mmdb_ffi_stubs mmdb_helpers)
-                ^^^^^^^^^^^^^^
- (cd _build/default/src/ffi && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wno-incompatible-pointer-types-discards-qualifiers -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -I bindings -I ../types -I ../types/bindings -o mmdb_ffi_stubs.o -c mmdb_ffi_stubs.c)
- In file included from /home/opam/.opam/default/lib/ctypes/ctypes_primitives.h:16,
-                  from /home/opam/.opam/default/lib/ctypes/ctypes_cstubs_internals.h:13,
-                  from mmdb_ffi_stubs.c:9:
- /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:37:9: warning: "Int8_val" redefined
-    37 | #define Int8_val(V) ((int8_t)(Int_val(V)))
-       |         ^~~~~~~~
- In file included from /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:11:
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:154:9: note: this is the location of the previous definition
-   154 | #define Int8_val(x)  ((int8_t) Long_val(x))
-       |         ^~~~~~~~
- /home/opam/.opam/default/lib/ctypes/ocaml_integers.h:38:9: warning: "Int16_val" redefined
-    38 | #define Int16_val(V) ((int16_t)(Int_val(V)))
-       |         ^~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:153:9: note: this is the location of the previous definition
-   153 | #define Int16_val(x) ((int16_t) Long_val(x))
-       |         ^~~~~~~~~
- mmdb_ffi_stubs.c: In function 'mmdb_stub_4_MMDB_aget_value':
- mmdb_ffi_stubs.c:39:40: error: passing argument 3 of 'MMDB_aget_value' from incompatible pointer type [-Wincompatible-pointer-types]
-    39 |    int x28 = MMDB_aget_value(x25, x26, x27);
-       |                                        ^~~
-       |                                        |
-       |                                        char **
- In file included from mmdb_ffi_stubs.c:6:
- /usr/include/x86_64-linux-gnu/maxminddb.h:223:53: note: expected 'const char * const* const' but argument is of type 'char **'
-   223 |                            const char *const *const path);
-       |                            ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
- mmdb_ffi_stubs.c: In function 'mmdb_stub_5_MMDB_strerror':
- mmdb_ffi_stubs.c:45:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    45 |    char* x33 = MMDB_strerror(x30);
-       |                ^~~~~~~~~~~~~
- mmdb_ffi_stubs.c: In function 'mmdb_stub_6_MMDB_lib_version':
- mmdb_ffi_stubs.c:50:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    50 |    char* x35 = MMDB_lib_version();
-       |                ^~~~~~~~~~~~~~~~
- mmdb_ffi_stubs.c: In function 'mmdb_stub_18_mmdb_ml_get_entry_data_utf8_string_value':
- mmdb_ffi_stubs.c:118:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   118 |    char* x67 = mmdb_ml_get_entry_data_utf8_string_value(x66);
-       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- mmdb_ffi_stubs.c: In function 'mmdb_stub_20_mmdb_ml_get_entry_data_bytes_value':
- mmdb_ffi_stubs.c:130:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   130 |    uint8_t* x73 = mmdb_ml_get_entry_data_bytes_value(x72);
-       |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- At top level:
- cc1: note: unrecognized command-line option '-Wno-incompatible-pointer-types-discards-qualifiers' may have been intended to silence earlier diagnostics
[ERROR] The compilation of mmdb.0.3.0 failed at "dune build -p mmdb -j 39".
build failed... 

=== STDERR ===

2026-10-06 18:54.52: FAILED: build mmdb.0.3.0
2026-10-06 18:54.52: Job failed: build failed: mmdb.0.3.0