[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#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbotahamec%2Fbcpu" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/botahamec/bcpu on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a020cc0fcb53bcf99950d3a2aa6c3cbd409ba46a531b1f5ff3921f754ec53af [INFO] running `Command { std: "docker" "start" "-a" "9a020cc0fcb53bcf99950d3a2aa6c3cbd409ba46a531b1f5ff3921f754ec53af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a020cc0fcb53bcf99950d3a2aa6c3cbd409ba46a531b1f5ff3921f754ec53af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a020cc0fcb53bcf99950d3a2aa6c3cbd409ba46a531b1f5ff3921f754ec53af", kill_on_drop: false }` [INFO] [stdout] 9a020cc0fcb53bcf99950d3a2aa6c3cbd409ba46a531b1f5ff3921f754ec53af [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bd6ce28758ee7f3908d435b4f5fc43786c19b9f3d653ac44b53065b6f3aede8 [INFO] running `Command { std: "docker" "start" "-a" "8bd6ce28758ee7f3908d435b4f5fc43786c19b9f3d653ac44b53065b6f3aede8", kill_on_drop: false }` [INFO] [stderr] Checking bcpu v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MemoryError` is never used [INFO] [stdout] --> src/memory.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum MemoryError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: enum `Bit` is never used [INFO] [stdout] --> src/bit.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Bit { [INFO] [stdout] | ^^^ [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: struct `BitList` is never constructed [INFO] [stdout] --> src/bit.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct BitList { [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: struct `Register` is never constructed [INFO] [stdout] --> src/cpu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Register { [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: 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] [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] [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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MemoryError` is never used [INFO] [stdout] --> src/memory.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum MemoryError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: enum `Bit` is never used [INFO] [stdout] --> src/bit.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Bit { [INFO] [stdout] | ^^^ [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: struct `BitList` is never constructed [INFO] [stdout] --> src/bit.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct BitList { [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: struct `Register` is never constructed [INFO] [stdout] --> src/cpu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Register { [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: 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] [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] [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.09s [INFO] running `Command { std: "docker" "inspect" "8bd6ce28758ee7f3908d435b4f5fc43786c19b9f3d653ac44b53065b6f3aede8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bd6ce28758ee7f3908d435b4f5fc43786c19b9f3d653ac44b53065b6f3aede8", kill_on_drop: false }` [INFO] [stdout] 8bd6ce28758ee7f3908d435b4f5fc43786c19b9f3d653ac44b53065b6f3aede8