Processing: [default: loading data] [archetype.1.5.3: dl] [archetype.1.5.3: extract] -> retrieved archetype.1.5.3 (https://opam.ocaml.org/cache) [archetype: dune build] + /home/opam/.opam/default/bin/dune "build" "-p" "archetype" "-j" "32" "@install" (CWD=/home/opam/.opam/default/.opam-switch/build/archetype.1.5.3) - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -rectypes -w -20 -w -30 -w -7 -w -17 -g -bin-annot -bin-annot-occurrences -I src/.archetype.objs/byte -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/menhirLib -I /home/opam/.opam/default/lib/num -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/ppx_deriving/runtime -I /home/opam/.opam/default/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/default/lib/result -I /home/opam/.opam/default/lib/visitors/runtime -I /home/opam/.opam/default/lib/xmlm -I /home/opam/.opam/default/lib/yojson -no-alias-deps -open Archetype -o src/.archetype.objs/byte/archetype__Typing.cmo -c -impl src/typing.pp.ml) - File "src/typing.ml", line 426, characters 37-43: - 426 | let distance ?(autoview = false) ?(for_eq = false) ~(from_ : A.ptyp) ~(to_ : A.ptyp) = - ^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - - File "src/typing.ml", line 426, characters 17-25: - 426 | let distance ?(autoview = false) ?(for_eq = false) ~(from_ : A.ptyp) ~(to_ : A.ptyp) = - ^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - - File "src/typing.ml", line 467, characters 28-34: - 467 | let compatible ?autoview ?for_eq ~(from_ : A.ptyp) ~(to_ : A.ptyp) = - ^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - - File "src/typing.ml", line 467, characters 18-26: - 467 | let compatible ?autoview ?for_eq ~(from_ : A.ptyp) ~(to_ : A.ptyp) = - ^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -rectypes -w -20 -g -bin-annot -bin-annot-occurrences -I src/.api.eobjs/byte -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/js_of_ocaml -I /home/opam/.opam/default/lib/js_of_ocaml-compiler/runtime -I /home/opam/.opam/default/lib/menhirLib -I /home/opam/.opam/default/lib/num -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/ppx_deriving/runtime -I /home/opam/.opam/default/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/default/lib/result -I /home/opam/.opam/default/lib/visitors/runtime -I /home/opam/.opam/default/lib/xmlm -I /home/opam/.opam/default/lib/yojson -I src/.archetype.objs/byte -no-alias-deps -o src/.api.eobjs/byte/dune__exe__Api.cmo -c -impl src/api.pp.ml) - File "src/api.ml", line 107, characters 32-50: - 107 | match Js.Opt.to_option (Js.js_error_of_exn exn) with - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: Js_of_ocaml.Js.js_error_of_exn - [since 4.0] Use [Js_error.of_exn] instead. - - File "src/api.ml", line 109, characters 22-39: - 109 | | Some err -> Js.raise_js_error err - ^^^^^^^^^^^^^^^^^ - Alert deprecated: Js_of_ocaml.Js.raise_js_error - [since 4.0] Use [Js_error.raise_] instead. - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -rectypes -w -20 -w -30 -w -7 -w -17 -g -I src/.archetype.objs/byte -I src/.archetype.objs/native -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/menhirLib -I /home/opam/.opam/default/lib/num -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/ppx_deriving/runtime -I /home/opam/.opam/default/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/default/lib/result -I /home/opam/.opam/default/lib/visitors/runtime -I /home/opam/.opam/default/lib/xmlm -I /home/opam/.opam/default/lib/yojson -cmi-file src/.archetype.objs/byte/archetype__Typing.cmi -no-alias-deps -open Archetype -o src/.archetype.objs/native/archetype__Typing.cmx -c -impl src/typing.pp.ml) - File "src/typing.ml", line 426, characters 37-43: - 426 | let distance ?(autoview = false) ?(for_eq = false) ~(from_ : A.ptyp) ~(to_ : A.ptyp) = - ^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - - File "src/typing.ml", line 426, characters 17-25: - 426 | let distance ?(autoview = false) ?(for_eq = false) ~(from_ : A.ptyp) ~(to_ : A.ptyp) = - ^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - - File "src/typing.ml", line 467, characters 28-34: - 467 | let compatible ?autoview ?for_eq ~(from_ : A.ptyp) ~(to_ : A.ptyp) = - ^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - - File "src/typing.ml", line 467, characters 18-26: - 467 | let compatible ?autoview ?for_eq ~(from_ : A.ptyp) ~(to_ : A.ptyp) = - ^^^^^^^^ - Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased. - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -rectypes -w -20 -g -I src/.api.eobjs/byte -I src/.api.eobjs/native -I /home/opam/.opam/default/lib/cstruct -I /home/opam/.opam/default/lib/hex -I /home/opam/.opam/default/lib/js_of_ocaml -I /home/opam/.opam/default/lib/js_of_ocaml-compiler/runtime -I /home/opam/.opam/default/lib/menhirLib -I /home/opam/.opam/default/lib/num -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/ppx_deriving/runtime -I /home/opam/.opam/default/lib/ppx_deriving_yojson/runtime -I /home/opam/.opam/default/lib/result -I /home/opam/.opam/default/lib/visitors/runtime -I /home/opam/.opam/default/lib/xmlm -I /home/opam/.opam/default/lib/yojson -I src/.archetype.objs/byte -I src/.archetype.objs/native -cmi-file src/.api.eobjs/byte/dune__exe__Api.cmi -no-alias-deps -o src/.api.eobjs/native/dune__exe__Api.cmx -c -impl src/api.pp.ml) - File "src/api.ml", line 107, characters 32-50: - 107 | match Js.Opt.to_option (Js.js_error_of_exn exn) with - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: Js_of_ocaml.Js.js_error_of_exn - [since 4.0] Use [Js_error.of_exn] instead. - - File "src/api.ml", line 109, characters 22-39: - 109 | | Some err -> Js.raise_js_error err - ^^^^^^^^^^^^^^^^^ - Alert deprecated: Js_of_ocaml.Js.raise_js_error - [since 4.0] Use [Js_error.raise_] instead. -> compiled archetype.1.5.3 -> installed archetype.1.5.3