Build:
  1. 0
2026-07-26 10:52.59: New job: build ocaml-expat.0.9.1 (f0d83189adf5)
2026-07-26 10:52.59: Waiting for resource in pool day11-builds
2026-07-26 10:56.34: Got resource from pool day11-builds
2026-07-26 10:56.34: [profile full] build ocaml-expat.0.9.1
2026-07-26 10:56.34: build ocaml-expat.0.9.1 (f0d83189adf5)
=== DEPENDENCIES (5 transitive) ===
  compiler-cloning.enabled                           22a431860256
  ocaml.5.5.0                                        af24caade1d3
  ocaml-base-compiler.5.5.0                          5f93989ce6d7
  ocaml-compiler.5.5.0                               15edcf5138e5
  ocamlfind.1.9.9~preview                            c75d6f48ab10
=== STDOUT ===
Processing: [default: loading data]

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

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

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libexpat1-dev"
- Selecting previously unselected package libexpat1-dev: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 ... 20108 files and directories currently installed.)
- Preparing to unpack .../libexpat1-dev_2.7.1-2_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.7.1-2) ...
- Setting up libexpat1-dev:amd64 (2.7.1-2) ...
[ocaml-expat.0.9.1: dl]
[ocaml-expat.0.9.1: extract]
[ocaml-expat.0.9.1/Makefile.patch: dl]
-> retrieved ocaml-expat.0.9.1  (https://opam.ocaml.org/cache)
[ocaml-expat: patch] applying Makefile.patch
[ocaml-expat: make all]
+ /usr/bin/make "all" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-expat.0.9.1)
- gcc -I /home/opam/.opam/default/lib/ocaml -MM *.c > depend
- ocamldep *.mli *.ml >> depend
- ocamlc -c -ccopt "-DFULL_UNROLL -O2 -I/usr/local/include" expat_stubs.c
- expat_stubs.c: In function 'Val_option_string':
- expat_stubs.c:64:16: error: implicit declaration of function 'alloc'; did you mean 'valloc'? [-Wimplicit-function-declaration]
-    64 |         some = alloc(1, 0);
-       |                ^~~~~
-       |                valloc
- expat_stubs.c:65:20: error: implicit declaration of function 'copy_string'; did you mean 'caml_copy_string'? [-Wimplicit-function-declaration]
-    65 |         some_str = copy_string(str);
-       |                    ^~~~~~~~~~~
-       |                    caml_copy_string
- In file included from expat_stubs.c:23:
- expat_stubs.c: In function 'String_option_val':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   366 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:78:16: note: in expansion of macro 'String_val'
-    78 |         return String_val(Field(string_option, 0));
-       |                ^~~~~~~~~~
- expat_stubs.c: In function 'xml_parser_finalize':
- expat_stubs.c:90:5: error: implicit declaration of function 'remove_global_root'; did you mean 'caml_remove_global_root'? [-Wimplicit-function-declaration]
-    90 |     remove_global_root(handlers);
-       |     ^~~~~~~~~~~~~~~~~~
-       |     caml_remove_global_root
- expat_stubs.c: In function 'create_ocaml_expat_parser':
- expat_stubs.c:135:14: error: implicit declaration of function 'alloc_custom'; did you mean 'caml_alloc_custom'? [-Wimplicit-function-declaration]
-   135 |     parser = alloc_custom(&xml_parser_ops, sizeof(XML_Parser), 1, 5000);
-       |              ^~~~~~~~~~~~
-       |              caml_alloc_custom
- expat_stubs.c:144:5: error: implicit declaration of function 'register_global_root'; did you mean 'caml_register_global_root'? [-Wimplicit-function-declaration]
-   144 |     register_global_root(handlers);
-       |     ^~~~~~~~~~~~~~~~~~~~
-       |     caml_register_global_root
- expat_stubs.c:149:17: error: implicit declaration of function 'alloc_tuple'; did you mean 'caml_alloc_tuple'? [-Wimplicit-function-declaration]
-   149 |     *handlers = alloc_tuple(NUM_HANDLERS);
-       |                 ^~~~~~~~~~~
-       |                 caml_alloc_tuple
- In file included from expat_stubs.c:26:
- expat_stubs.c: In function 'expat_XML_ErrorString':
- expat_stubs.c:337:21: error: implicit declaration of function 'alloc_string'; did you mean 'caml_alloc_string'? [-Wimplicit-function-declaration]
-   337 |         CAMLreturn (alloc_string(0));
-       |                     ^~~~~~~~~~~~
- /home/opam/.opam/default/lib/ocaml/caml/memory.h:457:29: note: in definition of macro 'CAMLreturnT'
-   457 |   type caml__temp_result = (result); \
-       |                             ^~~~~~
- expat_stubs.c:337:9: note: in expansion of macro 'CAMLreturn'
-   337 |         CAMLreturn (alloc_string(0));
-       |         ^~~~~~~~~~
- expat_stubs.c: In function 'expat_error':
- expat_stubs.c:350:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   350 |         expat_error_exn = caml_named_value("expat_error");
-       |                         ^
- expat_stubs.c:352:13: error: implicit declaration of function 'invalid_argument'; did you mean 'caml_invalid_argument'? [-Wimplicit-function-declaration]
-   352 |             invalid_argument("Exception Expat_error not initialized");
-       |             ^~~~~~~~~~~~~~~~
-       |             caml_invalid_argument
- expat_stubs.c:356:5: error: implicit declaration of function 'raise_with_arg'; did you mean 'caml_raise_with_arg'? [-Wimplicit-function-declaration]
-   356 |     raise_with_arg(*expat_error_exn, Val_long(error_code));
-       |     ^~~~~~~~~~~~~~
-       |     caml_raise_with_arg
- expat_stubs.c: In function 'expat_XML_Parse':
- expat_stubs.c:368:51: error: implicit declaration of function 'string_length'; did you mean 'caml_string_length'? [-Wimplicit-function-declaration]
-   368 |     if(!XML_Parse(xml_parser, String_val(string), string_length(string), 0)) {
-       |                                                   ^~~~~~~~~~~~~
-       |                                                   caml_string_length
- expat_stubs.c: In function 'expat_XML_ParseSub':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   366 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ^
- expat_stubs.c:387:20: note: in expansion of macro 'String_val'
-   387 |     char *string = String_val(vstring);
-       |                    ^~~~~~~~~~
- expat_stubs.c: In function 'start_element_handler':
- expat_stubs.c:451:5: error: implicit declaration of function 'callback2' [-Wimplicit-function-declaration]
-   451 |     callback2(Field(*handlers, EXPAT_START_ELEMENT_HANDLER), tag, list);
-       |     ^~~~~~~~~
- expat_stubs.c: In function 'end_element_handler':
- expat_stubs.c:500:5: error: implicit declaration of function 'callback'; did you mean 'calloc'? [-Wimplicit-function-declaration]
-   500 |     callback(Field(*handlers, EXPAT_END_ELEMENT_HANDLER), tag);
-       |     ^~~~~~~~
-       |     calloc
- expat_stubs.c: In function 'character_data_handler':
- /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))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:550:12: note: in expansion of macro 'String_val'
-   550 |     memcpy(String_val(str), data, len);
-       |            ^~~~~~~~~~
- In file included from expat_stubs.c:13:
- /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,
-       |                      ~~~~~~~~~~~~~~~~~^~~~~~
- expat_stubs.c: In function 'default_handler':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memmove' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   366 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- expat_stubs.c:819:13: note: in expansion of macro 'String_val'
-   819 |     memmove(String_val(d), data, len);
-       |             ^~~~~~~~~~
- /usr/include/string.h:47:29: note: expected 'void *' but argument is of type 'const char *'
-    47 | extern void *memmove (void *__dest, const void *__src, size_t __n)
-       |                       ~~~~~~^~~~~~
- expat_stubs.c: In function 'external_entity_ref_handler':
- expat_stubs.c:891:5: error: implicit declaration of function 'callbackN' [-Wimplicit-function-declaration]
-   891 |     callbackN(Field(*handlers, EXPAT_EXTERNAL_ENTITY_REF_HANDLER), 4, arg);
-       |     ^~~~~~~~~
- make: *** [Makefile:99: expat_stubs.o] Error 2
[ERROR] The compilation of ocaml-expat.0.9.1 failed at "make all".
build failed... 

=== STDERR ===

2026-07-26 10:57.10: FAILED: build ocaml-expat.0.9.1
2026-07-26 10:57.10: Job failed: build failed: ocaml-expat.0.9.1