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.

[NOTE] Package dune is already installed (current version is 3.17.2).
[NOTE] Package ocamlfind is already installed (current version is 1.9.8).
The following actions will be performed:
=== install 22 packages
  - install base                    v0.14.3
  - install cppo                    1.8.0
  - install csexp                   1.5.2
  - install dune-configurator       3.17.2
  - install menhir                  20240715
  - install menhirCST               20240715
  - install menhirLib               20240715
  - install menhirSdk               20240715
  - install nuscr                   1.1.0
  - install ocaml-compiler-libs     v0.12.4
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - 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

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved base.v0.14.3  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed csexp.1.5.2
-> retrieved nuscr.1.1.0  (cached)
-> installed cppo.1.8.0
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ocamlgraph.2.1.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.4.5-1  (cached)
-> retrieved ppx_sexp_conv.v0.14.0  (cached)
-> retrieved ppx_tools.6.6  (cached)
-> retrieved ppxfind.1.4  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib0.v0.14.0  (cached)
-> retrieved stdio.v0.14.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ppxlib.0.13.0  (cached)
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.14.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed dune-configurator.3.17.2
-> installed ocamlgraph.2.1.0
-> installed ppx_tools.6.6
-> installed ocaml-migrate-parsetree.1.8.0
-> installed ppxfind.1.4
-> installed base.v0.14.3
-> installed stdio.v0.14.0
-> installed ppx_deriving.4.5-1
-> installed menhir.20240715
-> installed ppxlib.0.13.0
-> installed ppx_sexp_conv.v0.14.0
[ERROR] The compilation of nuscr.1.1.0 failed at "dune build -p nuscr -j 31 @install".

#=== ERROR while compiling nuscr.1.1.0 ========================================#
# context              2.3.0 | 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 31 @install
# exit-code            1
# env-file             ~/.opam/log/nuscr-113-1a27b7.env
# output-file          ~/.opam/log/nuscr-113-1a27b7.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.8.0
| - install csexp                   1.5.2
| - install dune-configurator       3.17.2
| - 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
+- 

<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.12/.opam-switch/backup/state-20250206033334.export"
OCaml

Innovation. Community. Security.