CakeML:cf888d1f25d6978a0015ae88c7b6751cf450f891
Improve build-everything.py
#1099 (ml_progLib_update)
Merging into:043c91973791dba96e51b2fb43a5ecc0df2a51c0
Merge pull request #1098 from CakeML/fix-binary-link
HOL:01016dcf0e02558d270fce008fce672df8cdbbf7
Fix (last few(?)) compile-time errors caused by located_thms
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 3s 200MB
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
Finished $(HOLDIR)/examples/l3-machine-code/arm/step (0.000s)
Finished $(HOLDIR)/examples/l3-machine-code/arm8/step (0.000s)
Finished $(HOLDIR)/examples/l3-machine-code/mips/model (0.000s)
Starting work on mips-heap
Starting work on riscvTheory
mips-heap examples/l3-machine-code/mips/step (17s) OK
Starting work on mips_stepTheory
ag32Theory compiler/encoders/ag32 (9s) OK
Starting work on x64Theory
mips_stepTheory examples/l3-machine-code/mips/step (13s) OK
Finished $(HOLDIR)/examples/l3-machine-code/mips/step [#theories: 1] (31.090s)
Starting work on commonUnifTheory
commonUnifTheory examples/algorithms/unification/triangular (0s) OK
Finished $(HOLDIR)/examples/algorithms/unification/triangular [#theories: 1] (0.660s)
Starting work on cpsTheory
cpsTheory src/transfer/examples (0s) OK
Starting work on fmspTheory
fmspTheory src/transfer/examples (1s) OK
Finished $(HOLDIR)/src/transfer/examples [#theories: 2] (1.710s)
Starting work on termTheory
termTheory examples/algorithms/unification/triangular/first-order (1s) OK
Starting work on substTheory
miscTheory misc (28s) OK
Starting work on cakeml-heap
substTheory examples/algorithms/unification/triangular/first-order (2s) OK
Starting work on ffiTheory
x64Theory examples/l3-machine-code/x64/model (19s) OK
Starting work on pattern_commonTheory
cakeml-heap misc (20s) OK
Finished $(CAKEMLDIR)/misc [#theories: 1] (48.260s)
Starting work on fpValTreeTheory
ffiTheory semantics/ffi (8s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (8.340s)
Starting work on namespaceTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
namespaceTheory semantics (2s) OK
Starting work on realOpsTheory
realOpsTheory semantics (1s) OK
Starting work on tokensTheory
pattern_commonTheory compiler/backend/pattern_matching (9s) OK
Starting work on mllistTheory
mllistTheory basis/pure (2s) OK
Starting work on mlstringTheory
fpOptTheory semantics (4s) OK
Starting work on fpSemTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
fpSemTheory semantics (1s) OK
Starting work on astTheory
gramTheory semantics (7s) OK
Starting work on tokenUtilsTheory
astTheory semantics (7s) OK
Starting work on semanticPrimitivesTheory
riscvTheory examples/l3-machine-code/riscv/model (57s) OK
Starting work on lexer_funTheory
mlstringTheory basis/pure (12s) OK
Starting work on mlintTheory
tokenUtilsTheory semantics (8s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (8s) OK
Starting work on mloptionTheory
mlintTheory basis/pure (7s) OK
Starting work on mlmapTheory
mloptionTheory basis/pure (2s) OK
Starting work on mlvectorTheory
mlmapTheory basis/pure (4s) OK
Starting work on mlratTheory
mlvectorTheory basis/pure (4s) OK
Starting work on mlprettyprinterTheory
mlratTheory basis/pure (3s) OK
Starting work on mlsetTheory
mlsetTheory basis/pure (2s) OK
Starting work on typeDecToPPTheory
typeDecToPPTheory basis/pure (2s) OK
Starting work on gramPropsTheory
mlprettyprinterTheory basis/pure (7s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (49.920s)
Starting work on namespacePropsTheory
cmlPtreeConversionTheory semantics (18s) OK
Starting work on cmlPEGTheory
namespacePropsTheory semantics/proofs (6s) OK
Starting work on fromSexpTheory
semanticPrimitivesTheory semantics (33s) OK
Starting work on evaluateTheory
evaluateTheory semantics (5s) OK
Starting work on typeSystemTheory
gramPropsTheory semantics/proofs (14s) OK
Starting work on astPropsTheory
astPropsTheory semantics/proofs (1s) OK
Starting work on fpOptPropsTheory
fpOptPropsTheory semantics/proofs (5s) OK
Starting work on fpSemPropsTheory
typeSystemTheory semantics (12s) OK
Starting work on primTypesTheory
primTypesTheory semantics (2s) OK
Starting work on semanticsTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (124.650s)
Starting work on semanticPrimitivesPropsTheory
cmlPEGTheory compiler/parsing (61s) OK
Starting work on typeSoundInvariantsTheory
typeSoundInvariantsTheory semantics/proofs (4s) OK
Starting work on cmlParseTheory
semanticPrimitivesPropsTheory semantics/proofs (34s) OK
Starting work on typeSysPropsTheory
cmlParseTheory compiler/parsing (8s) OK
Starting work on lexer_implTheory
fromSexpTheory compiler/parsing (69s) OK
Starting work on cfFFITypeTheory
cfFFITypeTheory characteristic (4s) OK
Starting work on ml_monadBaseTheory
typeSysPropsTheory semantics/proofs (20s) OK
Starting work on primSemEnvTheory
primSemEnvTheory semantics/proofs (7s) OK
Starting work on weakeningTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on MarshallingTheory
ml_monadBaseTheory translator/monadic/monad_base (15s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (15.930s)
Starting work on pattern_semanticsTheory
MarshallingTheory basis (3s) OK
Starting work on reg_allocTheory
fpSemPropsTheory semantics/proofs (92s) OK
Starting work on evaluatePropsTheory
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.480s)
Starting work on parmoveTheory
pattern_compTheory compiler/backend/pattern_matching (15s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (39.130s)
Starting work on asmTheory
reg_allocTheory compiler/backend/reg_alloc (36s) OK
Starting work on linear_scanTheory
parmoveTheory compiler/backend/reg_alloc (22s) OK
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
asmSemTheory compiler/encoders/asm (11s) OK
Starting work on asmPropsTheory
closLangTheory compiler/backend (8s) OK
Starting work on bviTheory
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
linear_scanTheory compiler/backend/reg_alloc (32s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (90.600s)
Starting work on data_spaceTheory
asmPropsTheory compiler/encoders/asm (15s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (38.620s)
Starting work on bvi_letTheory
data_simpTheory compiler/backend (2s) OK
Starting work on bvi_tailrecTheory
bvi_letTheory compiler/backend (4s) OK
Starting work on bvlTheory
bvlTheory compiler/backend (2s) OK
Starting work on bvl_constTheory
data_spaceTheory compiler/backend (7s) OK
Starting work on bvi_to_dataTheory
evaluatePropsTheory semantics/proofs (81s) 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 (41s) 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 (12s) OK
Starting work on ml_translatorTheory
clos_annotateTheory compiler/backend (6s) OK
Starting work on cfHeapsBaseTheory
bvl_constTheory compiler/backend (60s) OK
Starting work on bvl_handleTheory
cfHeapsBaseTheory characteristic (15s) OK
Starting work on clFFITheory
clFFITheory basis (4s) OK
Starting work on runtimeFFITheory
runtimeFFITheory basis (4s) OK
Starting work on fsFFITheory
fsFFITheory basis (9s) OK
Starting work on fsFFIPropsTheory
bvl_handleTheory compiler/backend (25s) OK
Starting work on bvl_inlineTheory
bvl_inlineTheory compiler/backend (7s) OK
Starting work on bvl_to_bviTheory
ml_translatorTheory translator (53s) OK
Starting work on ml_optimiseTheory
ml_optimiseTheory translator (14s) OK
Starting work on ml_pmatchTheory
fsFFIPropsTheory basis (44s) OK
Starting work on clos_callTheory
ml_pmatchTheory translator (11s) OK
Starting work on std_preludeTheory
std_preludeTheory translator (3s)FAIL<1>
/scratch/cakeml/regression/cakeml-2713/translator/ml_translatorLib.sml:4074: error: Type error in function application.
Function: filter (aconv def_tm o concl o fst o snd) :
((string * string) * (thm * 'a)) list ->
((string * string) * (thm * 'a)) list
Argument: xs : public_data list
Reason:
Can't unify thm * 'a to thm * class * thm_src_location
(Different number of fields)
Found near filter (... ... o concl o fst o snd) xs
error in quse /scratch/cakeml/regression/cakeml-2713/translator/ml_translatorLib.sml : Fail "Static Errors"
error in load $(CAKEMLDIR)/translator/ml_translatorLib : Fail "Static Errors"
error in load /scratch/cakeml/regression/cakeml-2713/translator/std_preludeScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
typeSoundTheory semantics/proofs(135s)MKILLED
bvl_to_bviTheory compiler/backend (36s)MKILLED
clos_callTheory compiler/backend (4s)MKILLED