package nuscr

  1. Overview
  2. Docs
On This Page
  1. Error log

nuscr 1.1.0

Error log

The package failed to build. The error log from opam follows.

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy nuscr.1.1.0 stdlib-shims.0.3.0 stdio.v0.14.0 sexplib0.v0.14.0 result.1.5 ppxlib.0.13.0 ppxfind.1.4 ppx_tools.6.6 ppx_sexp_conv.v0.14.0 ppx_deriving.4.5-1 ppx_derivers.1.2.1 ocamlgraph.2.1.0 ocamlfind.1.9.6 ocaml-migrate-parsetree.1.8.0 ocaml-compiler-libs.v0.12.4 menhirSdk.20240715 menhirLib.20240715 menhirCST.20240715 menhir.20240715 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 cppo.1.7.0 base.v0.14.3" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install sexplib0                v0.14.0
  - install ppx_derivers            1.2.1
  - install menhirLib               20240715
  - install menhirCST               20240715
  - install menhirSdk               20240715
  - install result                  1.5
  - install csexp                   1.5.2
  - install ocaml-compiler-libs     v0.12.4
  - install cppo                    1.7.0
  - install stdlib-shims            0.3.0
  - install menhir                  20240715
  - install ocaml-migrate-parsetree 1.8.0
  - install dune-configurator       3.16.0
  - install ppx_tools               6.6
  - install ocamlgraph              2.1.0
  - install ppxfind                 1.4
  - install base                    v0.14.3
  - install ppx_deriving            4.5-1
  - install stdio                   v0.14.0
  - install ppxlib                  0.13.0
  - install ppx_sexp_conv           v0.14.0
  - install nuscr                   1.1.0
