[INFO] cloning repository https://github.com/brsamb9/Nand2tetris_PartTwo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brsamb9/Nand2tetris_PartTwo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrsamb9%2FNand2tetris_PartTwo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrsamb9%2FNand2tetris_PartTwo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2022c75cae509e31168deea33f8ce11072061c0b [INFO] testing brsamb9/Nand2tetris_PartTwo against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrsamb9%2FNand2tetris_PartTwo" "/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/brsamb9/Nand2tetris_PartTwo on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brsamb9/Nand2tetris_PartTwo [INFO] finished tweaking git repo https://github.com/brsamb9/Nand2tetris_PartTwo [INFO] tweaked toml for git repo https://github.com/brsamb9/Nand2tetris_PartTwo written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/brsamb9/Nand2tetris_PartTwo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d39b6d8d8795853c22ad35b3084b80dcbe211e08f41a4a886cbbcfa245138cfd [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" "d39b6d8d8795853c22ad35b3084b80dcbe211e08f41a4a886cbbcfa245138cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d39b6d8d8795853c22ad35b3084b80dcbe211e08f41a4a886cbbcfa245138cfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d39b6d8d8795853c22ad35b3084b80dcbe211e08f41a4a886cbbcfa245138cfd", kill_on_drop: false }` [INFO] [stdout] d39b6d8d8795853c22ad35b3084b80dcbe211e08f41a4a886cbbcfa245138cfd [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25a388b438c7c7897fb4bf0aa579d833adb9381084f12700ad7d946abf2165d [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" "c25a388b438c7c7897fb4bf0aa579d833adb9381084f12700ad7d946abf2165d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling JackCompiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VarTypes` [INFO] [stdout] --> src/symbol_table.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | use super::compilation_engine::{DeclareVariable, VarKinds, VarTypes}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compilation_engine.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | _ => panic!(format!("Not a binary op -> {}", s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 215 | _ => panic!("Not a binary op -> {}", s), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compilation_engine.rs:222:25 [INFO] [stdout] | [INFO] [stdout] 222 | _ => panic!(format!("Not an unary op -> {}", s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 222 | _ => panic!("Not an unary op -> {}", s), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.35s [INFO] running `Command { std: "docker" "inspect" "c25a388b438c7c7897fb4bf0aa579d833adb9381084f12700ad7d946abf2165d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25a388b438c7c7897fb4bf0aa579d833adb9381084f12700ad7d946abf2165d", kill_on_drop: false }` [INFO] [stdout] c25a388b438c7c7897fb4bf0aa579d833adb9381084f12700ad7d946abf2165d [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] fbf83fe64a7e69f66d7b755689a04d765a10e64b3bc96cb987d402f0b9399e2d [INFO] running `Command { std: "docker" "start" "-a" "fbf83fe64a7e69f66d7b755689a04d765a10e64b3bc96cb987d402f0b9399e2d", kill_on_drop: false }` [INFO] [stderr] Compiling JackCompiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compilation_engine.rs:215:25 [INFO] [stdout] | [INFO] [stdout] 215 | _ => panic!(format!("Not a binary op -> {}", s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 215 | _ => panic!("Not a binary op -> {}", s), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compilation_engine.rs:222:25 [INFO] [stdout] | [INFO] [stdout] 222 | _ => panic!(format!("Not an unary op -> {}", s)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 222 | _ => panic!("Not an unary op -> {}", s), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.03s [INFO] running `Command { std: "docker" "inspect" "fbf83fe64a7e69f66d7b755689a04d765a10e64b3bc96cb987d402f0b9399e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbf83fe64a7e69f66d7b755689a04d765a10e64b3bc96cb987d402f0b9399e2d", kill_on_drop: false }` [INFO] [stdout] fbf83fe64a7e69f66d7b755689a04d765a10e64b3bc96cb987d402f0b9399e2d [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", 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] df1ad208228a861fce8e36265a37fef1dae9d64998cb69cfd541bea233a04542 [INFO] running `Command { std: "docker" "start" "-a" "df1ad208228a861fce8e36265a37fef1dae9d64998cb69cfd541bea233a04542", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/compilation_engine.rs:215:25 [INFO] [stderr] | [INFO] [stderr] 215 | _ => panic!(format!("Not a binary op -> {}", s)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 215 | _ => panic!("Not a binary op -> {}", s), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/compilation_engine.rs:222:25 [INFO] [stderr] | [INFO] [stderr] 222 | _ => panic!(format!("Not an unary op -> {}", s)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 222 | _ => panic!("Not an unary op -> {}", s), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jack_analyzer-599c17d193ddb405) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test compilation_engine::test::iterator ... ok [INFO] [stdout] test compilation_engine::test::test_compile_expression_list ... ok [INFO] [stdout] test compilation_engine::test::basic_class_example ... ok [INFO] [stdout] test compilation_engine::test::compare_tokens_types ... ok [INFO] [stdout] test compilation_engine::test::test_compile_parameter_list ... ok [INFO] [stdout] test compilation_engine::test::test_nested_compile_expression ... ok [INFO] [stdout] test jack_tokenizer::tests::iter_test ... ok [INFO] [stdout] test vm_writer::test::output_vm_instruction ... ok [INFO] [stdout] test jack_tokenizer::tests::strip_comments_test ... ok [INFO] [stdout] test compilation_engine::test::test_compile_name_list ... ok [INFO] [stdout] test compilation_engine::test::test_is_binary_operator ... ok [INFO] [stdout] test symbol_table::test::counters_test ... ok [INFO] [stdout] test vm_writer::test::vm_term ... ok [INFO] [stdout] test symbol_table::test::reset_subroutine_table ... ok [INFO] [stdout] test jack_tokenizer::tests::tokens_test ... ok [INFO] [stdout] test jack_tokenizer::tests::token_type_test ... ok [INFO] [stdout] test compilation_engine::test::test_compile_var_dec ... ok [INFO] [stdout] test vm_writer::test::vm_arithmetic ... ok [INFO] [stdout] test symbol_table::test::tables_test ... ok [INFO] [stdout] test vm_writer::test::test_subroutine_call ... ok [INFO] [stdout] test compilation_engine::test::test_compile_term ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "df1ad208228a861fce8e36265a37fef1dae9d64998cb69cfd541bea233a04542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1ad208228a861fce8e36265a37fef1dae9d64998cb69cfd541bea233a04542", kill_on_drop: false }` [INFO] [stdout] df1ad208228a861fce8e36265a37fef1dae9d64998cb69cfd541bea233a04542