CakeML:e6772b73511becc74d884c5514277046a5505552
Fix hallucinated charSyntax
#1357 (noparse)
Merging into:4e312c0f7e18b9c5789c8ac4e0af257bff895cf5
Define a C function for customFFI
HOL:63f2eb9c146352dfd0bab8c5604a096d1e554d03
minor fixes to examples and updated internal docs
Machine:pavlova
Claimed job
Reusing HOL
Starting developers
Finished developers 4s 218MB
Starting developers/bin
Finished developers/bin 3s 90MB
Starting misc
Finished misc 43s 1GB
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)/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)/examples/data-structures/balanced_bst
Scanning $(HOLDIR)/examples/formal-languages
Scanning $(HOLDIR)/src/search
Scanning $(HOLDIR)/examples/formal-languages/regular
Scanning $(HOLDIR)/examples/machine-code/hoare-triple
Scanning $(HOLDIR)/src/coalgebras
Scanning $(HOLDIR)/examples/pl-semantics/lprefix_lub
Scanning $(CAKEMLDIR)/developers
Scanning $(CAKEMLDIR)/misc
Scanning $(CAKEMLDIR)/basis/pure
Scanning $(CAKEMLDIR)/semantics/ffi
Scanning $(CAKEMLDIR)/semantics
Scanning $(CAKEMLDIR)/semantics/proofs
Scanning $(CAKEMLDIR)/compiler/parsing
Scanning $(CAKEMLDIR)/translator
Scanning $(CAKEMLDIR)/characteristic
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)/compiler/printing
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 $(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 $(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 90 directories
Starting work on mllistTheory
Starting work on mlmapTheory
Starting work on mloptionTheory
Starting work on mlsetTheory
mloptionTheory basis/pure (1s) OK
Starting work on namespaceTheory
mlsetTheory basis/pure (3s) OK
Starting work on MarshallingTheory
namespaceTheory semantics (1s) OK
Starting work on pattern_commonTheory
mllistTheory basis/pure (4s) OK
Starting work on mlstringTheory
mlmapTheory basis/pure (4s) OK
Starting work on mlvectorTheory
MarshallingTheory basis (3s) OK
Starting work on parmoveTheory
mlvectorTheory basis/pure (7s) OK
Starting work on backend_commonTheory
pattern_commonTheory compiler/backend/pattern_matching (9s) OK
Starting work on db_varsTheory
db_varsTheory compiler/backend (2s) OK
Starting work on ag32Theory
backend_commonTheory compiler/backend (4s) OK
Starting work on pan_commonTheory
pan_commonTheory pancake (1s) OK
Starting work on gc_sharedTheory
mlstringTheory basis/pure (14s) OK
Starting work on mlintTheory
ag32Theory compiler/encoders/ag32 (9s) OK
Starting work on mlsexpTheory
mlintTheory basis/pure (7s) OK
Starting work on mlprettyprinterTheory
parmoveTheory compiler/backend/reg_alloc (21s) OK
Starting work on mlratTheory
gc_sharedTheory compiler/backend/gc (13s) OK
Starting work on ffiTheory
mlratTheory basis/pure (4s) OK
Starting work on astTheory
mlsexpTheory basis/pure (8s) OK
Starting work on tokensTheory
mlprettyprinterTheory basis/pure (8s) OK
Finished $(CAKEMLDIR)/basis/pure [#theories: 10] (66.400s)
Starting work on cfFFITypeTheory
astTheory semantics (4s) OK
Starting work on fpSemTheory
tokensTheory semantics (2s) OK
Starting work on gramTheory
fpSemTheory semantics (2s) OK
Starting work on tokenUtilsTheory
ffiTheory semantics/ffi (7s) OK
Finished $(CAKEMLDIR)/semantics/ffi [#theories: 1] (7.760s)
Starting work on semanticPrimitivesTheory
cfFFITypeTheory characteristic (5s) OK
Starting work on lexer_funTheory
gramTheory semantics (8s) OK
Starting work on gramPropsTheory
tokenUtilsTheory semantics (10s) OK
Starting work on cmlPtreeConversionTheory
lexer_funTheory semantics (11s) OK
Starting work on namespacePropsTheory
gramPropsTheory semantics/proofs (10s) OK
Starting work on cmlPEGTheory
namespacePropsTheory semantics/proofs (5s) OK
Starting work on fromSexpTheory
semanticPrimitivesTheory semantics (23s) OK
Starting work on evaluateTheory
evaluateTheory semantics (5s) OK
Starting work on typeSystemTheory
cmlPtreeConversionTheory semantics (22s) OK
Starting work on semanticPrimitivesPropsTheory
typeSystemTheory semantics (13s) OK
Starting work on primTypesTheory
primTypesTheory semantics (2s) OK
Starting work on semanticsTheory
semanticsTheory semantics (4s) OK
Finished $(CAKEMLDIR)/semantics [#theories: 13] (114.350s)
Starting work on typeSoundInvariantsTheory
semanticPrimitivesPropsTheory semantics/proofs (22s) OK
Starting work on evaluatePropsTheory
typeSoundInvariantsTheory semantics/proofs (5s) OK
Starting work on typeSysPropsTheory
fromSexpTheory compiler/parsing (41s) OK
Starting work on lexer_implTheory
typeSysPropsTheory semantics/proofs (13s) OK
Starting work on primSemEnvTheory
cmlPEGTheory compiler/parsing (60s) OK
Starting work on weakeningTheory
primSemEnvTheory semantics/proofs (6s) OK
Starting work on cmlParseTheory
weakeningTheory semantics/proofs (5s) OK
Starting work on infer_tTheory
cmlParseTheory compiler/parsing (9s) OK
Starting work on typeDecToPPTheory
infer_tTheory compiler/inference (12s) OK
Starting work on unifyTheory
typeDecToPPTheory compiler/printing (9s) OK
Finished $(CAKEMLDIR)/compiler/printing [#theories: 1] (9.650s)
Starting work on ml_monadBaseTheory
lexer_implTheory compiler/parsing (36s) OK
Finished $(CAKEMLDIR)/compiler/parsing [#theories: 4] (148.110s)
Starting work on pattern_semanticsTheory
evaluatePropsTheory semantics/proofs (49s) OK
Starting work on typeSoundTheory
ml_monadBaseTheory translator/monadic/monad_base (16s) OK
Starting work on evaluate_decTheory
pattern_semanticsTheory compiler/backend/pattern_matching (13s) OK
Finished $(CAKEMLDIR)/translator/monadic/monad_base [#theories: 1] (16.900s)
Starting work on pattern_compTheory
evaluate_decTheory translator (6s) OK
Starting work on ml_progTheory
unifyTheory compiler/inference (29s) OK
Starting work on inferTheory
pattern_compTheory compiler/backend/pattern_matching (15s) OK
Finished $(CAKEMLDIR)/compiler/backend/pattern_matching [#theories: 3] (38.390s)
Starting work on reg_allocTheory
ml_progTheory translator (12s) OK
Starting work on ml_translatorTheory
reg_allocTheory compiler/backend/reg_alloc (9s)FAIL<1>
/scratch/cakeml/regression/cakeml-3284/translator/monadic/monad_base/ml_monadBaseSyntax.sml:5: error: Structure does not match signature.
Signature: eqtype hol_type
Structure: Not present
Found near
struct
local open HolKernel boolLib; val s1 = ... ...; val ... = ...; val ... in
fun mk_exc_ty ... = ... ...; val exc_ty = ... ...; fun ...; val ...;
...; ... end
end
/scratch/cakeml/regression/cakeml-3284/translator/monadic/monad_base/ml_monadBaseSyntax.sml:5: error: Structure does not match signature.
Signature: type term
Structure: Not present
Found near
struct
local open HolKernel boolLib; val s1 = ... ...; val ... = ...; val ... in
fun mk_exc_ty ... = ... ...; val exc_ty = ... ...; fun ...; val ...;
...; ... end
end
error in quse /scratch/cakeml/regression/cakeml-3284/translator/monadic/monad_base/ml_monadBaseSyntax.sml : Fail "Static Errors"
error in load $(CAKEMLDIR)/translator/monadic/monad_base/ml_monadBaseSyntax : Fail "Static Errors"
error in load $(CAKEMLDIR)/translator/monadic/monad_base/ml_monadBaseLib : Fail "Static Errors"
error in load /scratch/cakeml/regression/cakeml-3284/compiler/backend/reg_alloc/reg_allocScript : Fail "Static Errors"
Uncaught exception at ./basis/FinalPolyML.sml:492: Fail "Static Errors"
Full log: /scratch/cakeml/regression/cakeml-3284/compiler/backend/reg_alloc/.hol/logs/reg_allocTheory
typeSoundTheory semantics/proofs (42s)MKILLED
inferTheory compiler/inference (16s)MKILLED
ml_translatorTheory translator (7s)MKILLED