Build:
- 0
2026-06-24 11:22.20: New job: build mosquitto.0.2.1-0 (b5f4c57cde29) 2026-06-24 11:22.20: Waiting for resource in pool day11-builds 2026-06-24 12:08.49: Got resource from pool day11-builds 2026-06-24 12:08.49: [profile full] build mosquitto.0.2.1-0 2026-06-24 12:08.49: build mosquitto.0.2.1-0 (b5f4c57cde29) === DEPENDENCIES (12 transitive) === base-bytes.base c40d17bc86b5 base-threads.base c9e7bdbf5823 base-unix.base 7d1428be9ddb conf-libmosquitto.1 d8c3914e01f7 conf-pkg-config.5 d5de2c6a88f9 dune.3.23.1 848a72441e15 ocaml.4.14.4 b047fb9251f4 ocaml-base-compiler.4.14.4 d3b7ccb2c6fb ocaml-config.2 2d9c209f5590 ocamlbuild.0.16.1 7e0d6aadb209 ocamlfind.1.9.8 214dd418ac02 result.1.5 9b1cd45b2159 === STDOUT === Processing: [default: loading data] [mosquitto.0.2.1-0: dl] [mosquitto.0.2.1-0: extract] -> retrieved mosquitto.0.2.1-0 (https://opam.ocaml.org/cache) [mosquitto: ocaml setup.ml] + /home/opam/.opam/default/bin/ocaml "setup.ml" "-configure" (CWD=/home/opam/.opam/default/.opam-switch/build/mosquitto.0.2.1-0) - File "./setup.ml", line 581, characters 4-15: - 581 | Stream.from next - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 609, characters 19-36: - 609 | let strm = Stream.of_channel chn in - ^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 616, characters 37-48: - 616 | Buffer.add_char buf (Stream.next strm); - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 619, characters 17-31: - 619 | with Stream.Failure -> - ^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1437, characters 16-33: - 1437 | let lxr = Genlex.make_lexer [] in - ^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1439, characters 22-38: - 1439 | let st = lxr (Stream.of_string s) in - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1440, characters 14-26: - 1440 | match Stream.npeek 3 st with - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1441, characters 11-23: - 1441 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1441, characters 28-40: - 1441 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1442, characters 11-23: - 1442 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1442, characters 28-41: - 1442 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) - ^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1443, characters 11-24: - 1443 | | [Genlex.String str] -> String str - ^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1444, characters 11-23: - 1444 | | [Genlex.Ident nm] -> Ident nm - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1781, characters 22-40: - 1781 | let compare = Pervasives.compare - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "setup.ml", line 3182, characters 8-19: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3185, characters 21-32: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3188, characters 18-32: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3190, characters 6-23: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3193, characters 12-24: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 9-21: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 26-36: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 42-55: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 8-19: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 25-36: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 42-53: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3207, characters 17-34: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3332, characters 16-33: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3351, characters 22-38: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3353, characters 17-29: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3354, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3354, characters 37-49: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3356, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3356, characters 37-50: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3358, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3358, characters 46-58: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3360, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3360, characters 46-59: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3362, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3375, characters 13-25: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3473, characters 16-34: - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "setup.ml", line 4524, characters 21-38: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4526, characters 19-31: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 4527, characters 16-29: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4527, characters 33-46: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4529, characters 15-26: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 4529, characters 32-43: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - - Configuration: - ocamlfind: ........................................... /home/opam/.opam/default/bin/ocamlfind - ocamlc: .............................................. /home/opam/.opam/default/bin/ocamlc.opt - ocamlopt: ............................................ /home/opam/.opam/default/bin/ocamlopt.opt - ocamlbuild: .......................................... /home/opam/.opam/default/bin/ocamlbuild - Package name: ........................................ mosquitto - Package version: ..................................... 0.2.1 - os_type: ............................................. Unix - system: .............................................. linux - architecture: ........................................ amd64 - ccomp_type: .......................................... cc - ocaml_version: ....................................... 4.14.4 - standard_library_default: ............................ /home/opam/.opam/default/lib/ocaml - standard_library: .................................... /home/opam/.opam/default/lib/ocaml - bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 - native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 - model: ............................................... default - ext_obj: ............................................. .o - ext_asm: ............................................. .s - ext_lib: ............................................. .a - ext_dll: ............................................. .so - default_executable_name: ............................. a.out - systhread_supported: ................................. true - Install architecture-independent files dir: .......... /usr/local - Install architecture-dependent files in dir: ......... $prefix - User executables: .................................... $exec_prefix/bin - System admin executables: ............................ $exec_prefix/sbin - Program executables: ................................. $exec_prefix/libexec - Read-only single-machine data: ....................... $prefix/etc - Modifiable architecture-independent data: ............ $prefix/com - Modifiable single-machine data: ...................... $prefix/var - Object code libraries: ............................... $exec_prefix/lib - Read-only arch-independent data root: ................ $prefix/share - Read-only architecture-independent data: ............. $datarootdir - Info documentation: .................................. $datarootdir/info - Locale-dependent data: ............................... $datarootdir/locale - Man documentation: ................................... $datarootdir/man - Documentation root: .................................. $datarootdir/doc/$pkg_name - HTML documentation: .................................. $docdir - DVI documentation: ................................... $docdir - PDF documentation: ................................... $docdir - PS documentation: .................................... $docdir - findlib_version: ..................................... 1.9.8 - is_native: ........................................... true - suffix_program: ...................................... - Remove a file.: ...................................... rm -f - Remove a directory.: ................................. rm -rf - Turn ocaml debug flag on: ............................ true - Turn ocaml profile flag on: .......................... false - Compiler support generation of .cmxs.: ............... true - OCamlbuild additional flags: ......................... - Create documentations: ............................... true - Compile tests executable and library and run them: ... false - pkg_unix: ............................................ /home/opam/.opam/default/lib/ocaml - pkg_bytes: ........................................... /home/opam/.opam/default/lib/bytes - pkg_result: .......................................... /home/opam/.opam/default/lib/result - ocamldoc: ............................................ /home/opam/.opam/default/bin/ocamldoc - [mosquitto: ocaml setup.ml] + /home/opam/.opam/default/bin/ocaml "setup.ml" "-build" (CWD=/home/opam/.opam/default/.opam-switch/build/mosquitto.0.2.1-0) - File "./setup.ml", line 581, characters 4-15: - 581 | Stream.from next - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 609, characters 19-36: - 609 | let strm = Stream.of_channel chn in - ^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 616, characters 37-48: - 616 | Buffer.add_char buf (Stream.next strm); - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 619, characters 17-31: - 619 | with Stream.Failure -> - ^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1437, characters 16-33: - 1437 | let lxr = Genlex.make_lexer [] in - ^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1439, characters 22-38: - 1439 | let st = lxr (Stream.of_string s) in - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1440, characters 14-26: - 1440 | match Stream.npeek 3 st with - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1441, characters 11-23: - 1441 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1441, characters 28-40: - 1441 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1442, characters 11-23: - 1442 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1442, characters 28-41: - 1442 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) - ^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1443, characters 11-24: - 1443 | | [Genlex.String str] -> String str - ^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1444, characters 11-23: - 1444 | | [Genlex.Ident nm] -> Ident nm - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1781, characters 22-40: - 1781 | let compare = Pervasives.compare - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "setup.ml", line 3182, characters 8-19: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3185, characters 21-32: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3188, characters 18-32: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3190, characters 6-23: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3193, characters 12-24: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 9-21: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 26-36: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 42-55: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 8-19: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 25-36: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 42-53: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3207, characters 17-34: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3332, characters 16-33: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3351, characters 22-38: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3353, characters 17-29: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3354, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3354, characters 37-49: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3356, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3356, characters 37-50: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3358, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3358, characters 46-58: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3360, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3360, characters 46-59: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3362, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3375, characters 13-25: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3473, characters 16-34: - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "setup.ml", line 4524, characters 21-38: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4526, characters 19-31: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 4527, characters 16-29: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4527, characters 33-46: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4529, characters 15-26: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 4529, characters 32-43: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - + /home/opam/.opam/default/bin/ocamlc.opt -config - + /home/opam/.opam/default/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/default/lib/ocamlbuild /home/opam/.opam/default/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/default/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild - + /home/opam/.opam/default/bin/ocamlc.opt -config - + /home/opam/.opam/default/bin/ocamlfind ocamlc -g -ccopt -O2 -ccopt -Wall -ccopt -Wextra -ccopt -Wno-unused-parameter -ccopt -I -ccopt /usr/local/lib -c src/mosquitto_stubs.c - + /home/opam/.opam/default/bin/ocamlfind ocamlc -g -ccopt -O2 -ccopt -Wall -ccopt -Wextra -ccopt -Wno-unused-parameter -ccopt -I -ccopt /usr/local/lib -c src/mosquitto_stubs.c - src/mosquitto_stubs.c: In function 'mqtt_callback_msg': - src/mosquitto_stubs.c:306:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 306 | f = caml_named_value(mq->uid[CBMESSAGE]); - | ^ - In file included from src/mosquitto_stubs.c:18: - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:312:12: note: in expansion of macro 'String_val' - 312 | memcpy(String_val(payload), msg_->payload, msg_->payloadlen); - | ^~~~~~~~~~ - In file included from src/mosquitto_stubs.c:7: - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:316:12: note: in expansion of macro 'String_val' - 316 | memcpy(String_val(topic), msg_->topic, topic_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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - src/mosquitto_stubs.c: In function 'mqtt_callback_log': - src/mosquitto_stubs.c:339:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 339 | mq->cb[CBLOG] = caml_named_value(mq->uid[CBLOG]); - | ^ - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:344:12: note: in expansion of macro 'String_val' - 344 | memcpy(String_val(str_), str, 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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - src/mosquitto_stubs.c: In function 'mqtt_callback_con': - src/mosquitto_stubs.c:358:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 358 | mq->cb[CBCONNECT] = caml_named_value(mq->uid[CBCONNECT]); - | ^ - src/mosquitto_stubs.c: In function 'mqtt_callback_dco': - src/mosquitto_stubs.c:374:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 374 | mq->cb[CBDISCONNECT] = caml_named_value(mq->uid[CBDISCONNECT]); - | ^ - src/mosquitto_stubs.c: In function 'mqtt_callback_sub': - src/mosquitto_stubs.c:392:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 392 | mq->cb[CBSUBSCRIBE] = caml_named_value(mq->uid[CBSUBSCRIBE]); - | ^ - src/mosquitto_stubs.c: In function 'mqtt_callback_usu': - src/mosquitto_stubs.c:415:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 415 | mq->cb[CBUNSUBSCRIBE] = caml_named_value(mq->uid[CBUNSUBSCRIBE]); - | ^ - src/mosquitto_stubs.c: In function 'mqtt_callback_pub': - src/mosquitto_stubs.c:431:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 431 | mq->cb[CBPUBLISH] = caml_named_value(mq->uid[CBPUBLISH]); - | ^ - src/mosquitto_stubs.c: In function 'mqtt_connect_callback_set': - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:456:10: note: in expansion of macro 'String_val' - 456 | memcpy(String_val(uid), (void*)mq->uid[CBCONNECT], 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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - src/mosquitto_stubs.c: In function 'mqtt_disconnect_callback_set': - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:477:10: note: in expansion of macro 'String_val' - 477 | memcpy(String_val(uid), (void*)mq->uid[CBDISCONNECT], 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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - src/mosquitto_stubs.c: In function 'mqtt_subscribe_callback_set': - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:498:10: note: in expansion of macro 'String_val' - 498 | memcpy(String_val(uid), (void*)mq->uid[CBSUBSCRIBE], 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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - src/mosquitto_stubs.c: In function 'mqtt_unsubscribe_callback_set': - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:519:10: note: in expansion of macro 'String_val' - 519 | memcpy(String_val(uid), (void*)mq->uid[CBUNSUBSCRIBE], 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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - src/mosquitto_stubs.c: In function 'mqtt_publish_callback_set': - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:540:10: note: in expansion of macro 'String_val' - 540 | memcpy(String_val(uid), (void*)mq->uid[CBPUBLISH], 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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - src/mosquitto_stubs.c: In function 'mqtt_log_callback_set': - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:561:10: note: in expansion of macro 'String_val' - 561 | memcpy(String_val(uid), (void*)mq->uid[CBLOG], 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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - src/mosquitto_stubs.c: In function 'mqtt_message_callback_set': - /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)) - | ~^~~~~~~~~~~~~~~~~~~~~~~~~ - src/mosquitto_stubs.c:582:10: note: in expansion of macro 'String_val' - 582 | memcpy(String_val(uid), (void*)mq->uid[CBMESSAGE], 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, - | ~~~~~~~~~~~~~~~~~^~~~~~ - + mv mosquitto_stubs.o src/mosquitto_stubs.o - + /home/opam/.opam/default/bin/ocamlfind ocamlmklib -o src/mosquitto_stubs -g -lmosquitto src/mosquitto_stubs.o - + /home/opam/.opam/default/bin/ocamlfind ocamldep -package bytes -package result -package unix -modules src/mosquitto.mli > src/mosquitto.mli.depends - + /home/opam/.opam/default/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -ccopt -Wall -ccopt -Wextra -ccopt -Wno-unused-parameter -ccopt -I -ccopt /usr/local/lib -package bytes -package result -package unix -I src -o src/mosquitto.cmi src/mosquitto.mli - + /home/opam/.opam/default/bin/ocamlfind ocamldep -package bytes -package result -package unix -modules src/mosquitto.ml > src/mosquitto.ml.depends - + /home/opam/.opam/default/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O2 -ccopt -Wall -ccopt -Wextra -ccopt -Wno-unused-parameter -ccopt -I -ccopt /usr/local/lib -package bytes -package result -package unix -I src -o src/mosquitto.cmo src/mosquitto.ml - + /home/opam/.opam/default/bin/ocamlfind ocamlc -a -dllib -lmosquitto_stubs -cclib -lmosquitto_stubs -cclib -lmosquitto -I src src/mosquitto.cmo -o src/mosquitto.cma - + /home/opam/.opam/default/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt -O2 -ccopt -Wall -ccopt -Wextra -ccopt -Wno-unused-parameter -ccopt -I -ccopt /usr/local/lib -package bytes -package result -package unix -I src -o src/mosquitto.cmx src/mosquitto.ml - + /home/opam/.opam/default/bin/ocamlfind ocamlopt -a -cclib -lmosquitto_stubs -cclib -lmosquitto -I src src/mosquitto.cmx -o src/mosquitto.cmxa - + /home/opam/.opam/default/bin/ocamlfind ocamlopt -shared -I src -I src src/mosquitto.cmxa src/mosquitto.cmx -o src/mosquitto.cmxs - + /home/opam/.opam/default/bin/ocamlfind ocamldep -package bytes -package result -package unix -modules tools/subscribe.ml > tools/subscribe.ml.depends - + /home/opam/.opam/default/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bytes -package result -package unix -I tools -I src -o tools/subscribe.cmo tools/subscribe.ml - + /home/opam/.opam/default/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -package bytes -package result -package unix -I tools -I src -o tools/subscribe.cmx tools/subscribe.ml - + /home/opam/.opam/default/bin/ocamlfind ocamlopt -g -I src -linkpkg -package bytes -package result -package unix -I src -I tools src/mosquitto.cmxa tools/subscribe.cmx -o tools/subscribe.native - + /home/opam/.opam/default/bin/ocamlfind ocamldep -package bytes -package result -package unix -modules tools/publish.ml > tools/publish.ml.depends - + /home/opam/.opam/default/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bytes -package result -package unix -I tools -I src -o tools/publish.cmo tools/publish.ml - + /home/opam/.opam/default/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -package bytes -package result -package unix -I tools -I src -o tools/publish.cmx tools/publish.ml - + /home/opam/.opam/default/bin/ocamlfind ocamlopt -g -I src -linkpkg -package bytes -package result -package unix -I src -I tools src/mosquitto.cmxa tools/publish.cmx -o tools/publish.native - + /home/opam/.opam/default/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/default/lib/ocamlbuild /home/opam/.opam/default/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/default/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild - File "myocamlbuild.ml", line 460, characters 8-19: - 460 | Stream.from - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 463, characters 21-32: - 463 | match Stream.next st with - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 466, characters 18-32: - 466 | with Stream.Failure -> None) - ^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 468, characters 6-23: - 468 | Genlex.make_lexer ["="] st_line - ^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 471, characters 12-24: - 471 | match Stream.npeek 3 lxr with - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 472, characters 9-21: - 472 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 472, characters 26-36: - 472 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> - ^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 472, characters 42-55: - 472 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> - ^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 473, characters 8-19: - 473 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 473, characters 25-36: - 473 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 473, characters 42-53: - 473 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "myocamlbuild.ml", line 485, characters 17-34: - 485 | let st = Stream.of_channel chn in - ^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. -> compiled mosquitto.0.2.1-0 [mosquitto: ocaml setup.ml] + /home/opam/.opam/default/bin/ocaml "setup.ml" "-install" (CWD=/home/opam/.opam/default/.opam-switch/build/mosquitto.0.2.1-0) - File "./setup.ml", line 581, characters 4-15: - 581 | Stream.from next - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 609, characters 19-36: - 609 | let strm = Stream.of_channel chn in - ^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 616, characters 37-48: - 616 | Buffer.add_char buf (Stream.next strm); - ^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 619, characters 17-31: - 619 | with Stream.Failure -> - ^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1437, characters 16-33: - 1437 | let lxr = Genlex.make_lexer [] in - ^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1439, characters 22-38: - 1439 | let st = lxr (Stream.of_string s) in - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1440, characters 14-26: - 1440 | match Stream.npeek 3 st with - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "./setup.ml", line 1441, characters 11-23: - 1441 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1441, characters 28-40: - 1441 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1442, characters 11-23: - 1442 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1442, characters 28-41: - 1442 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) - ^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1443, characters 11-24: - 1443 | | [Genlex.String str] -> String str - ^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1444, characters 11-23: - 1444 | | [Genlex.Ident nm] -> Ident nm - ^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "./setup.ml", line 1781, characters 22-40: - 1781 | let compare = Pervasives.compare - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "setup.ml", line 3182, characters 8-19: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3185, characters 21-32: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3188, characters 18-32: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3190, characters 6-23: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3193, characters 12-24: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 9-21: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 26-36: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3194, characters 42-55: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 8-19: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 25-36: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3195, characters 42-53: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3207, characters 17-34: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3332, characters 16-33: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3351, characters 22-38: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3353, characters 17-29: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3354, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3354, characters 37-49: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3356, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3356, characters 37-50: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3358, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3358, characters 46-58: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3360, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3360, characters 46-59: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3362, characters 16-28: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 3375, characters 13-25: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 3473, characters 16-34: - Alert deprecated: module Stdlib.Pervasives - Use Stdlib instead. - - If you need to stay compatible with OCaml < 4.07, you can use the - stdlib-shims library: https://github.com/ocaml/stdlib-shims - File "setup.ml", line 4524, characters 21-38: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4526, characters 19-31: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 4527, characters 16-29: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4527, characters 33-46: - Alert deprecated: module Stdlib.Genlex - Use the camlp-streams library instead. - File "setup.ml", line 4529, characters 15-26: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - File "setup.ml", line 4529, characters 32-43: - Alert deprecated: module Stdlib.Stream - Use the camlp-streams library instead. - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.mli - Installed /home/opam/.opam/default/lib/mosquitto/libmosquitto_stubs.a - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.cma - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.cmxa - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.a - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.cmxs - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.cmi - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.cmti - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.cmt - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.annot - Installed /home/opam/.opam/default/lib/mosquitto/mosquitto.cmx - Installed /home/opam/.opam/default/lib/stublibs/dllmosquitto_stubs.so - Installed /home/opam/.opam/default/lib/stublibs/dllmosquitto_stubs.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/default/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/default/lib/mosquitto/META -> installed mosquitto.0.2.1-0 [WARNING] Opam package conf-libmosquitto.1 depends on the following system package that can no longer be found: libmosquitto-dev === STDERR === 2026-06-24 12:09.12: OK: build mosquitto.0.2.1-0 (runc: 11.1s, disk: 50KB) 2026-06-24 12:09.12: Job succeeded