=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for ocaml-text-0.8nb11 File "./setup.ml", line 325, characters 20-36: 325 | String.compare (String.lowercase s1) (String.lowercase s2) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "./setup.ml", line 325, characters 42-58: 325 | String.compare (String.lowercase s1) (String.lowercase s2) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "./setup.ml", line 334, characters 14-30: 334 | (String.lowercase s1) = (String.lowercase s2) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "./setup.ml", line 334, characters 38-54: 334 | (String.lowercase s1) = (String.lowercase s2) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "./setup.ml", line 337, characters 25-41: 337 | Hashtbl.hash (String.lowercase s) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "./setup.ml", line 375, characters 10-26: 375 | String.lowercase buf ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "./setup.ml", line 481, characters 13-29: 481 | String.lowercase ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii/StringLabels.lowercase_ascii instead. File "./setup.ml", line 1388, characters 23-41: 1388 | 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 1832, characters 16-33: 1832 | concat dir (String.capitalize base) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "./setup.ml", line 1838, characters 16-35: 1838 | concat dir (String.uncapitalize base) ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "setup.ml", line 2916, characters 10-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2922, characters 10-21: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2925, characters 23-34: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2928, characters 20-34: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2931, characters 10-27: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 2934, characters 16-28: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2935, characters 15-27: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 2935, characters 32-42: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 2935, characters 48-61: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 2936, characters 16-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2937, characters 16-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 2938, characters 16-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 3088, characters 4-21: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3107, characters 24-40: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 3109, characters 21-33: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 3110, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3110, characters 41-53: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3112, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3112, characters 41-54: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3114, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3114, characters 50-62: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3116, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3116, characters 50-63: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3118, characters 20-32: Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "setup.ml", line 3131, characters 15-27: Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "setup.ml", line 3229, 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 5847, characters 11-28: Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii/StringLabels.capitalize_ascii instead. File "setup.ml", line 5848, characters 11-30: Alert deprecated: Stdlib.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "setup.ml", line 6484, characters 33-42: Warning 6 [labels-omitted]: label what was omitted in the application of this function. File "setup.ml", line 6485, characters 36-45: Warning 6 [labels-omitted]: label what was omitted in the application of this function. /opt/pkg/bin/ocamlopt.opt unix.cmxa -I /opt/pkg/lib/ocaml/site-lib/ocamlbuild /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild File "_tags", line 36, characters 18-26: Warning: the tag "pkg_pcre" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. File "_tags", line 41, characters 21-31: Warning: the tag "pkg_camlp4" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. File "_tags", line 42, characters 21-38: Warning: the tag "pkg_camlp4.extend" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. File "_tags", line 43, characters 21-44: Warning: the tag "pkg_camlp4.quotations.o" is not used in any flag or dependency declaration, so it will have no effect; it may be a typo. Otherwise you can use `mark_tag_used` in your myocamlbuild.ml to disable this warning. /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -g -c src/ml_text.c + /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -g -c src/ml_text.c src/ml_text.c:114:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *in_bytes = String_val(buf_val) + Long_val(pos_val); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ml_text.c:161:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *out_bytes = String_val(buf_val) + Long_val(pos_val); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ml_text.c:244:9: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *src_bytes = String_val(str); ^ ~~~~~~~~~~~~~~~ src/ml_text.c:290:10: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] memcpy(String_val(result), dst_buffer, dst_bytes - dst_buffer); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/pkg/lib/ocaml/caml/mlvalues.h:290:23: note: expanded from macro 'String_val' #define String_val(x) ((const char *) Bp_val(x)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/secure/_string.h:63:27: note: expanded from macro 'memcpy' __builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest)) ^~~~ 4 warnings generated. mv ml_text.o src/ml_text.o /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlmklib -o src/text_stubs -g -liconv src/ml_text.o /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamldep -package bigarray -package bytes -modules src/text.mli > src/text.mli.depends /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamldep -package bigarray -package bytes -modules src/encoding.mli > src/encoding.mli.depends /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/encoding.cmi src/encoding.mli /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/text.cmi src/text.mli /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamldep -package bigarray -package bytes -modules src/text.ml > src/text.ml.depends /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamldep -package bigarray -package bytes -modules src/encoding.ml > src/encoding.ml.depends /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/text.cmo src/text.ml /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/encoding.cmo src/encoding.ml + /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/encoding.cmo src/encoding.ml File "src/encoding.ml", line 53, characters 12-26: 53 | else if Char.lowercase a.[i] = Char.lowercase b.[i] then ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.lowercase Use Char.lowercase_ascii instead. File "src/encoding.ml", line 53, characters 35-49: 53 | else if Char.lowercase a.[i] = Char.lowercase b.[i] then ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.lowercase Use Char.lowercase_ascii instead. /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -a -dllib -ltext_stubs -cclib -ltext_stubs -cclib -liconv -I src src/encoding.cmo src/text.cmo -o src/text.cma /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/encoding.cmx src/encoding.ml + /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/encoding.cmx src/encoding.ml File "src/encoding.ml", line 53, characters 12-26: 53 | else if Char.lowercase a.[i] = Char.lowercase b.[i] then ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.lowercase Use Char.lowercase_ascii instead. File "src/encoding.ml", line 53, characters 35-49: 53 | else if Char.lowercase a.[i] = Char.lowercase b.[i] then ^^^^^^^^^^^^^^ Alert deprecated: Stdlib.Char.lowercase Use Char.lowercase_ascii instead. /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/text.cmx src/text.ml /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -a -cclib -ltext_stubs -cclib -liconv -I src src/encoding.cmx src/text.cmx -o src/text.cmxa /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -shared -I src -cclib -liconv -I src src/text.cmxa src/encoding.cmx src/text.cmx -o src/text.cmxs /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -g -c src/ml_text_bigarray.c mv ml_text_bigarray.o src/ml_text_bigarray.o /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlmklib -o src/bigarray_stubs -g -liconv src/ml_text_bigarray.o /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamldep -package bigarray -package bytes -modules src/encoding_bigarray.mli > src/encoding_bigarray.mli.depends /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/encoding_bigarray.cmi src/encoding_bigarray.mli /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamldep -package bigarray -package bytes -modules src/encoding_bigarray.ml > src/encoding_bigarray.ml.depends /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/encoding_bigarray.cmo src/encoding_bigarray.ml /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -a -dllib -lbigarray_stubs -cclib -lbigarray_stubs -cclib -liconv -I src src/encoding_bigarray.cmo -o src/bigarray.cma /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -package bigarray -package bytes -I src -o src/encoding_bigarray.cmx src/encoding_bigarray.ml /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -a -cclib -lbigarray_stubs -cclib -liconv -I src src/encoding_bigarray.cmx -o src/bigarray.cmxa /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -shared bigarray.cmxa -I src -cclib -liconv -I src src/bigarray.cmxa src/encoding_bigarray.cmx -o src/bigarray.cmxs /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamldep -package bytes -modules tests/test.ml > tests/test.ml.depends /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlc -c -g -annot -bin-annot -I src -package bytes -I tests -I src -o tests/test.cmo tests/test.ml /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -c -g -annot -bin-annot -I src -package bytes -I tests -I src -o tests/test.cmx tests/test.ml /Users/pbulk/build/textproc/ocaml-text/work/.buildlink/bin/ocamlfind ocamlopt -g -I src -linkpkg -package bytes -I src -I tests src/text.cmxa tests/test.cmx -o tests/test.native + /opt/pkg/bin/ocamlopt.opt unix.cmxa -I /opt/pkg/lib/ocaml/site-lib/ocamlbuild /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /opt/pkg/lib/ocaml/site-lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild File "myocamlbuild.ml", line 155, characters 10-27: 155 | Stream.of_channel chn ^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 161, characters 10-21: 161 | Stream.from ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 164, characters 23-34: 164 | match Stream.next st with ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 167, characters 20-34: 167 | with Stream.Failure -> None) ^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 170, characters 10-27: 170 | Genlex.make_lexer ["="] st_line ^^^^^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "myocamlbuild.ml", line 173, characters 16-28: 173 | match Stream.npeek 3 lexer with ^^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 174, characters 15-27: 174 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> ^^^^^^^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "myocamlbuild.ml", line 174, characters 32-42: 174 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> ^^^^^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "myocamlbuild.ml", line 174, characters 48-61: 174 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> ^^^^^^^^^^^^^ Alert deprecated: module Stdlib.Genlex Use the camlp-streams library instead. File "myocamlbuild.ml", line 175, characters 16-27: 175 | Stream.junk lexer; ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 176, characters 16-27: 176 | Stream.junk lexer; ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 177, characters 16-27: 177 | Stream.junk lexer; ^^^^^^^^^^^ Alert deprecated: module Stdlib.Stream Use the camlp-streams library instead. File "myocamlbuild.ml", line 518, characters 43-62: 518 | List.map (fun m -> (String.uncapitalize m) ^ ".cmi") ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Ocamlbuild_plugin.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead. File "myocamlbuild.ml", line 531, characters 51-70: 531 | List.map (fun m -> dir^"/"^(String.uncapitalize m)^".cmi") ^^^^^^^^^^^^^^^^^^^ Alert deprecated: Ocamlbuild_plugin.String.uncapitalize Use String.uncapitalize_ascii/StringLabels.uncapitalize_ascii instead.