[INFO] cloning repository https://github.com/sougyo/hello_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sougyo/hello_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsougyo%2Fhello_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsougyo%2Fhello_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e5920730540a4cffb78e2617f820870a749c803b
[INFO] testing sougyo/hello_rust against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsougyo%2Fhello_rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sougyo/hello_rust
[INFO] finished tweaking git repo https://github.com/sougyo/hello_rust
[INFO] tweaked toml for git repo https://github.com/sougyo/hello_rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sougyo/hello_rust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sougyo/hello_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9b52005406c945b932606ec76fead7a33a3a88b291c8fc1888b29d1c41aa60f4
[INFO] running `Command { std: "docker" "start" "-a" "9b52005406c945b932606ec76fead7a33a3a88b291c8fc1888b29d1c41aa60f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9b52005406c945b932606ec76fead7a33a3a88b291c8fc1888b29d1c41aa60f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b52005406c945b932606ec76fead7a33a3a88b291c8fc1888b29d1c41aa60f4", kill_on_drop: false }`
[INFO] [stdout] 9b52005406c945b932606ec76fead7a33a3a88b291c8fc1888b29d1c41aa60f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3406e8b8e43c22fbcbd6f4a2198c76cfd772936a5a82ddccc5ed630f2da65b8b
[INFO] running `Command { std: "docker" "start" "-a" "3406e8b8e43c22fbcbd6f4a2198c76cfd772936a5a82ddccc5ed630f2da65b8b", kill_on_drop: false }`
[INFO] [stderr]    Compiling hello_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::program_counter::ProgramCounter`
[INFO] [stdout]  --> src/components/alu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::program_counter::ProgramCounter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALU4Bit`, `OP_LOAD`, `OP_STORE`, `bool_array_to_u8`, and `u8_to_bool_array`
[INFO] [stdout]  --> src/components/program_counter.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::components::{alu::{ALU4Bit, OP_LOAD, OP_STORE}, gates::{bool_array_to_u8, u8_to_bool_array}};
[INFO] [stdout]   |                               ^^^^^^^  ^^^^^^^  ^^^^^^^^           ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::program_counter::ProgramCounter`
[INFO] [stdout]  --> src/components/alu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::program_counter::ProgramCounter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALU4Bit`, `OP_LOAD`, `OP_STORE`, `bool_array_to_u8`, and `u8_to_bool_array`
[INFO] [stdout]  --> src/components/program_counter.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::components::{alu::{ALU4Bit, OP_LOAD, OP_STORE}, gates::{bool_array_to_u8, u8_to_bool_array}};
[INFO] [stdout]   |                               ^^^^^^^  ^^^^^^^  ^^^^^^^^           ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nand_gate` is never used
[INFO] [stdout]  --> src/components/gates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn nand_gate(a: bool, b: bool) -> bool { !(a && b) }
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_gate` is never used
[INFO] [stdout]  --> src/components/gates.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn not_gate(a: bool) -> bool { !a }
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_reg_a` and `get_reg_b` are never used
[INFO] [stdout]    --> src/components/alu.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl ALU4Bit {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn get_reg_a(&self) -> [bool; 4] {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn get_reg_b(&self) -> [bool; 4] {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set` is never used
[INFO] [stdout]   --> src/components/program_counter.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProgramCounter {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn set(&mut self, address: u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "3406e8b8e43c22fbcbd6f4a2198c76cfd772936a5a82ddccc5ed630f2da65b8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3406e8b8e43c22fbcbd6f4a2198c76cfd772936a5a82ddccc5ed630f2da65b8b", kill_on_drop: false }`
[INFO] [stdout] 3406e8b8e43c22fbcbd6f4a2198c76cfd772936a5a82ddccc5ed630f2da65b8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 380b57bf2c1de26628073dd43987ccb41035d387c01297268ce932b9c9a94830
[INFO] running `Command { std: "docker" "start" "-a" "380b57bf2c1de26628073dd43987ccb41035d387c01297268ce932b9c9a94830", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `super::program_counter::ProgramCounter`
[INFO] [stdout]  --> src/components/alu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::program_counter::ProgramCounter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALU4Bit`, `OP_LOAD`, `OP_STORE`, `bool_array_to_u8`, and `u8_to_bool_array`
[INFO] [stdout]  --> src/components/program_counter.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::components::{alu::{ALU4Bit, OP_LOAD, OP_STORE}, gates::{bool_array_to_u8, u8_to_bool_array}};
[INFO] [stdout]   |                               ^^^^^^^  ^^^^^^^  ^^^^^^^^           ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hello_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::program_counter::ProgramCounter`
[INFO] [stdout]  --> src/components/alu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::program_counter::ProgramCounter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ALU4Bit`, `OP_LOAD`, `OP_STORE`, `bool_array_to_u8`, and `u8_to_bool_array`
[INFO] [stdout]  --> src/components/program_counter.rs:1:31
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::components::{alu::{ALU4Bit, OP_LOAD, OP_STORE}, gates::{bool_array_to_u8, u8_to_bool_array}};
[INFO] [stdout]   |                               ^^^^^^^  ^^^^^^^  ^^^^^^^^           ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nand_gate` is never used
[INFO] [stdout]  --> src/components/gates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn nand_gate(a: bool, b: bool) -> bool { !(a && b) }
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_gate` is never used
[INFO] [stdout]  --> src/components/gates.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn not_gate(a: bool) -> bool { !a }
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_reg_a` and `get_reg_b` are never used
[INFO] [stdout]    --> src/components/alu.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl ALU4Bit {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn get_reg_a(&self) -> [bool; 4] {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn get_reg_b(&self) -> [bool; 4] {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set` is never used
[INFO] [stdout]   --> src/components/program_counter.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProgramCounter {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn set(&mut self, address: u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::program_counter::ProgramCounter`
[INFO] [stdout]  --> src/components/alu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::program_counter::ProgramCounter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::program_counter::ProgramCounter`
[INFO] [stdout]  --> src/components/alu.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::program_counter::ProgramCounter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/components/program_counter.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut pc = ProgramCounter::new();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]   --> src/components/program_counter.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut pc = ProgramCounter::new();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/components/program_counter.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut pc = ProgramCounter::new();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pc`
[INFO] [stdout]   --> src/components/program_counter.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let mut pc = ProgramCounter::new();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nand_gate` is never used
[INFO] [stdout]  --> src/components/gates.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn nand_gate(a: bool, b: bool) -> bool { !(a && b) }
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `not_gate` is never used
[INFO] [stdout]  --> src/components/gates.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn not_gate(a: bool) -> bool { !a }
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_reg_b` is never used
[INFO] [stdout]    --> src/components/alu.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout]  54 | impl ALU4Bit {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn get_reg_b(&self) -> [bool; 4] {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set` is never used
[INFO] [stdout]   --> src/components/program_counter.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ProgramCounter {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn set(&mut self, address: u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "380b57bf2c1de26628073dd43987ccb41035d387c01297268ce932b9c9a94830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "380b57bf2c1de26628073dd43987ccb41035d387c01297268ce932b9c9a94830", kill_on_drop: false }`
[INFO] [stdout] 380b57bf2c1de26628073dd43987ccb41035d387c01297268ce932b9c9a94830
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0e8d3c8db358fc776a04278a3335838dd384cd728ae26b9bafaf6c816b7e08f3
[INFO] running `Command { std: "docker" "start" "-a" "0e8d3c8db358fc776a04278a3335838dd384cd728ae26b9bafaf6c816b7e08f3", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `super::program_counter::ProgramCounter`
[INFO] [stderr]  --> src/components/alu.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use super::program_counter::ProgramCounter;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ALU4Bit`, `OP_LOAD`, `OP_STORE`, `bool_array_to_u8`, and `u8_to_bool_array`
[INFO] [stderr]  --> src/components/program_counter.rs:1:31
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::components::{alu::{ALU4Bit, OP_LOAD, OP_STORE}, gates::{bool_array_to_u8, u8_to_bool_array}};
[INFO] [stderr]   |                               ^^^^^^^  ^^^^^^^  ^^^^^^^^           ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hello_rust` (lib) generated 2 warnings (run `cargo fix --lib -p hello_rust` to apply 2 suggestions)
[INFO] [stderr] warning: function `nand_gate` is never used
[INFO] [stderr]  --> src/components/gates.rs:3:8
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub fn nand_gate(a: bool, b: bool) -> bool { !(a && b) }
[INFO] [stderr]   |        ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `not_gate` is never used
[INFO] [stderr]  --> src/components/gates.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub fn not_gate(a: bool) -> bool { !a }
[INFO] [stderr]   |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_reg_a` and `get_reg_b` are never used
[INFO] [stderr]    --> src/components/alu.rs:117:12
[INFO] [stderr]     |
[INFO] [stderr]  54 | impl ALU4Bit {
[INFO] [stderr]     | ------------ methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub fn get_reg_a(&self) -> [bool; 4] {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 121 |     pub fn get_reg_b(&self) -> [bool; 4] {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `set` is never used
[INFO] [stderr]   --> src/components/program_counter.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl ProgramCounter {
[INFO] [stderr]    | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub fn set(&mut self, address: u16) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hello_rust` (bin "hello_rust") generated 6 warnings (2 duplicates)
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/components/program_counter.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let mut pc = ProgramCounter::new();
[INFO] [stderr]    |         ----^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pc`
[INFO] [stderr]   --> src/components/program_counter.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     let mut pc = ProgramCounter::new();
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pc`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_reg_b` is never used
[INFO] [stderr]    --> src/components/alu.rs:121:12
[INFO] [stderr]     |
[INFO] [stderr]  54 | impl ALU4Bit {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 121 |     pub fn get_reg_b(&self) -> [bool; 4] {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hello_rust` (bin "hello_rust" test) generated 7 warnings (4 duplicates) (run `cargo fix --bin "hello_rust" -p hello_rust --tests` to apply 2 suggestions)
[INFO] [stderr] warning: `hello_rust` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hello_rust-bf6e872dd4d6c7ef)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test components::program_counter::test_alu_load_store_with_memory ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- components::program_counter::test_alu_load_store_with_memory stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'components::program_counter::test_alu_load_store_with_memory' (25) panicked at src/components/program_counter.rs:61:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 12
[INFO] [stdout]  right: 10
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x64abb28c9912 - std::backtrace_rs::backtrace::libunwind::trace::h16affffe904e891e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x64abb28c9912 - std::backtrace_rs::backtrace::trace_unsynchronized::h5c14b13373ed4150
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x64abb28c9912 - std::sys::backtrace::_print_fmt::hcbb507f162c816cc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x64abb28c9912 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8be9aa933f14675f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x64abb28d974f - core::fmt::rt::Argument::fmt::h30ed739d33467c3a
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x64abb28d974f - core::fmt::write::hfd0efbb002ac7eea
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x64abb28973e3 - std::io::default_write_fmt::hd6d24501f2d7f8d3
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x64abb28973e3 - std::io::Write::write_fmt::h79eca2f72fc24111
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x64abb28a3182 - std::sys::backtrace::BacktraceLock::print::hf2554f6030d393f7
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x64abb28a7c5f - std::panicking::default_hook::{{closure}}::h8873121c56335b01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x64abb28a7af1 - std::panicking::default_hook::hbafefc2d196267a2
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x64abb286acbe - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::ha834d5846f91b30b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x64abb286acbe - test::test_main_with_exit_callback::{{closure}}::h63c167737eecb025
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x64abb28a826f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hbf9b0f7a281291fd
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x64abb28a826f - std::panicking::panic_with_hook::h9f5b09d5adc1a745
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x64abb28a80ca - std::panicking::panic_handler::{{closure}}::h08111e483bdf6a89
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:707:13
[INFO] [stdout]   16:     0x64abb28a32b9 - std::sys::backtrace::__rust_end_short_backtrace::h1b86e3414ecbbe8d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x64abb288bbad - __rustc[b292c645e8102103]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x64abb28e0ed0 - core::panicking::panic_fmt::h31cc490ecc8cc1fa
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x64abb28e0d73 - core::panicking::assert_failed_inner::h865658b89c1b891d
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:444:17
[INFO] [stdout]   20:     0x64abb2849b67 - core::panicking::assert_failed::ha49188681ae07c43
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panicking.rs:399:5
[INFO] [stdout]   21:     0x64abb2847a9f - hello_rust::components::program_counter::test_alu_load_store_with_memory::h4415a04f062e0569
[INFO] [stdout]                                at /opt/rustwide/workdir/src/components/program_counter.rs:61:5
[INFO] [stdout]   22:     0x64abb2847ae7 - hello_rust::components::program_counter::test_alu_load_store_with_memory::{{closure}}::hd477d5596c3ea0eb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/components/program_counter.rs:39:37
[INFO] [stdout]   23:     0x64abb2848d56 - core::ops::function::FnOnce::call_once::hb58c490436baedc9
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x64abb286aabb - core::ops::function::FnOnce::call_once::h2b2de5fdd23aab3e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x64abb286aabb - test::__rust_begin_short_backtrace::he551dd004770be01
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x64abb287eb1d - test::run_test_in_process::{{closure}}::h5f0b44080a35ed87
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x64abb287eb1d - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4dbf65d14893ecf5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x64abb287eb1d - std::panicking::catch_unwind::do_call::hc37c563b8a006285
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   29:     0x64abb287eb1d - std::panicking::catch_unwind::h616b6e2e7a27f612
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   30:     0x64abb287eb1d - std::panic::catch_unwind::h1e788dd57758e6d8
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x64abb287eb1d - test::run_test_in_process::hf073c2764f29f8ad
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x64abb287eb1d - test::run_test::{{closure}}::h3dc46b7a0c340fa6
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x64abb2858064 - test::run_test::{{closure}}::h6a4da3c57ef4505f
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x64abb2858064 - std::sys::backtrace::__rust_begin_short_backtrace::hfd8e44bc311a5d57
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x64abb285b8ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h57c4ddec344fe24c
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   36:     0x64abb285b8ba - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hd7cbe09591f06dfb
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x64abb285b8ba - std::panicking::catch_unwind::do_call::hdcd076e8e993dfbc
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:590:40
[INFO] [stdout]   38:     0x64abb285b8ba - std::panicking::catch_unwind::h8f9f675f3756eab1
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panicking.rs:553:19
[INFO] [stdout]   39:     0x64abb285b8ba - std::panic::catch_unwind::he8f74a93abeceb9b
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x64abb285b8ba - std::thread::Builder::spawn_unchecked_::{{closure}}::he43db13a2caa41d5
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   41:     0x64abb285b8ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8f3531a7e0d83514
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x64abb289e6bf - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ff05134d80ef20e
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   43:     0x64abb289e6bf - std::sys::thread::unix::Thread::new::thread_start::h9a4a41a076a486e0
[INFO] [stdout]                                at /rustc/9f93af291970322f4f1c6315ccde4d7078201159/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   44:     0x73ae57073aa4 - <unknown>
[INFO] [stdout]   45:     0x73ae57100a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     components::program_counter::test_alu_load_store_with_memory
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "0e8d3c8db358fc776a04278a3335838dd384cd728ae26b9bafaf6c816b7e08f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e8d3c8db358fc776a04278a3335838dd384cd728ae26b9bafaf6c816b7e08f3", kill_on_drop: false }`
[INFO] [stdout] 0e8d3c8db358fc776a04278a3335838dd384cd728ae26b9bafaf6c816b7e08f3
