CakeML:6ffc161d664c3e78e64da1e8ab91c281c9313a4d
Merge branch 'master' into ffiname
#976 (ffiname)
Merging into:37aeb0eb6fcddea51846bd6fa7d7496e2ace12a5
Merge pull request #975 from CakeML/byte
HOL:d4695670d40117f501dd4a1156595cb1e15c1074
Stage work on
Machine:pavlova
Claimed job
Building HOL
Starting developers
Finished developers 2s 216MB
Starting developers/bin
Finished developers/bin 10s 1GB
Starting compiler/proofs
FAILED: compiler/proofs
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/finite_maps[0m
Scanning [1m$(HOLDIR)/examples/formal-languages/context-free[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/transfer[0m
Scanning [1m$(HOLDIR)/src/pred_set/src/more_theories[0m
Scanning [1m$(HOLDIR)/src/coalgebras[0m
Scanning [1m$(HOLDIR)/examples/fun-op-sem/lprefix_lub[0m
Scanning [1m$(HOLDIR)/examples/machine-code/hoare-triple[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)/src/ring/src[0m
Scanning [1m$(HOLDIR)/src/integer[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$(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$(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/l3-machine-code/lib[0m
Scanning [1m$(HOLDIR)/examples/l3-machine-code/arm/model[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/model[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/model[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/model[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/model[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)/src/transfer/examples[0m
Scanning [1m$(HOLDIR)/examples/algorithms/unification/triangular/first-order[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference[0m
Scanning [1m$(CAKEMLDIR)/pancake[0m
Scanning [1m$(CAKEMLDIR)/pancake/parser[0m
Scanning [1m$(CAKEMLDIR)/compiler[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/gc[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/reg_alloc/proofs[0m
Scanning [1m$(CAKEMLDIR)/semantics/alt_semantics[0m
Scanning [1m$(CAKEMLDIR)/semantics/alt_semantics/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/semantics[0m
Scanning [1m$(CAKEMLDIR)/compiler/backend/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/inference/proofs[0m
Scanning [1m$(CAKEMLDIR)/compiler/parsing/proofs[0m
Scanned 83 directories
Starting work on locationTheory
Starting work on balanced_mapTheory
Starting work on FormalLangTheory
Starting work on charsetTheory
FormalLangTheory examples/formal-languages (1s) OK
Finished $(HOLDIR)/examples/formal-languages [#theories: 1] (1.230s)
Starting work on vec_mapTheory
locationTheory examples/formal-languages/context-free (1s) OK
Starting work on grammarTheory
vec_mapTheory examples/formal-languages/regular (2s) OK
Starting work on lprefix_lubTheory
grammarTheory examples/formal-languages/context-free (3s) OK
Starting work on NTpropertiesTheory
lprefix_lubTheory examples/fun-op-sem/lprefix_lub (4s) OK
Starting work on pegTheory
charsetTheory examples/formal-languages/regular (10s) OK
Starting work on regexpTheory
NTpropertiesTheory examples/formal-languages/context-free (5s) OK
Finished $(HOLDIR)/examples/fun-op-sem/lprefix_lub [#theories: 1] (4.180s)
Starting work on set_sepTheory
pegTheory examples/formal-languages/context-free (6s) OK
Starting work on pegexecTheory
set_sepTheory examples/machine-code/hoare-triple (6s) OK
Starting work on simpleSexpTheory
pegexecTheory examples/formal-languages/context-free (3s) OK
Starting work on tailrecTheory
tailrecTheory examples/machine-code/hoare-triple (0s) OK
Starting work on progTheory
simpleSexpTheory examples/formal-languages/context-free (6s) OK
Starting work on simpleSexpPEGTheory
progTheory examples/machine-code/hoare-triple (5s) OK
Starting work on addressTheory
regexpTheory examples/formal-languages/regular (17s) OK
Starting work on temporalTheory
simpleSexpPEGTheory examples/formal-languages/context-free (4s) OK
Starting work on simpleSexpParseTheory
temporalTheory examples/machine-code/hoare-triple (5s) OK
Starting work on libTheory
addressTheory examples/machine-code/hoare-triple (9s) OK
Finished $(HOLDIR)/examples/machine-code/hoare-triple [#theories: 5] (28.370s)
Starting work on spt_closureTheory
spt_closureTheory examples/algorithms (2s) OK
Finished $(HOLDIR)/examples/algorithms [#theories: 1] (2.530s)
Starting work on multiwordTheory
simpleSexpParseTheory examples/formal-languages/context-free (11s) OK
Finished $(HOLDIR)/examples/formal-languages/context-free [#theories: 8] (42.210s)
Finished $(HOLDIR)/examples/l3-machine-code/common (0.000s)
Starting work on ag32Theory
libTheory misc (6s) OK
Starting work on miscTheory
ag32Theory compiler/encoders/ag32 (9s) OK
Starting work on ffiTheory
ffiTheory semantics/ffi (6s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (6.600s)
Finished $(HOLDIR)/examples/l3-machine-code/lib (0.000s)
Starting work on armTheory
multiwordTheory examples/machine-code/multiword (29s) OK
Starting work on mc_multiwordTheory
miscTheory misc (35s) OK
Starting work on cakeml-heap
cakeml-heap misc (30s) OK
Finished $(CAKEMLDIR)/misc [#theories: 2] (73.210s)
Starting work on fpValTreeTheory
fpValTreeTheory semantics (1s) OK
Starting work on fpOptTheory
fpOptTheory semantics (4s) OK
Starting work on fpSemTheory
fpSemTheory semantics (2s) OK
Starting work on namespaceTheory
namespaceTheory semantics (2s) OK
Starting work on realOpsTheory
realOpsTheory semantics (1s) OK
Starting work on astTheory
armTheory examples/l3-machine-code/arm/model (48s) OK
Starting work on tokensTheory
mc_multiwordTheory examples/machine-code/multiword (36s) OK
Starting work on mllistTheory
tokensTheory semantics (3s) OK
Starting work on gramTheory
astTheory semantics (7s) OK
Starting work on semanticPrimitivesTheory
gramTheory semantics (7s) OK
Starting work on tokenUtilsTheory
mllistTheory basis/pure (13s) OK
Starting work on lexer_funTheory
tokenUtilsTheory semantics (9s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (8s) OK
Starting work on mlstringTheory
balanced_mapTheory examples/balanced_bst(134s) OK
Starting work on osetTheory
osetTheory examples/balanced_bst (5s) OK
Finished $(HOLDIR)/examples/balanced_bst [#theories: 2] (140.740s)
Starting work on regexp_mapTheory
cmlPtreeConversionTheory semantics (18s) OK
Starting work on mloptionTheory
regexp_mapTheory examples/formal-languages/regular (6s) OK
Starting work on regexp_compilerTheory
semanticPrimitivesTheory semantics (37s) OK
Starting work on evaluateTheory
mlstringTheory basis/pure (26s) OK
Starting work on typeSystemTheory
evaluateTheory semantics (6s) OK
Starting work on mlintTheory
mloptionTheory basis/pure (14s) OK
Starting work on mlmapTheory
regexp_compilerTheory examples/formal-languages/regular (17s) OK
Finished $(HOLDIR)/examples/formal-languages/regular [#theories: 5] (54.130s)
Starting work on mlvectorTheory
mlintTheory basis/pure (19s) OK
Starting work on mlratTheory
mlmapTheory basis/pure (14s) OK
Starting work on typeDecToPPTheory
typeSystemTheory semantics (20s) OK
Starting work on primTypesTheory
primTypesTheory semantics (3s) OK
Starting work on semanticsTheory
mlvectorTheory basis/pure (18s) OK
Starting work on mlprettyprinterTheory
semanticsTheory semantics (5s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 16] (140.360s)
Starting work on astPropsTheory
typeDecToPPTheory basis/pure (10s) OK
Starting work on gramPropsTheory
mlratTheory basis/pure (15s) OK
Starting work on namespacePropsTheory
astPropsTheory semantics/proofs (14s) OK
Starting work on fpOptPropsTheory
mlprettyprinterTheory basis/pure (18s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 9] (152.300s)
Starting work on cmlPEGTheory
namespacePropsTheory semantics/proofs (17s) OK
Starting work on semanticPrimitivesPropsTheory
gramPropsTheory semantics/proofs (25s) OK
Starting work on typeSoundInvariantsTheory
fpOptPropsTheory semantics/proofs (17s) OK
Starting work on fpSemPropsTheory
typeSoundInvariantsTheory semantics/proofs (14s) OK
Starting work on fromSexpTheory
semanticPrimitivesPropsTheory semantics/proofs (49s) OK
Starting work on typeSysPropsTheory
cmlPEGTheory compiler/parsing (64s) OK
Starting work on cmlParseTheory
cmlParseTheory compiler/parsing (10s) OK
Starting work on lexer_implTheory
typeSysPropsTheory semantics/proofs (32s) OK
Starting work on primSemEnvTheory
fromSexpTheory compiler/parsing (73s) OK
Starting work on weakeningTheory
primSemEnvTheory semantics/proofs (19s) OK
Starting work on cfFFITypeTheory
fpSemPropsTheory semantics/proofs (97s) OK
Starting work on evaluatePropsTheory
weakeningTheory semantics/proofs (17s) OK
Starting work on ml_monadBaseTheory
lexer_implTheory compiler/parsing (49s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (197.770s)
Starting work on MarshallingTheory
cfFFITypeTheory characteristic (15s) OK
Finished $(HOLDIR)/examples/machine-code/multiword [#theories: 2] (65.690s)
Starting work on pattern_commonTheory
MarshallingTheory basis (14s) OK
Starting work on parmoveTheory
pattern_commonTheory compiler/backend/pattern_matching (12s) OK
Starting work on pattern_semanticsTheory
ml_monadBaseTheory translator/monadic/monad_base (21s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (21.990s)
Starting work on reg_allocTheory
pattern_semanticsTheory compiler/backend/pattern_matching (17s) OK
Starting work on pattern_compTheory
parmoveTheory compiler/backend/reg_alloc (26s) OK
Starting work on asmTheory
pattern_compTheory compiler/backend/pattern_matching (19s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (49.560s)
Starting work on backend_commonTheory
asmTheory compiler/encoders/asm (14s) OK
Starting work on asmSemTheory
reg_allocTheory compiler/backend/reg_alloc (49s) OK
Starting work on linear_scanTheory
backend_commonTheory compiler/backend (16s) OK
Starting work on closLangTheory
asmSemTheory compiler/encoders/asm (16s) OK
Starting work on asmPropsTheory
evaluatePropsTheory semantics/proofs (93s) OK
Starting work on typeSoundTheory
closLangTheory compiler/backend (20s) OK
Starting work on ml_progTheory
asmPropsTheory compiler/encoders/asm (21s) OK
Finished $(CAKEMLDIR)/compiler/encoders/asm [#theories: 3] (52.020s)
Starting work on bviTheory
bviTheory compiler/backend (14s) OK
Starting work on dataLangTheory
linear_scanTheory compiler/backend/reg_alloc (42s) OK
Finished $(CAKEMLDIR)/compiler/backend/reg_alloc [#theories: 3] (118.720s)
Starting work on bvi_letTheory
ml_progTheory translator (26s) OK
Starting work on ml_translatorTheory
dataLangTheory compiler/backend (15s) OK
Starting work on cfHeapsBaseTheory
bvi_letTheory compiler/backend (16s) OK
Starting work on data_liveTheory
data_liveTheory compiler/backend (19s) OK
Starting work on data_simpTheory
cfHeapsBaseTheory characteristic (28s) OK
Starting work on clFFITheory
data_simpTheory compiler/backend (14s) OK
Starting work on runtimeFFITheory
clFFITheory basis (17s) OK
Starting work on fsFFITheory
runtimeFFITheory basis (16s) OK
Starting work on data_spaceTheory
ml_translatorTheory translator (66s) OK
Starting work on ml_optimiseTheory
fsFFITheory basis (25s) OK
Starting work on ml_pmatchTheory
data_spaceTheory compiler/backend (19s) OK
Starting work on fsFFIPropsTheory
ml_optimiseTheory translator (26s) OK
Starting work on bvi_to_dataTheory
ml_pmatchTheory translator (23s) OK
Starting work on std_preludeTheory
bvi_to_dataTheory compiler/backend (21s) OK
Starting work on cfHeapsTheory
typeSoundTheory semantics/proofs(174s) OK
Starting work on semanticsPropsTheory
std_preludeTheory translator (24s) OK
Finished $(CAKEMLDIR)/translator [#theories: 5] (167.920s)
Starting work on bvi_tailrecTheory
fsFFIPropsTheory basis (51s) OK
Starting work on bvlTheory
cfHeapsTheory characteristic (23s) OK
Starting work on cfStoreTheory
semanticsPropsTheory semantics/proofs (18s) OK
Finished $(CAKEMLDIR)/semantics/proofs [#theories: 13] (592.390s)
Starting work on db_varsTheory
bvlTheory compiler/backend (15s) OK
Starting work on bvl_constTheory
db_varsTheory compiler/backend (14s) OK
Starting work on bvl_jumpTheory
cfStoreTheory characteristic (23s)FAIL<1>
<<HOL message: Created theory "cfStore">>
Saved definition ____ "store2heap_aux_def"
Saved definition ____ "store2heap_def"
Saved definition ____ "ffi_has_index_in_def"
error in quse /scratch/cakeml/regression/cakeml-2248/characteristic/cfStoreScript.sml : HOL_ERR {message = "on line 29, characters 29-48:\n\nType inference failure: unable to infer a type for the application of\n\nffi_has_index_in :ffiname list -> io_event -> bool\n\non line 29, characters 11-26\n\nto\n\nFLAT\n (MAP\n (FST :string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option) ->\n string list)\n (parts :(string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option))\n list))\n\non line 29, characters 29-48\n\nwhich has type\n\n:string list\n\nunification failure message: Attempt to unify different type operators: ffi$ffiname and list$list\n", origin_function = "type-analysis", origin_structure = "Preterm"}
error in load /scratch/cakeml/regression/cakeml-2248/characteristic/cfStoreScript : HOL_ERR {message = "on line 29, characters 29-48:\n\nType inference failure: unable to infer a type for the application of\n\nffi_has_index_in :ffiname list -> io_event -> bool\n\non line 29, characters 11-26\n\nto\n\nFLAT\n (MAP\n (FST :string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option) ->\n string list)\n (parts :(string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option))\n list))\n\non line 29, characters 29-48\n\nwhich has type\n\n:string list\n\nunification failure message: Attempt to unify different type operators: ffi$ffiname and list$list\n", origin_function = "type-analysis", origin_structure = "Preterm"}
Uncaught exception: HOL_ERR {message = "on line 29, characters 29-48:\n\nType inference failure: unable to infer a type for the application of\n\nffi_has_index_in :ffiname list -> io_event -> bool\n\non line 29, characters 11-26\n\nto\n\nFLAT\n (MAP\n (FST :string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option) ->\n string list)\n (parts :(string list #\n (string ->\n word8 list -> word8 list -> ffi -> ffi ffi_result option))\n list))\n\non line 29, characters 29-48\n\nwhich has type\n\n:string list\n\nunification failure message: Attempt to unify different type operators: ffi$ffiname and list$list\n", origin_function = "type-analysis", origin_structure = "Preterm"}
bvi_tailrecTheory compiler/backend (32s)MKILLED
bvl_constTheory compiler/backend (10s)MKILLED
bvl_jumpTheory compiler/backend (4s)MKILLED