Build:
  1. 0
2026-10-01 23:46.44: New job: build portaudio_c_bindings.19.6.0 (15bdeae64599)
2026-10-01 23:46.44: Waiting for resource in pool day11-builds
2026-10-01 23:51.06: Got resource from pool day11-builds
2026-10-01 23:51.06: [profile oxcaml-odoc-master] build portaudio_c_bindings.19.6.0
2026-10-01 23:51.06: build portaudio_c_bindings.19.6.0 (15bdeae64599)
=== DEPENDENCIES (18 transitive) ===
  base-threads.base                                  ddcab511c589
  base-unix.base                                     742554e1dbc2
  conf-autoconf.1                                    43fe4a407b7a
  conf-libffi.2.0.0                                  2de1e6fba1f5
  conf-pkg-config.5                                  5bc8297bba82
  conf-portaudio.1                                   f8d8dec24517
  conf-which.1                                       5fccb3a41099
  csexp.1.5.2                                        a9d3fd6f82d9
  ctypes.0.24.0+ox                                   bfa3d12be43a
  ctypes-foreign.0.24.0+ox                           dd2923a41049
  dune.3.22.2+ox                                     a2ef013eeea9
  dune-configurator.3.22.2+ox                        dea98c56dd29
  integers.0.8.0                                     8a484753c4bc
  ocaml.5.2.0                                        cda6777ccfe3
  ocaml-config.3                                     d77b853eaa33
  ocaml-variants.5.2.0+ox                            a9808a9375cd
  oxcaml-compiler.5.2.0minus39                       9c94ae342626
  stdlib-shims.0.3.0                                 872ba8883981
=== STDOUT ===
Processing: [default: loading data]
[portaudio_c_bindings.19.6.0: dl]
[portaudio_c_bindings.19.6.0: extract]
-> retrieved portaudio_c_bindings.19.6.0  (https://opam.ocaml.org/cache)
[portaudio_c_bindings: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "portaudio_c_bindings" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/portaudio_c_bindings.19.6.0)
- (cd _build/default/bindings/types && /usr/bin/bash -e -u -o pipefail -c 'gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread stub_types_gen.c -I `dirname /home/opam/.opam/default/lib/ctypes/ctypes_cstubs_internals.h` -I /home/opam/.opam/default/lib/ocaml -o stub_types_gen.exe')
- 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 stub_types_gen.c:6:
- /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))
-       |         ^~~~~~~~~
- File "bindings/ffi/dune", line 26, characters 36-43:
- 26 |  (foreign_stubs (language c) (names c_stubs))
-                                          ^^^^^^^
- (cd _build/default/bindings/ffi && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -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/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -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 . -I ../types -o c_stubs.o -c c_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 c_stubs.c:4:
- /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))
-       |         ^~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_3_Pa_GetVersionInfo':
- c_stubs.c:28:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    28 |    struct PaVersionInfo* x12 = Pa_GetVersionInfo();
-       |                                ^~~~~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_9_Pa_GetHostApiInfo':
- c_stubs.c:84:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    84 |    struct PaHostApiInfo* x48 = Pa_GetHostApiInfo(x45);
-       |                                ^~~~~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_11_Pa_GetLastHostErrorInfo':
- c_stubs.c:103:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   103 |    struct PaHostErrorInfo* x61 = Pa_GetLastHostErrorInfo();
-       |                                  ^~~~~~~~~~~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_15_Pa_GetDeviceInfo':
- c_stubs.c:140:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   140 |    struct PaDeviceInfo* x84 = Pa_GetDeviceInfo(x81);
-       |                               ^~~~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_17_Pa_OpenStream':
- c_stubs.c:174:61: error: passing argument 7 of 'Pa_OpenStream' from incompatible pointer type [-Wincompatible-pointer-types]
-   174 |    Pa_OpenStream(x108, x109, x110, (float)x111, x114, x117, x120, x121);
-       |                                                             ^~~~
-       |                                                             |
-       |                                                             PaStreamCallbackResult (*)(void *, void *, long unsigned int,  struct PaStreamCallbackTimeInfo *, long unsigned int,  void *)
- In file included from c_stubs.c:2:
- /usr/include/portaudio.h:898:42: note: expected 'int (*)(const void *, void *, long unsigned int,  const PaStreamCallbackTimeInfo *, PaStreamCallbackFlags,  void *)' {aka 'int (*)(const void *, void *, long unsigned int,  const PaStreamCallbackTimeInfo *, long unsigned int,  void *)'} but argument is of type 'PaStreamCallbackResult (*)(void *, void *, long unsigned int,  struct PaStreamCallbackTimeInfo *, long unsigned int,  void *)'
-   898 |                        PaStreamCallback *streamCallback,
-       |                        ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_18_Pa_OpenDefaultStream':
- c_stubs.c:211:68: error: passing argument 7 of 'Pa_OpenDefaultStream' from incompatible pointer type [-Wincompatible-pointer-types]
-   211 |    Pa_OpenDefaultStream(x142, x143, x146, x149, (float)x152, x155, x158,
-       |                                                                    ^~~~
-       |                                                                    |
-       |                                                                    PaStreamCallbackResult (*)(void *, void *, long unsigned int,  struct PaStreamCallbackTimeInfo *, long unsigned int,  void *)
- /usr/include/portaudio.h:938:49: note: expected 'int (*)(const void *, void *, long unsigned int,  const PaStreamCallbackTimeInfo *, PaStreamCallbackFlags,  void *)' {aka 'int (*)(const void *, void *, long unsigned int,  const PaStreamCallbackTimeInfo *, long unsigned int,  void *)'} but argument is of type 'PaStreamCallbackResult (*)(void *, void *, long unsigned int,  struct PaStreamCallbackTimeInfo *, long unsigned int,  void *)'
-   938 |                               PaStreamCallback *streamCallback,
-       |                               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- c_stubs.c: In function 'caml_portaudio_26_Pa_GetStreamInfo':
- c_stubs.c:307:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   307 |    struct PaStreamInfo* x218 = Pa_GetStreamInfo(x217);
-       |                                ^~~~~~~~~~~~~~~~
[ERROR] The compilation of portaudio_c_bindings.19.6.0 failed at "dune build -p portaudio_c_bindings -j 39 @install".
build failed... 

=== STDERR ===

2026-10-01 23:51.52: FAILED: build portaudio_c_bindings.19.6.0
2026-10-01 23:51.52: Job failed: build failed: portaudio_c_bindings.19.6.0