[INFO] updating cached repository https://github.com/AprliRainkun/rua [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 181ed59c1d8bc7ada19c1bb490f9d2170397adeb [INFO] testing AprliRainkun/rua against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FAprliRainkun%2Frua" "work/builds/worker-1/source"` [INFO] [stderr] Cloning into 'work/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AprliRainkun/rua on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/AprliRainkun/rua [INFO] finished tweaking git repo https://github.com/AprliRainkun/rua [INFO] tweaked toml for git repo https://github.com/AprliRainkun/rua written to work/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/AprliRainkun/rua already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 464f854f2c3b9f9a52568c2e95a1d079bc24bb4359e45ff6094cbfa834df3d7f [INFO] running `"docker" "start" "-a" "464f854f2c3b9f9a52568c2e95a1d079bc24bb4359e45ff6094cbfa834df3d7f"` [INFO] [stderr] Compiling rua v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:432:9 [INFO] [stderr] | [INFO] [stderr] 432 | try!(self.eat(FlagType::Return)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:471:29 [INFO] [stderr] | [INFO] [stderr] 471 | let mut list = vec![try!(self.name())]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:476:31 [INFO] [stderr] | [INFO] [stderr] 476 | list.push(try!(self.name())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:644:32 [INFO] [stderr] | [INFO] [stderr] 644 | let (paras, content) = try!(self.function_body()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:645:9 [INFO] [stderr] | [INFO] [stderr] 645 | try!(self.eat(FlagType::End)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:687:9 [INFO] [stderr] | [INFO] [stderr] 687 | try!(self.eat(FlagType::LParen)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:691:9 [INFO] [stderr] | [INFO] [stderr] 691 | try!(self.eat(FlagType::RParen)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/ir_generator/mod.rs:207:21 [INFO] [stderr] | [INFO] [stderr] 207 | try!(self.visit_r_expr(expr, res_alloc, instructions, Some(Expect::Reg(reg)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/ir_generator/mod.rs:684:36 [INFO] [stderr] | [INFO] [stderr] 684 | let (scope, pos) = try!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/mod.rs:410:17 [INFO] [stderr] | [INFO] [stderr] 410 | let mut exprlist = self.exprlist()?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/assembler/mod.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | let mut num = index.get(label).expect("Label undefined") - (pos as i32) - 1; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.09s [INFO] running `"docker" "inspect" "464f854f2c3b9f9a52568c2e95a1d079bc24bb4359e45ff6094cbfa834df3d7f"` [INFO] running `"docker" "rm" "-f" "464f854f2c3b9f9a52568c2e95a1d079bc24bb4359e45ff6094cbfa834df3d7f"` [INFO] [stdout] 464f854f2c3b9f9a52568c2e95a1d079bc24bb4359e45ff6094cbfa834df3d7f [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] f6659c8f0b7bdea7d1ad33e2ddc2c9e50657826bd3c0b0a9ba55c40d4fe4524d [INFO] running `"docker" "start" "-a" "f6659c8f0b7bdea7d1ad33e2ddc2c9e50657826bd3c0b0a9ba55c40d4fe4524d"` [INFO] [stderr] Compiling rua v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:432:9 [INFO] [stderr] | [INFO] [stderr] 432 | try!(self.eat(FlagType::Return)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:471:29 [INFO] [stderr] | [INFO] [stderr] 471 | let mut list = vec![try!(self.name())]; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:476:31 [INFO] [stderr] | [INFO] [stderr] 476 | list.push(try!(self.name())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:644:32 [INFO] [stderr] | [INFO] [stderr] 644 | let (paras, content) = try!(self.function_body()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:645:9 [INFO] [stderr] | [INFO] [stderr] 645 | try!(self.eat(FlagType::End)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:687:9 [INFO] [stderr] | [INFO] [stderr] 687 | try!(self.eat(FlagType::LParen)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/parser/mod.rs:691:9 [INFO] [stderr] | [INFO] [stderr] 691 | try!(self.eat(FlagType::RParen)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/ir_generator/mod.rs:207:21 [INFO] [stderr] | [INFO] [stderr] 207 | try!(self.visit_r_expr(expr, res_alloc, instructions, Some(Expect::Reg(reg)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/ir_generator/mod.rs:684:36 [INFO] [stderr] | [INFO] [stderr] 684 | let (scope, pos) = try!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser/mod.rs:410:17 [INFO] [stderr] | [INFO] [stderr] 410 | let mut exprlist = self.exprlist()?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/assembler/mod.rs:175:25 [INFO] [stderr] | [INFO] [stderr] 175 | let mut num = index.get(label).expect("Label undefined") - (pos as i32) - 1; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.76s [INFO] running `"docker" "inspect" "f6659c8f0b7bdea7d1ad33e2ddc2c9e50657826bd3c0b0a9ba55c40d4fe4524d"` [INFO] running `"docker" "rm" "-f" "f6659c8f0b7bdea7d1ad33e2ddc2c9e50657826bd3c0b0a9ba55c40d4fe4524d"` [INFO] [stdout] f6659c8f0b7bdea7d1ad33e2ddc2c9e50657826bd3c0b0a9ba55c40d4fe4524d [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] 86e40e687aa8ca05c810b1af8d0be7a24c2647df60a0b3497e26b3e9af814919 [INFO] running `"docker" "start" "-a" "86e40e687aa8ca05c810b1af8d0be7a24c2647df60a0b3497e26b3e9af814919"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rua-5a8348c1bf05fcde [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test assembler::tests::empty ... ok [INFO] [stdout] test ir_generator::opcodes::tests::test_mask ... ok [INFO] [stdout] test ir_generator::opcodes::tests::test_opcode_generator ... ok [INFO] [stdout] test ir_generator::tests::boolean ... ok [INFO] [stdout] test ir_generator::tests::constant_format ... ok [INFO] [stdout] test ir_generator::tests::global_arith ... ok [INFO] [stdout] test ir_generator::tests::function_call ... ok [INFO] [stdout] test ir_generator::tests::function_def ... ok [INFO] [stdout] test ir_generator::tests::regression_one ... ok [INFO] [stdout] test ir_generator::tests::numeric_for_clause ... ok [INFO] [stdout] test ir_generator::tests::table_constructor ... ok [INFO] [stdout] test ir_generator::tests::if_else_clause ... ok [INFO] [stdout] test ir_generator::types::tests::test_utils ... ok [INFO] [stdout] test lexer::buffer::tests::longer_text ... ok [INFO] [stdout] test lexer::buffer::tests::simple_test ... ok [INFO] [stdout] test ir_generator::tests::set_get_table ... ok [INFO] [stdout] test ir_generator::tests::while_clause ... ok [INFO] [stdout] test lexer::tests::blank_line ... ok [INFO] [stdout] test lexer::tests::regression_one ... ok [INFO] [stdout] test ir_generator::tests::table_func ... ok [INFO] [stdout] test lexer::tests::expression_tokenize ... ok [INFO] [stdout] test lexer::buffer::tests::unpaired_rewind ... ok [INFO] [stdout] test compiler::tests::nested_call ... FAILED [INFO] [stdout] test compiler::tests::simple_int_arith ... FAILED [INFO] [stdout] test compiler::tests::branch ... FAILED [INFO] [stdout] test compiler::tests::while_loop ... FAILED [INFO] [stdout] test compiler::tests::simple_io ... FAILED [INFO] [stdout] test compiler::tests::boolean_arith ... FAILED [INFO] [stdout] test compiler::tests::build_table ... FAILED [INFO] [stdout] test compiler::tests::func_play ... FAILED [INFO] [stdout] test compiler::tests::for_numeric ... FAILED [INFO] [stdout] test compiler::tests::two_function ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::nested_call stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("two_function"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 10, ins_len: 16, instructions: [iABx(CLOSURE, 0, 0), iABx(SETGLOBAL, 0, 0), iABx(CLOSURE, 1, 1), iABx(SETGLOBAL, 1, 1), iABx(GETGLOBAL, 2, 1), iABx(GETGLOBAL, 5, 0), iABx(LOADK, 6, 3), iABx(LOADK, 7, 4), iABC(CALL, 5, 3, 2), iABx(LOADK, 4, 5), iABC(CALL, 2, 3, 2), iABx(SETGLOBAL, 2, 2), iABx(GETGLOBAL, 8, 6), iABx(GETGLOBAL, 9, 2), iABC(CALL, 8, 2, 1), iABC(RETURN, 0, 1, 0)], constants: [Str("add"), Str("sub"), Str("a"), Real(3.0), Real(4.0), Real(4.0), Str("print")], funclist_len: 2, function_prototypes: [FunctionChunk { source_name: None, first_line: 0, last_line: 0, upvalue_num: 0, para_num: 2, is_vararg: false, stack_size: 3, ins_len: 3, instructions: [iABC(ADD, 2, 0, 1), iABC(RETURN, 2, 2, 0), iABC(RETURN, 0, 1, 0)], constants: [], funclist_len: 0, function_prototypes: [] }, FunctionChunk { source_name: None, first_line: 0, last_line: 0, upvalue_num: 0, para_num: 2, is_vararg: false, stack_size: 3, ins_len: 3, instructions: [iABC(SUB, 2, 0, 1), iABC(RETURN, 2, 2, 0), iABC(RETURN, 0, 1, 0)], constants: [], funclist_len: 0, function_prototypes: [] }] } [INFO] [stdout] thread 'compiler::tests::nested_call' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace. [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::simple_int_arith stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("simple_int_arith"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 7, ins_len: 9, instructions: [iABC(ADD, 0, 257, 258), iABC(MUL, 1, 256, 0), iABC(ADD, 2, 260, 261), iABC(DIV, 3, 259, 2), iABx(GETGLOBAL, 4, 6), iABC(ADD, 5, 1, 3), iABC(SUB, 6, 3, 1), iABC(CALL, 4, 3, 1), iABC(RETURN, 0, 1, 0)], constants: [Real(3.0), Real(1.0), Real(1.0), Real(10.0), Real(2.0), Real(3.0), Str("print")], funclist_len: 0, function_prototypes: [] } [INFO] [stdout] thread 'compiler::tests::simple_int_arith' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::branch stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("branch"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 10, ins_len: 28, instructions: [iABx(LOADK, 0, 0), iABx(LOADK, 1, 1), iABC(LOADBOOL, 2, 1, 0), iABC(EQ, 1, 0, 1), rJMP(2), Label(1), iABx(LOADK, 3, 3), iABx(SETGLOBAL, 3, 2), rJMP(3), Label(2), iABx(LOADK, 4, 4), iABx(SETGLOBAL, 4, 2), Label(3), iABx(TEST, 2, 0), rJMP(5), Label(4), iABx(LOADK, 5, 6), iABx(SETGLOBAL, 5, 5), rJMP(6), Label(5), iABx(LOADK, 6, 7), iABx(SETGLOBAL, 6, 5), Label(6), iABx(GETGLOBAL, 7, 8), iABx(GETGLOBAL, 8, 2), iABx(GETGLOBAL, 9, 5), iABC(CALL, 7, 3, 1), iABC(RETURN, 0, 1, 0)], constants: [Real(1.0), Real(2.0), Str("c"), Real(2.0), Real(3.0), Str("d"), Real(4.0), Real(5.0), Str("print")], funclist_len: 0, function_prototypes: [] } [INFO] [stdout] thread 'compiler::tests::branch' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::while_loop stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("while_loop"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 4, ins_len: 14, instructions: [iABx(LOADK, 0, 0), iABx(LOADK, 1, 1), Label(1), iABC(LE, 0, 0, 258), rJMP(3), Label(2), iABC(ADD, 1, 1, 0), iABC(ADD, 0, 0, 259), rJMP(1), Label(3), iABx(GETGLOBAL, 2, 4), iABC(MOVE, 3, 1, 0), iABC(CALL, 2, 2, 1), iABC(RETURN, 0, 1, 0)], constants: [Real(0.0), Real(0.0), Real(100.0), Real(1.0), Str("print")], funclist_len: 0, function_prototypes: [] } [INFO] [stdout] thread 'compiler::tests::while_loop' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::simple_io stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("simple_io"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 3, ins_len: 5, instructions: [iABx(GETGLOBAL, 0, 0), iABx(LOADK, 1, 1), iABx(LOADK, 2, 2), iABC(CALL, 0, 3, 1), iABC(RETURN, 0, 1, 0)], constants: [Str("print"), Real(1.0), Real(2.0)], funclist_len: 0, function_prototypes: [] } [INFO] [stdout] thread 'compiler::tests::simple_io' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::boolean_arith stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("boolean_arith"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 5, ins_len: 15, instructions: [iABC(LOADBOOL, 0, 1, 0), iABC(LOADBOOL, 1, 0, 0), iABC(LE, 1, 256, 257), rJMP(2), Label(3), iABC(EQ, 0, 0, 1), rJMP(1), Label(2), iABC(LOADBOOL, 2, 0, 1), Label(1), iABC(LOADBOOL, 2, 1, 0), iABx(GETGLOBAL, 3, 2), iABC(MOVE, 4, 2, 0), iABC(CALL, 3, 2, 1), iABC(RETURN, 0, 1, 0)], constants: [Real(3.0), Real(2.0), Str("print")], funclist_len: 0, function_prototypes: [] } [INFO] [stdout] thread 'compiler::tests::boolean_arith' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::build_table stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("build_table"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 16, ins_len: 22, instructions: [iABC(NEWTABLE, 0, 3, 2), iABx(LOADK, 1, 1), iABx(LOADK, 2, 2), iABx(LOADK, 3, 3), iABC(SETLIST, 0, 3, 1), iABC(SETTABLE, 0, 260, 261), iABC(ADD, 4, 263, 264), iABC(SETTABLE, 0, 262, 4), iABx(SETGLOBAL, 0, 0), iABx(GETGLOBAL, 5, 9), iABx(GETGLOBAL, 11, 0), iABC(GETTABLE, 6, 11, 260), iABx(GETGLOBAL, 12, 0), iABC(GETTABLE, 7, 12, 262), iABx(GETGLOBAL, 13, 0), iABC(GETTABLE, 8, 13, 266), iABx(GETGLOBAL, 14, 0), iABC(GETTABLE, 9, 14, 267), iABx(GETGLOBAL, 15, 0), iABC(GETTABLE, 10, 15, 268), iABC(CALL, 5, 6, 1), iABC(RETURN, 0, 1, 0)], constants: [Str("table"), Real(1.0), Real(2.0), Real(3.0), Str("name"), Str("Ann"), Str("age"), Real(10.0), Real(8.0), Str("print"), Real(1.0), Real(2.0), Real(3.0)], funclist_len: 0, function_prototypes: [] } [INFO] [stdout] thread 'compiler::tests::build_table' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::func_play stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("func_play"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 4, ins_len: 9, instructions: [iABx(CLOSURE, 0, 0), iABx(SETGLOBAL, 0, 0), iABx(GETGLOBAL, 1, 1), iABx(GETGLOBAL, 3, 0), iABx(LOADK, 4, 2), iABx(LOADK, 5, 3), iABC(CALL, 3, 3, 0), iABC(CALL, 1, 0, 1), iABC(RETURN, 0, 1, 0)], constants: [Str("add_sub"), Str("print"), Real(1.0), Real(2.0)], funclist_len: 1, function_prototypes: [FunctionChunk { source_name: None, first_line: 0, last_line: 0, upvalue_num: 0, para_num: 2, is_vararg: false, stack_size: 4, ins_len: 4, instructions: [iABC(ADD, 2, 0, 1), iABC(SUB, 3, 0, 1), iABC(RETURN, 2, 3, 0), iABC(RETURN, 0, 1, 0)], constants: [], funclist_len: 0, function_prototypes: [] }] } [INFO] [stdout] thread 'compiler::tests::func_play' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::for_numeric stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("for_numeric"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 13, ins_len: 25, instructions: [iABx(LOADK, 0, 0), iABx(LOADK, 1, 1), iABx(LOADK, 2, 2), iABx(LOADK, 3, 3), iABx(LOADK, 4, 4), rForPrep(2, 2), Label(1), iABC(ADD, 0, 0, 5), Label(2), rForLoop(2, 1), Label(3), iABx(LOADK, 6, 5), iABx(LOADK, 7, 6), iABx(LOADK, 8, 7), rForPrep(6, 5), Label(4), iABC(ADD, 1, 1, 9), Label(5), rForLoop(6, 4), Label(6), iABx(GETGLOBAL, 10, 8), iABC(MOVE, 11, 0, 0), iABC(MOVE, 12, 1, 0), iABC(CALL, 10, 3, 1), iABC(RETURN, 0, 1, 0)], constants: [Real(0.0), Real(0.0), Real(1.0), Real(100.0), Real(1.0), Real(0.0), Real(100.0), Real(2.0), Str("print")], funclist_len: 0, function_prototypes: [] } [INFO] [stdout] thread 'compiler::tests::for_numeric' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] ---- compiler::tests::two_function stdout ---- [INFO] [stdout] FunctionChunk { source_name: Some("two_function"), first_line: 0, last_line: 0, upvalue_num: 0, para_num: 0, is_vararg: true, stack_size: 11, ins_len: 19, instructions: [iABx(CLOSURE, 0, 0), iABx(SETGLOBAL, 0, 0), iABx(CLOSURE, 1, 1), iABx(SETGLOBAL, 1, 1), iABx(GETGLOBAL, 2, 0), iABx(LOADK, 3, 3), iABx(LOADK, 4, 4), iABC(CALL, 2, 3, 2), iABx(SETGLOBAL, 2, 2), iABx(GETGLOBAL, 5, 1), iABx(LOADK, 6, 6), iABx(LOADK, 7, 7), iABC(CALL, 5, 3, 2), iABx(SETGLOBAL, 5, 5), iABx(GETGLOBAL, 8, 8), iABx(GETGLOBAL, 9, 2), iABx(GETGLOBAL, 10, 5), iABC(CALL, 8, 3, 1), iABC(RETURN, 0, 1, 0)], constants: [Str("add"), Str("sub"), Str("a"), Real(3.0), Real(4.0), Str("b"), Real(3.0), Real(4.0), Str("print")], funclist_len: 2, function_prototypes: [FunctionChunk { source_name: None, first_line: 0, last_line: 0, upvalue_num: 0, para_num: 2, is_vararg: false, stack_size: 3, ins_len: 3, instructions: [iABC(ADD, 2, 0, 1), iABC(RETURN, 2, 2, 0), iABC(RETURN, 0, 1, 0)], constants: [], funclist_len: 0, function_prototypes: [] }, FunctionChunk { source_name: None, first_line: 0, last_line: 0, upvalue_num: 0, para_num: 2, is_vararg: false, stack_size: 3, ins_len: 3, instructions: [iABC(SUB, 2, 0, 1), iABC(RETURN, 2, 2, 0), iABC(RETURN, 0, 1, 0)], constants: [], funclist_len: 0, function_prototypes: [] }] } [INFO] [stdout] thread 'compiler::tests::two_function' panicked at 'Could not run lua.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1165:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compiler::tests::boolean_arith [INFO] [stdout] compiler::tests::branch [INFO] [stdout] compiler::tests::build_table [INFO] [stdout] compiler::tests::for_numeric [INFO] [stdout] compiler::tests::func_play [INFO] [stdout] compiler::tests::nested_call [INFO] [stdout] compiler::tests::simple_int_arith [INFO] [stdout] compiler::tests::simple_io [INFO] [stdout] compiler::tests::two_function [INFO] [stdout] compiler::tests::while_loop [INFO] [stdout] [INFO] [stdout] test result: FAILED. 22 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin rua' [INFO] running `"docker" "inspect" "86e40e687aa8ca05c810b1af8d0be7a24c2647df60a0b3497e26b3e9af814919"` [INFO] running `"docker" "rm" "-f" "86e40e687aa8ca05c810b1af8d0be7a24c2647df60a0b3497e26b3e9af814919"` [INFO] [stdout] 86e40e687aa8ca05c810b1af8d0be7a24c2647df60a0b3497e26b3e9af814919