===== 22 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/66:
Processing  2/66:
Processing  3/66:
-> retrieved base.v0.14.3  (cached)
Processing  4/66:
-> retrieved cppo.1.7.0  (cached)
Processing  5/66:
Processing  6/66: [cppo: dune build]
-> retrieved csexp.1.5.2  (cached)
Processing  7/66: [cppo: dune build]
Processing  8/66: [cppo: dune build] [csexp: dune build]
-> retrieved dune-configurator.3.16.0  (cached)
Processing  9/66: [cppo: dune build] [csexp: dune build]
-> retrieved menhir.20240715  (cached)
Processing 10/66: [cppo: dune build] [csexp: dune build]
-> retrieved menhirCST.20240715  (cached)
Processing 11/66: [nuscr.1.1.0: http] [cppo: dune build] [csexp: dune build]
Processing 12/66: [nuscr.1.1.0: http] [cppo: dune build] [csexp: dune build] [menhirCST: dune build]
-> compiled  csexp.1.5.2
Processing 12/66: [nuscr.1.1.0: http] [cppo: dune build] [menhirCST: dune build]
-> installed csexp.1.5.2
Processing 13/66: [nuscr.1.1.0: http] [cppo: dune build] [menhirCST: dune build]
Processing 14/66: [nuscr.1.1.0: http] [cppo: dune build] [dune-configurator: rm] [menhirCST: dune build]
-> compiled  cppo.1.7.0
Processing 14/66: [nuscr.1.1.0: http] [dune-configurator: rm] [menhirCST: dune build]
-> installed cppo.1.7.0
Processing 15/66: [nuscr.1.1.0: http] [dune-configurator: rm] [menhirCST: dune build]
-> retrieved menhirLib.20240715  (cached)
Processing 16/66: [nuscr.1.1.0: http] [dune-configurator: rm] [menhirCST: dune build]
Processing 17/66: [nuscr.1.1.0: http] [dune-configurator: rm] [menhirCST: dune build] [menhirLib: dune build]
-> retrieved menhirSdk.20240715  (cached)
Processing 18/66: [nuscr.1.1.0: http] [dune-configurator: rm] [menhirCST: dune build] [menhirLib: dune build]
Processing 19/66: [nuscr.1.1.0: http] [dune-configurator: rm] [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: dune build]
Processing 19/66: [dune-configurator: rm] [menhirCST: dune build] [menhirLib: dune build] [menhirSdk: dune build]
-> compiled  menhirCST.20240715
Processing 19/66: [dune-configurator: rm] [menhirLib: dune build] [menhirSdk: dune build]
-> installed menhirCST.20240715
Processing 20/66: [dune-configurator: rm] [menhirLib: dune build] [menhirSdk: dune build]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing 21/66: [dune-configurator: rm] [menhirLib: dune build] [menhirSdk: dune build]
Processing 22/66: [dune-configurator: rm] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build]
-> retrieved nuscr.1.1.0  (https://github.com/nuscr/nuscr/releases/download/1.1.0/nuscr-web-1.1.0.tbz)
Processing 23/66: [dune-configurator: rm] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build]
Processing 23/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
Processing 24/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ocamlgraph.2.1.0  (cached)
Processing 25/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 26/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build]
Processing 27/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved ppx_deriving.4.5-1  (cached)
Processing 28/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved ppx_sexp_conv.v0.14.0  (cached)
Processing 29/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
-> retrieved ppx_tools.6.6  (cached)
Processing 30/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build]
Processing 31/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [ppx_tools: dune build]
-> retrieved ppxfind.1.4  (cached)
Processing 32/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [ppx_tools: dune build]
-> retrieved result.1.5  (cached)
Processing 33/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [ppx_tools: dune build]
Processing 34/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [ppx_tools: dune build] [result: dune build]
-> retrieved ppxlib.0.13.0  (cached)
Processing 35/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [ppx_tools: dune build] [result: dune build]
-> retrieved sexplib0.v0.14.0  (cached)
Processing 36/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [ppx_tools: dune build] [result: dune build] [sexplib0: dune build]
-> retrieved stdio.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 37/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [ppx_tools: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  ppx_derivers.1.2.1
Processing 37/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_tools: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed ppx_derivers.1.2.1
Processing 38/66: [dune-configurator: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-compiler-libs: dune build] [ppx_tools: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  menhirSdk.20240715
Processing 38/66: [dune-configurator: dune build] [menhirLib: dune build] [ocaml-compiler-libs: dune build] [ppx_tools: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed menhirSdk.20240715
Processing 39/66: [dune-configurator: dune build] [menhirLib: dune build] [ocaml-compiler-libs: dune build] [ppx_tools: dune build] [result: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  result.1.5
Processing 39/66: [dune-configurator: dune build] [menhirLib: dune build] [ocaml-compiler-libs: dune build] [ppx_tools: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> installed result.1.5
Processing 40/66: [dune-configurator: dune build] [menhirLib: dune build] [ocaml-compiler-libs: dune build] [ppx_tools: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
Processing 41/66: [dune-configurator: dune build] [menhirLib: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build] [sexplib0: dune build] [stdlib-shims: dune build]
-> compiled  stdlib-shims.0.3.0
Processing 41/66: [dune-configurator: dune build] [menhirLib: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build] [sexplib0: dune build]
-> installed stdlib-shims.0.3.0
Processing 42/66: [dune-configurator: dune build] [menhirLib: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build] [sexplib0: dune build]
Processing 43/66: [dune-configurator: dune build] [menhirLib: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build] [sexplib0: dune build]
- (cd _build/default/lib/pack && ./pack.exe)
- Creating menhirLib.ml...
- Creating menhirLib.mli...
-> compiled  menhirLib.20240715
Processing 43/66: [dune-configurator: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build] [sexplib0: dune build]
-> installed menhirLib.20240715
Processing 44/66: [dune-configurator: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build] [sexplib0: dune build]
Processing 45/66: [dune-configurator: dune build] [menhir: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build] [sexplib0: dune build]
-> compiled  sexplib0.v0.14.0
Processing 45/66: [dune-configurator: dune build] [menhir: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build]
-> installed sexplib0.v0.14.0
Processing 46/66: [dune-configurator: dune build] [menhir: dune build] [ocaml-compiler-libs: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 46/66: [dune-configurator: dune build] [menhir: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build]
-> installed ocaml-compiler-libs.v0.12.4
Processing 47/66: [dune-configurator: dune build] [menhir: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build]
-> compiled  dune-configurator.3.16.0
Processing 47/66: [menhir: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build]
-> installed dune-configurator.3.16.0
Processing 48/66: [menhir: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build]
Processing 49/66: [base: dune build] [menhir: dune build] [ocaml-migrate-parsetree: dune build] [ocamlgraph: dune build] [ppx_tools: dune build]
-> compiled  ocamlgraph.2.1.0
Processing 49/66: [base: dune build] [menhir: dune build] [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build]
-> installed ocamlgraph.2.1.0
Processing 50/66: [base: dune build] [menhir: dune build] [ocaml-migrate-parsetree: dune build] [ppx_tools: dune build]
-> compiled  ppx_tools.6.6
Processing 50/66: [base: dune build] [menhir: dune build] [ocaml-migrate-parsetree: dune build]
-> installed ppx_tools.6.6
Processing 51/66: [base: dune build] [menhir: dune build] [ocaml-migrate-parsetree: dune build]
-> compiled  ocaml-migrate-parsetree.1.8.0
Processing 51/66: [base: dune build] [menhir: dune build]
-> installed ocaml-migrate-parsetree.1.8.0
Processing 52/66: [base: dune build] [menhir: dune build]
Processing 53/66: [base: dune build] [menhir: dune build] [ppxfind: dune build]
-> compiled  base.v0.14.3
Processing 53/66: [menhir: dune build] [ppxfind: dune build]
-> installed base.v0.14.3
Processing 54/66: [menhir: dune build] [ppxfind: dune build]
Processing 55/66: [menhir: dune build] [ppxfind: dune build] [stdio: dune build]
-> compiled  ppxfind.1.4
Processing 55/66: [menhir: dune build] [stdio: dune build]
-> installed ppxfind.1.4
Processing 56/66: [menhir: dune build] [stdio: dune build]
[ppx_deriving: patch] applying fix_dune_3.patch
Processing 57/66: [menhir: dune build] [ppx_deriving: patch] [stdio: dune build]
-> compiled  stdio.v0.14.0
Processing 57/66: [menhir: dune build] [ppx_deriving: patch]
-> installed stdio.v0.14.0
Processing 58/66: [menhir: dune build] [ppx_deriving: patch]
Processing 59/66: [menhir: dune build] [ppx_deriving: patch] [ppxlib: dune build]
Processing 59/66: [menhir: dune build] [ppx_deriving: dune build] [ppxlib: dune build]
-> compiled  ppx_deriving.4.5-1
Processing 59/66: [menhir: dune build] [ppxlib: dune build]
-> installed ppx_deriving.4.5-1
Processing 60/66: [menhir: dune build] [ppxlib: dune build]
- (cd _build/default/lib/pack && ./pack.exe)
- Creating menhirLib.ml...
- Creating menhirLib.mli...
- (cd _build/default/src/stage2 && .bin/menhir --exn-carries-state --no-pager --require-aliases --strict parser.mly --compare-errors parserMessages.auto.messages --compare-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.check
- Read 99 sample input sentences and 99 error messages.
- Read 99 sample input sentences and 47 error messages.
- (cd _build/default && src/stage2/.bin/menhir --exn-carries-state --no-pager --require-aliases --strict -lg 1 -la 1 -lc 1 -v src/stage2/parser.mly --base src/stage2/parser --infer-read-reply src/stage2/parser__mock.mli.inferred)
- Grammar has 56 nonterminal symbols, among which 1 start symbols.
- Grammar has 37 terminal symbols.
- Grammar has 129 productions.
- Built an LR(0) automaton with 199 states.
- The grammar is not SLR(1) -- 7 states have a conflict.
- The construction mode is no-pager.
- Built an LR(1) automaton with 308 states.
- One shift/reduce conflict was silently solved.
- Extra reductions on error were added in 50 states.
- Priority played a role in 0 of these states.
- 156 out of 308 states have a default reduction.
- 108 out of 308 states are represented.
- 44 out of 96 symbols keep track of their start position.
- 39 out of 96 symbols keep track of their end position.
- The StackLang code contains 4113 instructions in 277 blocks.
- The StackLang code comprises 5 mutually recursive groups.
- (cd _build/default/src/stage2 && .bin/menhir --exn-carries-state --no-pager --require-aliases --strict parser.mly --compile-errors parserMessages.messages) > _build/default/src/stage2/parserMessages.ml
- Read 99 sample input sentences and 47 error messages.
-> compiled  menhir.20240715
Processing 60/66: [ppxlib: dune build]
-> installed menhir.20240715
Processing 61/66: [ppxlib: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ppxlib" "-j" "39" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ppxlib.0.13.0)
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I src/gen/.gen_ast_pattern.eobjs/byte -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/result -I ast/.ppxlib_ast.objs/byte -I traverse_builtins/.ppxlib_traverse_builtins.objs/byte -no-alias-deps -o src/gen/.gen_ast_pattern.eobjs/byte/import.cmo -c -impl src/gen/import.ml)
- File "src/gen/import.ml", line 14, characters 21-36:
- 14 |   let lident x = mk (Longident.parse x)
-                           ^^^^^^^^^^^^^^^
- Alert deprecated: Longident.parse
- this function may misparse its input,
- use "Parse.longident" or "Longident.unflatten"
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -safe-string -g -I src/gen/.gen_ast_pattern.eobjs/byte -I src/gen/.gen_ast_pattern.eobjs/native -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/result -I ast/.ppxlib_ast.objs/byte -I ast/.ppxlib_ast.objs/native -I traverse_builtins/.ppxlib_traverse_builtins.objs/byte -I traverse_builtins/.ppxlib_traverse_builtins.objs/native -intf-suffix .ml -no-alias-deps -o src/gen/.gen_ast_pattern.eobjs/native/import.cmx -c -impl src/gen/import.ml)
- File "src/gen/import.ml", line 14, characters 21-36:
- 14 |   let lident x = mk (Longident.parse x)
-                           ^^^^^^^^^^^^^^^
- Alert deprecated: Longident.parse
- this function may misparse its input,
- use "Parse.longident" or "Longident.unflatten"
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -open Ocaml_shadow -safe-string -g -bin-annot -I src/.ppxlib.objs/byte -I /home/opam/.opam/4.12/lib/base -I /home/opam/.opam/4.12/lib/base/base_internalhash_types -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/base/shadow_stdlib -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stdio -I ast/.ppxlib_ast.objs/byte -I print-diff/.ppxlib_print_diff.objs/byte -I traverse_builtins/.ppxlib_traverse_builtins.objs/byte -intf-suffix .ml -no-alias-deps -open Ppxlib__ -o src/.ppxlib.objs/byte/ppxlib__Driver.cmo -c -impl src/driver.ml)
- File "src/driver.ml", line 289, characters 41-51:
- 289 | let register_code_transformation ~name ?(aliases=[]) ~impl ~intf =
-                                                ^^^^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -open Ocaml_shadow -safe-string -g -I src/.ppxlib.objs/byte -I src/.ppxlib.objs/native -I /home/opam/.opam/4.12/lib/base -I /home/opam/.opam/4.12/lib/base/base_internalhash_types -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/base/shadow_stdlib -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stdio -I ast/.ppxlib_ast.objs/byte -I ast/.ppxlib_ast.objs/native -I print-diff/.ppxlib_print_diff.objs/byte -I print-diff/.ppxlib_print_diff.objs/native -I traverse_builtins/.ppxlib_traverse_builtins.objs/byte -I traverse_builtins/.ppxlib_traverse_builtins.objs/native -intf-suffix .ml -no-alias-deps -open Ppxlib__ -o src/.ppxlib.objs/native/ppxlib__Driver.cmx -c -impl src/driver.ml)
- File "src/driver.ml", line 289, characters 41-51:
- 289 | let register_code_transformation ~name ?(aliases=[]) ~impl ~intf =
-                                                ^^^^^^^^^^
- Warning 16 [unerasable-optional-argument]: this optional argument cannot be erased.
-> compiled  ppxlib.0.13.0
-> installed ppxlib.0.13.0
Processing 63/66: [ppx_sexp_conv: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "ppx_sexp_conv" "-j" "39" (CWD=/home/opam/.opam/4.12/.opam-switch/build/ppx_sexp_conv.v0.14.0)
-> compiled  ppx_sexp_conv.v0.14.0
-> installed ppx_sexp_conv.v0.14.0
Processing 65/66: [nuscr: dune build]
+ /home/opam/.opam/4.12/bin/dune "build" "-p" "nuscr" "-j" "39" "@install" (CWD=/home/opam/.opam/4.12/.opam-switch/build/nuscr.1.1.0)
- (cd _build/default && /home/opam/.opam/4.12/bin/menhir --explain -la 2 lib/parser.mly --base lib/parser)
- File "lib/parser.mly", line 20, characters 7-15:
- Warning: the token RESERVED is unused.
- Built an LR(0) automaton with 168 states.
- The construction mode is pager.
- Built an LR(1) automaton with 168 states.
- Error: the code back-end requires the type of every nonterminal symbol to be
- known. Please specify the type of every symbol via %type declarations, or
- enable type inference (look up --infer in the manual).
- Type inference is automatically enabled when Menhir is used via Dune,
- provided the dune-project file says (using menhir 2.0) or later.
- The types of the following nonterminal symbols are unknown:
- list(global_interaction)
- list(payload_type_decl)
- list(protocol_decl)
- loption(separated_nonempty_list(COMMA,payload_el))
- option(PROTOCOL_KW)
- option(annotation)
- option(module_decl)
- option(non_role_args)
- option(parameter_decls)
- option(protocol_options)
- option(rec_parameter_decls)
- option(role_args)
- parameter_decl
- separated_nonempty_list(COMMA,name)
- separated_nonempty_list(COMMA,non_role_arg)
- separated_nonempty_list(COMMA,parameter_decl)
- separated_nonempty_list(COMMA,payload_el)
- separated_nonempty_list(COMMA,rec_parameter_decl)
- separated_nonempty_list(COMMA,role_decl)
- separated_nonempty_list(DOT,IDENT)
- separated_nonempty_list(OR_KW,global_protocol_block)
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -w +A-39-4-42 -g -bin-annot -I lib/.nuscrlib.objs/byte -I /home/opam/.opam/4.12/lib/base -I /home/opam/.opam/4.12/lib/base/base_internalhash_types -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/base/shadow_stdlib -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ocamlgraph -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/ppx_deriving/runtime -I /home/opam/.opam/4.12/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.12/lib/ppxlib -I /home/opam/.opam/4.12/lib/ppxlib/ast -I /home/opam/.opam/4.12/lib/ppxlib/print_diff -I /home/opam/.opam/4.12/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stdio -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Nuscrlib -o lib/.nuscrlib.objs/byte/nuscrlib__Codegen.cmo -c -impl lib/codegen.pp.ml)
- File "lib/codegen.ml", line 35, characters 34-39:
- 35 | let mk_lid id = Location.mknoloc (parse id)
-                                        ^^^^^
- Alert deprecated: Longident.parse
- this function may misparse its input,
- use "Parse.longident" or "Longident.unflatten"
- (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -w +A-39-4-42 -g -I lib/.nuscrlib.objs/byte -I lib/.nuscrlib.objs/native -I /home/opam/.opam/4.12/lib/base -I /home/opam/.opam/4.12/lib/base/base_internalhash_types -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/base/shadow_stdlib -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ocamlgraph -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/ppx_deriving/runtime -I /home/opam/.opam/4.12/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.12/lib/ppxlib -I /home/opam/.opam/4.12/lib/ppxlib/ast -I /home/opam/.opam/4.12/lib/ppxlib/print_diff -I /home/opam/.opam/4.12/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stdio -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Nuscrlib -o lib/.nuscrlib.objs/native/nuscrlib__Codegen.cmx -c -impl lib/codegen.pp.ml)
- File "lib/codegen.ml", line 35, characters 34-39:
- 35 | let mk_lid id = Location.mknoloc (parse id)
-                                        ^^^^^
- Alert deprecated: Longident.parse
- this function may misparse its input,
- use "Parse.longident" or "Longident.unflatten"
[ERROR] The compilation of nuscr.1.1.0 failed at "dune build -p nuscr -j 39 @install".

#=== ERROR while compiling nuscr.1.1.0 ========================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/nuscr.1.1.0
# command              ~/.opam/4.12/bin/dune build -p nuscr -j 39 @install
# exit-code            1
# env-file             ~/.opam/log/nuscr-115-5b9cc0.env
# output-file          ~/.opam/log/nuscr-115-5b9cc0.out
### output ###
# (cd _build/default && /home/opam/.opam/4.12/bin/menhir --explain -la 2 lib/parser.mly --base lib/parser)
# File "lib/parser.mly", line 20, characters 7-15:
# Warning: the token RESERVED is unused.
# Built an LR(0) automaton with 168 states.
# The construction mode is pager.
# Built an LR(1) automaton with 168 states.
# Error: the code back-end requires the type of every nonterminal symbol to be
# known. Please specify the type of every symbol via %type declarations, or
# enable type inference (look up --infer in the manual).
# Type inference is automatically enabled when Menhir is used via Dune,
# provided the dune-project file says (using menhir 2.0) or later.
# The types of the following nonterminal symbols are unknown:
# list(global_interaction)
# list(payload_type_decl)
# list(protocol_decl)
# loption(separated_nonempty_list(COMMA,payload_el))
# option(PROTOCOL_KW)
# option(annotation)
# option(module_decl)
# option(non_role_args)
# option(parameter_decls)
# option(protocol_options)
# option(rec_parameter_decls)
# option(role_args)
# parameter_decl
# separated_nonempty_list(COMMA,name)
# separated_nonempty_list(COMMA,non_role_arg)
# separated_nonempty_list(COMMA,parameter_decl)
# separated_nonempty_list(COMMA,payload_el)
# separated_nonempty_list(COMMA,rec_parameter_decl)
# separated_nonempty_list(COMMA,role_decl)
# separated_nonempty_list(DOT,IDENT)
# separated_nonempty_list(OR_KW,global_protocol_block)
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -w +A-39-4-42 -g -bin-annot -I lib/.nuscrlib.objs/byte -I /home/opam/.opam/4.12/lib/base -I /home/opam/.opam/4.12/lib/base/base_internalhash_types -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/base/shadow_stdlib -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ocamlgraph -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/ppx_deriving/runtime -I /home/opam/.opam/4.12/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.12/lib/ppxlib -I /home/opam/.opam/4.12/lib/ppxlib/ast -I /home/opam/.opam/4.12/lib/ppxlib/print_diff -I /home/opam/.opam/4.12/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stdio -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Nuscrlib -o lib/.nuscrlib.objs/byte/nuscrlib__Codegen.cmo -c -impl lib/codegen.pp.ml)
# File "lib/codegen.ml", line 35, characters 34-39:
# 35 | let mk_lid id = Location.mknoloc (parse id)
#                                        ^^^^^
# Alert deprecated: Longident.parse
# this function may misparse its input,
# use "Parse.longident" or "Longident.unflatten"
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlopt.opt -w -40 -w +A-39-4-42 -g -I lib/.nuscrlib.objs/byte -I lib/.nuscrlib.objs/native -I /home/opam/.opam/4.12/lib/base -I /home/opam/.opam/4.12/lib/base/base_internalhash_types -I /home/opam/.opam/4.12/lib/base/caml -I /home/opam/.opam/4.12/lib/base/shadow_stdlib -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.12/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ocamlgraph -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/ppx_deriving/runtime -I /home/opam/.opam/4.12/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.12/lib/ppxlib -I /home/opam/.opam/4.12/lib/ppxlib/ast -I /home/opam/.opam/4.12/lib/ppxlib/print_diff -I /home/opam/.opam/4.12/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/sexplib0 -I /home/opam/.opam/4.12/lib/stdio -I /home/opam/.opam/4.12/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -open Nuscrlib -o lib/.nuscrlib.objs/native/nuscrlib__Codegen.cmx -c -impl lib/codegen.pp.ml)
# File "lib/codegen.ml", line 35, characters 34-39:
# 35 | let mk_lid id = Location.mknoloc (parse id)
#                                        ^^^^^
# Alert deprecated: Longident.parse
# this function may misparse its input,
# use "Parse.longident" or "Longident.unflatten"



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build nuscr 1.1.0
+- 
+- The following changes have been performed
| - install base                    v0.14.3
| - install cppo                    1.7.0
| - install csexp                   1.5.2
| - install dune-configurator       3.16.0
| - install menhir                  20240715
| - install menhirCST               20240715
| - install menhirLib               20240715
| - install menhirSdk               20240715
| - install ocaml-compiler-libs     v0.12.4
| - install ocaml-migrate-parsetree 1.8.0
| - install ocamlgraph              2.1.0
| - install ppx_derivers            1.2.1
| - install ppx_deriving            4.5-1
| - install ppx_sexp_conv           v0.14.0
| - install ppx_tools               6.6
| - install ppxfind                 1.4
| - install ppxlib                  0.13.0
| - install result                  1.5
| - install sexplib0                v0.14.0
| - install stdio                   v0.14.0
| - install stdlib-shims            0.3.0
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.12/.opam-switch/backup/state-20240912194034.export"
'opam --cli=2.1 install nuscr.1.1.0 stdlib-shims.0.3.0 stdio.v0.14.0 sexplib0.v0.14.0 result.1.5 ppxlib.0.13.0 ppxfind.1.4 ppx_tools.6.6 ppx_sexp_conv.v0.14.0 ppx_deriving.4.5-1 ppx_derivers.1.2.1 ocamlgraph.2.1.0 ocamlfind.1.9.6 ocaml-migrate-parsetree.1.8.0 ocaml-compiler-libs.v0.12.4 menhirSdk.20240715 menhirLib.20240715 menhirCST.20240715 menhir.20240715 dune-configurator.3.16.0 dune.3.16.0 csexp.1.5.2 cppo.1.7.0 base.v0.14.3 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.