= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
ON THIS PAGE
reason 3.5.2
Error log
The package failed to build. The error log from opam follows.
You are using opam 2.1+, where external dependency handling has been integrated: consider calling opam directly, the 'depext' plugin interface is provided for backwards compatibility only # Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian # No extra OS packages requirements found. [NOTE] Package ocamlfind is already installed (current version is 1.9.5). [NOTE] Package dune is already installed (current version is 3.4.1). The following actions will be performed: - install cppo 1.6.9 - install ppx_derivers 1.2.1 - install result 1.5 - install menhirSdk 20220210 - install menhirLib 20220210 - install merlin-extend 0.6.1 - install ocaml-migrate-parsetree 1.8.0 - install menhir 20220210 - install reason 3.5.2 ===== 9 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/27: Processing 2/27: Processing 3/27: -> retrieved cppo.1.6.9 (cached) Processing 4/27: Processing 5/27: [cppo: dune build] -> retrieved menhir.20220210 (cached) Processing 6/27: [cppo: dune build] -> retrieved menhirLib.20220210 (cached) Processing 7/27: [cppo: dune build] Processing 8/27: [cppo: dune build] [menhirLib: dune build] -> retrieved menhirSdk.20220210 (cached) Processing 9/27: [cppo: dune build] [menhirLib: dune build] Processing 10/27: [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] -> retrieved merlin-extend.0.6.1 (cached) Processing 11/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] -> retrieved ocaml-migrate-parsetree.1.8.0 (cached) Processing 12/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] -> retrieved ppx_derivers.1.2.1 (cached) Processing 13/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ppx_derivers: dune build] -> retrieved result.1.5 (cached) Processing 14/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ppx_derivers: dune build] [result: dune build] -> compiled result.1.5 Processing 14/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ppx_derivers: dune build] -> installed result.1.5 Processing 15/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ppx_derivers: dune build] -> compiled ppx_derivers.1.2.1 Processing 15/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] -> installed ppx_derivers.1.2.1 Processing 16/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] Processing 17/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [menhirSdk: dune build] [ocaml-migrate-parsetree: dune build] -> compiled menhirSdk.20220210 Processing 17/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [ocaml-migrate-parsetree: dune build] -> installed menhirSdk.20220210 Processing 18/27: [reason.3.5.2: http] [cppo: dune build] [menhirLib: dune build] [ocaml-migrate-parsetree: dune build] - (cd _build/default/lib/pack && ./pack.exe) - Creating menhirLib.ml... - Creating menhirLib.mli... -> compiled menhirLib.20220210 Processing 18/27: [reason.3.5.2: http] [cppo: dune build] [ocaml-migrate-parsetree: dune build] -> installed menhirLib.20220210 Processing 19/27: [reason.3.5.2: http] [cppo: dune build] [ocaml-migrate-parsetree: dune build] Processing 20/27: [reason.3.5.2: http] [cppo: dune build] [menhir: dune build] [ocaml-migrate-parsetree: dune build] -> compiled cppo.1.6.9 Processing 20/27: [reason.3.5.2: http] [menhir: dune build] [ocaml-migrate-parsetree: dune build] -> installed cppo.1.6.9 Processing 21/27: [reason.3.5.2: http] [menhir: dune build] [ocaml-migrate-parsetree: dune build] Processing 22/27: [reason.3.5.2: http] [menhir: dune build] [merlin-extend: dune build] [ocaml-migrate-parsetree: dune build] -> compiled merlin-extend.0.6.1 Processing 22/27: [reason.3.5.2: http] [menhir: dune build] [ocaml-migrate-parsetree: dune build] -> installed merlin-extend.0.6.1 Processing 23/27: [reason.3.5.2: http] [menhir: dune build] [ocaml-migrate-parsetree: dune build] Processing 23/27: [menhir: dune build] [ocaml-migrate-parsetree: dune build] -> retrieved reason.3.5.2 (https://registry.npmjs.org/@esy-ocaml/reason/-/reason-3.5.2.tgz) -> compiled ocaml-migrate-parsetree.1.8.0 Processing 23/27: [menhir: dune build] -> installed ocaml-migrate-parsetree.1.8.0 Processing 24/27: [menhir: dune build] + /home/opam/.opam/4.09/bin/dune "build" "-p" "menhir" "-j" "31" (CWD=/home/opam/.opam/4.09/.opam-switch/build/menhir.20220210) - (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 101 sample input sentences and 101 error messages. - Read 101 sample input sentences and 48 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 194 states. - The grammar is not SLR(1) -- 5 states have a conflict. - The construction mode is no-pager. - Built an LR(1) automaton with 298 states. - One shift/reduce conflict was silently solved. - Extra reductions on error were added in 40 states. - Priority played a role in 0 of these states. - 152 out of 298 states have a default reduction. - 102 out of 298 states are represented. - 44 out of 96 symbols keep track of their start position. - 41 out of 96 symbols keep track of their end position. - 264 specialized copies of 64 functions have been created. - The StackLang code contains 5161 instructions in 241 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 101 sample input sentences and 48 error messages. -> compiled menhir.20220210 -> installed menhir.20220210 Processing 26/27: [reason: dune build] + /home/opam/.opam/4.09/bin/dune "build" "-p" "reason" "-j" "31" (CWD=/home/opam/.opam/4.09/.opam-switch/build/reason.3.5.2) - (cd _build/default/src/reason-parser && /bin/bash -e -u -o pipefail -c 'menhir --explain --strict --unused-tokens ./reason_parser.mly --update-errors ./reason_parser.messages.checked-in | sed -e '\''s/[[:space:]]*$$//g'\''') > _build/default/src/reason-parser/reason_parser.messages - File "./reason_parser.mly", line 1673, characters 4-42: - Error: when --strategy simplified is selected, - the error token may appear only at the end of a production - (and the semantic action must abort the parser). - This production will be ignored. - File "./reason_parser.mly", line 4937, characters 8-14: - Error: symbol as_loc(structure_item) is unreachable from any of the start symbol(s). [ERROR] The compilation of reason.3.5.2 failed at "dune build -p reason -j 31". #=== ERROR while compiling reason.3.5.2 =======================================# # context 2.1.3 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///src # path ~/.opam/4.09/.opam-switch/build/reason.3.5.2 # command ~/.opam/4.09/bin/dune build -p reason -j 31 # exit-code 1 # env-file ~/.opam/log/reason-260-6555e1.env # output-file ~/.opam/log/reason-260-6555e1.out ### output ### # (cd _build/default/src/reason-parser && /bin/bash -e -u -o pipefail -c 'menhir --explain --strict --unused-tokens ./reason_parser.mly --update-errors ./reason_parser.messages.checked-in | sed -e '\''s/[[:space:]]*$$//g'\''') > _build/default/src/reason-parser/reason_parser.messages # File "./reason_parser.mly", line 1673, characters 4-42: # Error: when --strategy simplified is selected, # the error token may appear only at the end of a production # (and the semantic action must abort the parser). # This production will be ignored. # File "./reason_parser.mly", line 4937, characters 8-14: # Error: symbol as_loc(structure_item) is unreachable from any of the start symbol(s). <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build reason 3.5.2 +- +- The following changes have been performed | - install cppo 1.6.9 | - install menhir 20220210 | - install menhirLib 20220210 | - install menhirSdk 20220210 | - install merlin-extend 0.6.1 | - install ocaml-migrate-parsetree 1.8.0 | - install ppx_derivers 1.2.1 | - install result 1.5 +- # 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.09/.opam-switch/backup/state-20221210185139.export" 'opam --cli=2.1 install reason.3.5.2 cppo.1.6.9 dune.3.4.1 menhir.20220210 menhirLib.20220210 menhirSdk.20220210 merlin-extend.0.6.1 ocaml-migrate-parsetree.1.8.0 ocamlfind.1.9.5 ppx_derivers.1.2.1 result.1.5 --verbose --yes --confirm-level=unsafe-yes' failed.