This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ crystal spec spec/repo_spec.cr --error-trace --debug -s -t | |
Parse: 00:00:00.0005730 ( 0.19MB) | |
Semantic (top level): 00:00:00.1976770 ( 42.18MB) | |
Semantic (new): 00:00:00.0020550 ( 42.18MB) | |
Semantic (type declarations): 00:00:00.0269830 ( 50.18MB) | |
Semantic (abstract def check): 00:00:00.0010410 ( 50.18MB) | |
Semantic (ivars initializers): 00:00:00.0054870 ( 50.18MB) | |
Semantic (cvars initializers): 00:00:00.0116270 ( 50.18MB) | |
Semantic (main): 00:00:01.0783550 ( 202.62MB) | |
Semantic (cleanup): 00:00:00.0008790 ( 202.62MB) | |
Semantic (recursive struct check): 00:00:00.0012440 ( 202.62MB) | |
Codegen (crystal): 00:00:01.9907880 ( 299.12MB) | |
Codegen (bc+obj): 00:00:00.2949440 ( 299.12MB) | |
Codegen (linking): 00:00:00.2227910 ( 299.12MB) | |
Codegen (bc+obj): | |
- all previous .o files were reused | |
........................................(Int32 | Int64 | Nil) | |
Int64 | |
(Int32 | Nil) | |
Nil | |
E.E.EEEEEE. | |
Failures: | |
1) Crecto Repo belongs_to should set the belongs_to property | |
cast from Int64 to Int32 failed, at expanded macro: belongs_to:10 | |
0x10323e025: *CallStack::unwind:Array(Pointer(Void)) at ?? | |
0x10323dfc1: *CallStack#initialize:Array(Pointer(Void)) at ?? | |
0x10323df98: *CallStack::new:CallStack at ?? | |
0x10322e5d1: *raise<TypeCastError>:NoReturn at ?? | |
0x1032e6dd0: *Post#user=<User>:(Int32 | Nil) at ?? | |
0x10323a7f6: ~procProc(Nil)@spec/repo_spec.cr:495 at ?? | |
0x10323351b: *it<String, String, Int32, Int32, &Proc(Nil)>:(Array(Spec::Result) | Nil) at ?? | |
0x10323a460: ~procProc(Nil)@spec/repo_spec.cr:494 at ?? | |
0x10328c822: *Spec::RootContext::describe<String, String, Int32, &Proc(Nil)>:Spec::Context+ at ?? | |
0x103233de3: *describe<String, String, Int32, &Proc(Nil)>:Spec::Context+ at ?? | |
0x1032319be: ~procProc(Nil)@spec/repo_spec.cr:5 at ?? | |
0x10328c822: *Spec::RootContext::describe<String, String, Int32, &Proc(Nil)>:Spec::Context+ at ?? | |
0x103233de3: *describe<String, String, Int32, &Proc(Nil)>:Spec::Context+ at ?? | |
0x1032315eb: ~procProc(Nil)@spec/repo_spec.cr:4 at ?? | |
0x10328c822: *Spec::RootContext::describe<String, String, Int32, &Proc(Nil)>:Spec::Context+ at ?? | |
0x10323c3c3: *describe<Crecto:Module, String, Int32, &Proc(Nil)>:Spec::Context+ at ?? | |
0x103219afa: __crystal_main at ?? | |
0x10322b778: main at ?? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment