Build:
  1. 0
2026-06-24 11:07.25: New job: build kafka.0.5 (15e2348df21a)
2026-06-24 11:07.25: Waiting for resource in pool day11-builds
2026-06-24 11:23.19: Got resource from pool day11-builds
2026-06-24 11:23.19: [profile full] build kafka.0.5
2026-06-24 11:23.19: build kafka.0.5 (15e2348df21a)
=== DEPENDENCIES (8 transitive) ===
  base-threads.base                                  c9e7bdbf5823
  base-unix.base                                     7d1428be9ddb
  conf-pkg-config.5                                  d5de2c6a88f9
  conf-zlib.1                                        5297f1b9477f
  dune.3.23.1                                        848a72441e15
  ocaml.4.14.4                                       b047fb9251f4
  ocaml-base-compiler.4.14.4                         d3b7ccb2c6fb
  ocaml-config.2                                     2d9c209f5590
=== STDOUT ===
Processing: [default: loading data]

The following system packages will first need to be installed:
    librdkafka-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "librdkafka-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package librdkafka1:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18285 files and directories currently installed.)
- Preparing to unpack .../librdkafka1_2.0.2-1_amd64.deb ...
- Unpacking librdkafka1:amd64 (2.0.2-1) ...
- Selecting previously unselected package librdkafka++1:amd64.
- Preparing to unpack .../librdkafka++1_2.0.2-1_amd64.deb ...
- Unpacking librdkafka++1:amd64 (2.0.2-1) ...
- Selecting previously unselected package librdkafka-dev:amd64.
- Preparing to unpack .../librdkafka-dev_2.0.2-1_amd64.deb ...
- Unpacking librdkafka-dev:amd64 (2.0.2-1) ...
- Setting up librdkafka1:amd64 (2.0.2-1) ...
- Setting up librdkafka++1:amd64 (2.0.2-1) ...
- Setting up librdkafka-dev:amd64 (2.0.2-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u14) ...
[kafka.0.5: dl]
[kafka.0.5: extract]
-> retrieved kafka.0.5  (https://opam.ocaml.org/cache)
[kafka: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "kafka" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/kafka.0.5)
- (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/default/lib/ocaml -o ocaml_kafka.o -c ocaml_kafka.c)
- ocaml_kafka.c: In function 'alloc_caml_handler':
- ocaml_kafka.c:104:13: warning: "alloc_small" is deprecated: use "caml_alloc_small" instead
-   104 |   caml_handler = alloc_small(1, Abstract_tag);
-       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                               
- In file included from /home/opam/.opam/default/lib/ocaml/caml/memory.h:31,
-                  from ocaml_kafka.c:1:
- ocaml_kafka.c: In function 'ocaml_kafka_handler_name':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ocaml_kafka.c:298:10: note: in expansion of macro 'String_val'
-   298 |   memcpy(String_val(caml_name), name, len);
-       |          ^~~~~~~~~~
- In file included from ocaml_kafka.c:8:
- /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,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- ocaml_kafka.c: In function 'ocaml_kafka_partitioner_callback':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ocaml_kafka.c:312:10: note: in expansion of macro 'String_val'
-   312 |   memcpy(String_val(caml_key), key, keylen);
-       |          ^~~~~~~~~~
- /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,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- ocaml_kafka.c: In function 'ocaml_kafka_extract_topic_message':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ocaml_kafka.c:421:12: note: in expansion of macro 'String_val'
-   421 |     memcpy(String_val(caml_msg_payload), message->payload, message->len);
-       |            ^~~~~~~~~~
- /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,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- ocaml_kafka.c:426:14: note: in expansion of macro 'String_val'
-   426 |       memcpy(String_val(caml_key_payload), message->key, message->key_len);
-       |              ^~~~~~~~~~
- /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,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- ocaml_kafka.c: In function 'ocaml_kafka_produce':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   290 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- ocaml_kafka.c:556:19: note: in expansion of macro 'String_val'
-   556 |   void* payload = String_val(caml_msg);
-       |                   ^~~~~~~~~~
- ocaml_kafka.c:563:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   563 |      key = String_val(caml_key);
-       |          ^
-> compiled  kafka.0.5
-> installed kafka.0.5
[WARNING] Opam package conf-zlib.1 depends on the following system package that can no longer be found: zlib1g-dev

=== STDERR ===

2026-06-24 11:23.40: OK: build kafka.0.5 (runc: 6.1s, disk: 0KB)
2026-06-24 11:23.40: Job succeeded