[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] c7630fc56f8aaf1d3fd0a21137ed5a1839fa699b [INFO] checking thendo-rambane/8086 against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthendo-rambane%2F8086" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thendo-rambane/8086 on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 803c29c78fb96fb9664e4c9d6f0e4b9b3571135d5017302b44e207f99194274f [INFO] running `Command { std: "docker" "start" "-a" "803c29c78fb96fb9664e4c9d6f0e4b9b3571135d5017302b44e207f99194274f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "803c29c78fb96fb9664e4c9d6f0e4b9b3571135d5017302b44e207f99194274f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "803c29c78fb96fb9664e4c9d6f0e4b9b3571135d5017302b44e207f99194274f", kill_on_drop: false }` [INFO] [stdout] 803c29c78fb96fb9664e4c9d6f0e4b9b3571135d5017302b44e207f99194274f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0eaa5acc52694403446608e65e5f5e0388bf8675e85a8a901a9ca331b6b8415 [INFO] running `Command { std: "docker" "start" "-a" "c0eaa5acc52694403446608e65e5f5e0388bf8675e85a8a901a9ca331b6b8415", 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)]` 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:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BusInterfaceUnit<'bus> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu/biu.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> BusInterfaceUnit<'a> { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_extra_segment_address(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_extra_segment_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn set_code_segment_address(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_code_segment_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_stack_segment_address(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_stack_segment_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn set_data_segment_address(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_data_segment_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_instruction_pointer(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_instruction_pointer(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn push_instruction(&mut self, instruction: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn pop_instruction(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_fetch_address(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_stack_address(&self, sp_offset: u16) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_string_source_address(&self, si_offset: u16, alt_base: Option) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn get_string_destination_address(&self, di_offset: u16) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_data_address(&self, eu_offset: u16, alt_base: Option) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | 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:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | 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:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AddressBus { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn set_address(&mut self, address: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | 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: multiple fields are never read [INFO] [stdout] --> src/cpu/flags.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Flags { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | carry: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | parity: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | auxiliary_carry: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | /// Set if the last operation resulted in a zero [INFO] [stdout] 20 | zero: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | sign: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | overflow: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | interrupt_enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | direction: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | trap: bool, [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: struct `Memory` is never constructed [INFO] [stdout] --> src/cpu/memory.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | 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:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn read(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn write(&mut self, address: u32, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> src/cpu/registers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Register { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 3 | x: u16, [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)]` 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:19:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BusInterfaceUnit<'bus> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | bus: &'bus mut bus::AddressBus, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `memory` are never read [INFO] [stdout] --> src/cpu/bus.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct AddressBus { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 4 | address: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | memory: Memory, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_address`, `read`, and `write` are never used [INFO] [stdout] --> src/cpu/bus.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl AddressBus { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn set_address(&mut self, address: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn read(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | 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:6:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/cpu/memory.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Memory { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn read(&self, address: u32) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | 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)]` 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:19:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BusInterfaceUnit<'bus> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | bus: &'bus mut bus::AddressBus, [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: 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)]` 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:19:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BusInterfaceUnit<'bus> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | bus: &'bus mut bus::AddressBus, [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "c0eaa5acc52694403446608e65e5f5e0388bf8675e85a8a901a9ca331b6b8415", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0eaa5acc52694403446608e65e5f5e0388bf8675e85a8a901a9ca331b6b8415", kill_on_drop: false }` [INFO] [stdout] c0eaa5acc52694403446608e65e5f5e0388bf8675e85a8a901a9ca331b6b8415