OverviewCakeML:b562031a45762ae7bdef8c1a2f02c4660d33b65e
Fix typo in parse error handling code
#1073 (pan_parseErrFix)
Merging into:b94ca1db7fb392d05ab143a451a30f7a5ba3390d
Adjust @myreen's editor settings
HOL:07c84bff2b89ddb2c81c57884f4141bbc37accdb
Fix cv_compute regression test to cope with case-sensitive files
Machine:pavlova
Claimed job
Building HOL
Starting developers
Finished developers 3s 211MB
Starting developers/bin
Finished developers/bin 22s 1GB
Starting compiler/proofs
Finished compiler/proofs 1h46m50s 32GB
Starting compiler/bootstrap/translation
FAILED: compiler/bootstrap/translation
Scanning $(HOLDIR)/src/bag
Scanning $(HOLDIR)/src/sort
Scanning $(HOLDIR)/src/string
Scanning $(HOLDIR)/src/n-bit
Scanning $(HOLDIR)/src/res_quan/src
Scanning $(HOLDIR)/src/finite_maps
Scanning $(HOLDIR)/examples/formal-languages/context-free
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
Scanning $(HOLDIR)/src/ring/src
Scanning $(HOLDIR)/src/integer
Scanning $(HOLDIR)/src/transfer
Scanning $(HOLDIR)/src/pred_set/src/more_theories
Scanning $(HOLDIR)/src/algebra/base
Scanning $(HOLDIR)/src/algebra/construction
Scanning $(HOLDIR)/src/algebra
Scanning $(HOLDIR)/src/hol88
Scanning $(HOLDIR)/src/rational
Scanning $(HOLDIR)/src/real
Scanning $(HOLDIR)/src/floating-point
Scanning $(HOLDIR)/src/monad/more_monads
Scanning $(HOLDIR)/src/update
Scanning $(HOLDIR)/examples/l3-machine-code/common
Scanning $(HOLDIR)/examples/l3-machine-code/lib
Scanning $(HOLDIR)/examples/l3-machine-code/arm/model
Scanning $(HOLDIR)/examples/l3-machine-code/arm8/model
Scanning $(HOLDIR)/examples/l3-machine-code/mips/model
Scanning $(HOLDIR)/examples/l3-machine-code/riscv/model
Scanning $(HOLDIR)/examples/l3-machine-code/x64/model
Scanning $(HOLDIR)/examples/balanced_bst
Scanning $(HOLDIR)/examples/formal-languages
Scanning $(HOLDIR)/examples/formal-languages/regular
Scanning $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/examples/fun-op-sem/lprefix_lub
Scanning $(CAKEMLDIR)/developers
Scanning $(CAKEMLDIR)/misc
Scanning $(CAKEMLDIR)/semantics/ffi
Scanning $(CAKEMLDIR)/semantics
Scanning $(CAKEMLDIR)/basis/pure
Scanning $(CAKEMLDIR)/semantics/proofs
Scanning $(CAKEMLDIR)/compiler/parsing
Scanning $(CAKEMLDIR)/translator
Scanning $(CAKEMLDIR)/characteristic
Scanning $(CAKEMLDIR)/translator/monadic/monad_base
Scanning $(CAKEMLDIR)/translator/monadic
Scanning $(CAKEMLDIR)/basis
Scanning $(HOLDIR)/examples/algorithms
Scanning $(HOLDIR)/examples/machine-code/multiword
Scanning $(CAKEMLDIR)/compiler/backend/pattern_matching
Scanning $(CAKEMLDIR)/unverified/reg_alloc
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc
Scanning $(CAKEMLDIR)/compiler/encoders/asm
Scanning $(CAKEMLDIR)/compiler/backend
Scanning $(CAKEMLDIR)/compiler/encoders/ag32
Scanning $(CAKEMLDIR)/compiler/backend/ag32
Scanning $(HOLDIR)/examples/machine-code/decompiler
Scanning $(HOLDIR)/examples/l3-machine-code
Scanning $(HOLDIR)/examples/l3-machine-code/arm/step
Scanning $(CAKEMLDIR)/compiler/encoders/arm7
Scanning $(CAKEMLDIR)/compiler/backend/arm7
Scanning $(HOLDIR)/examples/l3-machine-code/arm8/step
Scanning $(CAKEMLDIR)/compiler/encoders/arm8
Scanning $(CAKEMLDIR)/compiler/backend/arm8
Scanning $(HOLDIR)/examples/l3-machine-code/mips/step
Scanning $(CAKEMLDIR)/compiler/encoders/mips
Scanning $(CAKEMLDIR)/compiler/backend/mips
Scanning $(HOLDIR)/examples/l3-machine-code/riscv/step
Scanning $(CAKEMLDIR)/compiler/encoders/riscv
Scanning $(CAKEMLDIR)/compiler/backend/riscv
Scanning $(HOLDIR)/examples/l3-machine-code/x64/step
Scanning $(CAKEMLDIR)/compiler/encoders/x64
Scanning $(CAKEMLDIR)/compiler/backend/x64
Scanning $(HOLDIR)/examples/algorithms/unification/triangular
Scanning $(HOLDIR)/src/transfer/examples
Scanning $(HOLDIR)/examples/algorithms/unification/triangular/first-order
Scanning $(HOLDIR)/examples/algorithms/unification/triangular/first-order/compilation
Scanning $(CAKEMLDIR)/compiler/inference
Scanning $(CAKEMLDIR)/pancake
Scanning $(CAKEMLDIR)/pancake/parser
Scanning $(CAKEMLDIR)/compiler
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc/proofs
Scanning $(CAKEMLDIR)/compiler/backend/serialiser
Scanning $(CAKEMLDIR)/compiler/encoders/monadic_enc
Scanning $(CAKEMLDIR)/compiler/parsing/ocaml
Scanning $(CAKEMLDIR)/candle/standard/ml_kernel/lisp
Scanning $(CAKEMLDIR)/candle/syntax-lib
Scanning $(CAKEMLDIR)/candle/standard/syntax
Scanning $(CAKEMLDIR)/candle/standard/monadic
Scanning $(CAKEMLDIR)/candle/standard/ml_kernel
Scanning $(CAKEMLDIR)/candle/set-theory
Scanning $(CAKEMLDIR)/candle/standard/semantics
Scanning $(CAKEMLDIR)/candle/prover/compute
Scanning $(CAKEMLDIR)/candle/prover
Scanning $(CAKEMLDIR)/compiler/inference/proofs
Scanning $(CAKEMLDIR)/compiler/printing
Scanning $(CAKEMLDIR)/compiler/repl
Scanned 97 directories
Starting work on precparserTheory
Starting work on basis_cvTheory
Starting work on ml_monadStoreTheory
Starting work on num_list_enc_decTheory
precparserTheory examples/formal-languages/context-free (0s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 1] (0.980s)
Starting work on monadic_encTheory
basis_cvTheory basis/pure (7s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 1] (7.840s)
Starting work on unify_cvTheory
monadic_encTheory compiler/encoders/monadic_enc (19s) OK
Starting work on monadic_enc32Theory
ml_monadStoreTheory translator/monadic (20s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 1] (20.550s)
Starting work on monadic_enc64Theory
num_list_enc_decTheory compiler/backend/serialiser (29s) OK
Starting work on num_tree_enc_decTheory
unify_cvTheory compiler/inference (23s) OK
Starting work on infer_cvTheory
monadic_enc32Theory compiler/encoders/monadic_enc (22s) OK
Starting work on caml_lexTheory
monadic_enc64Theory compiler/encoders/monadic_enc (23s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 3] (65.230s)
Starting work on lisp_valuesTheory
lisp_valuesTheory candle/standard/ml_kernel/lisp (2s) OK
Starting work on lisp_parsingTheory
lisp_parsingTheory candle/standard/ml_kernel/lisp (2s) OK
Starting work on lisp_printingTheory
lisp_printingTheory candle/standard/ml_kernel/lisp (2s) OK
Starting work on lisp_parsing_proofsTheory
num_tree_enc_decTheory compiler/backend/serialiser (23s) OK
Starting work on backend_enc_decTheory
lisp_parsing_proofsTheory candle/standard/ml_kernel/lisp (4s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel/lisp [#theories: 4] (11.810s)
Starting work on holSyntaxLibTheory
holSyntaxLibTheory candle/syntax-lib (18s) OK
Finished $(CAKEMLDIR)/candle/syntax-lib [#theories: 1] (18.710s)
Starting work on holSyntaxTheory
infer_cvTheory compiler/inference (68s) OK
Finished $(CAKEMLDIR)/compiler/inference [#theories: 2] (91.990s)
Starting work on ast_extrasTheory
holSyntaxTheory candle/standard/syntax (25s) OK
Starting work on holSyntaxExtraTheory
backend_enc_decTheory compiler/backend/serialiser (55s) OK
Finished $(CAKEMLDIR)/compiler/backend/serialiser [#theories: 3] (108.190s)
Starting work on addPrintValsTheory
ast_extrasTheory candle/prover (18s) OK
Starting work on permsTheory
addPrintValsTheory compiler/printing (18s) OK
Starting work on addTypePPTheory
addTypePPTheory compiler/printing (13s) OK
Starting work on printTweaksTheory
holSyntaxExtraTheory candle/standard/syntax (44s) OK
Starting work on holBoolSyntaxTheory
printTweaksTheory compiler/printing (17s) OK
Starting work on holKernelTheory
holBoolSyntaxTheory candle/standard/syntax (37s) OK
Starting work on holAxiomsSyntaxTheory
holKernelTheory candle/standard/monadic (36s) OK
Starting work on holKernelPmatchTheory
permsTheory candle/prover (86s) OK
Starting work on holKernelProofTheory
holAxiomsSyntaxTheory candle/standard/syntax (24s) OK
Finished $(CAKEMLDIR)/candle/standard/syntax [#theories: 4] (131.170s)
Starting work on runtime_checkTheory
holKernelPmatchTheory candle/standard/monadic (28s) OK
Starting work on print_thmTheory
runtime_checkTheory candle/standard/ml_kernel (24s) OK
Starting work on ml_hol_kernel_funsProgTheory
print_thmTheory candle/standard/ml_kernel (20s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 3] (49.200s)
Starting work on README.md
README.md compiler/bootstrap/translation (0s) OK
holKernelProofTheory candle/standard/monadic (69s) OK
Finished $(CAKEMLDIR)/candle/standard/monadic [#theories: 3] (134.430s)
Starting work on compute_syntaxTheory
caml_lexTheory compiler/parsing/ocaml(245s) OK
Starting work on camlPEGTheory
compute_syntaxTheory candle/prover/compute (28s) OK
Starting work on compute_evalTheory
compute_evalTheory candle/prover/compute (27s) OK
Starting work on compute_execTheory
compute_execTheory candle/prover/compute (23s) OK
Starting work on computeTheory
computeTheory candle/prover/compute (21s) OK
Starting work on compute_pmatchTheory
compute_pmatchTheory candle/prover/compute (26s) OK
Finished $(CAKEMLDIR)/candle/prover/compute [#theories: 5] (127.390s)
camlPEGTheory compiler/parsing/ocaml(121s) OK
Starting work on camlPtreeConversionTheory
camlPtreeConversionTheory compiler/parsing/ocaml (69s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (20s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (456.770s)
ml_hol_kernel_funsProgTheory candle/standard/ml_kernel(285s) OK
Finished $(CAKEMLDIR)/candle/standard/ml_kernel [#theories: 3] (330.220s)
Starting work on candle_kernelProgTheory
candle_kernelProgTheory candle/prover(609s) OK
Starting work on candle_kernel_valsTheory
Starting work on repl_moduleProgTheory
candle_kernel_valsTheory candle/prover(114s) OK
Starting work on candle_prover_invTheory
repl_moduleProgTheory compiler/repl(109s) OK
Starting work on repl_init_envProgTheory
candle_prover_invTheory candle/prover (38s) OK
Finished $(CAKEMLDIR)/candle/prover [#theories: 5] (868.110s)
Starting work on repl_decs_allowedTheory
repl_init_envProgTheory compiler/repl (53s) OK
repl_decs_allowedTheory compiler/repl (37s) OK
Starting work on repl_check_and_tweakTheory
Starting work on decProgTheory
repl_check_and_tweakTheory compiler/repl (69s) OK
Starting work on repl_init_typesTheory
decProgTheory compiler/bootstrap/translation(164s) OK
Starting work on to_flatProgTheory
repl_init_typesTheory compiler/repl (84s) OK
Finished $(CAKEMLDIR)/compiler/repl [#theories: 5] (354.300s)
to_flatProgTheory compiler/bootstrap/translation(335s) OK
Starting work on to_closProgTheory
to_closProgTheory compiler/bootstrap/translation(737s) OK
Starting work on to_bvlProgTheory
to_bvlProgTheory compiler/bootstrap/translation(552s) OK
Starting work on to_bviProgTheory
to_bviProgTheory compiler/bootstrap/translation(455s) OK
Starting work on to_dataProgTheory
to_dataProgTheory compiler/bootstrap/translation(271s) OK
Starting work on lexerProgTheory
lexerProgTheory compiler/bootstrap/translation(205s) OK
Starting work on parserProgTheory
parserProgTheory compiler/bootstrap/translation(686s) OK
Starting work on caml_lexProgTheory
caml_lexProgTheory compiler/bootstrap/translation(491s) OK
Starting work on caml_parserProgTheory
caml_parserProgTheory compiler/bootstrap/translation (28m) OK
Starting work on pancake_lexProgTheory
pancake_lexProgTheory compiler/bootstrap/translation(183s) OK
Starting work on pancake_parseProgTheory
pancake_parseProgTheory compiler/bootstrap/translation(248s)FAIL<1>
pegexec$AP fk i r (optmax MAXerr eo (SOME (sloc i,err)))
((sloc i,err)::errs)
| pegexec$AP (ksym e'' k'' fk') i' r' eo' errs' =>
pegexec$EV e'' i' r' eo' errs' k'' fk'
| pegexec$AP (appf1 f1 k'') i' [] eo' errs' => Looped
| pegexec$AP (appf1 f1 k'') i' (NONE::r'') eo' errs' => Looped
| pegexec$AP (appf1 f1 k'') i' (SOME v''::r'') eo' errs' =>
pegexec$AP k'' i' (SOME (f1 v'')::r'') eo' errs'
| pegexec$AP (appf2 f2 k'') i' [] eo' errs' => Looped
| pegexec$AP (appf2 f2 k'') i' [v65] eo' errs' => Looped
| pegexec$AP (appf2 f2 k'') i' (v65::NONE::r'') eo' errs' => Looped
| pegexec$AP (appf2 f2 k'') i' (NONE::SOME v2::r'') eo' errs' =>
Looped
| pegexec$AP (appf2 f2 k'') i' (SOME v1::SOME v2::r'') eo' errs' =>
pegexec$AP k'' i' (SOME (f2 v2 v1)::r'') eo' errs'
| pegexec$AP (dropErr k') i' r' eo' [] => Looped
| pegexec$AP (dropErr k') i' r' eo' (v75::t') =>
pegexec$AP k' i' r' eo' t'
| pegexec$AP (addErr l' e'' k'') i' r' eo' errs' =>
pegexec$AP k'' i' r' (optmax MAXerr eo' (SOME (l',e'')))
((l',e'')::errs')
| pegexec$AP (cmpErrs k'') i' r' eo' [] => Looped
| pegexec$AP (cmpErrs k'') i' r' eo' [v77] => Looped
| pegexec$AP (cmpErrs k'') i' r' eo' ((l2,er2)::(l1,er1)::rest) =>
pegexec$AP k'' i' r' eo'
((if locsle l1 l2 then (l2,er2) else (l1,er1))::rest)
| pegexec$AP (cmpEO eo1 k'') i' r' eo' [] => Looped
| pegexec$AP (cmpEO eo1 k'') i' r' eo' ((l'',err')::rest') =>
pegexec$AP k'' i' r' (optmax MAXerr eo1 (SOME (l'',err')))
((l'',err')::rest')
| pegexec$AP (returnTo i'' r'' k'') i' r' eo' errs' =>
pegexec$AP k'' i'' r'' eo' errs'
| pegexec$AP (restoreEO eo'' k'') i' r' eo' errs' =>
pegexec$AP k'' i' r' eo'' errs'
| pegexec$AP (poplist f'' k'') i' r' eo' [] => Looped
| pegexec$AP (poplist f'' k'') i' r' eo' (e''::errs'') =>
pegexec$AP k'' i' (poplistval f'' r') eo' errs''
| pegexec$AP (listsym e'' f' k'') i' r' eo' errs' =>
pegexec$EV e'' i' r' eo' errs'
(restoreEO eo' (listsym e'' f' k'')) (poplist f' k'')
| pegexec$AP done i' [] eo' errs' => Looped
| pegexec$AP done i' (NONE::t) eo' errs' => Looped
| pegexec$AP done i' (SOME rv::t) eo' errs' =>
Result (Success i' rv eo')
| pegexec$AP failed i' r' eo' [] => Looped
| pegexec$AP failed i' r' eo' ((l,e'')::v95) => Result (Failure l e'')
| Result r'' => Result r''
| Looped => Looped) (pegexec$EV (mknt FunNT) x [] NONE [] done failed)
Uncaught exception at /scratch/cakeml/regression/HOL-07c84bff2b89ddb2c81c57884f4141bbc37accdb/src/1/Tactical.sml:64: HOL_ERR {message = "unsolved goals", origin_function = "TAC_PROOF", origin_structure = "Tactical"}