[INFO] cloning repository https://github.com/leElvyn/rustyboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leElvyn/rustyboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FleElvyn%2Frustyboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FleElvyn%2Frustyboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a3a1628a53bf3af7b71537c049bdde92b104716 [INFO] checking leElvyn/rustyboy against try#099e089ab723e6ee96175f3496051098c60a4cd4 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FleElvyn%2Frustyboy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leElvyn/rustyboy on toolchain 099e089ab723e6ee96175f3496051098c60a4cd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leElvyn/rustyboy [INFO] finished tweaking git repo https://github.com/leElvyn/rustyboy [INFO] tweaked toml for git repo https://github.com/leElvyn/rustyboy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/leElvyn/rustyboy 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" "+099e089ab723e6ee96175f3496051098c60a4cd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking leElvyn/rustyboy against try#099e089ab723e6ee96175f3496051098c60a4cd4 for pr-140208 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FleElvyn%2Frustyboy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leElvyn/rustyboy on toolchain 099e089ab723e6ee96175f3496051098c60a4cd4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leElvyn/rustyboy [INFO] finished tweaking git repo https://github.com/leElvyn/rustyboy [INFO] tweaked toml for git repo https://github.com/leElvyn/rustyboy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/leElvyn/rustyboy 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" "+099e089ab723e6ee96175f3496051098c60a4cd4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7b5a5d11ed17e6de2dac05a558f4b48de47fed5e6e6f0e4715fe248c87dd970 [INFO] running `Command { std: "docker" "start" "-a" "c7b5a5d11ed17e6de2dac05a558f4b48de47fed5e6e6f0e4715fe248c87dd970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7b5a5d11ed17e6de2dac05a558f4b48de47fed5e6e6f0e4715fe248c87dd970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b5a5d11ed17e6de2dac05a558f4b48de47fed5e6e6f0e4715fe248c87dd970", kill_on_drop: false }` [INFO] [stdout] c7b5a5d11ed17e6de2dac05a558f4b48de47fed5e6e6f0e4715fe248c87dd970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+099e089ab723e6ee96175f3496051098c60a4cd4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2307076139d4522ef7a7b343691d357f54763f2e773c9259f4faf70c5b2f396 [INFO] running `Command { std: "docker" "start" "-a" "c2307076139d4522ef7a7b343691d357f54763f2e773c9259f4faf70c5b2f396", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rustyboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/processingUnit/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | _ => panic!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/processingUnit/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 20 | ArgumentTypes::MemoryAddress => {self.ram.access_memory({ // retrieve the value of the memory address [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 25 | ArgumentTypes::RegisterAddress => {self.registers.access(start_location)}, // access the register [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 26 | ArgumentTypes::NumericalValue => {start_location.parse::().unwrap()} // parse int [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] 27 | _ => panic!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/processingUnit/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld` is never used [INFO] [stdout] --> src/processingUnit/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn ld(mut self, end_location: &str, start_location: &str) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullMemory` is never constructed [INFO] [stdout] --> src/processingUnit/memory.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct FullMemory { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullMemory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_memory` and `access_memory` are never used [INFO] [stdout] --> src/processingUnit/memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FullMemory { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 7 | [INFO] [stdout] 8 | pub fn update_memory(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn access_memory(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registers` is never constructed [INFO] [stdout] --> src/processingUnit/registers.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Registers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Registers` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `access` and `update` are never used [INFO] [stdout] --> src/processingUnit/registers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 16 | pub fn access(self, address: &str) -> u8{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn update(mut self, address: &str, value: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_arg` is never used [INFO] [stdout] --> src/utils/match_argument.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn match_arg(argument:&str) -> ArgumentTypes{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArgumentTypes` is never used [INFO] [stdout] --> src/enums/enumsProcessingUnit.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ArgumentTypes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `processingUnit` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod processingUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `processing_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `enumsProcessingUnit` should have a snake case name [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod enumsProcessingUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enums_processing_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/processingUnit/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | _ => panic!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/processingUnit/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 20 | ArgumentTypes::MemoryAddress => {self.ram.access_memory({ // retrieve the value of the memory address [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 25 | ArgumentTypes::RegisterAddress => {self.registers.access(start_location)}, // access the register [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] 26 | ArgumentTypes::NumericalValue => {start_location.parse::().unwrap()} // parse int [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] 27 | _ => panic!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/processingUnit/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ld` is never used [INFO] [stdout] --> src/processingUnit/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn ld(mut self, end_location: &str, start_location: &str) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FullMemory` is never constructed [INFO] [stdout] --> src/processingUnit/memory.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct FullMemory { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullMemory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_memory` and `access_memory` are never used [INFO] [stdout] --> src/processingUnit/memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl FullMemory { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 7 | [INFO] [stdout] 8 | pub fn update_memory(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn access_memory(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registers` is never constructed [INFO] [stdout] --> src/processingUnit/registers.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Registers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Registers` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `access` and `update` are never used [INFO] [stdout] --> src/processingUnit/registers.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 16 | pub fn access(self, address: &str) -> u8{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn update(mut self, address: &str, value: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_arg` is never used [INFO] [stdout] --> src/utils/match_argument.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn match_arg(argument:&str) -> ArgumentTypes{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ArgumentTypes` is never used [INFO] [stdout] --> src/enums/enumsProcessingUnit.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ArgumentTypes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `processingUnit` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod processingUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `processing_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `enumsProcessingUnit` should have a snake case name [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod enumsProcessingUnit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `enums_processing_unit` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "c2307076139d4522ef7a7b343691d357f54763f2e773c9259f4faf70c5b2f396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2307076139d4522ef7a7b343691d357f54763f2e773c9259f4faf70c5b2f396", kill_on_drop: false }` [INFO] [stdout] c2307076139d4522ef7a7b343691d357f54763f2e773c9259f4faf70c5b2f396