Build:
  1. 0
2026-10-06 18:05.41: New job: build bls12-381.6.0.1 (1e747ac7648b)
2026-10-06 18:05.41: Waiting for resource in pool day11-builds
2026-10-06 18:14.32: Got resource from pool day11-builds
2026-10-06 18:14.32: [profile oxcaml-odoc-master] build bls12-381.6.0.1
2026-10-06 18:14.32: build bls12-381.6.0.1 (1e747ac7648b)
=== DEPENDENCIES (21 transitive) ===
  base-threads.base                                  464810371b96
  base-unix.base                                     4596d20d2cf7
  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
  ff-sig.0.6.2                                       8e42a7c9d2ed
  fmt.0.11.0                                         0d6fb032e96a
  hex.1.5.0                                          2efe89a36b04
  integers.0.8.0                                     3b20eae8b330
  ocaml.5.2.0                                        879ae859f814
  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
  stdlib-shims.0.3.0                                 dad692a03c41
  topkg.1.1.1+ox                                     1a471d9bef47
  zarith.1.12+ox3                                    917487f93f0e
=== STDOUT ===
Processing: [default: loading data]
[bls12-381.6.0.1: dl]
[bls12-381.6.0.1: extract]
-> retrieved bls12-381.6.0.1  (https://opam.ocaml.org/cache)
[bls12-381: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "bls12-381" "-j" "39" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/bls12-381.6.0.1)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -bin-annot-cms -I src/.bls12_381.objs/byte -I src/.bls12_381.objs/public_cmi -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/ff-sig -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/zarith -no-alias-deps -open Bls12_381__ -o src/.bls12_381.objs/byte/bls12_381__Fq.cmo -c -impl src/fq.ml)
- File "src/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/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/.bls12_381.objs/byte -I src/.bls12_381.objs/public_cmi -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/ff-sig -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/zarith -no-alias-deps -open Bls12_381__ -o src/.bls12_381.objs/byte/bls12_381__Fr.cmo -c -impl src/fr.ml)
- File "src/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/fr.ml", line 158, characters 31-71
-          which is expected to be "global".
- (cd _build/default/src && ./build_blst.sh)
- + cc -O -fno-builtin -fPIC -Wall -Wextra -Werror -D__ADX__ -Wno-missing-braces -mno-avx -c ./src/server.c
- + cc -O -fno-builtin -fPIC -Wall -Wextra -Werror -D__ADX__ -Wno-missing-braces -mno-avx -c ./build/assembly.S
- + ar rc libblst.a assembly.o server.o
- + cc -shared -o libblst.so -Wl,--whole-archive,libblst.a,--no-whole-archive -O -fno-builtin -fPIC -Wall -Wextra -Werror -D__ADX__ -Wno-missing-braces -mno-avx -Wl,-Bsymbolic,--version-script=/tmp/build_8179eb_dune/ld.blst.40
- (cd _build/default/src && /usr/bin/cp libblst/libblst.dylib dllblst.so)
- cp: cannot stat 'libblst/libblst.dylib': No such file or directory
- (cd _build/default/src && /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/ff-sig -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/stdlib-shims -I /home/opam/.opam/default/lib/zarith -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.6.0.1 failed at "dune build -p bls12-381 -j 39 @install".
build failed... 

=== STDERR ===

2026-10-06 18:14.47: FAILED: build bls12-381.6.0.1
2026-10-06 18:14.47: Job failed: build failed: bls12-381.6.0.1