[INFO] cloning repository https://github.com/thendo-rambane/8086 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thendo-rambane/8086" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthendo-rambane%2F8086", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthendo-rambane%2F8086'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1eaade9b4d7f9ea136664d7587a8525b7e05e3c8 [INFO] checking thendo-rambane/8086 against try#50d7e48beb74b48bd17c3749bfb73843c9ae0166 for pr-151102 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthendo-rambane%2F8086" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thendo-rambane/8086 [INFO] finished tweaking git repo https://github.com/thendo-rambane/8086 [INFO] tweaked toml for git repo https://github.com/thendo-rambane/8086 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thendo-rambane/8086 on toolchain 50d7e48beb74b48bd17c3749bfb73843c9ae0166 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thendo-rambane/8086 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" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bb2aba1b24d9ae072e600e4326364d41d2a3c206fdb35c78ee1829707785a73 [INFO] running `Command { std: "docker" "start" "-a" "5bb2aba1b24d9ae072e600e4326364d41d2a3c206fdb35c78ee1829707785a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bb2aba1b24d9ae072e600e4326364d41d2a3c206fdb35c78ee1829707785a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb2aba1b24d9ae072e600e4326364d41d2a3c206fdb35c78ee1829707785a73", kill_on_drop: false }` [INFO] [stdout] 5bb2aba1b24d9ae072e600e4326364d41d2a3c206fdb35c78ee1829707785a73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+50d7e48beb74b48bd17c3749bfb73843c9ae0166" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd2f2320c99ce6a4b0b552f7fbf92d7267a93f63a3f9bcacf080d4afa4504a7c [INFO] running `Command { std: "docker" "start" "-a" "bd2f2320c99ce6a4b0b552f7fbf92d7267a93f63a3f9bcacf080d4afa4504a7c", kill_on_drop: false }` [INFO] [stderr] Checking intel_8086 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `CPUModes` is never used [INFO] [stdout] --> src/cpu/mod.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum CPUModes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct CPU<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BusInterfaceUnit` is never constructed [INFO] [stdout] --> src/cpu/biu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BusInterfaceUnit<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu/biu.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> BusInterfaceUnit<'a> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn set_extra_segment_address(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_extra_segment_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_code_segment_address(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_code_segment_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn set_stack_segment_address(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_stack_segment_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn set_data_segment_address(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_data_segment_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_instruction_pointer(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_instruction_pointer(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn push_instruction(&mut self, instruction: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn pop_instruction(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_fetch_address(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_stack_address(&self, sp_offset: u16) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_string_source_address(&self, si_offset: u16, alt_base: Option) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_string_destination_address(&self, di_offset: u16) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_data_address(&self, eu_offset: u16, alt_base: Option) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn get_bp_address(&self, eu_bp_offset: u16, alt_base: Option) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddressBus` is never constructed [INFO] [stdout] --> src/cpu/bus.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AddressBus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_address`, `read`, and `write` are never used [INFO] [stdout] --> src/cpu/bus.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AddressBus { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_address(&mut self, address: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn read(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn write(&mut self, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutionUnit` is never constructed [INFO] [stdout] --> src/cpu/eu.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExecutionUnit { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu/eu.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl ExecutionUnit { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 29 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn set_sp(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_bp(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_si(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn set_di(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_sp(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_bp(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_si(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_di(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flags` is never constructed [INFO] [stdout] --> src/cpu/flags.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu/flags.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Flags { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_carry(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn set_parity(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_auxiliary_carry(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_zero(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn set_sign(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_overflow(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_interrupt_enable(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn set_direction(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn set_trap(&mut self, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_carry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_parity(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_auxiliary_carry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn get_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn get_sign(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn get_overflow(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_interrupt_enable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn get_direction(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_trap(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MEMORY_SIZE` is never used [INFO] [stdout] --> src/cpu/memory.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MEMORY_SIZE: usize = 0x0010_0000; // 1 Mb of memory [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/cpu/memory.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/cpu/memory.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn read(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn write(&mut self, address: u32, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Register` is never constructed [INFO] [stdout] --> src/cpu/registers.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `low`, `high`, `set_low`, `set_high`, and `set` are never used [INFO] [stdout] --> src/cpu/registers.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Register { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 7 | /// Creates a new `Register` with an initial value of 0x0000. [INFO] [stdout] 8 | fn new() -> Register { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn low(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn high(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn set_low(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn set_high(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn set(&mut self, value: u16) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CPUModes` is never used [INFO] [stdout] --> src/cpu/mod.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum CPUModes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct CPU<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bus` is never read [INFO] [stdout] --> src/cpu/biu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BusInterfaceUnit<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | bus: &'a mut bus::AddressBus, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BusInterfaceUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `memory` are never read [INFO] [stdout] --> src/cpu/bus.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AddressBus { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 5 | address: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | memory: Memory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressBus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_address`, `read`, and `write` are never used [INFO] [stdout] --> src/cpu/bus.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AddressBus { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn set_address(&mut self, address: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn read(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn write(&mut self, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, `c`, `d`, and `flags` are never read [INFO] [stdout] --> src/cpu/eu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExecutionUnit { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | /// Accumulator register [INFO] [stdout] 6 | a: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 7 | /// Base register [INFO] [stdout] 8 | b: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 9 | /// Count register [INFO] [stdout] 10 | c: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 11 | /// Data register [INFO] [stdout] 12 | d: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | flags: flags::Flags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/cpu/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Memory` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/cpu/memory.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn read(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn write(&mut self, address: u32, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CPUModes` is never used [INFO] [stdout] --> src/cpu/mod.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum CPUModes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct CPU<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bus` is never read [INFO] [stdout] --> src/cpu/biu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BusInterfaceUnit<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | bus: &'a mut bus::AddressBus, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BusInterfaceUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, `c`, `d`, and `flags` are never read [INFO] [stdout] --> src/cpu/eu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExecutionUnit { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | /// Accumulator register [INFO] [stdout] 6 | a: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 7 | /// Base register [INFO] [stdout] 8 | b: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 9 | /// Count register [INFO] [stdout] 10 | c: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 11 | /// Data register [INFO] [stdout] 12 | d: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | flags: flags::Flags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/eu.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl ExecutionUnit { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 29 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/flags.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl Flags { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 52 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/registers.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Register { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 7 | /// Creates a new `Register` with an initial value of 0x0000. [INFO] [stdout] 8 | fn new() -> Register { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CPUModes` is never used [INFO] [stdout] --> src/cpu/mod.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum CPUModes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct CPU<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bus` is never read [INFO] [stdout] --> src/cpu/biu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BusInterfaceUnit<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | bus: &'a mut bus::AddressBus, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BusInterfaceUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, `c`, `d`, and `flags` are never read [INFO] [stdout] --> src/cpu/eu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ExecutionUnit { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 5 | /// Accumulator register [INFO] [stdout] 6 | a: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 7 | /// Base register [INFO] [stdout] 8 | b: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 9 | /// Count register [INFO] [stdout] 10 | c: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] 11 | /// Data register [INFO] [stdout] 12 | d: registers::Register, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | flags: flags::Flags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "bd2f2320c99ce6a4b0b552f7fbf92d7267a93f63a3f9bcacf080d4afa4504a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd2f2320c99ce6a4b0b552f7fbf92d7267a93f63a3f9bcacf080d4afa4504a7c", kill_on_drop: false }` [INFO] [stdout] bd2f2320c99ce6a4b0b552f7fbf92d7267a93f63a3f9bcacf080d4afa4504a7c