Build:
  1. 0
2026-07-10 04:20.54: New job: build ocaml-r.0.1.1 (0f5bd3687d72)
2026-07-10 04:20.54: Waiting for resource in pool day11-builds
2026-07-10 04:58.39: Got resource from pool day11-builds
2026-07-10 04:58.39: [profile full] build ocaml-r.0.1.1
2026-07-10 04:58.40: build ocaml-r.0.1.1 (0f5bd3687d72)
=== DEPENDENCIES (19 transitive) ===
  base.v0.13.2                                       26ad02a32322
  base-threads.base                                  44df48f3da5c
  base-unix.base                                     4103cdc1c2b0
  conf-pkg-config.5                                  f20b8fd18442
  conf-r.1.0.0                                       ecb9be5fe9cd
  conf-r-mathlib.1                                   0837b5f8fdcb
  configurator.v0.11.0                               466c33a1808b
  csexp.1.5.2                                        70c14f1ddb10
  dune.3.24.0                                        b2dda9c82dc0
  dune-configurator.3.22.2                           d1ded30aa3c2
  jbuilder.1.0+beta20.2                              57140b469578
  ocaml.4.11.2                                       be45f0ba56b5
  ocaml-base-compiler.4.11.2                         a7c945f6d69b
  ocaml-config.1                                     15b59377a07b
  ocaml-secondary-compiler.4.14.2                    90adab01dc22
  ocamlfind.1.9.6                                    3b604160b655
  ocamlfind-secondary.1.9.6                          caf0b83bc2ee
  sexplib0.v0.13.0                                   ec69db76b223
  stdio.v0.13.0                                      bfbef4d5a035
=== STDOUT ===
Processing: [default: loading data]
[ocaml-r.0.1.1: dl]
[ocaml-r.0.1.1: extract]
-> retrieved ocaml-r.0.1.1  (https://opam.ocaml.org/cache)
[ocaml-r: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "ocaml-r" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/ocaml-r.0.1.1)
- (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/share/R/include -g -I /home/opam/.opam/default/lib/ocaml -o initialisation_stub.o -c initialisation_stub.c)
- initialisation_stub.c: In function 'ocamlr_initEmbeddedR':
- initialisation_stub.c:70:35: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-    70 |   for (i=0; i<length; i++) argv[i]=String_val(Field(ml_argv, i));
-       |                                   ^
- File "lib/dune", line 10, characters 19-38:
- 10 |                    write_internal_stub
-                         ^^^^^^^^^^^^^^^^^^^
- (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/share/R/include -g -I /home/opam/.opam/default/lib/ocaml -o write_internal_stub.o -c write_internal_stub.c)
- write_internal_stub.c: In function 'ocamlr_write_lisplist_carval':
- write_internal_stub.c:50:21: error: invalid use of undefined type 'struct SEXPREC'
-    50 |   Sexp_val(lisplist)->u.listsxp.carval = Sexp_val(elmnt);
-       |                     ^~
- write_internal_stub.c: In function 'ocamlr_write_lisplist_tagval':
- write_internal_stub.c:55:21: error: invalid use of undefined type 'struct SEXPREC'
-    55 |   Sexp_val(lisplist)->u.listsxp.tagval = Sexp_val(tag);
-       |                     ^~
- File "lib/dune", line 9, characters 19-37:
- 9 |                    read_internal_stub
-                        ^^^^^^^^^^^^^^^^^^
- (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/share/R/include -g -I /home/opam/.opam/default/lib/ocaml -o read_internal_stub.o -c read_internal_stub.c)
- In file included from read_internal_stub.c:32:
- read_internal_stub.c: In function 'ocamlr_inspect_primsxp_offset':
- read_internal_stub.c:108:32: error: invalid use of undefined type 'struct SEXPREC'
-   108 |   return(Val_int(Sexp_val(sexp)->u.primsxp.offset));
-       |                                ^~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:75:47: note: in definition of macro 'Val_long'
-    75 | #define Val_long(x)     ((intnat) (((uintnat)(x) << 1)) + 1)
-       |                                               ^
- read_internal_stub.c:108:10: note: in expansion of macro 'Val_int'
-   108 |   return(Val_int(Sexp_val(sexp)->u.primsxp.offset));
-       |          ^~~~~~~
- read_internal_stub.c: In function 'ocamlr_inspect_promsxp_value':
- read_internal_stub.c:241:33: error: invalid use of undefined type 'struct SEXPREC'
-   241 |   return(Val_sexp(Sexp_val(sexp)->u.promsxp.value));
-       |                                 ^~
- read_internal_stub.c: In function 'ocamlr_inspect_promsxp_expr':
- read_internal_stub.c:254:33: error: invalid use of undefined type 'struct SEXPREC'
-   254 |   return(Val_sexp(Sexp_val(sexp)->u.promsxp.expr));
-       |                                 ^~
- read_internal_stub.c: In function 'ocamlr_inspect_promsxp_env':
- read_internal_stub.c:267:33: error: invalid use of undefined type 'struct SEXPREC'
-   267 |   return(Val_sexp(Sexp_val(sexp)->u.promsxp.env));
-       |                                 ^~
[ERROR] The compilation of ocaml-r.0.1.1 failed at "dune build -p ocaml-r -j 39".
build failed... 

=== STDERR ===

2026-07-10 04:59.19: FAILED: build ocaml-r.0.1.1
2026-07-10 04:59.19: Job failed: build failed: ocaml-r.0.1.1