Build:
- 0
2026-06-16 12:13.00: New job: build secp256k1.0.1.5 (c7fe37e85129)
2026-06-16 12:13.00: Waiting for resource in pool day11-builds
2026-06-16 12:50.17: Got resource from pool day11-builds
2026-06-16 12:50.17: [profile full] build secp256k1.0.1.5
2026-06-16 12:50.17: build secp256k1.0.1.5 (c7fe37e85129)
=== DEPENDENCIES (13 transitive) ===
base-threads.base b7164ff76afe
base-unix.base 839dc585f12d
conf-pkg-config.5 64c6b37d622b
conf-secp256k1.2 d1098a268d07
dune.3.23.1 5402470d931c
oasis.0.4.11 c7c4c52b1bdc
ocaml.4.14.4 cb826ea44eb2
ocaml-base-compiler.4.14.4 d2f775f983d7
ocaml-config.2 669e0fcf9e4d
ocamlbuild.0.16.1 8f6c52e6fce8
ocamlfind.1.9.8 6025f4a8e98e
ocamlify.0.0.1 7283ee0bdaa9
ocamlmod.0.1.1 77e75eab2138
=== STDOUT ===
Processing: [default: loading data]
[secp256k1.0.1.5: dl]
[secp256k1.0.1.5: extract]
-> retrieved secp256k1.0.1.5 (https://opam.ocaml.org/cache)
[secp256k1: oasis setup]
+ /home/opam/.opam/default/bin/oasis "setup" (CWD=/home/opam/.opam/default/.opam-switch/build/secp256k1.0.1.5)
[secp256k1: ./configure]
+ /home/opam/.opam/default/.opam-switch/build/secp256k1.0.1.5/./configure "--prefix=/home/opam/.opam/default" (CWD=/home/opam/.opam/default/.opam-switch/build/secp256k1.0.1.5)
- File "./setup.ml", line 575, characters 4-15:
- 575 | Stream.from next
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 603, characters 19-36:
- 603 | let strm = Stream.of_channel chn in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 610, characters 37-48:
- 610 | Buffer.add_char buf (Stream.next strm);
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 613, characters 17-31:
- 613 | with Stream.Failure ->
- ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1431, characters 16-33:
- 1431 | let lxr = Genlex.make_lexer [] in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1433, characters 22-38:
- 1433 | let st = lxr (Stream.of_string s) in
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1434, characters 14-26:
- 1434 | match Stream.npeek 3 st with
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 11-23:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 28-40:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 11-23:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 28-41:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1437, characters 11-24:
- 1437 | | [Genlex.String str] -> String str
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1438, characters 11-23:
- 1438 | | [Genlex.Ident nm] -> Ident nm
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1775, characters 22-40:
- 1775 | let compare = Pervasives.compare
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 3176, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3179, characters 21-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3182, characters 18-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3184, characters 6-23:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3187, characters 12-24:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 9-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 26-36:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 42-55:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 25-36:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 42-53:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3201, characters 17-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3326, characters 16-33:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3345, characters 22-38:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3347, characters 17-29:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 37-49:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 37-50:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 46-58:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 46-59:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3356, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3369, characters 13-25:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3467, characters 16-34:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 4518, characters 21-38:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4520, characters 19-31:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 16-29:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 33-46:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 15-26:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 32-43:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
-
- Configuration:
- ocamlfind: ........................................... /home/opam/.opam/default/bin/ocamlfind
- ocamlc: .............................................. /home/opam/.opam/default/bin/ocamlc.opt
- ocamlopt: ............................................ /home/opam/.opam/default/bin/ocamlopt.opt
- ocamlbuild: .......................................... /home/opam/.opam/default/bin/ocamlbuild
- Package name: ........................................ secp256k1
- Package version: ..................................... 0.1.5
- os_type: ............................................. Unix
- system: .............................................. linux
- architecture: ........................................ amd64
- ccomp_type: .......................................... cc
- ocaml_version: ....................................... 4.14.4
- standard_library_default: ............................ /home/opam/.opam/default/lib/ocaml
- standard_library: .................................... /home/opam/.opam/default/lib/ocaml
- bytecomp_c_compiler: ................................. gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64
- native_c_compiler: ................................... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64
- model: ............................................... default
- ext_obj: ............................................. .o
- ext_asm: ............................................. .s
- ext_lib: ............................................. .a
- ext_dll: ............................................. .so
- default_executable_name: ............................. a.out
- systhread_supported: ................................. true
- Install architecture-independent files dir: .......... /home/opam/.opam/default
- Install architecture-dependent files in dir: ......... $prefix
- User executables: .................................... $exec_prefix/bin
- System admin executables: ............................ $exec_prefix/sbin
- Program executables: ................................. $exec_prefix/libexec
- Read-only single-machine data: ....................... $prefix/etc
- Modifiable architecture-independent data: ............ $prefix/com
- Modifiable single-machine data: ...................... $prefix/var
- Object code libraries: ............................... $exec_prefix/lib
- Read-only arch-independent data root: ................ $prefix/share
- Read-only architecture-independent data: ............. $datarootdir
- Info documentation: .................................. $datarootdir/info
- Locale-dependent data: ............................... $datarootdir/locale
- Man documentation: ................................... $datarootdir/man
- Documentation root: .................................. $datarootdir/doc/$pkg_name
- HTML documentation: .................................. $docdir
- DVI documentation: ................................... $docdir
- PDF documentation: ................................... $docdir
- PS documentation: .................................... $docdir
- findlib_version: ..................................... 1.9.8
- is_native: ........................................... true
- suffix_program: ......................................
- Remove a file.: ...................................... rm -f
- Remove a directory.: ................................. rm -rf
- Turn ocaml debug flag on: ............................ true
- Turn ocaml profile flag on: .......................... false
- Compiler support generation of .cmxs.: ............... true
- OCamlbuild additional flags: .........................
- Create documentations: ............................... true
- Compile tests executable and library and run them: ... false
- ocamldoc: ............................................ /home/opam/.opam/default/bin/ocamldoc
- pkg_unix: ............................................ /home/opam/.opam/default/lib/ocaml
-
[secp256k1: make]
+ /usr/bin/make (CWD=/home/opam/.opam/default/.opam-switch/build/secp256k1.0.1.5)
- ocaml setup.ml -build
- File "./setup.ml", line 575, characters 4-15:
- 575 | Stream.from next
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 603, characters 19-36:
- 603 | let strm = Stream.of_channel chn in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 610, characters 37-48:
- 610 | Buffer.add_char buf (Stream.next strm);
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 613, characters 17-31:
- 613 | with Stream.Failure ->
- ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1431, characters 16-33:
- 1431 | let lxr = Genlex.make_lexer [] in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1433, characters 22-38:
- 1433 | let st = lxr (Stream.of_string s) in
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1434, characters 14-26:
- 1434 | match Stream.npeek 3 st with
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 11-23:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 28-40:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 11-23:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 28-41:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1437, characters 11-24:
- 1437 | | [Genlex.String str] -> String str
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1438, characters 11-23:
- 1438 | | [Genlex.Ident nm] -> Ident nm
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1775, characters 22-40:
- 1775 | let compare = Pervasives.compare
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 3176, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3179, characters 21-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3182, characters 18-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3184, characters 6-23:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3187, characters 12-24:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 9-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 26-36:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 42-55:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 25-36:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 42-53:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3201, characters 17-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3326, characters 16-33:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3345, characters 22-38:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3347, characters 17-29:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 37-49:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 37-50:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 46-58:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 46-59:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3356, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3369, characters 13-25:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3467, characters 16-34:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 4518, characters 21-38:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4520, characters 19-31:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 16-29:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 33-46:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 15-26:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 32-43:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- + /home/opam/.opam/default/bin/ocamlc.opt -config
- + /home/opam/.opam/default/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/default/lib/ocamlbuild /home/opam/.opam/default/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/default/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- + /home/opam/.opam/default/bin/ocamlc.opt -config
- + /home/opam/.opam/default/bin/ocamlfind ocamlc -g -ccopt -O -c src/secp256k1_wrap.c
- + /home/opam/.opam/default/bin/ocamlfind ocamlc -g -ccopt -O -c src/secp256k1_wrap.c
- In file included from src/secp256k1_wrap.c:1:
- src/secp256k1_wrap.c: In function 'ml_secp256k1_context_randomize':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'hex_to_binary' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- src/secp256k1_wrap.c:88:47: note: in expansion of macro 'String_val'
- 88 | unsigned char *sdata = hex_to_binary (String_val(ml_seed));
- | ^~~~~~~~~~
- src/secp256k1_wrap.c:26:37: note: expected 'char *' but argument is of type 'const char *'
- 26 | unsigned char *hex_to_binary (char *hex) {
- | ~~~~~~^~~
- src/secp256k1_wrap.c: In function 'ml_secp256k1_ec_pubkey_create':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'hex_to_binary' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- src/secp256k1_wrap.c:123:66: note: in expansion of macro 'String_val'
- 123 | unsigned char *seckey = (unsigned char *) hex_to_binary (String_val(ml_seckey));
- | ^~~~~~~~~~
- src/secp256k1_wrap.c:26:37: note: expected 'char *' but argument is of type 'const char *'
- 26 | unsigned char *hex_to_binary (char *hex) {
- | ~~~~~~^~~
- src/secp256k1_wrap.c: In function 'ml_secp256k1_ecdsa_verify':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'hex_to_binary' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- src/secp256k1_wrap.c:148:72: note: in expansion of macro 'String_val'
- 148 | int r = secp256k1_ec_pubkey_parse(ctx, &pubkey, hex_to_binary (String_val(ml_pubkey)), 65);
- | ^~~~~~~~~~
- src/secp256k1_wrap.c:26:37: note: expected 'char *' but argument is of type 'const char *'
- 26 | unsigned char *hex_to_binary (char *hex) {
- | ~~~~~~^~~
- src/secp256k1_wrap.c:151:64: warning: passing argument 1 of 'hex_to_binary' makes pointer from integer without a cast [-Wint-conversion]
- 151 | unsigned char *msg = (unsigned char *) (hex_to_binary (ml_msg));
- | ^~~~~~
- | |
- | value {aka long int}
- src/secp256k1_wrap.c:26:37: note: expected 'char *' but argument is of type 'value' {aka 'long int'}
- 26 | unsigned char *hex_to_binary (char *hex) {
- | ~~~~~~^~~
- src/secp256k1_wrap.c:155:31: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion]
- 155 | size_t size = strlen (ml_signature) / 2;
- | ^~~~~~~~~~~~
- | |
- | value {aka long int}
- In file included from src/secp256k1_wrap.c:8:
- /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'value' {aka 'long int'}
- 407 | extern size_t strlen (const char *__s)
- | ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'hex_to_binary' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- src/secp256k1_wrap.c:156:73: note: in expansion of macro 'String_val'
- 156 | secp256k1_ecdsa_signature_parse_der (ctx, &sign, hex_to_binary (String_val(ml_signature)), size);
- | ^~~~~~~~~~
- src/secp256k1_wrap.c:26:37: note: expected 'char *' but argument is of type 'const char *'
- 26 | unsigned char *hex_to_binary (char *hex) {
- | ~~~~~~^~~
- src/secp256k1_wrap.c: In function 'ml_secp256k1_ecdsa_sign':
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'hex_to_binary' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- src/secp256k1_wrap.c:170:67: note: in expansion of macro 'String_val'
- 170 | unsigned char *seckey = (unsigned char *) (hex_to_binary (String_val(ml_seckey)));
- | ^~~~~~~~~~
- src/secp256k1_wrap.c:26:37: note: expected 'char *' but argument is of type 'const char *'
- 26 | unsigned char *hex_to_binary (char *hex) {
- | ~~~~~~^~~
- /home/opam/.opam/default/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'hex_to_binary' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- src/secp256k1_wrap.c:173:64: note: in expansion of macro 'String_val'
- 173 | unsigned char *msg = (unsigned char *) (hex_to_binary (String_val(ml_msg)));
- | ^~~~~~~~~~
- src/secp256k1_wrap.c:26:37: note: expected 'char *' but argument is of type 'const char *'
- 26 | unsigned char *hex_to_binary (char *hex) {
- | ~~~~~~^~~
- + mv secp256k1_wrap.o src/secp256k1_wrap.o
- + /home/opam/.opam/default/bin/ocamlfind ocamlmklib -o src/secp256k1_stubs -g -lsecp256k1 src/secp256k1_wrap.o
- + /home/opam/.opam/default/bin/ocamlfind ocamldep -package unix -modules src/secp256k1.mli > src/secp256k1.mli.depends
- + /home/opam/.opam/default/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O -package unix -I src -o src/secp256k1.cmi src/secp256k1.mli
- + /home/opam/.opam/default/bin/ocamlfind ocamldep -package unix -modules src/secp256k1.ml > src/secp256k1.ml.depends
- + /home/opam/.opam/default/bin/ocamlfind ocamlc -c -g -annot -bin-annot -ccopt -O -package unix -I src -o src/secp256k1.cmo src/secp256k1.ml
- + /home/opam/.opam/default/bin/ocamlfind ocamlc -a -dllib -lsecp256k1_stubs -cclib -lsecp256k1_stubs -cclib -lsecp256k1 -I src src/secp256k1.cmo -o src/secp256k1.cma
- + /home/opam/.opam/default/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -ccopt -O -package unix -I src -o src/secp256k1.cmx src/secp256k1.ml
- + /home/opam/.opam/default/bin/ocamlfind ocamlopt -a -cclib -lsecp256k1_stubs -cclib -lsecp256k1 -I src src/secp256k1.cmx -o src/secp256k1.cmxa
- + /home/opam/.opam/default/bin/ocamlfind ocamlopt -shared -I src -I src src/secp256k1.cmxa src/secp256k1.cmx -o src/secp256k1.cmxs
- + /home/opam/.opam/default/bin/ocamlfind ocamldep -package unix -modules test/test.ml > test/test.ml.depends
- + /home/opam/.opam/default/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package unix -I test -I src -o test/test.cmo test/test.ml
- + /home/opam/.opam/default/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -package unix -I test -I src -o test/test.cmx test/test.ml
- + /home/opam/.opam/default/bin/ocamlfind ocamlopt -g -I src -linkpkg -package unix -I src -I test src/secp256k1.cmxa test/test.cmx -o test/test.native
- + /home/opam/.opam/default/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/default/lib/ocamlbuild /home/opam/.opam/default/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/default/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
- File "myocamlbuild.ml", line 454, characters 8-19:
- 454 | Stream.from
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 457, characters 21-32:
- 457 | match Stream.next st with
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 460, characters 18-32:
- 460 | with Stream.Failure -> None)
- ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 462, characters 6-23:
- 462 | Genlex.make_lexer ["="] st_line
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 465, characters 12-24:
- 465 | match Stream.npeek 3 lxr with
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 9-21:
- 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 26-36:
- 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
- ^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 466, characters 42-55:
- 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 8-19:
- 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 25-36:
- 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 467, characters 42-53:
- 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "myocamlbuild.ml", line 479, characters 17-34:
- 479 | let st = Stream.of_channel chn in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
-> compiled secp256k1.0.1.5
[secp256k1: make install]
+ /usr/bin/make "install" (CWD=/home/opam/.opam/default/.opam-switch/build/secp256k1.0.1.5)
- ocaml setup.ml -install
- File "./setup.ml", line 575, characters 4-15:
- 575 | Stream.from next
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 603, characters 19-36:
- 603 | let strm = Stream.of_channel chn in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 610, characters 37-48:
- 610 | Buffer.add_char buf (Stream.next strm);
- ^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 613, characters 17-31:
- 613 | with Stream.Failure ->
- ^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1431, characters 16-33:
- 1431 | let lxr = Genlex.make_lexer [] in
- ^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1433, characters 22-38:
- 1433 | let st = lxr (Stream.of_string s) in
- ^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1434, characters 14-26:
- 1434 | match Stream.npeek 3 st with
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 11-23:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1435, characters 28-40:
- 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 11-23:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1436, characters 28-41:
- 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1437, characters 11-24:
- 1437 | | [Genlex.String str] -> String str
- ^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1438, characters 11-23:
- 1438 | | [Genlex.Ident nm] -> Ident nm
- ^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "./setup.ml", line 1775, characters 22-40:
- 1775 | let compare = Pervasives.compare
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 3176, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3179, characters 21-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3182, characters 18-32:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3184, characters 6-23:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3187, characters 12-24:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 9-21:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 26-36:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3188, characters 42-55:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 8-19:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 25-36:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3189, characters 42-53:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3201, characters 17-34:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3326, characters 16-33:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3345, characters 22-38:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3347, characters 17-29:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3348, characters 37-49:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3350, characters 37-50:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3352, characters 46-58:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3354, characters 46-59:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3356, characters 16-28:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 3369, characters 13-25:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 3467, characters 16-34:
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "setup.ml", line 4518, characters 21-38:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4520, characters 19-31:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 16-29:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4521, characters 33-46:
- Alert deprecated: module Stdlib.Genlex
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 15-26:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- File "setup.ml", line 4523, characters 32-43:
- Alert deprecated: module Stdlib.Stream
- Use the camlp-streams library instead.
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.mli
- Installed /home/opam/.opam/default/lib/secp256k1/libsecp256k1_stubs.a
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.cma
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.cmxa
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.a
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.cmxs
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.cmi
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.cmti
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.cmt
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.annot
- Installed /home/opam/.opam/default/lib/secp256k1/secp256k1.cmx
- Installed /home/opam/.opam/default/lib/stublibs/dllsecp256k1_stubs.so
- Installed /home/opam/.opam/default/lib/stublibs/dllsecp256k1_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/default/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/default/lib/secp256k1/META
-> installed secp256k1.0.1.5
[WARNING] Opam package conf-secp256k1.2 depends on the following system package that can no longer be found: libsecp256k1-dev
=== STDERR ===
2026-06-16 12:50.36: OK: build secp256k1.0.1.5 (runc: 10.1s, disk: 45KB)
2026-06-16 12:50.36: Job succeeded