CakeML:cf888d1f25d6978a0015ae88c7b6751cf450f891
Improve build-everything.py
#1099 (ml_progLib_update)
Merging into:2e7a9fa51b7bfda0eb3a5f345d8f3373b95a4ba7
Merge pull request #1096 from CakeML/update_hol
HOL:01016dcf0e02558d270fce008fce672df8cdbbf7
Fix (last few(?)) compile-time errors caused by located_thms
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 3s 214MB
Starting developers/bin
Finished developers/bin 5s 746MB
Starting compiler/proofs
FAILED: compiler/proofs
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/balanced_bst
Scanning $(HOLDIR)/examples/formal-languages
Scanning $(HOLDIR)/examples/formal-languages/regular
Scanning $(HOLDIR)/src/transfer
Scanning $(HOLDIR)/src/pred_set/src/more_theories
Scanning $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/examples/fun-op-sem/lprefix_lub
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
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)/src/ring/src
Scanning $(HOLDIR)/src/integer
Scanning $(HOLDIR)/examples/machine-code/multiword
Scanning $(CAKEMLDIR)/compiler/backend/pattern_matching
Scanning $(CAKEMLDIR)/unverified/reg_alloc
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc
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 $(CAKEMLDIR)/compiler/encoders/asm
Scanning $(CAKEMLDIR)/compiler/backend
Scanning $(CAKEMLDIR)/compiler/encoders/ag32
Scanning $(CAKEMLDIR)/compiler/backend/ag32
Scanning $(HOLDIR)/examples/l3-machine-code/lib
Scanning $(HOLDIR)/examples/l3-machine-code/arm/model
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/model
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/model
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/model
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/model
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/gc
Scanning $(CAKEMLDIR)/compiler/backend/reg_alloc/proofs
Scanning $(CAKEMLDIR)/semantics/alt_semantics
Scanning $(CAKEMLDIR)/semantics/alt_semantics/proofs
Scanning $(CAKEMLDIR)/compiler/backend/semantics
Scanning $(CAKEMLDIR)/compiler/backend/proofs
Scanning $(CAKEMLDIR)/compiler/inference/proofs
Scanning $(CAKEMLDIR)/compiler/parsing/proofs
Scanned 89 directories
Starting work on miscTheory
Starting work on ag32Theory
ag32Theory compiler/encoders/ag32 (9s) OK
miscTheory misc (27s) OK
Starting work on cakeml-heap
Starting work on ffiTheory
Starting work on pattern_commonTheory
Starting work on parmoveTheory
ffiTheory semantics/ffi (7s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (7.740s)
Starting work on gc_sharedTheory
cakeml-heap misc (20s) OK
Finished $(CAKEMLDIR)/misc [#theories: 1] (48.410s)
Starting work on fpValTreeTheory
pattern_commonTheory compiler/backend/pattern_matching (9s) OK
Starting work on namespaceTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
namespaceTheory semantics (2s) OK
Starting work on realOpsTheory
realOpsTheory semantics (0s) OK
Starting work on tokensTheory
fpOptTheory semantics (4s) OK
Starting work on fpSemTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
fpSemTheory semantics (1s) OK
Starting work on astTheory
parmoveTheory compiler/backend/reg_alloc (22s) OK
Starting work on tokenUtilsTheory
gramTheory semantics (7s) OK
Starting work on lexer_funTheory
gc_sharedTheory compiler/backend/gc (15s) OK
Starting work on mllistTheory
astTheory semantics (7s) OK
Starting work on semanticPrimitivesTheory
mllistTheory basis/pure (2s) OK
Starting work on mlstringTheory
tokenUtilsTheory semantics (8s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (8s) OK
Starting work on mloptionTheory
mloptionTheory basis/pure (2s) OK
Starting work on mlmapTheory
mlmapTheory basis/pure (4s) OK
Starting work on mlvectorTheory
mlstringTheory basis/pure (12s) OK
Starting work on mlintTheory
mlvectorTheory basis/pure (4s) OK
Starting work on mlsetTheory
mlsetTheory basis/pure (2s) OK
Starting work on gramPropsTheory
mlintTheory basis/pure (7s) OK
Starting work on mlprettyprinterTheory
cmlPtreeConversionTheory semantics (18s) OK
Starting work on mlratTheory
mlratTheory basis/pure (3s) OK
Starting work on typeDecToPPTheory
mlprettyprinterTheory basis/pure (7s) OK
Starting work on namespacePropsTheory
typeDecToPPTheory basis/pure (2s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (49.520s)
Starting work on cmlPEGTheory
semanticPrimitivesTheory semantics (33s) OK
Starting work on evaluateTheory
namespacePropsTheory semantics/proofs (6s) OK
Starting work on typeSystemTheory
gramPropsTheory semantics/proofs (14s) OK
Starting work on astPropsTheory
astPropsTheory semantics/proofs (1s) OK
Starting work on fpOptPropsTheory
evaluateTheory semantics (5s) OK
Starting work on semanticPrimitivesPropsTheory
fpOptPropsTheory semantics/proofs (5s) OK
Starting work on fpSemPropsTheory
typeSystemTheory semantics (12s) OK
Starting work on primTypesTheory
primTypesTheory semantics (1s) OK
Starting work on semanticsTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (124.450s)
Starting work on typeSoundInvariantsTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on fromSexpTheory
semanticPrimitivesPropsTheory semantics/proofs (35s) OK
Starting work on typeSysPropsTheory
cmlPEGTheory compiler/parsing (62s) OK
Starting work on cmlParseTheory
typeSysPropsTheory semantics/proofs (20s) OK
Starting work on primSemEnvTheory
cmlParseTheory compiler/parsing (8s) OK
Starting work on weakeningTheory
primSemEnvTheory semantics/proofs (7s) OK
Starting work on lexer_implTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on cfFFITypeTheory
cfFFITypeTheory characteristic (4s) OK
Starting work on ml_monadBaseTheory
ml_monadBaseTheory translator/monadic/monad_base (15s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (15.940s)
Starting work on MarshallingTheory
MarshallingTheory basis (3s) OK
Starting work on pattern_semanticsTheory
fpSemPropsTheory semantics/proofs (90s) OK
Starting work on evaluatePropsTheory
fromSexpTheory compiler/parsing (69s) OK
Starting work on reg_allocTheory
pattern_semanticsTheory compiler/backend/pattern_matching (13s) OK
Starting work on pattern_compTheory
lexer_implTheory compiler/parsing (46s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (186.700s)
Starting work on asmTheory
pattern_compTheory compiler/backend/pattern_matching (15s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (38.880s)
Starting work on backend_commonTheory
asmTheory compiler/encoders/asm (11s) OK
Starting work on asmSemTheory
backend_commonTheory compiler/backend (3s) OK
Starting work on closLangTheory
reg_allocTheory compiler/backend/reg_alloc (36s) OK
Starting work on linear_scanTheory
closLangTheory compiler/backend (8s) OK
Starting work on bviTheory
asmSemTheory compiler/encoders/asm (11s) OK
Starting work on asmPropsTheory
bviTheory compiler/backend (2s) OK
Starting work on dataLangTheory
dataLangTheory compiler/backend (3s) OK
Starting work on data_liveTheory
data_liveTheory compiler/backend (7s) OK
Starting work on data_simpTheory
data_simpTheory compiler/backend (2s) OK
Starting work on data_spaceTheory
asmPropsTheory compiler/encoders/asm (15s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (39.230s)
Starting work on bvi_letTheory
bvi_letTheory compiler/backend (4s) OK
Starting work on bvi_tailrecTheory
data_spaceTheory compiler/backend (7s) OK
Starting work on bvi_to_dataTheory
linear_scanTheory compiler/backend/reg_alloc (32s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (91.150s)
Starting work on bvlTheory
bvlTheory compiler/backend (2s) OK
Starting work on bvl_constTheory
evaluatePropsTheory semantics/proofs (82s) OK
Starting work on typeSoundTheory
bvi_to_dataTheory compiler/backend (28s) OK
Starting work on evaluate_decTheory
evaluate_decTheory translator (6s) OK
Starting work on ml_progTheory
bvi_tailrecTheory compiler/backend (42s) OK
Starting work on db_varsTheory
db_varsTheory compiler/backend (2s) OK
Starting work on bvl_jumpTheory
bvl_jumpTheory compiler/backend (2s) OK
Starting work on clos_annotateTheory
ml_progTheory translator (13s) OK
Starting work on ml_translatorTheory
clos_annotateTheory compiler/backend (6s) OK
Starting work on cfHeapsBaseTheory
cfHeapsBaseTheory characteristic (15s) OK
Starting work on clFFITheory
bvl_constTheory compiler/backend (62s) OK
Starting work on runtimeFFITheory
clFFITheory basis (4s) OK
Starting work on fsFFITheory
runtimeFFITheory basis (4s) OK
Starting work on bvl_handleTheory
fsFFITheory basis (9s) OK
Starting work on fsFFIPropsTheory
ml_translatorTheory translator (55s) OK
Starting work on ml_optimiseTheory
bvl_handleTheory compiler/backend (26s) OK
Starting work on ml_pmatchTheory
ml_optimiseTheory translator (14s) OK
Starting work on bvl_inlineTheory
ml_pmatchTheory translator (11s) OK
Starting work on std_preludeTheory
bvl_inlineTheory compiler/backend (7s) OK
Starting work on cfHeapsTheory
fsFFIPropsTheory basis (45s) OK
Starting work on bvl_to_bviTheory
std_preludeTheory translator (12s) OK
Finished $(CAKEMLDIR)/translator [#theories: 6] (114.020s)
Starting work on clos_callTheory
cfHeapsTheory characteristic (12s) OK
Starting work on cfStoreTheory
clos_callTheory compiler/backend (7s) OK
Starting work on clos_fvsTheory
clos_fvsTheory compiler/backend (2s) OK
Starting work on clos_letopTheory
clos_letopTheory compiler/backend (3s) OK
Starting work on clos_opTheory
cfStoreTheory characteristic (14s) OK
Starting work on cfNormaliseTheory
cfNormaliseTheory characteristic (13s) OK
Starting work on cfAppTheory
typeSoundTheory semantics/proofs(166s) OK
Starting work on semanticsPropsTheory
semanticsPropsTheory semantics/proofs (6s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 13] (447.950s)
Starting work on clos_ticksTheory
clos_ticksTheory compiler/backend (2s) OK
Starting work on clos_mtiTheory
bvl_to_bviTheory compiler/backend (52s) OK
Starting work on clos_numberTheory
clos_mtiTheory compiler/backend (4s) OK
Starting work on stackLangTheory
clos_opTheory compiler/backend (34s) OK
Starting work on clos_knownTheory
clos_numberTheory compiler/backend (2s) OK
Starting work on clos_interpTheory
cfAppTheory characteristic (20s) OK
Starting work on cfTheory
stackLangTheory compiler/backend (6s) OK
Starting work on wordLangTheory
wordLangTheory compiler/backend (10s) OK
Starting work on word_bignumTheory
clos_interpTheory compiler/backend (24s) OK
Starting work on word_depthTheory
word_depthTheory compiler/backend (3s) OK
Starting work on word_allocTheory
clos_knownTheory compiler/backend (31s) OK
Starting work on clos_to_bvlTheory
word_bignumTheory compiler/backend (28s) OK
Starting work on word_cseTheory
word_cseTheory compiler/backend (9s) OK
Starting work on word_instTheory
word_instTheory compiler/backend (26s) OK
Starting work on word_removeTheory
cfTheory characteristic (88s) OK
Starting work on cfTacticsTheory
word_removeTheory compiler/backend (7s) OK
Starting work on xcfTheory
word_allocTheory compiler/backend (66s) OK
Starting work on word_simpTheory
xcfTheory characteristic (4s) OK
Starting work on flatLangTheory
cfTacticsTheory characteristic (11s) OK
Starting work on cfDivTheory
flatLangTheory compiler/backend (8s) OK
Starting work on cfLetAutoTheory
clos_to_bvlTheory compiler/backend (79s) OK
Starting work on cfMainTheory
cfLetAutoTheory characteristic (19s) OK
Starting work on ml_monad_translatorBaseTheory
word_simpTheory compiler/backend (34s) OK
Starting work on word_to_wordTheory
cfMainTheory characteristic (17s) OK
Starting work on flat_to_closTheory
word_to_wordTheory compiler/backend (4s) OK
Starting work on data_to_wordTheory
ml_monad_translatorBaseTheory translator/monadic (18s) OK
Starting work on ml_monad_translatorTheory
flat_to_closTheory compiler/backend (15s) OK
Starting work on jsonLangTheory
jsonLangTheory compiler/backend (3s) OK
Starting work on labLangTheory
labLangTheory compiler/backend (2s) OK
Starting work on lab_filterTheory
lab_filterTheory compiler/backend (2s) OK
Starting work on lab_to_targetTheory
lab_to_targetTheory compiler/backend (12s) OK
Starting work on str_treeTheory
str_treeTheory compiler/backend (3s) OK
Starting work on displayLangTheory
displayLangTheory compiler/backend (2s) OK
Starting work on flat_elimTheory
ml_monad_translatorTheory translator/monadic (38s) OK
Starting work on cfMonadTheory
flat_elimTheory compiler/backend (8s) OK
Starting work on flat_patternTheory
data_to_wordTheory compiler/backend (51s) OK
Starting work on source_letTheory
source_letTheory compiler/backend (3s) OK
Starting work on source_to_sourceTheory
flat_patternTheory compiler/backend (7s) OK
Starting work on source_to_flatTheory
source_to_sourceTheory compiler/backend (2s) OK
Starting work on stack_allocTheory
source_to_flatTheory compiler/backend (9s) OK
Starting work on presLangTheory
cfMonadTheory translator/monadic (18s) OK
Finished $(CAKEMLDIR)/translator/monadic [#theories: 3] (75.720s)
Starting work on stack_namesTheory
stack_namesTheory compiler/backend (8s) OK
Starting work on stack_rawcallTheory
stack_allocTheory compiler/backend (22s) OK
Starting work on stack_removeTheory
stack_removeTheory compiler/backend (6s) OK
Starting work on word_to_stackTheory
presLangTheory compiler/backend (22s) OK
Starting work on exportTheory
cfDivTheory characteristic(131s) OK
Finished $(CAKEMLDIR)/characteristic [#theories: 12] (353.700s)
Starting work on RuntimeProgTheory
exportTheory compiler/backend (4s) OK
Starting work on word_elimTheory
word_elimTheory compiler/backend (3s) OK
Starting work on ag32_targetTheory
word_to_stackTheory compiler/backend (13s) OK
Starting work on export_ag32Theory
RuntimeProgTheory basis (14s)FAIL<1>
/scratch/cakeml/regression/cakeml-2716/characteristic/cfLetAutoLib.sml:1694: error: Can't unify
{message: string,
origin_function: string,
origin_structure: string, source_location: locn.locn} to
{message: 'a, origin_function: 'b, origin_structure: 'c}
(Different number of fields)
Found near
HOL_ERR {message = msg, origin_function = fname, origin_structure = sname}
/scratch/cakeml/regression/cakeml-2716/characteristic/cfLetAutoLib.sml:1924: error: Can't unify
{message: string,
origin_function: string,
origin_structure: string, source_location: locn.locn} to
{message: 'a, origin_function: 'b, origin_structure: 'c}
(Different number of fields)
Found near
HOL_ERR {origin_structure = _, origin_function = fname, message = msg}
error in quse /scratch/cakeml/regression/cakeml-2716/characteristic/cfLetAutoLib.sml : Fail "Static Errors"
error in load $(CAKEMLDIR)/characteristic/cfLetAutoLib : Fail "Static Errors"
error in load $(CAKEMLDIR)/characteristic/cfLib : Fail "Static Errors"
error in load $(CAKEMLDIR)/basis/basisFunctionsLib : Fail "Static Errors"
error in load /scratch/cakeml/regression/cakeml-2716/basis/RuntimeProgScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
stack_rawcallTheory compiler/backend (26s)MKILLED
ag32_targetTheory compiler/encoders/ag32 (7s)MKILLED
export_ag32Theory compiler/backend/ag32 (3s)MKILLED