[INFO] cloning repository https://github.com/botahamec/bcpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/botahamec/bcpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbotahamec%2Fbcpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbotahamec%2Fbcpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e1d91912d57aeacbdf8c193a8d94a7869165be8 [INFO] checking botahamec/bcpu against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbotahamec%2Fbcpu" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/botahamec/bcpu on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/botahamec/bcpu [INFO] finished tweaking git repo https://github.com/botahamec/bcpu [INFO] tweaked toml for git repo https://github.com/botahamec/bcpu written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/botahamec/bcpu 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "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 botahamec/bcpu against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbotahamec%2Fbcpu" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/botahamec/bcpu on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/botahamec/bcpu [INFO] finished tweaking git repo https://github.com/botahamec/bcpu [INFO] tweaked toml for git repo https://github.com/botahamec/bcpu written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/botahamec/bcpu 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e08d50febe8158a84a9289e980874c7bdd67cf84118fa346a261bbafaf1b0ed7 [INFO] running `Command { std: "docker" "start" "-a" "e08d50febe8158a84a9289e980874c7bdd67cf84118fa346a261bbafaf1b0ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e08d50febe8158a84a9289e980874c7bdd67cf84118fa346a261bbafaf1b0ed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08d50febe8158a84a9289e980874c7bdd67cf84118fa346a261bbafaf1b0ed7", kill_on_drop: false }` [INFO] [stdout] e08d50febe8158a84a9289e980874c7bdd67cf84118fa346a261bbafaf1b0ed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26c2c4d3a37cac9a93e1ef23e5e519432fda369485f6b33fcab3ed4fcc882d21 [INFO] running `Command { std: "docker" "start" "-a" "26c2c4d3a37cac9a93e1ef23e5e519432fda369485f6b33fcab3ed4fcc882d21", kill_on_drop: false }` [INFO] [stderr] Checking bcpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ram = Memory::from_executable_and_size(executable, RAM_SIZE); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ram = Memory::from_executable_and_size(executable, RAM_SIZE); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ram = Memory::from_executable_and_size(executable, RAM_SIZE); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ram = Memory::from_executable_and_size(executable, RAM_SIZE); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TooBigAddress` is never constructed [INFO] [stdout] --> src/memory.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum MemoryError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 13 | TooBigAddress [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemoryResult` is never used [INFO] [stdout] --> src/memory.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type MemoryResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TooBigAddress` is never constructed [INFO] [stdout] --> src/memory.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum MemoryError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 13 | TooBigAddress [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemoryError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MemoryResult` is never used [INFO] [stdout] --> src/memory.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type MemoryResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_size`, `set_bit`, and `get_bit` are never used [INFO] [stdout] --> src/memory.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_size(size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn set_bit(&mut self, location: usize, value: Bit) -> Result<(), MemoryError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_bit(&self, location: usize) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_size`, `set_bit`, and `get_bit` are never used [INFO] [stdout] --> src/memory.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn with_size(size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn set_bit(&mut self, location: usize, value: Bit) -> Result<(), MemoryError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_bit(&self, location: usize) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Zero` and `One` are never constructed [INFO] [stdout] --> src/bit.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Bit { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 4 | Zero, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | One [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_u8` and `from_usize` are never used [INFO] [stdout] --> src/bit.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl Bit { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn from_u8(num: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_usize(num: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Zero` and `One` are never constructed [INFO] [stdout] --> src/bit.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Bit { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 4 | Zero, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | One [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bit` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_u8` and `from_usize` are never used [INFO] [stdout] --> src/bit.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl Bit { [INFO] [stdout] | -------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn from_u8(num: u8) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_usize(num: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity`, `from_vec`, `len`, `get`, and `set_index` are never used [INFO] [stdout] --> src/bit.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl BitList { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 37 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn from_vec(vec: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get(&self, index: usize) -> Option<&Bit> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_index(&mut self, index: usize, value: Bit) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity`, `from_vec`, `len`, `get`, and `set_index` are never used [INFO] [stdout] --> src/bit.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | impl BitList { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 37 | pub fn with_capacity(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn from_vec(vec: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get(&self, index: usize) -> Option<&Bit> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_index(&mut self, index: usize, value: Bit) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_bit`, `set_bit`, and `get_bits` are never used [INFO] [stdout] --> src/cpu.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl Register { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn get_bit(&self, bit: usize) -> Bit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_bit(&mut self, bit: usize, value: Bit) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_bits(&self, bit: usize, size: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CmpResult` is never used [INFO] [stdout] --> src/cpu.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | enum CmpResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_bit`, `set_bit`, and `get_bits` are never used [INFO] [stdout] --> src/cpu.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl Register { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn get_bit(&self, bit: usize) -> Bit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn set_bit(&mut self, bit: usize, value: Bit) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_bits(&self, bit: usize, size: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusRegister` is never constructed [INFO] [stdout] --> src/cpu.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct StatusRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusRegister` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CmpResult` is never used [INFO] [stdout] --> src/cpu.rs:53:6 [INFO] [stdout] | [INFO] [stdout] 53 | enum CmpResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StatusRegister` is never constructed [INFO] [stdout] --> src/cpu.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | struct StatusRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusRegister` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl StatusRegister { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn set_bit(&mut self, bit: usize, value: Bit) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn get_bit(&mut self, bit: usize) -> Bit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn set_flag(&mut self, bit: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn cmp_result(&mut self) -> CmpResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn divide_by_zero(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn carry_flag(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn zero_flag(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn sign_flag(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn buffer_overflow(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn set_cmp_result(&mut self, result: CmpResult) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_divide_by_zero(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_carry_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn set_zero_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn set_sign_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn set_buffer_overflow(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 65 | impl StatusRegister { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn set_bit(&mut self, bit: usize, value: Bit) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn get_bit(&mut self, bit: usize) -> Bit { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn set_flag(&mut self, bit: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn cmp_result(&mut self) -> CmpResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn divide_by_zero(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn carry_flag(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn zero_flag(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn sign_flag(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn buffer_overflow(&mut self) -> Bit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn set_cmp_result(&mut self, result: CmpResult) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_divide_by_zero(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_carry_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn set_zero_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn set_sign_flag(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn set_buffer_overflow(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cpu` is never constructed [INFO] [stdout] --> src/cpu.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 171 | struct Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cpu` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 178 | impl Cpu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 179 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 178 | impl Cpu { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 179 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "26c2c4d3a37cac9a93e1ef23e5e519432fda369485f6b33fcab3ed4fcc882d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c2c4d3a37cac9a93e1ef23e5e519432fda369485f6b33fcab3ed4fcc882d21", kill_on_drop: false }` [INFO] [stdout] 26c2c4d3a37cac9a93e1ef23e5e519432fda369485f6b33fcab3ed4fcc882d21