[INFO] cloning repository https://github.com/tanin47/lilit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanin47/lilit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanin47%2Flilit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanin47%2Flilit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb20b46c045ca64e99fd3e7edf4ce2d81a8d48b5 [INFO] testing tanin47/lilit against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanin47%2Flilit" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tanin47/lilit on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tanin47/lilit [INFO] finished tweaking git repo https://github.com/tanin47/lilit [INFO] tweaked toml for git repo https://github.com/tanin47/lilit written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/tanin47/lilit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84592148b3905ae11f8d7747e4e95a43586939258eec846dc24de5864266e6b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "84592148b3905ae11f8d7747e4e95a43586939258eec846dc24de5864266e6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84592148b3905ae11f8d7747e4e95a43586939258eec846dc24de5864266e6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84592148b3905ae11f8d7747e4e95a43586939258eec846dc24de5864266e6b5", kill_on_drop: false }` [INFO] [stdout] 84592148b3905ae11f8d7747e4e95a43586939258eec846dc24de5864266e6b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 958fb5d54184ab306cde3927f3e88740f6bcee73f486faeaa526ce2ff208fa68 [INFO] running `Command { std: "docker" "start" "-a" "958fb5d54184ab306cde3927f3e88740f6bcee73f486faeaa526ce2ff208fa68", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling ucd-util v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.23 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/tanin47/inkwell?rev=46d576c63a7bec3a5ff4c81efbe74842f850ff0a#46d576c6) [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.20 [INFO] [stderr] Compiling enum-methods v0.0.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling inkwell_internal_macros v0.1.0 (https://github.com/tanin47/inkwell?rev=46d576c63a7bec3a5ff4c81efbe74842f850ff0a#46d576c6) [INFO] [stderr] Compiling llvm-sys v60.2.0 [INFO] [stderr] Compiling lilit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `CompilationUnit` does not permit zero-initialization [INFO] [stdout] --> src/parse/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | unit: unsafe { std::mem::MaybeUninit::zeroed().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.03s [INFO] running `Command { std: "docker" "inspect" "958fb5d54184ab306cde3927f3e88740f6bcee73f486faeaa526ce2ff208fa68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958fb5d54184ab306cde3927f3e88740f6bcee73f486faeaa526ce2ff208fa68", kill_on_drop: false }` [INFO] [stdout] 958fb5d54184ab306cde3927f3e88740f6bcee73f486faeaa526ce2ff208fa68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 381e6c3245f87cc3f2a3e63dc005e02b17daecf0e1e9cdabfd84625984593587 [INFO] running `Command { std: "docker" "start" "-a" "381e6c3245f87cc3f2a3e63dc005e02b17daecf0e1e9cdabfd84625984593587", kill_on_drop: false }` [INFO] [stderr] Compiling lilit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `CompilationUnit` does not permit zero-initialization [INFO] [stdout] --> src/parse/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | unit: unsafe { std::mem::MaybeUninit::zeroed().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `CompilationUnit` does not permit zero-initialization [INFO] [stdout] --> src/parse/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | unit: unsafe { std::mem::MaybeUninit::zeroed().assume_init() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.92s [INFO] running `Command { std: "docker" "inspect" "381e6c3245f87cc3f2a3e63dc005e02b17daecf0e1e9cdabfd84625984593587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "381e6c3245f87cc3f2a3e63dc005e02b17daecf0e1e9cdabfd84625984593587", kill_on_drop: false }` [INFO] [stdout] 381e6c3245f87cc3f2a3e63dc005e02b17daecf0e1e9cdabfd84625984593587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d622923264e645307cf4fa217668214dc4b934c47ac655f52ae09d6b30489893 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d622923264e645307cf4fa217668214dc4b934c47ac655f52ae09d6b30489893", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: the type `CompilationUnit` does not permit zero-initialization [INFO] [stderr] --> src/parse/mod.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | unit: unsafe { std::mem::MaybeUninit::zeroed().assume_init() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: `std::ptr::Unique` must be non-null (in this struct field) [INFO] [stderr] [INFO] [stderr] warning: `lilit` (lib) generated 1 warning [INFO] [stderr] warning: `lilit` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.95s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lilit-78260385ced183ec) [INFO] [stdout] [INFO] [stderr] ; ModuleID = 'main' [INFO] [stdout] running 42 tests [INFO] [stderr] source_filename = "main" [INFO] [stdout] test emit::expr::identifier::tests::test_simple ... ok [INFO] [stderr] [INFO] [stdout] test analyse::tests::test_simple ... ok [INFO] [stderr] %Int = type {} [INFO] [stdout] test analyse::tests::test_full ... ok [INFO] [stderr] %Test = type { %Int* } [INFO] [stdout] test emit::expr::assignment::tests::test_full ... ok [INFO] [stderr] [INFO] [stdout] test analyse::expr::member_access::tests::test_simple ... ok [INFO] [stderr] define %Int* @lilit_user_space__test(%Test* %0) { [INFO] [stdout] test parse::def::class::tests::test_simple ... ok [INFO] [stderr] first_block: [INFO] [stdout] test analyse::expr::int::tests::test_simple ... ok [INFO] [stderr] %"Param 0 of method test" = alloca %Test* [INFO] [stdout] test analyse::expr::literal_string::tests::test_simple ... ok [INFO] [stderr] store %Test* %0, %Test** %"Param 0 of method test" [INFO] [stdout] test parse::expr::atom::invoke::tests::test_simple ... ok [INFO] [stderr] %"Read ptr into Test" = load %Test*, %Test** %"Param 0 of method test" [INFO] [stdout] test index::tests::test_simple ... ok [INFO] [stderr] %"Gep field 0 of Test" = getelementptr inbounds %Test, %Test* %"Read ptr into Test", i32 0, i32 0 [INFO] [stdout] test tokenize::tests::test_char ... ok [INFO] [stderr] %"Load field a for identifier -" = load %Int*, %Int** %"Gep field 0 of Test" [INFO] [stdout] test analyse::expr::literal_char::tests::test_simple ... ok [INFO] [stderr] ret %Int* %"Load field a for identifier -" [INFO] [stdout] test tokenize::tests::test_bit ... ok [INFO] [stderr] } [INFO] [stderr] ; ModuleID = 'main' [INFO] [stderr] source_filename = "main" [INFO] [stderr] [INFO] [stderr] %String = type { %Native__String* } [INFO] [stderr] %Native__String = type { i8* } [INFO] [stderr] %Int = type { %Native__Int* } [INFO] [stderr] %Native__Int = type { i64 } [INFO] [stderr] [INFO] [stderr] define i64 @native__vprintf(i8* %0, ...) { [INFO] [stderr] first_block: [INFO] [stderr] %va_list = alloca { i32, i32, i8*, i8* } [INFO] [stderr] call void @llvm.va_start({ i32, i32, i8*, i8* }* %va_list) [INFO] [stderr] %"Invoke native method vprintf" = call i64 @vprintf(i8* %0, { i32, i32, i8*, i8* }* %va_list) [INFO] [stderr] call void @llvm.va_end({ i32, i32, i8*, i8* }* %va_list) [INFO] [stderr] ret i64 %"Invoke native method vprintf" [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] ; Function Attrs: nounwind [INFO] [stderr] declare void @llvm.va_start(i8* %0) #0 [INFO] [stderr] [INFO] [stderr] declare i64 @vprintf(i8* %0, { i32, i32, i8*, i8* }* %1) [INFO] [stderr] [INFO] [stderr] ; Function Attrs: nounwind [INFO] [stderr] declare void @llvm.va_end(i8* %0) #0 [INFO] [stderr] [INFO] [stderr] define void @lilit_user_space__println(%String* %0, %Int* %1, %Int* %2) { [INFO] [stderr] first_block: [INFO] [stderr] %"Param 0 of method println" = alloca %String* [INFO] [stderr] store %String* %0, %String** %"Param 0 of method println" [INFO] [stderr] %"Param 1 of method println" = alloca %Int* [INFO] [stderr] store %Int* %1, %Int** %"Param 1 of method println" [INFO] [stderr] %"Param 2 of method println" = alloca %Int* [INFO] [stderr] store %Int* %2, %Int** %"Param 2 of method println" [INFO] [stderr] %"Read ptr into String" = load %String*, %String** %"Param 0 of method println" [INFO] [stderr] %"Gep field 0 of String" = getelementptr inbounds %String, %String* %"Read ptr into String", i32 0, i32 0 [INFO] [stderr] %"Load field underlying for identifier underlying" = load %Native__String*, %Native__String** %"Gep field 0 of String" [INFO] [stderr] %"Gep the native value" = getelementptr inbounds %Native__String, %Native__String* %"Load field underlying for identifier underlying", i32 0, i32 0 [INFO] [stderr] %"Load the native value" = load i8*, i8** %"Gep the native value" [INFO] [stderr] %"Read ptr into Int" = load %Int*, %Int** %"Param 1 of method println" [INFO] [stderr] %"Gep field 0 of Int" = getelementptr inbounds %Int, %Int* %"Read ptr into Int", i32 0, i32 0 [INFO] [stderr] %"Load field underlying for identifier underlying1" = load %Native__Int*, %Native__Int** %"Gep field 0 of Int" [INFO] [stderr] %"Gep the native value2" = getelementptr inbounds %Native__Int, %Native__Int* %"Load field underlying for identifier underlying1", i32 0, i32 0 [INFO] [stderr] %"Load the native value3" = load i64, ; ModuleID = 'imain64' [INFO] [stderr] *source_filename = " m%a"iGne" [INFO] [stderr] p the [INFO] [stderr] %nInta = type t{ i%veNative__Int *v } [INFO] [stderr] a%lNative__Intu = type e{ 2i"64 [INFO] [stderr] } [INFO] [stderr] % [INFO] [stderr] "define voidR e@alilit_user_space__testd( )pt {r [INFO] [stderr] first_blocki: [INFO] [stderr] n t%o" alIlnotc4a" = aloadss i%gIntn*m,e nt%"Int = *alloca* %%Int"*Pa [INFO] [stderr] r a%mmalloc = call2 io8f* me@tGC_malloch(oid64 prptrtointi (nit64l*n "getelementptr [INFO] [stderr] ( i64%, "iG64*e pnull , fii32e l1d) to i064 )o)f [INFO] [stderr] Icalln tvoid 5@"GC_register_finalizer = (getelementptri inbounds8 *% Int%malloc,, void% (Inti*8 *%, i"8R*)e*a d@ GC_finalizerp, tir8 *i nulln, tvoido ( iI8n*t, 4i8"*, )i*32* null0, , ii8*32* 0null [INFO] [stderr] ) [INFO] [stderr] % "%castL = obitcasta di 8f*i e%lmalloc to d% Native__Intu*n [INFO] [stderr] d e%r"lGeypi nfgo rf othre indaetnitvief ivearl uuen doefr ltyhien gc6l"a = sloads %NNative__Inta*t,i v%eNative__Int__*I*n t%"" = Ggetelementptre inboundsp f%iNative__Inte,l d% Native__Int0* o%fcast , Init325 "0 [INFO] [stderr] , i%32" G0e [INFO] [stderr] p tstoreh ei 64n a2t, iiv64e* va%l"uGee7p" = fgetelementptro inboundsr %tNative__Inth,e %nNative__Inta*t i%v"eL ovaadl ufei eoldf utnhdee rcllyaisnsg Nfaort iivdee_n_tIinfti"e [INFO] [stderr] r %umalloc1n = dcaller liy8i*n g@6GC_malloc", (ii3264 0, ptrtointi (32i 10* [INFO] [stderr] * %getelementptr"L (oia1d* , tih1e* *n anullt, iiv32e 1v)a to liue648)") = [INFO] [stderr] load calli 64void, @iGC_register_finalizer64(*i 8%*" G%emalloc1p, voidth (ei 8n*a, tii8v*e) v*a l@uGC_finalizere, 7i"8 [INFO] [stderr] * %nullnative__vprintf, = voidcall (i 8i*64, (ii88**), *...*) null@, native__vprintfi(8i*8** null%)" [INFO] [stderr] L o%acast2d = bitcastt hie8 *n a%tmalloc1i to v%eInt *v [INFO] [stderr] a l%u"eG"e, pi 64f o%r" Ltohaed ftiheel dn a#t0i veo fv atlhuee 3c"l, ais64s %I"nLto"a = dgetelementptr inboundst h%eInt ,n a%tInti*v e% cast2va, liu32e 80", )i [INFO] [stderr] 32 %0malloc [INFO] [stderr] = callstore i 8%*Native__Int *@ GC_malloc%(casti, 64% Native__Intptrtoint* (*i 64%*" Ggetelementptre (pi 64f, oir64 *t hnulle, if32i e1l)d to i#640) )o [INFO] [stderr] f callt hevoid c@lGC_register_finalizera(sis8 *I n%tmalloc", [INFO] [stderr] void (storei 8%*Int, *i 8%*)cast2*, %@IntGC_finalizer*, *i 8%*" anulll, lvoido (cia8 *a, sis8i*g)n*m*e nnullt, "i [INFO] [stderr] 8 **ret voidnull [INFO] [stderr] )} [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] %declarecast = bitcastnoalias ii88** %@malloc to GC_malloc%(Native__Inti*64 [INFO] [stderr] % 0%)" [INFO] [stderr] G [INFO] [stderr] edeclarep fvoido r@ GC_finalizert(hie8 *n %at0i, vie8 *p %a1r)am [INFO] [stderr] [INFO] [stderr] odeclaref voidt h@e GC_register_finalizerc(lia8s*s % N0a, tvoidi (vie8_*_, Iin8t*") = *getelementptr % inbounds1 , %iNative__Int8,* %%2Native__Int, *void (%icast8, *i32, i08, *i)32* *0 % [INFO] [stderr] 3 , storei 8i*64* %%4native__vprintf), [INFO] [stderr] i64* %"Gep for the native param of the class Native__Int" [INFO] [stderr] ret void [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] declare noalias i8* @GC_malloc(i64 %0) [INFO] [stderr] [INFO] [stderr] declare void @GC_finalizer(i8* %0, i8* %1) [INFO] [stderr] [INFO] [stderr] declare void @GC_register_finalizer(i8* %0, void (i8*, i8*)* %1, i8* %2, void (i8*, i8*)** %3, i8** %4) [INFO] [stderr] [INFO] [stderr] define void @lilit_user_space__test() { [INFO] [stderr] first_block: [INFO] [stderr] %malloc = call i8* @GC_malloc(i64 mul nuw (i64 ptrtoint (i8* getelementptr (i8, i8* null, i32 1) to i64), i64 11)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stdout] test analyse::expr::invoke::tests::test_instance_method ... ok [INFO] [stderr] %"Cast pointer to ArrayType" = bitcast i8* %malloc to [11 x i8]* [INFO] [stdout] test parse::tests::test_simple ... ok [INFO] [stdout] test tokenize::tests::test_empty_char ... ok [INFO] [stdout] test parse::expr::level_010::tests::test_dot ... ok [INFO] [stdout] test tokenize::tests::test_complex ... ok [INFO] [stdout] test analyse::expr::assignment::tests::test_simple ... ok [INFO] [stdout] test tokenize::tests::test_escaped_backslash_char ... ok [INFO] [stdout] test parse::expr::atom::new_instance::tests::test_simple ... ok [INFO] [stdout] test tokenize::tests::test_escaped_backslash_string ... ok [INFO] [stdout] test parse::def::params::tests::test_empty ... ok [INFO] [stdout] test tokenize::tests::test_escaped_backslash_string_2 ... ok [INFO] [stdout] test tokenize::tests::test_escaped_backslash_string_3 ... ok [INFO] [stdout] test tokenize::tests::test_escaped_char ... ok [INFO] [stdout] test parse::def::method::tests::test_with_params ... ok [INFO] [stdout] test parse::def::params::tests::test_simple ... ok [INFO] [stdout] test tokenize::tests::test_empty_string ... ok [INFO] [stdout] test tokenize::tests::test_oneline_comment ... ok [INFO] [stdout] test tokenize::tests::test_string ... ok [INFO] [stdout] test tokenize::tests::test_symbol ... ok [INFO] [stdout] test tokenize::tests::test_unicode ... ok [INFO] [stderr] %"Gep; ModuleID = 'main' [INFO] [stderr] source_filename = "main" [INFO] [stderr] [INFO] [stderr] %Char = type { %Native__Char* } [INFO] [stderr] %Native__Char = type { i8 } [INFO] [stderr] [INFO] [stderr] define %Char* @lilit_user_space__test() { [INFO] [stderr] first_block: [INFO] [stderr] %malloc = call i8* @GC_malloc(i64 ptrtoint (i8* getelementptr (i8, i8* null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast = bitcast i8* %malloc to %Native__Char* [INFO] [stderr] %"Gep for the native value of the class Native__Char" = getelementptr inbounds %Native__Char, %Native__Char* %cast, i32 0, i32 0 [INFO] [stderr] store i8 97, i8* %"Gep for the native value of the class Native__Char" [INFO] [stderr] %malloc1 = call i8* @GC_malloc(i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc1, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast2 = bitcast i8* %malloc1 to %Char* [INFO] [stderr] %"Gep for the field #0 of the class Char" = getelementptr inbounds %Char, %Char* %cast2, i32 0, i32 0 [INFO] [stderr] store %Native__Char* %cast, %Native__Char** %"Gep for the field #0 of the class Char" [INFO] [stderr] ret %Char* %cast2 [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] declare noalias i8* @GC_malloc(i64 %0) [INFO] [stderr] [INFO] [stderr] declare void @GC_finalizer(i8* %0, i8* %1) [INFO] [stderr] [INFO] [stderr] declare void @GC_register_finalizer(i8* %0, void (i8*, i8*)* %1, i8* %2, void (i8*, i8*)** %3, i8** %4) [INFO] [stdout] test tokenize::tests::test_int ... ok [INFO] [stdout] test tokenize::tests::test_word ... ok [INFO] [stdout] test emit::expr::literal_char::tests::test_full ... ok [INFO] [stdout] test tokenize::tests::test_hex ... ok [INFO] [stdout] test tokenize::tests::test_float ... ok [INFO] [stdout] test parse::def::method::tests::test_no_params ... ok [INFO] [stderr] ; ModuleID = 'main' [INFO] [stderr] source_filename = "main" [INFO] [stderr] [INFO] [stderr] %String = type { %Native__String* } [INFO] [stderr] %Native__String = type { i8* } [INFO] [stderr] %Int = type { %Native__Int* } [INFO] [stderr] %Native__Int = type { i64 } [INFO] [stderr] [INFO] [stderr] define void @native__printf(i8* %0) { [INFO] [stderr] first_block: [INFO] [stderr] call void @printf(i8* %0) [INFO] [stderr] ret void [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] declare void @printf(i8* %0) [INFO] [stderr] [INFO] [stderr] define void @lilit_user_space__println(%String* %0) { [INFO] [stderr] first_block: [INFO] [stderr] %"Param 0 of method println" = alloca %String* [INFO] [stderr] store %String* %0, %String** %"Param 0 of method println" [INFO] [stderr] %"Read ptr into String" = load %String*, %String** %"Param 0 of method println" [INFO] [stderr] %"Gep field 0 of String" = getelementptr inbounds %String, %String* %"Read ptr into String", i32 0, i32 0 [INFO] [stderr] %"Load field underlying for identifier underlying" = load %Native__String*, %Native__String** %"Gep field 0 of String" [INFO] [stderr] %"Gep the native value" = getelementptr inbounds %Native__String, %Native__String* %"Load field underlying for identifier underlying", i32 0, i32 0 [INFO] [stderr] %"Load the native value" = load i8*, i8** %"Gep the native value" [INFO] [stderr] call void @native__printf(i8* %"Load the native value") [INFO] [stderr] ret void [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] define %Int* @native__main() { [INFO] [stderr] first_block: [INFO] [stderr] %malloc = call i8* @GC_malloc(i64 mul nuw (i64 ptrtoint (i8* getelementptr (i8, i8* null, i32 1) to i64), i64 13)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %"Cast pointer to ArrayType" = bitcast i8* %malloc to [13 x i8]* [INFO] [stderr] %"Gep char 0 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 0 [INFO] [stderr] store i8 72, i8* %"Gep char 0 of string Hello world!" [INFO] [stderr] %"Gep char 1 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 1 [INFO] [stderr] store i8 101, i8* %"Gep char 1 of string Hello world!" [INFO] [stderr] %"Gep char 2 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 2 [INFO] [stderr] store i8 108, i8* %"Gep char 2 of string Hello world!" [INFO] [stderr] %"Gep char 3 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 3 [INFO] [stderr] store i8 108, i8* %"Gep char 3 of string Hello world!" [INFO] [stderr] %"Gep char 4 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 4 [INFO] [stderr] store i8 111, i8* %"Gep char 4 of string Hello world!" [INFO] [stderr] %"Gep char 5 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 5 [INFO] [stderr] store i8 32, i8* %"Gep char 5 of string Hello world!" [INFO] [stderr] %"Gep char 6 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 6 [INFO] [stderr] store i8 119, i8* %"Gep char 6 of string Hello world!" [INFO] [stderr] %"Gep char 7 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 7 [INFO] [stderr] store i8 111, i8* %"Gep char 7 of string Hello world!" [INFO] [stderr] %"Gep char 8 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 8 [INFO] [stderr] store i8 114, i8* %"Gep char 8 of string Hello world!" [INFO] [stderr] %"Gep char 9 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 9 [INFO] [stderr] store i8 108, i8* %"Gep char 9 of string Hello world!" [INFO] [stderr] %"Gep char 10 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 10 [INFO] [stderr] store i8 100, i8* %"Gep char 10 of string Hello world!" [INFO] [stderr] %"Gep char 11 of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 11 [INFO] [stderr] store i8 33, i8* %"Gep char 11 of string Hello world!" [INFO] [stderr] %"Gep the last position for the terminating symbol of string Hello world!" = getelementptr inbounds [13 x i8], [13 x i8]* %"Cast pointer to ArrayType", i32 0, i32 12 [INFO] [stderr] store i8 0, i8* %"Gep the last position for the terminating symbol of string Hello world!" [INFO] [stderr] %"Cast to eliminate the size info" = bitcast [13 x i8]* %"Cast pointer to ArrayType" to i8* [INFO] [stderr] %malloc1 = call i8* @GC_malloc(i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc1, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast = bitcast i8* %malloc1 to %Native__String* [INFO] [stderr] %"Gep for the native value of the class Native__String" = getelementptr inbounds %Native__String, %Native__String* %cast, i32 0, i32 0 [INFO] [stderr] store i8* %"Cast to eliminate the size info", i8** %"Gep for the native value of the class Native__String" [INFO] [stderr] %malloc2 = call i8* @GC_malloc(i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)) [INFO] [stdout] test analyse::expr::identifier::tests::test_class_param ... ok [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc2, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8* char 0 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 0 [INFO] [stdout] test emit::expr::invoke::tests::test_full ... ok [INFO] [stderr] store i8 84, i8* %"Gep char 0 of string Test %d %d" [INFO] [stdout] test emit::tests::test_full ... ok [INFO] [stderr] %"Gep char 1 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 1 [INFO] [stdout] [INFO] [stderr] store i8 101, i8* %"Gep char 1 of string Test %d %d" [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stderr] %"Gep char 2 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 2 [INFO] [stdout] [INFO] [stderr] store i8 115, i8* %"Gep char 2 of string Test %d %d" [INFO] [stderr] %"Gep char 3 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 3 [INFO] [stderr] store i8 116, i8* %"Gep char 3 of string Test %d %d" [INFO] [stderr] %"Gep char 4 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 4 [INFO] [stderr] store i8 32, i8* %"Gep char 4 of string Test %d %d" [INFO] [stderr] %"Gep char 5 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 5 [INFO] [stderr] store i8 37, i8* %"Gep char 5 of string Test %d %d" [INFO] [stderr] %"Gep char 6 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 6 [INFO] [stderr] store i8 100, i8* %"Gep char 6 of string Test %d %d" [INFO] [stderr] %"Gep char 7 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 7 [INFO] [stderr] store i8 32, i8* %"Gep char 7 of string Test %d %d" [INFO] [stderr] %"Gep char 8 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 8 [INFO] [stderr] store i8 37, i8* %"Gep char 8 of string Test %d %d" [INFO] [stderr] %"Gep char 9 of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 9 [INFO] [stderr] store i8 100, i8* %"Gep char 9 of string Test %d %d" [INFO] [stderr] %"Gep the last position for the terminating symbol of string Test %d %d" = getelementptr inbounds [11 x i8], [11 x i8]* %"Cast pointer to ArrayType", i32 0, i32 10 [INFO] [stderr] store i8 0, i8* %"Gep the last position for the terminating symbol of string Test %d %d" [INFO] [stderr] %"Cast to eliminate the size info" = bitcast [11 x i8]* %"Cast pointer to ArrayType" to i8* [INFO] [stderr] %malloc1 = call i8* @GC_malloc(i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc1, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast = bitcast i8* %malloc1 to %Native__String* [INFO] [stderr] %"Gep for the native value of the class Native__String" = getelementptr inbounds %Native__String, %Native__String* %cast, i32 0, i32 0 [INFO] [stderr] store i8* %"Cast to eliminate the size info", i8** %"Gep for the native value of the class Native__String" [INFO] [stderr] %malloc2 = call i8* @GC_malloc(i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc2, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast3 = bitcast i8* %malloc2 to %String* [INFO] [stderr] %"Gep for the field #0 of the class String" = getelementptr inbounds %String, %String* %cast3, i32 0, i32 0 [INFO] [stderr] store %Native__String* %cast, %Native__String** %"Gep for the field #0 of the class String" [INFO] [stderr] %malloc4 = call i8* @GC_malloc(i64 ptrtoint (i64* getelementptr (i64, i64* null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc4, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast5 = bitcast i8* %malloc4 to %Native__Int* [INFO] [stderr] %"Gep for the native value of the class Native__Int" = getelementptr inbounds %Native__Int, %Native__Int* %cast5, i32 0, i32 0 [INFO] [stderr] store i64 1, i64* %"Gep for the native value of the class Native__Int" [INFO] [stderr] %malloc6 = call i8* @GC_malloc(i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc6, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast7 = bitcast i8* %malloc6 to %Int* [INFO] [stderr] %"Gep for the field #0 of the class Int" = getelementptr inbounds %Int, %Int* %cast7, i32 0, i32 0 [INFO] [stderr] store %Native__Int* %cast5, %Native__Int** %"Gep for the field #0 of the class Int" [INFO] [stderr] %malloc8 = call i8* @GC_malloc(i64 ptrtoint (i64* getelementptr (i64, i64* null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc8, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast9 = bitcast i8* %malloc8 to %Native__Int* [INFO] [stderr] %"Gep for the native value of the class Native__Int10" = getelementptr inbounds %Native__Int, %Native__Int* %cast9, i32 0, i32 0 [INFO] [stderr] store i64 2, i64* %"Gep for the native value of the class Native__Int10" [INFO] [stderr] %malloc11 = call i8* @GC_malloc(i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc11, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast12 = bitcast i8* %malloc11 to %Int* [INFO] [stderr] %"Gep for the field #0 of the class Int13" = getelementptr inbounds %Int, %Int* %cast12, i32 0, i32 0 [INFO] [stderr] store %Native__Int* %cast9, %Native__Int** %"Gep for the field #0 of the class Int13" [INFO] [stderr] call void @lilit_user_space__println(%String* %cast3, %Int* %cast7, %Int* %cast12) [INFO] [stderr] ret void [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] attributes #0 = { nounwind } [INFO] [stderr] , i8*)** null, i8** null) [INFO] [stderr] %cast3 = bitcast i8* %malloc2 to %String* [INFO] [stderr] %"Gep for the field #0 of the class String" = getelementptr inbounds %String, %String* %cast3, i32 0, i32 0 [INFO] [stderr] store %Native__String* %cast, %Native__String** %"Gep for the field #0 of the class String" [INFO] [stderr] call void @lilit_user_space__println(%String* %cast3) [INFO] [stderr] %malloc4 = call i8* @GC_malloc(i64 ptrtoint (i64* getelementptr (i64, i64* null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc4, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast5 = bitcast i8* %malloc4 to %Native__Int* [INFO] [stderr] %"Gep for the native value of the class Native__Int" = getelementptr inbounds %Native__Int, %Native__Int* %cast5, i32 0, i32 0 [INFO] [stderr] store i64 123, i64* %"Gep for the native value of the class Native__Int" [INFO] [stderr] %malloc6 = call i8* @GC_malloc(i64 ptrtoint (i1** getelementptr (i1*, i1** null, i32 1) to i64)) [INFO] [stderr] call void @GC_register_finalizer(i8* %malloc6, void (i8*, i8*)* @GC_finalizer, i8* null, void (i8*, i8*)** null, i8** null) [INFO] [stderr] %cast7 = bitcast i8* %malloc6 to %Int* [INFO] [stderr] %"Gep for the field #0 of the class Int" = getelementptr inbounds %Int, %Int* %cast7, i32 0, i32 0 [INFO] [stderr] store %Native__Int* %cast5, %Native__Int** %"Gep for the field #0 of the class Int" [INFO] [stderr] ret %Int* %cast7 [INFO] [stderr] } [INFO] [stderr] [INFO] [stderr] declare noalias i8* @GC_malloc(i64 %0) [INFO] [stderr] [INFO] [stderr] declare void @GC_finalizer(i8* %0, i8* %1) [INFO] [stderr] [INFO] [stderr] declare void @GC_register_finalizer(i8* %0, void (i8*, i8*)* %1, i8* %2, void (i8*, i8*)** %3, i8** %4) [INFO] [stderr] [INFO] [stderr] define i32 @main(i32 %0, i8** %1) { [INFO] [stderr] first_block: [INFO] [stderr] %main = call %Int* @native__main() [INFO] [stderr] %"Gep for the first param of Int" = getelementptr inbounds %Int, %Int* %main, i32 0, i32 0 [INFO] [stderr] %"Load the first param of Int" = load %Native__Int*, %Native__Int** %"Gep for the first param of Int" [INFO] [stderr] %"Gep for the first param of Native__Int" = getelementptr inbounds %Native__Int, %Native__Int* %"Load the first param of Int", i32 0, i32 0 [INFO] [stderr] %"Load the first param of Native__Int" = load i64, i64* %"Gep for the first param of Native__Int" [INFO] [stderr] %"Cast return type" = trunc i64 %"Load the first param of Native__Int" to i32 [INFO] [stderr] ret i32 %"Cast return type" [INFO] [stderr] } [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lilit-58f31b91c21359f4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lilit [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d622923264e645307cf4fa217668214dc4b934c47ac655f52ae09d6b30489893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d622923264e645307cf4fa217668214dc4b934c47ac655f52ae09d6b30489893", kill_on_drop: false }` [INFO] [stdout] d622923264e645307cf4fa217668214dc4b934c47ac655f52ae09d6b30489893