Building on x86-bm-c9.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 63563b31af74: Pulling fs layer 63563b31af74: Verifying Checksum 63563b31af74: Download complete 63563b31af74: Pull complete Digest: sha256:8f6038a9795a3c7cc61b90b742e29558b247d69f92f73dea67cb146602ff83f6 Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-02-23 23:50.42 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-02-23 23:50.42 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 4022a684b64be8161a05cf897f492f8680792469")) 2025-02-23 23:50.42 ---> using "ced9ab1d6bac3c5f95cfdac2696c8d9202989b3f52ba62400bb20a10ac63d439" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2025-02-23 23:50.42 ---> using "69f716af23f9139c4566fb0532f54e56ee4f6773c11e689dc47229d6a744c7e1" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam switch create --repositories=default '5.3' '5.3.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-compiler.5.3.0 (cached) -> installed ocaml-compiler.5.3.0 -> installed ocaml-base-compiler.5.3.0 -> installed ocaml-config.3 -> installed ocaml.5.3.0 -> installed base-domains.base -> installed base-effects.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.3) 2025-02-23 23:50.42 ---> using "8cb80bdf8c98b441ca1a62ad13717befd2e70e905b796cad3ff69df4d26bf351" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-21-0817.39-F-2025-02-16-2015.54.pdiff [385 kB] - Fetched 654 kB in 3s (260 kB/s) - Reading package lists... - 2025-02-23 23:50.42 ---> using "aab064613a33ea1c8e4184107fb782b7e34e02d2710ba539b18cbd20a9d40c72" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "opam pin add -k version dune $(opam show -f version dune)")) dune is now pinned to version 3.17.2 The following actions will be performed: === install 1 package - install dune 3.17.2 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.17.2 (cached) -> installed dune.3.17.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-02-23 23:50.42 ---> using "ab68111ecaec8e96a659d3801d58f9f48b56993ae57778afc853e701c3286214" from cache /: (env DUNE_CACHE enabled) /: (env DUNE_CACHE_TRANSPORT direct) /: (env DUNE_CACHE_DUPLICATION copy) /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "curl -fsSL https://get.dune.build/install | sh")) #=#=# ##O#-# 0.1% 1.2% ## 3.1% ######### 12.7% ################## 26.1% ################################################################## 92.4% ######################################################################## 100.0% dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune To use dune you will need to source the file "$HOME/.local/share/dune/env/env.bash" (or similar as appropriate for your shell) export PATH="/home/opam/.local/bin:$PATH" To get started, run: dune --help 2025-02-23 23:50.42 ---> using "91706ab83e18623d5f5c55809c19ede302298d1fa58d418458556ddcfa9179ed" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "PLACE=$(mktemp -d) && cd $PLACE && echo '(lang dune 3.17)\ \n(package\ \n (name dummy)\ \n (allow_empty true)\ \n (depends (ocaml (= 5.3.0))))' > dune-project && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build")) Solution for dune.lock: - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-config.3 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 2025-02-23 23:50.42 ---> using "23d3c9485a3a95dd6f64bf73b0bd06b36016919a287108bba74001e847c99f7d" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune))) (network host) (shell "cd $HOME && opam source erlang.0.0.14 && cd erlang.0.0.14 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17)\ \n(lock_dir\ \n (repositories overlay default ))\ \n\ \n(repository\ \n (name default)\ \n (url \"git+https://github.com/ocaml/opam-repository.git\"))\ \n\ \n\ \n' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build")) Successfully extracted to /home/opam/erlang.0.0.14 Solution for dune.lock: - base.v0.17.1 - base-unix.base - cmdliner.1.3.0 - csexp.1.5.2 - dune-configurator.3.17.2 - menhir.20240715 - menhirCST.20240715 - menhirLib.20240715 - menhirSdk.20240715 - num.1.5-1 - ocaml.5.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - ocaml-compiler-libs.v0.17.0 - ocaml-config.3 - ocaml_intrinsics_kernel.v0.17.1 - parsexp.v0.17.0 - ppx_derivers.1.2.1 - ppx_sexp_conv.v0.17.0 - ppxlib.0.35.0 - ppxlib_jane.v0.17.2 - sexplib.v0.17.0 - sexplib0.v0.17.0 - stdlib-shims.0.3.0 Downloading ocaml-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 Building ocaml-config.3 Building ocaml.5.3.0 Downloading sexplib0.v0.17.0 Building sexplib0.v0.17.0 Downloading num.1.5-1 Building num.1.5-1 Downloading parsexp.v0.17.0 Building parsexp.v0.17.0 Downloading sexplib.v0.17.0 Building sexplib.v0.17.0 Building base-unix.base Downloading csexp.1.5.2 Building csexp.1.5.2 Downloading ppx_derivers.1.2.1 Building ppx_derivers.1.2.1 Downloading ocaml-compiler-libs.v0.17.0 Building ocaml-compiler-libs.v0.17.0 Downloading ocaml_intrinsics_kernel.v0.17.1 Building ocaml_intrinsics_kernel.v0.17.1 Downloading stdlib-shims.0.3.0 Building stdlib-shims.0.3.0 Downloading dune-configurator.3.17.2 Building dune-configurator.3.17.2 Downloading ppxlib.0.35.0 Building ppxlib.0.35.0 Downloading base.v0.17.1 Building base.v0.17.1 Downloading ppxlib_jane.v0.17.2 Building ppxlib_jane.v0.17.2 Downloading ppx_sexp_conv.v0.17.0 Building ppx_sexp_conv.v0.17.0 Downloading menhirLib.20240715 Downloading menhirSdk.20240715 Downloading menhirCST.20240715 Building menhirLib.20240715 Building menhirSdk.20240715 Building menhirCST.20240715 Downloading menhir.20240715 Building menhir.20240715 Downloading cmdliner.1.3.0 Building cmdliner.1.3.0 (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/comp_misc/.comp_misc.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -no-alias-deps -opaque -open Comp_misc -o src/compiler/comp_misc/.comp_misc.objs/byte/comp_misc__Target.cmo -c -impl src/compiler/comp_misc/target.ml) File "src/compiler/comp_misc/target.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/comp_misc/.comp_misc.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -no-alias-deps -opaque -open Comp_misc -o src/compiler/comp_misc/.comp_misc.objs/byte/comp_misc__Opts.cmo -c -impl src/compiler/comp_misc/opts.ml) File "src/compiler/comp_misc/opts.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && ../_private/default/.pkg/menhir/target/bin/menhir --explain --dump erlang/src/erl_parser.mly --base erlang/src/erl_parser --infer-write-query erlang/src/erl_parser__mock.ml.mock) Note: the nonterminal symbol list (from erlang/src/erl_parser.mly) is renamed erlang_src_erl_parser_list. File "erlang/src/erl_parser.mly", line 90, characters 38-48: Warning: the token ARROW_BACK is unused. File "erlang/src/erl_parser.mly", line 86, characters 45-50: Warning: the token BEGIN is unused. File "erlang/src/erl_parser.mly", line 96, characters 16-26: Warning: the token UNDERSCORE is unused. (cd _build/default/erlang/src && ../../../_private/default/.pkg/menhir/target/bin/menhir erl_parser.mly --compile-errors erl_parser.messages) > _build/default/erlang/src/erl_parser_messages.ml Note: the nonterminal symbol list (from erl_parser.mly) is renamed erl_parser_list. File "erl_parser.mly", line 90, characters 38-48: Warning: the token ARROW_BACK is unused. File "erl_parser.mly", line 86, characters 45-50: Warning: the token BEGIN is unused. File "erl_parser.mly", line 96, characters 16-26: Warning: the token UNDERSCORE is unused. Warning: 20 states have shift/reduce conflicts. Warning: 2 states have reduce/reduce conflicts. Warning: 371 shift/reduce conflicts were arbitrarily resolved. Warning: 65 reduce/reduce conflicts were arbitrarily resolved. File "<standard.mly>", line 109, characters 18-18: Warning: production option(catch_class) -> is never reduced. Warning: in total, 1 production is never reduced. Read 1 sample input sentences and 1 error messages. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/comp_misc/.comp_misc.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -no-alias-deps -opaque -open Comp_misc -o src/compiler/comp_misc/.comp_misc.objs/byte/comp_misc__Dependency_sorter.cmo -c -impl src/compiler/comp_misc/dependency_sorter.ml) File "src/compiler/comp_misc/dependency_sorter.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/comp_misc/.comp_misc.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -no-alias-deps -opaque -open Comp_misc -o src/compiler/comp_misc/.comp_misc.objs/byte/comp_misc__Source_tagger.cmo -c -impl src/compiler/comp_misc/source_tagger.ml) File "src/compiler/comp_misc/source_tagger.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang__Erl_ast_invariants.cmo -c -impl erlang/src/erl_ast_invariants.pp.ml) File "erlang/src/erl_ast_invariants.pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang__Erl_parser_messages.cmo -c -impl erlang/src/erl_parser_messages.pp.ml) File "erlang/src/erl_parser_messages.pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang__Parse_info.cmo -c -impl erlang/src/parse_info.pp.ml) File "erlang/src/parse_info.pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang__Erl_token.cmo -c -impl erlang/src/erl_token.pp.ml) File "erlang/src/erl_token.pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -intf-suffix .ml -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang__Erl_ast_helper.cmo -c -impl erlang/src/erl_ast_helper.pp.ml) File "erlang/src/erl_ast_helper.ml", line 125, characters 17-21: 125 | let mk ~name ?(spec = None) ~cases = ^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 134, characters 18-23: 134 | let case ~lhs ?(guard = None) ~rhs = ^^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 140, characters 26-32: 140 | let mk ?(kind = Type) ?(params = []) ~name ~expr = ^^^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 140, characters 11-15: 140 | let mk ?(kind = Type) ?(params = []) ~name ~expr = ^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 143, characters 14-18: 143 | let apply ?(args = []) ~name = Type_constr { tc_name = name; tc_args = args } ^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 145, characters 13-17: 145 | let fun_ ?(args = []) ~return = ^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -I erlang/src/.erlang.objs/byte -I erlang/src/.erlang.objs/native -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -intf-suffix .ml -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/native/erlang__Erl_ast_helper.cmx -c -impl erlang/src/erl_ast_helper.pp.ml) File "erlang/src/erl_ast_helper.ml", line 125, characters 17-21: 125 | let mk ~name ?(spec = None) ~cases = ^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 134, characters 18-23: 134 | let case ~lhs ?(guard = None) ~rhs = ^^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 140, characters 26-32: 140 | let mk ?(kind = Type) ?(params = []) ~name ~expr = ^^^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 140, characters 11-15: 140 | let mk ?(kind = Type) ?(params = []) ~name ~expr = ^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 143, characters 14-18: 143 | let apply ?(args = []) ~name = Type_constr { tc_name = name; tc_args = args } ^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. File "erlang/src/erl_ast_helper.ml", line 145, characters 13-17: 145 | let fun_ ?(args = []) ~return = ^^^^ Error (warning 16 [unerasable-optional-argument]): this optional argument cannot be erased. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang__Erl_printer.cmo -c -impl erlang/src/erl_printer.pp.ml) File "erlang/src/erl_printer.pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && ../_private/default/.pkg/menhir/target/bin/menhir --explain --dump erlang/src/erl_parser.mly --base erlang/src/erl_parser --infer-read-reply erlang/src/erl_parser__mock.mli.inferred) Note: the nonterminal symbol list (from erlang/src/erl_parser.mly) is renamed erlang_src_erl_parser_list. Warning: 20 states have shift/reduce conflicts. Warning: 2 states have reduce/reduce conflicts. Warning: 371 shift/reduce conflicts were arbitrarily resolved. Warning: 65 reduce/reduce conflicts were arbitrarily resolved. File "<standard.mly>", line 109, characters 18-18: Warning: production option(catch_class) -> is never reduced. Warning: in total, 1 production is never reduced. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang__Core_ast.cmo -c -impl erlang/src/core_ast.pp.ml) File "erlang/src/core_ast.pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang__Core_printer.cmo -c -impl erlang/src/core_printer.pp.ml) File "erlang/src/core_printer.pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I erlang/src/.erlang.objs/byte -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -no-alias-deps -opaque -open Erlang__ -o erlang/src/.erlang.objs/byte/erlang.cmo -c -impl erlang/src/erlang.pp.ml) File "erlang/src/erlang.pp.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/ocaml_archive/.ocaml_archive.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -I src/compiler/comp_misc/.comp_misc.objs/byte -no-alias-deps -opaque -o src/compiler/ocaml_archive/.ocaml_archive.objs/byte/ocaml_archive.cmo -c -impl src/compiler/ocaml_archive/ocaml_archive.ml) File "src/compiler/ocaml_archive/ocaml_archive.ml", line 11, characters 59-70: 11 | simp_lambda |> Bytegen.compile_implementation i.module_name ^^^^^^^^^^^ Error: Unbound record field "module_name" (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -safe-string -g -bin-annot -bin-annot-occurrences -I erlang/bin/.erldump.eobjs/byte -I ../_private/default/.pkg/cmdliner/target/lib/cmdliner -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -no-alias-deps -opaque -open Dune__exe -o erlang/bin/.erldump.eobjs/byte/dune__exe__Version.cmo -c -impl erlang/bin/version.ml) File "erlang/bin/version.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/ocaml_to_erlang/.ocaml_to_erlang.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/str -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -I src/compiler/comp_misc/.comp_misc.objs/byte -no-alias-deps -opaque -open Ocaml_to_erlang__ -o src/compiler/ocaml_to_erlang/.ocaml_to_erlang.objs/byte/ocaml_to_erlang__Uncurry.cmo -c -impl src/compiler/ocaml_to_erlang/uncurry.ml) File "src/compiler/ocaml_to_erlang/uncurry.ml", line 4, characters 8-9: 4 | match t.desc with ^ Error: The field access "t.desc" has type "type_expr" but an expression was expected of type "transient_expr" (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/ocaml_to_erlang/.ocaml_to_erlang.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/str -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -I src/compiler/comp_misc/.comp_misc.objs/byte -no-alias-deps -opaque -open Ocaml_to_erlang__ -o src/compiler/ocaml_to_erlang/.ocaml_to_erlang.objs/byte/ocaml_to_erlang__Error.cmo -c -impl src/compiler/ocaml_to_erlang/error.ml) File "src/compiler/ocaml_to_erlang/error.ml", line 74, characters 13-16: 74 | Path.print ppf path; ^^^ Error: The value "ppf" has type "Format.formatter" but an expression was expected of type "Format_doc.formatter" (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/ocaml_to_core_erlang/.ocaml_to_core_erlang.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -I src/compiler/comp_misc/.comp_misc.objs/byte -no-alias-deps -opaque -open Ocaml_to_core_erlang__ -o src/compiler/ocaml_to_core_erlang/.ocaml_to_core_erlang.objs/byte/ocaml_to_core_erlang__Ast_transl.cmo -c -impl src/compiler/ocaml_to_core_erlang/ast_transl.ml) File "src/compiler/ocaml_to_core_erlang/ast_transl.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/erlang_to_native/.erlang_to_native.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -I src/compiler/comp_misc/.comp_misc.objs/byte -no-alias-deps -opaque -open Erlang_to_native__ -o src/compiler/erlang_to_native/.erlang_to_native.objs/byte/erlang_to_native__Ast_transl.cmo -c -impl src/compiler/erlang_to_native/ast_transl.ml) File "src/compiler/erlang_to_native/ast_transl.ml", line 120, characters 8-16: 120 | Exp.fun_ Nolabel None ^^^^^^^^ Error: Unbound value "Exp.fun_" (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/ocaml_to_erlang/.ocaml_to_erlang.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/str -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -I src/compiler/comp_misc/.comp_misc.objs/byte -no-alias-deps -opaque -open Ocaml_to_erlang__ -o src/compiler/ocaml_to_erlang/.ocaml_to_erlang.objs/byte/ocaml_to_erlang.cmo -c -impl src/compiler/ocaml_to_erlang/ocaml_to_erlang.ml) File "src/compiler/ocaml_to_erlang/ocaml_to_erlang.ml", line 12, characters 59-70: 12 | simp_lambda |> Bytegen.compile_implementation i.module_name ^^^^^^^^^^^ Error: Unbound record field "module_name" (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -safe-string -g -bin-annot -bin-annot-occurrences -I erlang/bin/.erldump.eobjs/byte -I ../_private/default/.pkg/cmdliner/target/lib/cmdliner -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -no-alias-deps -opaque -open Dune__exe -o erlang/bin/.erldump.eobjs/byte/dune__exe__Erldump.cmo -c -impl erlang/bin/erldump.ml) File "erlang/bin/erldump.ml", line 23, characters 4-13: 23 | Term.info name ~version ~doc ~man ^^^^^^^^^ Error (alert deprecated): Cmdliner.Term.info Use Cmd.info instead. File "erlang/bin/erldump.ml", line 59, characters 11-15: 59 | (Term.(pure run $ sources), info) ^^^^ Error (alert deprecated): Cmdliner.Term.pure Use Term.const instead. File "erlang/bin/erldump.ml", line 75, characters 8-19: 75 | Term.(exit_status @@ eval_choice Help.cmd cmds) ^^^^^^^^^^^ Error (alert deprecated): Cmdliner.Term.exit_status Use Stdlib.exit and Cmd.eval' instead. File "erlang/bin/erldump.ml", line 75, characters 23-34: 75 | Term.(exit_status @@ eval_choice Help.cmd cmds) ^^^^^^^^^^^ Error (alert deprecated): Cmdliner.Term.eval_choice Use Cmd.group and one of Cmd.eval* instead. File "erlang/bin/erldump.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlopt.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -I src/compiler/ocaml_to_core_erlang/.ocaml_to_core_erlang.objs/byte -I src/compiler/ocaml_to_core_erlang/.ocaml_to_core_erlang.objs/native -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -I erlang/src/.erlang.objs/native -I src/compiler/comp_misc/.comp_misc.objs/byte -I src/compiler/comp_misc/.comp_misc.objs/native -intf-suffix .ml -no-alias-deps -opaque -open Ocaml_to_core_erlang__ -o src/compiler/ocaml_to_core_erlang/.ocaml_to_core_erlang.objs/native/ocaml_to_core_erlang.cmx -c -impl src/compiler/ocaml_to_core_erlang/ocaml_to_core_erlang.ml) File "src/compiler/ocaml_to_core_erlang/ocaml_to_core_erlang.ml", line 12, characters 59-70: 12 | simp_lambda |> Bytegen.compile_implementation i.module_name ^^^^^^^^^^^ Error: Unbound record field "module_name" (cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/bin/ocamlc.opt -w @1..3@5..28@30..39@43@46..47@49..57@61..62-40 -strict-sequence -strict-formats -short-paths -keep-locs -w +a-4-40-41-42-44-48-58-66 -g -bin-annot -bin-annot-occurrences -I src/compiler/ocaml_to_core_erlang/.ocaml_to_core_erlang.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-0a4a99c921bd2ecbe821e2c57ac55aa8/target/lib/ocaml/compiler-libs -I ../_private/default/.pkg/parsexp/target/lib/parsexp -I ../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../_private/default/.pkg/sexplib/target/lib/sexplib -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I erlang/src/.erlang.objs/byte -I src/compiler/comp_misc/.comp_misc.objs/byte -intf-suffix .ml -no-alias-deps -opaque -open Ocaml_to_core_erlang__ -o src/compiler/ocaml_to_core_erlang/.ocaml_to_core_erlang.objs/byte/ocaml_to_core_erlang.cmo -c -impl src/compiler/ocaml_to_core_erlang/ocaml_to_core_erlang.ml) File "src/compiler/ocaml_to_core_erlang/ocaml_to_core_erlang.ml", line 12, characters 59-70: 12 | simp_lambda |> Bytegen.compile_implementation i.module_name ^^^^^^^^^^^ Error: Unbound record field "module_name" "/usr/bin/env" "bash" "-c" "cd $HOME && opam source erlang.0.0.14 && cd erlang.0.0.14 && opam install ./ --depext-only --with-test && echo '(lang dune 3.17) (lock_dir (repositories overlay default )) (repository (name default) (url "git+https://github.com/ocaml/opam-repository.git")) ' > dune-workspace && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build" failed with exit status 1 Failed: Build failed