OverviewCakeML:8fdd0194b329a57cd807b1855f7e06df263a18a9
Improvement (again) in printing failure handling
#872 (printing-type-check-each-dec)
Merging into:4317d3f1cb4cafc7b1ea154c0e89e4dcae2700ba
Update COPYING
HOL:6d938663389537576efe0d6e2eeee81911702d3d
Extend COPYRIGHT into 2022
Machine:stove 4.15.0-143-generic x86_64 GNU/Linux
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 140MB
Starting developers/bin
Finished developers/bin 6s 1GB
Starting semantics/ffi
Finished semantics/ffi 9s 252MB
Starting semantics
Finished semantics 1m56s 1GB
Starting semantics/proofs
Finished semantics/proofs 4m33s 3GB
Starting semantics/alt_semantics
Finished semantics/alt_semantics 25s 506MB
Starting semantics/alt_semantics/proofs
Finished semantics/alt_semantics/proofs 3m09s 1GB
Starting basis/pure
Finished basis/pure 1m06s 1GB
Starting translator
Finished translator 2m59s 1GB
Starting compiler/parsing
Finished compiler/parsing 1m15s 2GB
Starting characteristic
Finished characteristic 6m30s 2GB
Starting translator/monadic
Finished translator/monadic 1m57s 1GB
Starting basis
Resuming basis
Finished basis 29m21s 25GB
Starting compiler/inference
Finished compiler/inference 1m23s 1GB
Starting compiler/backend/reg_alloc
Finished compiler/backend/reg_alloc 1m43s 1GB
Starting compiler/backend/gc
Finished compiler/backend/gc 4m22s 1GB
Starting compiler/backend
Finished compiler/backend 5m38s 2GB
Starting compiler/encoders/asm
Finished compiler/encoders/asm 30s 715MB
Starting compiler/encoders/x64
Finished compiler/encoders/x64 30s 965MB
Starting compiler/encoders/arm7
Finished compiler/encoders/arm7 55s 1GB
Starting compiler/encoders/arm8
Finished compiler/encoders/arm8 16s 772MB
Starting compiler/encoders/arm8_asl
Finished compiler/encoders/arm8_asl 2m30s 931MB
Starting compiler/encoders/mips
Finished compiler/encoders/mips 21s 1GB
Starting compiler/encoders/riscv
Finished compiler/encoders/riscv 19s 946MB
Starting compiler/encoders/ag32
Finished compiler/encoders/ag32 21s 745MB
Starting compiler/backend/x64
Finished compiler/backend/x64 21s 1GB
Starting compiler/backend/arm7
Finished compiler/backend/arm7 23s 1GB
Starting compiler/backend/arm8
Finished compiler/backend/arm8 22s 1GB
Starting compiler/backend/mips
Finished compiler/backend/mips 22s 1GB
Starting compiler/backend/riscv
Finished compiler/backend/riscv 21s 1GB
Starting compiler/backend/ag32
Finished compiler/backend/ag32 1m24s 1GB
Starting compiler/parsing/proofs
Finished compiler/parsing/proofs 3m43s 1GB
Starting compiler/inference/proofs
Finished compiler/inference/proofs 2m31s 1GB
Starting compiler/backend/semantics
Finished compiler/backend/semantics 27m59s 2GB
Starting compiler/backend/reg_alloc/proofs
Finished compiler/backend/reg_alloc/proofs 3m32s 892MB
Starting compiler/backend/proofs
Finished compiler/backend/proofs 51m06s 15GB
Starting compiler/backend/serialiser
Finished compiler/backend/serialiser 1m38s 2GB
Starting compiler/encoders/x64/proofs
Finished compiler/encoders/x64/proofs 9m32s 5GB
Starting compiler/encoders/arm7/proofs
Finished compiler/encoders/arm7/proofs 12m57s 3GB
Starting compiler/encoders/arm8/proofs
Finished compiler/encoders/arm8/proofs 6m48s 1GB
Starting compiler/encoders/arm8_asl/proofs
Finished compiler/encoders/arm8_asl/proofs 48m17s 6GB
Starting compiler/encoders/mips/proofs
Finished compiler/encoders/mips/proofs 9m51s 2GB
Starting compiler/encoders/riscv/proofs
Finished compiler/encoders/riscv/proofs 8m46s 1GB
Starting compiler/encoders/ag32/proofs
Finished compiler/encoders/ag32/proofs 2m35s 633MB
Starting compiler/backend/x64/proofs
Finished compiler/backend/x64/proofs 27s 1GB
Starting compiler/backend/arm7/proofs
Finished compiler/backend/arm7/proofs 28s 1GB
Starting compiler/backend/arm8/proofs
Finished compiler/backend/arm8/proofs 27s 1GB
Starting compiler/backend/arm8_asl
Finished compiler/backend/arm8_asl 22s 1GB
Starting compiler/backend/mips/proofs
Finished compiler/backend/mips/proofs 28s 1GB
Starting compiler/backend/riscv/proofs
Finished compiler/backend/riscv/proofs 27s 1GB
Starting compiler/backend/ag32/proofs
Finished compiler/backend/ag32/proofs 12m36s 2GB
Starting compiler/proofs
Finished compiler/proofs 2m21s 3GB
Starting candle/set-theory
Finished candle/set-theory 35s 909MB
Starting candle/syntax-lib
Finished candle/syntax-lib 13s 712MB
Starting candle/standard/syntax
Finished candle/standard/syntax 2m00s 1GB
Starting candle/standard/semantics
Finished candle/standard/semantics 1m50s 1GB
Starting candle/standard/monadic
Finished candle/standard/monadic 1m55s 2GB
Starting candle/standard/ml_kernel
Finished candle/standard/ml_kernel 6m06s 3GB
Starting candle/overloading/syntax
Finished candle/overloading/syntax 3m13s 1GB
Starting candle/overloading/semantics
Finished candle/overloading/semantics 11m54s 2GB
Starting candle/overloading/monadic
Finished candle/overloading/monadic 2m32s 1GB
Starting candle/overloading/ml_kernel
Finished candle/overloading/ml_kernel 7m03s 3GB
Starting candle/overloading/ml_checker
Finished candle/overloading/ml_checker 2m23s 3GB
Starting candle/prover
Finished candle/prover 8m03s 3GB
Starting pancake
Finished pancake 3m44s 4GB
Starting pancake/ffi
Finished pancake/ffi 0s 35MB
Starting pancake/semantics
Finished pancake/semantics 2m29s 900MB
Starting pancake/proofs
Finished pancake/proofs 11m53s 5GB
Starting characteristic/examples
Finished characteristic/examples 1m22s 3GB
Starting tutorial/solutions
Finished tutorial/solutions 16m43s 9GB
Starting translator/monadic/examples
Finished translator/monadic/examples 3m50s 3GB
Starting examples
Finished examples 9m25s 3GB
Starting examples/compilation/x64
Finished examples/compilation/x64 2h33m46s 17GB
Starting examples/compilation/x64/proofs
Finished examples/compilation/x64/proofs 2m35s 3GB
Starting examples/compilation/ag32
Finished examples/compilation/ag32 35m33s 13GB
Starting examples/compilation/ag32/proofs
Finished examples/compilation/ag32/proofs 56s 3GB
Starting examples/cost
Finished examples/cost 55m31s 8GB
Starting examples/lpr_checker
Finished examples/lpr_checker 1m02s 975MB
Starting examples/lpr_checker/array
Finished examples/lpr_checker/array 27m54s 6GB
Starting examples/lpr_checker/array/compilation
Finished examples/lpr_checker/array/compilation 1h22m26s 26GB
Starting examples/lpr_checker/array/compilation/proofs
Finished examples/lpr_checker/array/compilation/proofs 1m28s 5GB
Starting examples/opentheory
Finished examples/opentheory 9m53s 5GB
Starting examples/opentheory
Finished examples/opentheory 1s 131MB
Starting examples/opentheory/compilation
Finished examples/opentheory/compilation 41m03s 31GB
Starting examples/opentheory/compilation/proofs
Finished examples/opentheory/compilation/proofs 55s 5GB
Starting examples/opentheory/compilation/ag32
Finished examples/opentheory/compilation/ag32 37m51s 28GB
Starting examples/opentheory/compilation/ag32/proofs
Finished examples/opentheory/compilation/ag32/proofs 2m13s 6GB
Starting examples/sat_encodings
Finished examples/sat_encodings 2m01s 751MB
Starting examples/sat_encodings/case_studies
Finished examples/sat_encodings/case_studies 1m41s 1GB
Starting examples/sat_encodings/translation
Finished examples/sat_encodings/translation 5m45s 5GB
Starting examples/sat_encodings/translation/compilation
Finished examples/sat_encodings/translation/compilation 49m51s 21GB
Starting translator/okasaki-examples
Finished translator/okasaki-examples 4m44s 1GB
Starting translator/other-examples
Finished translator/other-examples 1m57s 1GB
Starting compiler/parsing/tests
Finished compiler/parsing/tests 29s 587MB
Starting compiler/inference/tests
Finished compiler/inference/tests 7m54s 3GB
Starting compiler/printing/test
Finished compiler/printing/test 3m39s 3GB
Starting compiler/repl
Finished compiler/repl 12m29s 5GB
Starting compiler/bootstrap/translation
FAILED: compiler/bootstrap/translation
Scanning [1m$(HOLDIR)/src/sort[0m
Scanning [1m$(HOLDIR)/src/string[0m
Scanning [1m$(HOLDIR)/src/n-bit[0m
Scanning [1m$(HOLDIR)/src/res_quan/src[0m
Scanning [1m$(HOLDIR)/src/quotient/src[0m
Scanning [1m$(HOLDIR)/src/transfer[0m
Scanning [1m$(HOLDIR)/src/pred_set/src/more_theories[0m
Scanning [1m$(HOLDIR)/src/finite_maps[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/context-free[0m
Scanning [1m$(HOLDIR)/examples/machine-code/hoare-triple[0m
Scanning [1m$(HOLDIR)/src/ring/src[0m
Scanning [1m$(HOLDIR)/src/integer[0m
Scanning [1m$(HOLDIR)/src/hol88[0m
Scanning [1m$(HOLDIR)/src/real[0m
Scanning [1m$(HOLDIR)/src/floating-point[0m
Scanning [1m$(HOLDIR)/src/monad/more_monads[0m
Scanning [1m$(HOLDIR)/src/update[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/common[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/lib[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm8/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/mips/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/riscv/model[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/model[0m
Scanning [1m$(HOLDIR)/examples/balanced_bst[0m
Scanning [1m$(HOLDIR)/examples/formal-languages[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/regular[0m
Scanning [1m$(HOLDIR)/src/coalgebras[0m
Scanning [1m$(HOLDIR)/examples/fun-op-sem/lprefix_lub[0m
Scanning [1m$(CAKEMLDIR)/developers[0m
Scanning [1m$(CAKEMLDIR)/misc[0m
Scanning [1m$(CAKEMLDIR)/semantics/ffi[0m
Scanning [1m$(CAKEMLDIR)/semantics[0m
Scanning [1m$(CAKEMLDIR)/basis/pure[0m
Scanning [1m$(CAKEMLDIR)/semantics/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/parsing[0m
Scanning [1m$(CAKEMLDIR)/translator[0m
Scanning [1m$(CAKEMLDIR)/characteristic[0m
Scanning [1m$(CAKEMLDIR)/translator/monadic/monad_base[0m
Scanning [1m$(CAKEMLDIR)/translator/monadic[0m
Scanning [1m$(CAKEMLDIR)/basis[0m
Scanning [1m$(HOLDIR)/examples/algorithms[0m
Scanning [1m$(HOLDIR)/examples/machine-code/multiword[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/pattern_matching[0m
Scanning [1m$(CAKEMLDIR)/unverified/reg_alloc[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/asm[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/ag32[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/ag32[0m
Scanning [1m$(HOLDIR)/examples/machine-code/decompiler[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/arm7[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/arm7[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm8/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/arm8[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/arm8[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/mips/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/mips[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/mips[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/riscv/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/riscv[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/riscv[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/x64/step[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/x64[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/x64[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular/first-order[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference[0m
Scanning [1m$(CAKEMLDIR)/compiler[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/serialiser[0m
Scanning [1m$(CAKEMLDIR)/compiler/encoders/monadic_enc[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/parsing/ocaml[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/ml_kernel/lisp[0m
Scanning [1m$(CAKEMLDIR)/candle/syntax-lib[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/syntax[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/monadic[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/ml_kernel[0m
Scanning [1m$(CAKEMLDIR)/candle/set-theory[0m
Scanning [1m$(CAKEMLDIR)/candle/standard/semantics[0m
Scanning [1m$(CAKEMLDIR)/candle/prover[0m
Scanning [1m$(CAKEMLDIR)/compiler/printing[0m
Scanning [1m$(CAKEMLDIR)/compiler/repl[0m
Scanned 88 directories
Starting work on precparserTheory
Starting work on monadic_encTheory
Starting work on caml_lexTheory
Starting work on README.md
README.md compiler/bootstrap/translation (0s) OK
Starting work on decProgTheory
precparserTheory examples/formal-languages/context-free (1s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 1] (1.030s)
monadic_encTheory compiler/encoders/monadic_enc (12s) OK
Starting work on monadic_enc32Theory
Starting work on monadic_enc64Theory
monadic_enc32Theory compiler/encoders/monadic_enc (19s) OK
monadic_enc64Theory compiler/encoders/monadic_enc (19s) OK
Finished $(CAKEMLDIR)/compiler/encoders/monadic_enc [#theories: 3] (51.420s)
decProgTheory compiler/bootstrap/translation(132s) OK
Starting work on to_flatProgTheory
caml_lexTheory compiler/parsing/ocaml(230s) OK
Starting work on camlPEGTheory
camlPEGTheory compiler/parsing/ocaml(105s) OK
Starting work on camlPtreeConversionTheory
camlPtreeConversionTheory compiler/parsing/ocaml (45s) OK
Starting work on caml_parserTheory
caml_parserTheory compiler/parsing/ocaml (13s) OK
Finished $(CAKEMLDIR)/compiler/parsing/ocaml [#theories: 4] (394.470s)
to_flatProgTheory compiler/bootstrap/translation(314s) OK
Starting work on to_closProgTheory
to_closProgTheory compiler/bootstrap/translation(468s) OK
Starting work on to_bvlProgTheory
to_bvlProgTheory compiler/bootstrap/translation(477s) OK
Starting work on to_bviProgTheory
to_bviProgTheory compiler/bootstrap/translation(380s) OK
Starting work on to_dataProgTheory
to_dataProgTheory compiler/bootstrap/translation(223s) OK
Starting work on lexerProgTheory
lexerProgTheory compiler/bootstrap/translation(179s) OK
Starting work on parserProgTheory
parserProgTheory compiler/bootstrap/translation(519s) OK
Starting work on caml_lexProgTheory
caml_lexProgTheory compiler/bootstrap/translation(451s) OK
Starting work on caml_parserProgTheory
caml_parserProgTheory compiler/bootstrap/translation(972s) OK
Starting work on reg_allocProgTheory
reg_allocProgTheory compiler/bootstrap/translation (16m) OK
Starting work on inferProgTheory
inferProgTheory compiler/bootstrap/translation (32m) OK
Starting work on explorerProgTheory
explorerProgTheory compiler/bootstrap/translation(898s) OK
Starting work on decodeProgTheory
decodeProgTheory compiler/bootstrap/translation(262s) OK
Starting work on sexp_parserProgTheory
sexp_parserProgTheory compiler/bootstrap/translation(230s) OK
Starting work on to_word32ProgTheory
Starting work on printingProgTheory
printingProgTheory compiler/bootstrap/translation(133s)FAIL<1>
Translating addprintvals_inf_t_to_ast_t_mono
Saved theorem _______ "nsLookup_printingProg_env_22_pfun_eqs"
Adding nsLookup representation thms for [printingProg_env_21]
Adding nsLookup representation thms for [printingProg_env_22]
Saved theorem _______ "addprintvals_inf_t_to_ast_t_mono_v_thm"
/home/cug/hk324/cml-regression/cakeml-1851/compiler/bootstrap/translation/printingProgScript.sml:68: error: Value or constructor (print_of_val_def) has not been declared in structure addPrintValsTheory
Found near translate addPrintValsTheory.print_of_val_def
error in quse /home/cug/hk324/cml-regression/cakeml-1851/compiler/bootstrap/translation/printingProgScript.sml : Fail "Static Errors"
error in load /home/cug/hk324/cml-regression/cakeml-1851/compiler/bootstrap/translation/printingProgScript : Fail "Static Errors"
Uncaught exception: Fail "Static Errors"
to_word32ProgTheory compiler/bootstrap/translation(134s)MKILLED