[INFO] cloning repository https://github.com/rep-nop/barnacleboy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rep-nop/barnacleboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frep-nop%2Fbarnacleboy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frep-nop%2Fbarnacleboy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ccf07015d56f2e4bb0082bf43abdbb1faf4b590b
[INFO] checking rep-nop/barnacleboy against try#8e819ff5434466e9a823e03871a1775ac7d84ddf for pr-156027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frep-nop%2Fbarnacleboy" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rep-nop/barnacleboy
[INFO] finished tweaking git repo https://github.com/rep-nop/barnacleboy
[INFO] tweaked toml for git repo https://github.com/rep-nop/barnacleboy written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rep-nop/barnacleboy on toolchain 8e819ff5434466e9a823e03871a1775ac7d84ddf
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rep-nop/barnacleboy 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" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `barnacleboy` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e06991b41fa9a02d9fdef81e5294c575d537282d943f13d93270792eae68a04
[INFO] running `Command { std: "docker" "start" "-a" "8e06991b41fa9a02d9fdef81e5294c575d537282d943f13d93270792eae68a04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e06991b41fa9a02d9fdef81e5294c575d537282d943f13d93270792eae68a04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e06991b41fa9a02d9fdef81e5294c575d537282d943f13d93270792eae68a04", kill_on_drop: false }`
[INFO] [stdout] 8e06991b41fa9a02d9fdef81e5294c575d537282d943f13d93270792eae68a04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8e819ff5434466e9a823e03871a1775ac7d84ddf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 120e9e0b6277fbc820b8e750761483cdc22dcaa8fd6d18ff89e2e6babab398cc
[INFO] running `Command { std: "docker" "start" "-a" "120e9e0b6277fbc820b8e750761483cdc22dcaa8fd6d18ff89e2e6babab398cc", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `barnacleboy` (manifest) generated 1 warning
[INFO] [stderr]     Checking barnacleboy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/cpu/mod.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:152:19
[INFO] [stdout]     |
[INFO] [stdout] 152 |             0x0000...0x7FFF => self.rom.get(address),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:153:19
[INFO] [stdout]     |
[INFO] [stdout] 153 |             0xA000...0xBFFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:166:19
[INFO] [stdout]     |
[INFO] [stdout] 166 |             0x0000...0x7FFF => Err(MemoryError::InvalidMemoryWrite(address)),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:167:19
[INFO] [stdout]     |
[INFO] [stdout] 167 |             0xA000...0xBFFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:263:19
[INFO] [stdout]     |
[INFO] [stdout] 263 |             0x0000...0x3FFF => self.rom_banks[0].get(address),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:264:19
[INFO] [stdout]     |
[INFO] [stdout] 264 |             0x4000...0x7FFF => self.rom_banks[self.rom_bank_select].get(address),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:265:19
[INFO] [stdout]     |
[INFO] [stdout] 265 |             0xA000...0xBFFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:278:19
[INFO] [stdout]     |
[INFO] [stdout] 278 |             0x0000...0x1FFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:287:19
[INFO] [stdout]     |
[INFO] [stdout] 287 |             0x2000...0x3FFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:298:19
[INFO] [stdout]     |
[INFO] [stdout] 298 |             0x4000...0x5FFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:319:19
[INFO] [stdout]     |
[INFO] [stdout] 319 |             0x6000...0x7FFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:328:19
[INFO] [stdout]     |
[INFO] [stdout] 328 |             0xA000...0xBFFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:376:19
[INFO] [stdout]     |
[INFO] [stdout] 376 |             0x0000...0x3FFF => self.rom_banks[0].get(address),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:377:19
[INFO] [stdout]     |
[INFO] [stdout] 377 |             0x4000...0x7FFF => self.rom_banks[self.rom_bank_select].get(address),
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:378:19
[INFO] [stdout]     |
[INFO] [stdout] 378 |             0xA000...0xA1FF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:391:19
[INFO] [stdout]     |
[INFO] [stdout] 391 |             0x0000...0x1FFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:404:19
[INFO] [stdout]     |
[INFO] [stdout] 404 |             0x2000...0x3FFF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/memory.rs:419:19
[INFO] [stdout]     |
[INFO] [stdout] 419 |             0xA000...0xA1FF => {
[INFO] [stdout]     |                   ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/rom/mod.rs:10:78
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn from_file(file: impl AsRef<Path>) -> Result<GameBoyCartridge, Box<::std::error::Error>> {
[INFO] [stdout]    |                                                                              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn from_file(file: impl AsRef<Path>) -> Result<GameBoyCartridge, Box<dyn (::std::error::Error)>> {
[INFO] [stdout]    |                                                                              +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ram_size`
[INFO] [stdout]    --> src/memory.rs:350:40
[INFO] [stdout]     |
[INFO] [stdout] 350 |     pub fn blank(num_rom_banks: usize, ram_size: usize, num_ram_banks: usize) -> Mbc2 {
[INFO] [stdout]     |                                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ram_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_ram_banks`
[INFO] [stdout]    --> src/memory.rs:350:57
[INFO] [stdout]     |
[INFO] [stdout] 350 |     pub fn blank(num_rom_banks: usize, ram_size: usize, num_ram_banks: usize) -> Mbc2 {
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_ram_banks`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contents`
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let contents = cart.contents.clone();
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mem_ctrlr`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mem_ctrlr = memory::Mbc1::from_rom(cart);
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_ctrlr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_ZERO` is never used
[INFO] [stdout]  --> src/cpu/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const F_ZERO: u8 = 0b1000_0000;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_SUBTRACT` is never used
[INFO] [stdout]   --> src/cpu/mod.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const F_SUBTRACT: u8 = 0b0100_0000;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_HALFCARRY` is never used
[INFO] [stdout]   --> src/cpu/mod.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const F_HALFCARRY: u8 = 0b0010_0000;
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `F_CARRY` is never used
[INFO] [stdout]   --> src/cpu/mod.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const F_CARRY: u8 = 0b0001_0000;
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `MemoryController` is never used
[INFO] [stdout]   --> src/cpu/mod.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type MemoryController<'a> = &'a mut dyn MemoryInterface<Word = u8, Index = u16>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `SharpResult` is never used
[INFO] [stdout]   --> src/cpu/mod.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 | type SharpResult = Result<(), LRError>;
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SharpLR35902` is never constructed
[INFO] [stdout]   --> src/cpu/mod.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct SharpLR35902<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SharpLR35902Registers` is never constructed
[INFO] [stdout]   --> src/cpu/mod.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct SharpLR35902Registers {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu/mod.rs:96:8
[INFO] [stdout]     |
[INFO] [stdout]  93 | impl SharpLR35902Registers {
[INFO] [stdout]     | -------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  96 |     fn as_dwords(&mut self) -> &mut DWordRegisters {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     fn set_z(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn set_s(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn set_h(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn set_c(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     fn clear_z(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn clear_s(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     fn clear_h(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     fn clear_c(&mut self) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     fn z(&self) -> bool {
[INFO] [stdout]     |        ^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn s(&self) -> bool {
[INFO] [stdout]     |        ^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn h(&self) -> bool {
[INFO] [stdout]     |        ^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     fn c(&self) -> bool {
[INFO] [stdout]     |        ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DWordRegisters` is never constructed
[INFO] [stdout]    --> src/cpu/mod.rs:164:8
[INFO] [stdout]     |
[INFO] [stdout] 164 | struct DWordRegisters {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LRError` is never used
[INFO] [stdout]    --> src/cpu/mod.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 | pub enum LRError {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cpu/mod.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 297 | impl<'a> SharpLR35902<'a> {
[INFO] [stdout]     | ------------------------- associated items in this implementation
[INFO] [stdout] 298 |     /// Creates a new `SharpLR35902` from an `Rc<RefCell<MemoryInterface>>`.
[INFO] [stdout] 299 |     pub fn new(mi: MemoryController<'a>) -> SharpLR35902<'a> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 310 |     fn read_instruction_word(&mut self) -> Result<u8, LRError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     fn read_instruction_dword(&mut self) -> Result<u16, LRError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 326 |     fn read(&mut self, addr: u16) -> Result<u8, LRError> {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 331 |     fn read_hl(&mut self) -> Result<u8, LRError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn write(&mut self, addr: u16, data: u8) -> Result<(), LRError> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 345 |     fn write_hl(&mut self, data: u8) -> Result<(), LRError> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OpcodeBits` is never constructed
[INFO] [stdout]   --> src/cpu/instructions.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct OpcodeBits {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INSTRUCTIONS` is never used
[INFO] [stdout]   --> src/cpu/instructions.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub const INSTRUCTIONS: [fn(&mut SharpLR35902) -> SharpResult; 2] = [nop, ld_r_r];
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `nop` is never used
[INFO] [stdout]   --> src/cpu/instructions.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn nop(_: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stop` is never used
[INFO] [stdout]   --> src/cpu/instructions.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn stop(_: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_bc_a` is never used
[INFO] [stdout]   --> src/cpu/instructions.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn ld_at_bc_a(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_de_a` is never used
[INFO] [stdout]   --> src/cpu/instructions.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub fn ld_at_de_a(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_hli_a` is never used
[INFO] [stdout]   --> src/cpu/instructions.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub fn ld_at_hli_a(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_hld_a` is never used
[INFO] [stdout]   --> src/cpu/instructions.rs:98:8
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub fn ld_at_hld_a(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_a_at_hli` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn ld_a_at_hli(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_a_at_hld` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn ld_a_at_hld(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_r_d8` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn ld_r_d8(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_r_at_hl` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub fn ld_r_at_hl(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_hl_r` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:160:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub fn ld_at_hl_r(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_hl_d8` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:173:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | pub fn ld_at_hl_d8(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_a_at_bc` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub fn ld_a_at_bc(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_a_at_de` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout] 195 | pub fn ld_a_at_de(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_a_at_c` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:206:8
[INFO] [stdout]     |
[INFO] [stdout] 206 | pub fn ld_a_at_c(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_c_a` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub fn ld_at_c_a(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_a_at_d8` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:229:8
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub fn ld_a_at_d8(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_d8_a` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:240:8
[INFO] [stdout]     |
[INFO] [stdout] 240 | pub fn ld_at_d8_a(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_a_at_d16` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:252:8
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub fn ld_a_at_d16(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_at_d16_a` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:263:8
[INFO] [stdout]     |
[INFO] [stdout] 263 | pub fn ld_at_d16_a(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_r_r` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:274:8
[INFO] [stdout]     |
[INFO] [stdout] 274 | pub fn ld_r_r(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_rr_nn` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:286:8
[INFO] [stdout]     |
[INFO] [stdout] 286 | pub fn ld_rr_nn(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_sp_hl` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:302:8
[INFO] [stdout]     |
[INFO] [stdout] 302 | pub fn ld_sp_hl(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `push_rr` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:314:8
[INFO] [stdout]     |
[INFO] [stdout] 314 | pub fn push_rr(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pop_rr` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:331:8
[INFO] [stdout]     |
[INFO] [stdout] 331 | pub fn pop_rr(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ldhl_sp_e` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:347:8
[INFO] [stdout]     |
[INFO] [stdout] 347 | pub fn ldhl_sp_e(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ld_d16_sp` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:373:8
[INFO] [stdout]     |
[INFO] [stdout] 373 | pub fn ld_d16_sp(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_a_r` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:389:8
[INFO] [stdout]     |
[INFO] [stdout] 389 | pub fn add_a_r(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_a_d8` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:409:8
[INFO] [stdout]     |
[INFO] [stdout] 409 | pub fn add_a_d8(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_a_r` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:424:8
[INFO] [stdout]     |
[INFO] [stdout] 424 | pub fn adc_a_r(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `adc_a_d8` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:445:8
[INFO] [stdout]     |
[INFO] [stdout] 445 | pub fn adc_a_d8(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sub_a_r` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:466:8
[INFO] [stdout]     |
[INFO] [stdout] 466 | pub fn sub_a_r(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sub_a_d8` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:486:8
[INFO] [stdout]     |
[INFO] [stdout] 486 | pub fn sub_a_d8(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sbc_a_r` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:501:8
[INFO] [stdout]     |
[INFO] [stdout] 501 | pub fn sbc_a_r(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sbc_a_d8` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:523:8
[INFO] [stdout]     |
[INFO] [stdout] 523 | pub fn sbc_a_d8(cpu: &mut SharpLR35902) -> SharpResult {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AluResult` is never constructed
[INFO] [stdout]    --> src/cpu/instructions.rs:543:12
[INFO] [stdout]     |
[INFO] [stdout] 543 | pub struct AluResult<T: Default> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `into_parts` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:558:12
[INFO] [stdout]     |
[INFO] [stdout] 556 | impl<T: Default> AluResult<T> {
[INFO] [stdout]     | ----------------------------- method in this implementation
[INFO] [stdout] 557 |     /// Returns the result of the operation and the flags in `u8` form.
[INFO] [stdout] 558 |     pub fn into_parts(self) -> (T, u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u8_add` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:589:8
[INFO] [stdout]     |
[INFO] [stdout] 589 | pub fn u8_add(first: u8, second: u8) -> AluResult<u8> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u16_add` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:610:8
[INFO] [stdout]     |
[INFO] [stdout] 610 | pub fn u16_add(first: u16, second: u16) -> AluResult<u16> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u8_sub` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:631:8
[INFO] [stdout]     |
[INFO] [stdout] 631 | pub fn u8_sub(first: u8, second: u8) -> AluResult<u8> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u16_sub` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:654:8
[INFO] [stdout]     |
[INFO] [stdout] 654 | pub fn u16_sub(first: u16, second: u16) -> AluResult<u16> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `i16_add` is never used
[INFO] [stdout]    --> src/cpu/instructions.rs:677:8
[INFO] [stdout]     |
[INFO] [stdout] 677 | pub fn i16_add(first: i16, second: i16) -> AluResult<i16> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MemoryInterface` is never used
[INFO] [stdout]  --> src/memory.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait MemoryInterface {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MemoryError` is never used
[INFO] [stdout]   --> src/memory.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum MemoryError {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `data`, `start`, and `end` are never read
[INFO] [stdout]   --> src/memory.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct MemoryRegion {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 21 |     data: Box<[u8]>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     start: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 23 |     end: usize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MemoryRegion` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get` and `set` are never used
[INFO] [stdout]   --> src/memory.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl MemoryRegion {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn get(&self, index: u16) -> Result<u8, MemoryError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn set(&mut self, index: u16, data: u8) -> Result<(), MemoryError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `video_ram`, `work_ram_0`, `work_ram_1`, `oam`, `io`, and `high_ram` are never read
[INFO] [stdout]   --> src/memory.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct SharedMemoryRegions {
[INFO] [stdout]    |            ------------------- fields in this struct
[INFO] [stdout] 68 |     video_ram: MemoryRegion,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 69 |     work_ram_0: MemoryRegion,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 70 |     work_ram_1: MemoryRegion,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 71 |     oam: MemoryRegion,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 72 |     io: MemoryRegion,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 73 |     high_ram: MemoryRegion,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SharedMemoryRegions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get` and `set` are never used
[INFO] [stdout]    --> src/memory.rs:88:12
[INFO] [stdout]     |
[INFO] [stdout]  76 | impl SharedMemoryRegions {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn get(&self, address: u16) -> Result<u8, MemoryError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn set(&mut self, address: u16, data: u8) -> Result<(), MemoryError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RomOnly` is never constructed
[INFO] [stdout]    --> src/memory.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct RomOnly {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `blank` is never used
[INFO] [stdout]    --> src/memory.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl RomOnly {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] 137 |     pub fn blank() -> RomOnly {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Ram` is never constructed
[INFO] [stdout]    --> src/memory.rs:182:5
[INFO] [stdout]     |
[INFO] [stdout] 180 | enum ModeSelect {
[INFO] [stdout]     |      ---------- variant in this enum
[INFO] [stdout] 181 |     Rom,
[INFO] [stdout] 182 |     Ram,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ModeSelect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/memory.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 186 | pub struct Mbc1 {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 187 |     rom_banks: Vec<MemoryRegion>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 188 |     rom_bank_select: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 189 |     ram_banks: Vec<MemoryRegion>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 190 |     ram_bank_select: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 191 |     shared_mem: SharedMemoryRegions,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 192 |     ram_enabled: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 193 |     mode: ModeSelect,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Mbc1` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `blank` is never used
[INFO] [stdout]    --> src/memory.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 196 | impl Mbc1 {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 197 |     pub fn blank(num_rom_banks: usize, ram_size: usize, num_ram_banks: usize) -> Mbc1 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Mbc2` is never constructed
[INFO] [stdout]    --> src/memory.rs:341:12
[INFO] [stdout]     |
[INFO] [stdout] 341 | pub struct Mbc2 {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `blank` is never used
[INFO] [stdout]    --> src/memory.rs:350:12
[INFO] [stdout]     |
[INFO] [stdout] 349 | impl Mbc2 {
[INFO] [stdout]     | --------- associated function in this implementation
[INFO] [stdout] 350 |     pub fn blank(num_rom_banks: usize, ram_size: usize, num_ram_banks: usize) -> Mbc2 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/rom/mod.rs:83:9
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub struct CartridgeHeader {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 83 |     pub title: String,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 84 |     pub new_licensee_code: [char; 2],
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 85 |     pub sgb_support: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 86 |     pub bank_type: MemoryBankType,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub destination: Destination,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 90 |     pub old_licensee_code: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 91 |     pub version_number: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 92 |     pub header_checksum: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 93 |     pub global_checksum: u16,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CartridgeHeader` 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 `ram` and `battery` are never read
[INFO] [stdout]    --> src/rom/mod.rs:99:9
[INFO] [stdout]     |
[INFO] [stdout]  98 |     RomOnly {
[INFO] [stdout]     |     ------- fields in this variant
[INFO] [stdout]  99 |         ram: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 100 |         battery: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MemoryBankType` 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 `ram` and `battery` are never read
[INFO] [stdout]    --> src/rom/mod.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     MBC1 {
[INFO] [stdout]     |     ---- fields in this variant
[INFO] [stdout] 103 |         ram: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 104 |         battery: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MemoryBankType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `battery` is never read
[INFO] [stdout]    --> src/rom/mod.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |     MBC2 {
[INFO] [stdout]     |     ---- field in this variant
[INFO] [stdout] 107 |         battery: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MemoryBankType` 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 `ram` and `battery` are never read
[INFO] [stdout]    --> src/rom/mod.rs:110:9
[INFO] [stdout]     |
[INFO] [stdout] 109 |     MMM01 {
[INFO] [stdout]     |     ----- fields in this variant
[INFO] [stdout] 110 |         ram: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 111 |         battery: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MemoryBankType` 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 `timer`, `ram`, and `battery` are never read
[INFO] [stdout]    --> src/rom/mod.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 113 |     MBC3 {
[INFO] [stdout]     |     ---- fields in this variant
[INFO] [stdout] 114 |         timer: bool,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 115 |         ram: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 116 |         battery: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MemoryBankType` 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 `ram` and `battery` are never read
[INFO] [stdout]    --> src/rom/mod.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     MBC4 {
[INFO] [stdout]     |     ---- fields in this variant
[INFO] [stdout] 119 |         ram: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 120 |         battery: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MemoryBankType` 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 `ram`, `battery`, and `rumble` are never read
[INFO] [stdout]    --> src/rom/mod.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 122 |     MBC5 {
[INFO] [stdout]     |     ---- fields in this variant
[INFO] [stdout] 123 |         ram: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 124 |         battery: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 125 |         rumble: bool,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `MemoryBankType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused bitwise operation that must be used
[INFO] [stdout]    --> src/cpu/instructions.rs:576:17
[INFO] [stdout]     |
[INFO] [stdout] 576 |                 f | F_SUBTRACT;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ the bitwise operation produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 576 |                 let _ = f | F_SUBTRACT;
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "120e9e0b6277fbc820b8e750761483cdc22dcaa8fd6d18ff89e2e6babab398cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "120e9e0b6277fbc820b8e750761483cdc22dcaa8fd6d18ff89e2e6babab398cc", kill_on_drop: false }`
[INFO] [stdout] 120e9e0b6277fbc820b8e750761483cdc22dcaa8fd6d18ff89e2e6babab398cc
