Build:
  1. 0
2026-10-06 18:43.57: New job: build bls12-381.19.1 (61421bcd9b7c)
2026-10-06 18:43.57: Waiting for resource in pool day11-builds
2026-10-06 18:47.44: Got resource from pool day11-builds
2026-10-06 18:47.44: [profile oxcaml-odoc-master] build bls12-381.19.1
2026-10-06 18:47.44: build bls12-381.19.1 (61421bcd9b7c)
=== DEPENDENCIES (40 transitive) ===
  base-threads.base                                  464810371b96
  base-unix.base                                     4596d20d2cf7
  basement.v0.18~preview.130.106+341                 9841cadec557
  cmdliner.2.1.1                                     5ab261dc5b2f
  conf-autoconf.1                                    8ee1e3913008
  conf-gmp.5                                         c2adbec9a470
  conf-which.1                                       65c43ca119c3
  cstruct.6.3.0                                      b6528387a7d7
  dune.3.22.2+ox                                     9158bd0e098d
  fmt.0.11.0                                         0d6fb032e96a
  gen.1.1                                            d3166c37603b
  hex.1.5.0                                          2efe89a36b04
  integers.0.8.0                                     3b20eae8b330
  integers_stubs_js.1.0                              b4717efadc48
  js_of_ocaml.6.3.2+ox                               bcefde403a9e
  js_of_ocaml-compiler.6.3.2+ox                      c2a30e29b9a3
  menhir.20250912                                    9f78bd497ab6
  menhirCST.20250912                                 acad386e7593
  menhirLib.20250912                                 ee7753d6f786
  menhirSdk.20250912                                 27edb5726e25
  ocaml.5.2.0                                        879ae859f814
  ocaml-compiler-libs.v0.17.0+ox                     598bb8a6526c
  ocaml-config.3                                     37112a8040f8
  ocaml-variants.5.2.0+ox                            8119d9341417
  ocamlbuild.0.16.1+ox                               c3cff747c7d3
  ocamlfind.1.9.8+ox                                 665ae3389aa8
  oxcaml-compiler.5.2.0minus39                       72925b65bf23
  ppx_derivers.1.2.1                                 ce8a3d704727
  ppxlib.0.33.0+ox2                                  8c73c0c4d8b8
  ppxlib_ast.0.33.0+ox2                              5b27258ee8c8
  ppxlib_jane.v0.18~preview.130.106+341              80aa18179975
  sedlex.3.7+ox                                      bf83d6b0bb1c
  seq.base                                           4e4fc87282b8
  sexp_type.v0.18~preview.130.106+341                d7b92c288522
  sexplib0.v0.18~preview.130.106+341                 48e488b6840d
  stdlib-shims.0.3.0                                 dad692a03c41
  topkg.1.1.1+ox                                     1a471d9bef47
  yojson.2.2.2+ox                                    3d81eae8c626
  zarith.1.12+ox3                                    917487f93f0e
  zarith_stubs_js.v0.18~preview.130.106+341          1e36b28b4933
=== STDOUT ===
Processing: [default: loading data]
[bls12-381.19.1: dl]
[bls12-381.19.1: extract]
-> retrieved bls12-381.19.1  (https://opam.ocaml.org/cache)
[bls12-381: rm vendors]
+ /usr/bin/rm "-r" "vendors" "contrib" (CWD=/home/opam/.opam/default/.opam-switch/build/bls12-381.19.1)
[bls12-381: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "bls12-381" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/bls12-381.19.1)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -bin-annot-cms -I src/lib_bls12_381/.bls12_381.objs/byte -I src/lib_bls12_381/.bls12_381.objs/public_cmi -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/integers_stubs_js -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/zarith -I /home/opam/.opam/default/lib/zarith_stubs_js -no-alias-deps -open Bls12_381__ -o src/lib_bls12_381/.bls12_381.objs/byte/bls12_381__Fq.cmo -c -impl src/lib_bls12_381/fq.ml)
- File "src/lib_bls12_381/fq.ml", line 97, characters 56-66:
- 97 |       Bytes.init size_in_bytes (fun _ -> char_of_int @@ random_int 256)
-                                                              ^^^^^^^^^^
- Error: The value "random_int" is "local"
-        but is expected to be "global"
-          because it is used inside the function at file "src/lib_bls12_381/fq.ml", line 97, characters 31-71
-          which is expected to be "global".
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -bin-annot-cms -I src/lib_bls12_381/.bls12_381.objs/byte -I src/lib_bls12_381/.bls12_381.objs/public_cmi -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/integers_stubs_js -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/zarith -I /home/opam/.opam/default/lib/zarith_stubs_js -no-alias-deps -open Bls12_381__ -o src/lib_bls12_381/.bls12_381.objs/byte/bls12_381__Fr.cmo -c -impl src/lib_bls12_381/fr.ml)
- File "src/lib_bls12_381/fr.ml", line 158, characters 56-66:
- 158 |       Bytes.init size_in_bytes (fun _ -> char_of_int @@ random_int 256)
-                                                               ^^^^^^^^^^
- Error: The value "random_int" is "local"
-        but is expected to be "global"
-          because it is used inside the function at file "src/lib_bls12_381/fr.ml", line 158, characters 31-71
-          which is expected to be "global".
- (cd _build/default/src/lib_bls12_381 && /usr/bin/gcc -Wall -Wextra -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/integers_stubs_js -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/zarith -I /home/opam/.opam/default/lib/zarith_stubs_js -o blst_bindings_stubs.o -c blst_bindings_stubs.c)
- In file included from blst_bindings_stubs.c:4:
- /home/opam/.opam/default/lib/integers/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/ocaml/caml/custom.h:20,
-                  from caml_bls12_381_stubs.h:6,
-                  from blst_bindings_stubs.c:3:
- /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/integers/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))
-       |         ^~~~~~~~~
[ERROR] The compilation of bls12-381.19.1 failed at "dune build -p bls12-381 -j 39".
build failed... 

=== STDERR ===

2026-10-06 18:48.53: FAILED: build bls12-381.19.1
2026-10-06 18:48.53: Job failed: build failed: bls12-381.19.1