[INFO] cloning repository https://github.com/Baptistemontan/gb_emul
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Baptistemontan/gb_emul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaptistemontan%2Fgb_emul", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaptistemontan%2Fgb_emul'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6ff938589b8400b19e4dd04944073739cb9b95b8
[INFO] testing Baptistemontan/gb_emul against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaptistemontan%2Fgb_emul" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Baptistemontan/gb_emul on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Baptistemontan/gb_emul
[INFO] finished tweaking git repo https://github.com/Baptistemontan/gb_emul
[INFO] tweaked toml for git repo https://github.com/Baptistemontan/gb_emul written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Baptistemontan/gb_emul 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6e212900f2f9dc2f9fd9ec250b7aa310b0d786d7257593b053413dde7155127e
[INFO] running `Command { std: "docker" "start" "-a" "6e212900f2f9dc2f9fd9ec250b7aa310b0d786d7257593b053413dde7155127e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6e212900f2f9dc2f9fd9ec250b7aa310b0d786d7257593b053413dde7155127e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e212900f2f9dc2f9fd9ec250b7aa310b0d786d7257593b053413dde7155127e", kill_on_drop: false }`
[INFO] [stdout] 6e212900f2f9dc2f9fd9ec250b7aa310b0d786d7257593b053413dde7155127e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75361f58aaff8bac7cce55bf4a4ee68c9881e985401544555ab1f87b5e41c509
[INFO] running `Command { std: "docker" "start" "-a" "75361f58aaff8bac7cce55bf4a4ee68c9881e985401544555ab1f87b5e41c509", kill_on_drop: false }`
[INFO] [stderr]    Compiling gb_emul v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `LongRegister`
[INFO] [stdout]  --> src/instructions/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     registers::{LongRegister, Register, Registers},
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Flags`, `Registers`
[INFO] [stdout]  --> src/instructions/control_flow.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     registers::{Flags, LongRegister, Registers, SetFlags},
[INFO] [stdout]   |                 ^^^^^                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/memory/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Memory`
[INFO] [stdout]  --> src/memory/memory_section.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::Memory;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lr`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:456:42
[INFO] [stdout]     |
[INFO] [stdout] 456 |             ArithmeticInstruction::AddHL(lr) => {
[INFO] [stdout]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_lr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:459:51
[INFO] [stdout]     |
[INFO] [stdout] 459 |             ArithmeticInstruction::AddSPImmediate(n) => {
[INFO] [stdout]     |                                                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:503:12
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:503:19
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:18
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:25
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `carry`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:32
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_carry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `registers`, `memory`, and `cyclic` are never read
[INFO] [stdout]   --> src/cpu/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Cpu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 13 |     registers: Registers,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 14 |     memory: Memory,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     cyclic: Cyclic,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cpu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu/mod.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Cpu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] 19  |     /// Cycles: 4
[INFO] [stdout] 20  |     pub fn current_byte(&mut self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26  |     pub fn advance(&mut self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32  |     pub fn get_reg(&self, reg: Register) -> u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36  |     pub fn get_reg_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40  |     pub fn put_reg(&mut self, reg: Register, value: u8) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44  |     pub fn get_long_reg(&self, reg: LongRegister) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     pub fn get_long_reg_mut(&mut self, reg: LongRegister) -> &mut u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     pub fn put_long_reg(&mut self, reg: LongRegister, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     pub fn get_at_hl(&mut self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63  |     pub fn put_at_hl(&mut self, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68  |     pub fn get_reg_a(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     pub fn put_reg_a(&mut self, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77  |     pub fn get_relative(&mut self, delta: u16) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98  |     pub fn advance_by(&mut self, delta: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn move_by(&mut self, delta: i16) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn get_pc_mut(&mut self) -> &mut u16 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn set_pc(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn get_pc(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn get_memory(&mut self, addr: u16) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn put_memory(&mut self, addr: u16, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn get_long_at(&mut self, addr: u16) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn put_long_at(&mut self, addr: u16, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn get_next_long(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub fn advance_long(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn push_stack(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn pop_stack(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn cycle(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn enable_interrupts(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn disable_interrupts(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cycle` is never used
[INFO] [stdout]  --> src/cpu/cyclic.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Cyclic {
[INFO] [stdout]   | ----------- method in this implementation
[INFO] [stdout] 5 |     pub fn cycle(&mut self) {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `af`, `bc`, `de`, `hl`, `sp`, and `pc` are never read
[INFO] [stdout]   --> src/cpu/registers.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct Registers {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 7  |     af: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 8  |     bc: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 9  |     de: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     hl: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     sp: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     pc: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Registers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AF`, `BC`, `DE`, `HL`, `SP`, and `PC` are never constructed
[INFO] [stdout]   --> src/cpu/registers.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum LongRegister {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 29 |     AF,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 30 |     BC,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 31 |     DE,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 32 |     HL,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 33 |     SP,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 34 |     PC,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LongRegister` 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: variants `Zero`, `Substract`, `HalfCarry`, and `Carry` are never constructed
[INFO] [stdout]   --> src/cpu/registers.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum Flags {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 48 |     Zero,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     Substract,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     HalfCarry,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     Carry,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Flags` 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 associated items are never used
[INFO] [stdout]    --> src/cpu/registers.rs:156:15
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl Registers {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub const LONG_REGISTERS: [LongRegister; 4] = [
[INFO] [stdout]     |               ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn get_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn get(&self, reg: Register) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn set(&mut self, reg: Register, byte: u8) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn get_long_mut(&mut self, reg: LongRegister) -> &mut u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn get_long(&self, reg: LongRegister) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn set_long(&mut self, reg: LongRegister, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_high_mut`, `get_low_mut`, `get_high`, `get_low`, `set_high`, and `set_low` are never used
[INFO] [stdout]   --> src/help_traits.rs:2:8
[INFO] [stdout]    |
[INFO] [stdout] 1  | pub trait AccesBigEndianBytesU16: Into<u16> {
[INFO] [stdout]    |           ---------------------- methods in this trait
[INFO] [stdout] 2  |     fn get_high_mut(&mut self) -> &mut u8;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 3  |     fn get_low_mut(&mut self) -> &mut u8;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 4  |     fn get_high(self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8  |     fn get_low(self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn set_high(&mut self, byte: u8) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn set_low(&mut self, byte: u8) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Load`, `Arithmetic`, `Misc`, `RotateShift`, `Bit`, and `ControlFlow` are never constructed
[INFO] [stdout]   --> src/instructions/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum Instruction {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 20 |     Load(LoadInstruction),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     Arithmetic(ArithmeticInstruction),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     Misc(MiscInstruction),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     RotateShift(RotateShiftInstruction),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 24 |     Bit(BitInstruction),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 25 |     ControlFlow(ControlFlowInstruction),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` 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: method `map` is never used
[INFO] [stdout]   --> src/instructions/mod.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl FetchRegister {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 59 |     pub fn map<F, T>(self, if_reg: F, if_hl: T) -> T
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `fetch` and `execute` are never used
[INFO] [stdout]    --> src/instructions/mod.rs:71:12
[INFO] [stdout]     |
[INFO] [stdout] 70  | impl Instruction {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 71  |     pub fn fetch(cpu: &mut Cpu) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/instructions/arithmetic.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout] 9   | pub enum ArithmeticInstruction {
[INFO] [stdout]     |          --------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16  |     AddImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22  |     AddRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28  |     AddAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34  |     SubImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40  |     SubRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46  |     SubAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     AddCarryImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58  |     AddCarryRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64  |     AddCarryAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70  |     SubCarryImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76  |     SubCarryRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82  |     SubCarryAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     AndImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     AndRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     AndAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     OrImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     OrRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     OrAddrHL,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     XorImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     XorRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     XorAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     CmpImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     CmpRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     CmpAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     IncRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     IncAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     DecRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     DecAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     AddHL(LongRegister),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     AddSPImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     IncLongRegister(LongRegister),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     DecLongRegister(LongRegister),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ArithmeticInstruction` 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 associated items are never used
[INFO] [stdout]    --> src/instructions/arithmetic.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 207 | impl ArithmeticInstruction {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout] 208 |     fn fetch_add(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn fetch_sub(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 |     fn fetch_bitwise(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 248 |     fn fetch_inc_dec(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 260 |     fn fetch_inc_dec_long(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn fetch_add_hl_long(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn fetch(cpu: &mut Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 |     fn add(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 484 |     fn add_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 511 |     fn inc(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     fn dec(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mask` is never used
[INFO] [stdout]   --> src/instructions/bit.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl TargetBit {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 37 |     pub fn get_mask(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BitRegister`, `BitAddrHL`, `SetRegister`, `SetAddrHL`, `ResRegister`, and `ResAddrHL` are never constructed
[INFO] [stdout]   --> src/instructions/bit.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub enum BitInstruction {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 58 |     BitRegister(Register, TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     BitAddrHL(TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     SetRegister(Register, TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     SetAddrHL(TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     ResRegister(Register, TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     ResAddrHL(TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BitInstruction` 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 items `fetch_prefixed`, `test_bit`, and `execute` are never used
[INFO] [stdout]    --> src/instructions/bit.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout] 91  | impl BitInstruction {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 92  |     pub fn fetch_prefixed(_: &Cpu, opcode_id: u8, reg: FetchRegister) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn test_bit(byte: u8, target_bit: TargetBit, carry: bool) -> SetFlags {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_condition` is never used
[INFO] [stdout]   --> src/instructions/control_flow.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ControlFlowCondition {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] 27 |     fn check_condition(self, flags: SetFlags) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/instructions/control_flow.rs:45:5
[INFO] [stdout]     |
[INFO] [stdout] 38  | pub enum ControlFlowInstruction {
[INFO] [stdout]     |          ---------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 45  |     JumpImmediate(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51  |     JumpImmediateCondition(ControlFlowCondition, u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     JumpAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63  |     JumpImmediateRelative(i8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69  |     JumpRelativeCondition(ControlFlowCondition, i8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77  |     CallImmediate(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83  |     CallImmediateCondition(ControlFlowCondition, u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91  |     Reset(u8),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99  |     Return,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     ReturnCondition(ControlFlowCondition),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     ReturnEnableInterrupt,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ControlFlowInstruction` 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 items `fetch`, `exec_cc`, and `execute` are never used
[INFO] [stdout]    --> src/instructions/control_flow.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl ControlFlowInstruction {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] 115 |     pub fn fetch(cpu: &mut Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     fn exec_cc(this: Self, cc: ControlFlowCondition, cpu: &mut Cpu) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/instructions/load.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout] 7   | pub enum LoadInstruction {
[INFO] [stdout]     |          --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14  |     LoadImmediate(Register, u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20  |     LoadRegister(Register, Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26  |     LoadFromHLAddr(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32  |     LoadIntoHLAddr(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38  |     LoadIntoHLAddrn(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44  |     LoadIntoAFromAddr(LongRegister),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50  |     LoadIntoAFromAddrnn(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56  |     LoadIntoAddrFromA(LongRegister),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62  |     LoadIntoAddrnnFromA(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71  |     LoadFromAddrCIntoA,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80  |     LoadIntoAddrCFromA,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87  |     LoadFromAddrHLIntoADec,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     LoadFromAIntoAddrHLDec,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     LoadFromAddrHLIntoAInc,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     LoadFromAIntoAddrHLInc,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     LoadFromAIntoAddrn(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     LoadFromAddrnIntoA(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     LoadImmediateLong(LongRegister, u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     LoadFromHLIntoSP,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     LoadFromSPPlusnIntoHL(i8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     LoadSPIntoAddrnn(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     Push(LongRegister),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     Pop(LongRegister),
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LoadInstruction` 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 associated items are never used
[INFO] [stdout]    --> src/instructions/load.rs:181:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl LoadInstruction {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 181 |     fn fetch_load_r1_r2(opcode: u8) -> Option<Self> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     fn fetch_load_immediate(opcode: u8, n: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn fetch_load_immediate_long(opcode: u8, nn: u16) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     fn fetch_long_register(opcode: u8) -> LongRegister {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn add_delta_to_addr(addr: u16, delta: i8) -> (u16, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     pub fn fetch(cpu: &mut Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/instructions/miscellaneous.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum MiscInstruction {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     SwapRegister(Register),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     SwapAddrHL,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     DecimalAdjustA,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     ComplementA,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     ComplementCarry,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     SetCarry,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     Nop,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     Halt,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     Stop,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     DisableInterrupt,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     EnableInterrupt,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MiscInstruction` 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 items `fetch_prefixed`, `fetch`, `swap`, and `execute` are never used
[INFO] [stdout]    --> src/instructions/miscellaneous.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout] 89  | impl MiscInstruction {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 90  |     pub fn fetch_prefixed(_: &Cpu, opcode_id: u8, reg: FetchRegister) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95  |     pub fn fetch(cpu: &mut Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn swap(value: u8) -> u8 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/instructions/rotate_shift.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub enum RotateShiftInstruction {
[INFO] [stdout]     |          ---------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18  |     RotateLeftCarryA,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24  |     RotateLeftA,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     RotateRightCarryA,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36  |     RotateRightA,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42  |     RotateLeftCarryRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     RotateLeftCarryAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54  |     RotateLeftRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60  |     RotateLeftAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66  |     RotateRightCarryRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     RotateRightCarryAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78  |     RotateRightRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     RotateRightAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90  |     ShiftLeftRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     ShiftLeftAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     ShiftRightRegisterSigned(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     ShiftRightAddrHLSigned,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     ShiftRightRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     ShiftRightAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RotateShiftInstruction` 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 items `fetch_prefixed`, `fetch`, `execute`, `rotate_carry`, `rotate`, and `shift` are never used
[INFO] [stdout]    --> src/instructions/rotate_shift.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl RotateShiftInstruction {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] 124 |     pub const fn fetch_prefixed(_: &Cpu, opcode_id: u8, reg: FetchRegister) -> Option<Self> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub const fn fetch(_: &Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     fn rotate_carry(n: u8, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 324 |     fn rotate(n: u8, old_carry: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn shift(n: u8, signed: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/memory/mod.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Memory {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 9  |     rom: MemorySection<{ Self::ROM_BANK_SIZE }>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     switchable_rom: MemorySection<{ Self::SWITCHABLE_ROM_BANK_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     vram: MemorySection<{ Self::VRAM_SIZE }>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     switchable_ram: MemorySection<{ Self::SWITCHABLE_RAM_BANK_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     internal_ram: MemorySection<{ Self::INTERNAL_RAM_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 14 |     internal_ram_echo: MemorySection<{ Self::INTERNAL_RAM_ECHO_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     oam: MemorySection<{ Self::OAM_SIZE }>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 16 |     empty: MemorySection<{ Self::EMPTY_SIZE }>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     io_ports: MemorySection<{ Self::IO_PORTS_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     empty_two: MemorySection<{ Self::EMPTY_TWO_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 19 |     internal_ram_two: MemorySection<{ Self::INTERNAL_RAM_TWO_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     interrupt_enable_register: u8,
[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: enum `Bank` is never used
[INFO] [stdout]   --> src/memory/mod.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum Bank {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_addr` is never used
[INFO] [stdout]   --> src/memory/mod.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Bank {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 39 |     pub const fn from_addr(addr: u16) -> Option<(Self, u16)> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/memory/mod.rs:109:11
[INFO] [stdout]     |
[INFO] [stdout] 78  | impl Memory {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     const ROM_BANK_END: u16 = Self::SWITCHABLE_ROM_BANK_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 110 |     const SWITCHABLE_ROM_BANK_END: u16 = Self::VRAM_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 111 |     const VRAM_END: u16 = Self::SWITCHABLE_RAM_BANK_START - 1;
[INFO] [stdout]     |           ^^^^^^^^
[INFO] [stdout] 112 |     const SWITCHABLE_RAM_BANK_END: u16 = Self::INTERNAL_RAM_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 113 |     const INTERNAL_RAM_END: u16 = Self::INTERNAL_RAM_ECHO_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 114 |     const INTERNAL_RAM_ECHO_END: u16 = Self::OAM_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 115 |     const OAM_END: u16 = Self::EMPTY_START - 1;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 116 |     const EMPTY_END: u16 = Self::IO_PORTS_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 117 |     const IO_PORTS_END: u16 = Self::EMPTY_TWO_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 118 |     const EMPTY_TWO_END: u16 = Self::INTERNAL_RAM_TWO_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 119 |     const INTERNAL_RAM_TWO_END: u16 = Self::INTERRUPT_ENABLE_REGISTER_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 120 |
[INFO] [stdout] 121 |     pub fn get(&self, addr: u16) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn put(&mut self, addr: u16, value: u8) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem` is never read
[INFO] [stdout]  --> src/memory/memory_section.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MemorySection<const N: usize> {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 5 |     mem: [u8; N],
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MemorySection` 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 `get` and `set` are never used
[INFO] [stdout]   --> src/memory/memory_section.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl<const N: usize> MemorySection<N> {
[INFO] [stdout]    | ------------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn get(&self, addr: u16) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn set(&mut self, addr: u16, value: u8) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 42 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s
[INFO] running `Command { std: "docker" "inspect" "75361f58aaff8bac7cce55bf4a4ee68c9881e985401544555ab1f87b5e41c509", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75361f58aaff8bac7cce55bf4a4ee68c9881e985401544555ab1f87b5e41c509", kill_on_drop: false }`
[INFO] [stdout] 75361f58aaff8bac7cce55bf4a4ee68c9881e985401544555ab1f87b5e41c509
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63c4a289720c468241fe9ad5ac543fbddd81ab68b01793ff638880df4b84e666
[INFO] running `Command { std: "docker" "start" "-a" "63c4a289720c468241fe9ad5ac543fbddd81ab68b01793ff638880df4b84e666", kill_on_drop: false }`
[INFO] [stderr]    Compiling gb_emul v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `LongRegister`
[INFO] [stdout]  --> src/instructions/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     registers::{LongRegister, Register, Registers},
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Flags`, `Registers`
[INFO] [stdout]  --> src/instructions/control_flow.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     registers::{Flags, LongRegister, Registers, SetFlags},
[INFO] [stdout]   |                 ^^^^^                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/memory/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Memory`
[INFO] [stdout]  --> src/memory/memory_section.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::Memory;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lr`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:456:42
[INFO] [stdout]     |
[INFO] [stdout] 456 |             ArithmeticInstruction::AddHL(lr) => {
[INFO] [stdout]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_lr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:459:51
[INFO] [stdout]     |
[INFO] [stdout] 459 |             ArithmeticInstruction::AddSPImmediate(n) => {
[INFO] [stdout]     |                                                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:503:12
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:503:19
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:18
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:25
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `carry`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:32
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_carry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu/mod.rs:32:12
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Cpu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32  |     pub fn get_reg(&self, reg: Register) -> u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36  |     pub fn get_reg_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40  |     pub fn put_reg(&mut self, reg: Register, value: u8) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44  |     pub fn get_long_reg(&self, reg: LongRegister) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     pub fn get_long_reg_mut(&mut self, reg: LongRegister) -> &mut u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     pub fn put_long_reg(&mut self, reg: LongRegister, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     pub fn get_at_hl(&mut self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63  |     pub fn put_at_hl(&mut self, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68  |     pub fn get_reg_a(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     pub fn put_reg_a(&mut self, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn move_by(&mut self, delta: i16) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn set_pc(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn put_memory(&mut self, addr: u16, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn get_long_at(&mut self, addr: u16) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn put_long_at(&mut self, addr: u16, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn get_next_long(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn push_stack(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn pop_stack(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn enable_interrupts(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn disable_interrupts(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Zero`, `Substract`, `HalfCarry`, and `Carry` are never constructed
[INFO] [stdout]   --> src/cpu/registers.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum Flags {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 48 |     Zero,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     Substract,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     HalfCarry,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     Carry,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Flags` 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 methods are never used
[INFO] [stdout]    --> src/cpu/registers.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl Registers {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn get_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn get(&self, reg: Register) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn set(&mut self, reg: Register, byte: u8) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn set_long(&mut self, reg: LongRegister, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_high`, `get_low`, `set_high`, and `set_low` are never used
[INFO] [stdout]   --> src/help_traits.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 1  | pub trait AccesBigEndianBytesU16: Into<u16> {
[INFO] [stdout]    |           ---------------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 4  |     fn get_high(self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8  |     fn get_low(self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn set_high(&mut self, byte: u8) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn set_low(&mut self, byte: u8) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `execute` is never used
[INFO] [stdout]    --> src/instructions/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 70  | impl Instruction {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/instructions/arithmetic.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | impl ArithmeticInstruction {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 299 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 |     fn add(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 484 |     fn add_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 511 |     fn inc(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     fn dec(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mask` is never used
[INFO] [stdout]   --> src/instructions/bit.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl TargetBit {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 37 |     pub fn get_mask(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `test_bit` and `execute` are never used
[INFO] [stdout]    --> src/instructions/bit.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 91  | impl BitInstruction {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn test_bit(byte: u8, target_bit: TargetBit, carry: bool) -> SetFlags {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_condition` is never used
[INFO] [stdout]   --> src/instructions/control_flow.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ControlFlowCondition {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] 27 |     fn check_condition(self, flags: SetFlags) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `exec_cc` and `execute` are never used
[INFO] [stdout]    --> src/instructions/control_flow.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl ControlFlowInstruction {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 137 |     fn exec_cc(this: Self, cc: ControlFlowCondition, cpu: &mut Cpu) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `fetch_load_immediate_long`, `add_delta_to_addr`, and `execute` are never used
[INFO] [stdout]    --> src/instructions/load.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl LoadInstruction {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn fetch_load_immediate_long(opcode: u8, nn: u16) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn add_delta_to_addr(addr: u16, delta: i8) -> (u16, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `swap` and `execute` are never used
[INFO] [stdout]    --> src/instructions/miscellaneous.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 89  | impl MiscInstruction {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn swap(value: u8) -> u8 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `execute`, `rotate_carry`, `rotate`, and `shift` are never used
[INFO] [stdout]    --> src/instructions/rotate_shift.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl RotateShiftInstruction {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     fn rotate_carry(n: u8, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 324 |     fn rotate(n: u8, old_carry: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn shift(n: u8, signed: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "63c4a289720c468241fe9ad5ac543fbddd81ab68b01793ff638880df4b84e666", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63c4a289720c468241fe9ad5ac543fbddd81ab68b01793ff638880df4b84e666", kill_on_drop: false }`
[INFO] [stdout] 63c4a289720c468241fe9ad5ac543fbddd81ab68b01793ff638880df4b84e666
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e80feaecb46e7e4ad2a66566e9499400d8170472ae9427d79398993e2583a984
[INFO] running `Command { std: "docker" "start" "-a" "e80feaecb46e7e4ad2a66566e9499400d8170472ae9427d79398993e2583a984", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `LongRegister`
[INFO] [stderr]  --> src/instructions/mod.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 |     registers::{LongRegister, Register, Registers},
[INFO] [stderr]   |                 ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Flags`, `Registers`
[INFO] [stderr]  --> src/instructions/control_flow.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 |     registers::{Flags, LongRegister, Registers, SetFlags},
[INFO] [stderr]   |                 ^^^^^                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Range`
[INFO] [stderr]  --> src/memory/mod.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::Range;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::Memory`
[INFO] [stderr]  --> src/memory/memory_section.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use super::Memory;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lr`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:456:42
[INFO] [stderr]     |
[INFO] [stderr] 456 |             ArithmeticInstruction::AddHL(lr) => {
[INFO] [stderr]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_lr`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:459:51
[INFO] [stderr]     |
[INFO] [stderr] 459 |             ArithmeticInstruction::AddSPImmediate(n) => {
[INFO] [stderr]     |                                                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:503:12
[INFO] [stderr]     |
[INFO] [stderr] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stderr]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:503:19
[INFO] [stderr]     |
[INFO] [stderr] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stderr]     |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:507:18
[INFO] [stderr]     |
[INFO] [stderr] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:507:25
[INFO] [stderr]     |
[INFO] [stderr] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `carry`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:507:32
[INFO] [stderr]     |
[INFO] [stderr] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_carry`
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/cpu/mod.rs:32:12
[INFO] [stderr]     |
[INFO] [stderr] 18  | impl Cpu {
[INFO] [stderr]     | -------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32  |     pub fn get_reg(&self, reg: Register) -> u8 {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36  |     pub fn get_reg_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 40  |     pub fn put_reg(&mut self, reg: Register, value: u8) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44  |     pub fn get_long_reg(&self, reg: LongRegister) -> u16 {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48  |     pub fn get_long_reg_mut(&mut self, reg: LongRegister) -> &mut u16 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52  |     pub fn put_long_reg(&mut self, reg: LongRegister, value: u16) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57  |     pub fn get_at_hl(&mut self) -> u8 {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 63  |     pub fn put_at_hl(&mut self, value: u8) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 68  |     pub fn get_reg_a(&self) -> u8 {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 72  |     pub fn put_reg_a(&mut self, value: u8) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     pub fn move_by(&mut self, delta: i16) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 116 |     pub fn set_pc(&mut self, value: u16) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 132 |     pub fn put_memory(&mut self, addr: u16, value: u8) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 138 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 142 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 150 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 154 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 158 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 163 |     pub fn get_long_at(&mut self, addr: u16) -> u16 {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 170 |     pub fn put_long_at(&mut self, addr: u16, value: u16) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 177 |     pub fn get_next_long(&mut self) -> u16 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 189 |     pub fn push_stack(&mut self, value: u16) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 197 |     pub fn pop_stack(&mut self) -> u16 {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 209 |     pub fn enable_interrupts(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 213 |     pub fn disable_interrupts(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Zero`, `Substract`, `HalfCarry`, and `Carry` are never constructed
[INFO] [stderr]   --> src/cpu/registers.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub enum Flags {
[INFO] [stderr]    |          ----- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 48 |     Zero,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     Substract,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 |     HalfCarry,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 64 |     Carry,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Flags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/cpu/registers.rs:163:12
[INFO] [stderr]     |
[INFO] [stderr] 144 | impl Registers {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 163 |     pub fn get_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 176 |     pub fn get(&self, reg: Register) -> u8 {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 189 |     pub fn set(&mut self, reg: Register, byte: u8) {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 216 |     pub fn set_long(&mut self, reg: LongRegister, value: u16) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 221 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 226 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 231 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 240 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 246 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 252 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_high`, `get_low`, `set_high`, and `set_low` are never used
[INFO] [stderr]   --> src/help_traits.rs:4:8
[INFO] [stderr]    |
[INFO] [stderr] 1  | pub trait AccesBigEndianBytesU16: Into<u16> {
[INFO] [stderr]    |           ---------------------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 4  |     fn get_high(self) -> u8 {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 8  |     fn get_low(self) -> u8 {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     fn set_high(&mut self, byte: u8) {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     fn set_low(&mut self, byte: u8) {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `execute` is never used
[INFO] [stderr]    --> src/instructions/mod.rs:100:12
[INFO] [stderr]     |
[INFO] [stderr] 70  | impl Instruction {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 100 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/instructions/arithmetic.rs:299:12
[INFO] [stderr]     |
[INFO] [stderr] 207 | impl ArithmeticInstruction {
[INFO] [stderr]     | -------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 299 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 471 |     fn add(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 484 |     fn add_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 511 |     fn inc(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 517 |     fn dec(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_mask` is never used
[INFO] [stderr]   --> src/instructions/bit.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl TargetBit {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] 37 |     pub fn get_mask(self) -> u8 {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `test_bit` and `execute` are never used
[INFO] [stderr]    --> src/instructions/bit.rs:106:8
[INFO] [stderr]     |
[INFO] [stderr] 91  | impl BitInstruction {
[INFO] [stderr]     | ------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 106 |     fn test_bit(byte: u8, target_bit: TargetBit, carry: bool) -> SetFlags {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `check_condition` is never used
[INFO] [stderr]   --> src/instructions/control_flow.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl ControlFlowCondition {
[INFO] [stderr]    | ------------------------- method in this implementation
[INFO] [stderr] 27 |     fn check_condition(self, flags: SetFlags) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `exec_cc` and `execute` are never used
[INFO] [stderr]    --> src/instructions/control_flow.rs:137:8
[INFO] [stderr]     |
[INFO] [stderr] 114 | impl ControlFlowInstruction {
[INFO] [stderr]     | --------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 137 |     fn exec_cc(this: Self, cc: ControlFlowCondition, cpu: &mut Cpu) -> bool {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `fetch_load_immediate_long`, `add_delta_to_addr`, and `execute` are never used
[INFO] [stderr]    --> src/instructions/load.rs:204:8
[INFO] [stderr]     |
[INFO] [stderr] 180 | impl LoadInstruction {
[INFO] [stderr]     | -------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 204 |     fn fetch_load_immediate_long(opcode: u8, nn: u16) -> Self {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 219 |     fn add_delta_to_addr(addr: u16, delta: i8) -> (u16, SetFlags) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 273 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `swap` and `execute` are never used
[INFO] [stderr]    --> src/instructions/miscellaneous.rs:111:8
[INFO] [stderr]     |
[INFO] [stderr] 89  | impl MiscInstruction {
[INFO] [stderr]     | -------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 111 |     fn swap(value: u8) -> u8 {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `execute`, `rotate_carry`, `rotate`, and `shift` are never used
[INFO] [stderr]    --> src/instructions/rotate_shift.rs:181:12
[INFO] [stderr]     |
[INFO] [stderr] 123 | impl RotateShiftInstruction {
[INFO] [stderr]     | --------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 181 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 305 |     fn rotate_carry(n: u8, left: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 324 |     fn rotate(n: u8, old_carry: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 343 |     fn shift(n: u8, signed: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gb_emul` (bin "gb_emul" test) generated 24 warnings (run `cargo fix --bin "gb_emul" --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gb_emul-dc2a55b6173e1c74)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test help_traits::tests::test ... ok
[INFO] [stdout] test instructions::tests::display_instruction ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- instructions::tests::display_instruction stdout ----
[INFO] [stdout] thread 'instructions::tests::display_instruction' panicked at src/cpu/cyclic.rs:6:9:
[INFO] [stdout] not yet implemented
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x555cd0ba3475 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x555cd0ba3475 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x555cd0ba3475 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x555cd0ba3475 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x555cd0bc9cbb - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x555cd0bc9cbb - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x555cd0ba0caf - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x555cd0ba324e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x555cd0ba324e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x555cd0ba4c79 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x555cd0ba493e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x555cd0b75b9a - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x555cd0b75b9a - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x555cd0ba527b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x555cd0ba527b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x555cd0ba4fbb - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:656:13
[INFO] [stdout]   16:     0x555cd0ba3939 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x555cd0ba4d27 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x555cd0b38843 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x555cd0b388ec - core::panicking::panic::hb6a980c1ddfde273
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:146:5
[INFO] [stdout]   20:     0x555cd0b3bcd1 - gb_emul::cpu::cyclic::Cyclic::cycle::h352a8053f45b83b3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/cyclic.rs:6:9
[INFO] [stdout]   21:     0x555cd0b3c2f1 - gb_emul::cpu::Cpu::cycle::h7942c4f9e160cbe8
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:206:9
[INFO] [stdout]   22:     0x555cd0b3c270 - gb_emul::cpu::Cpu::get_memory::h8f8d9934535d24c6
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:127:9
[INFO] [stdout]   23:     0x555cd0b3be43 - gb_emul::cpu::Cpu::current_byte::h3538e84d5f8801bd
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:22:9
[INFO] [stdout]   24:     0x555cd0b418f6 - gb_emul::instructions::tests::display_instruction::h4c4574eb6d72ed66
[INFO] [stdout]                                at /opt/rustwide/workdir/src/instructions/mod.rs:122:32
[INFO] [stdout]   25:     0x555cd0b417d7 - gb_emul::instructions::tests::display_instruction::{{closure}}::h97035759a3926c2a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/instructions/mod.rs:119:29
[INFO] [stdout]   26:     0x555cd0b39f66 - core::ops::function::FnOnce::call_once::h99a069378cf744ac
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x555cd0b7a57b - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x555cd0b7a57b - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   29:     0x555cd0b79c81 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   30:     0x555cd0b79c81 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   31:     0x555cd0b79c81 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   32:     0x555cd0b79c81 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x555cd0b79c81 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x555cd0b79c81 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   35:     0x555cd0b79c81 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   36:     0x555cd0b42644 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   37:     0x555cd0b42644 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   38:     0x555cd0b47072 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   39:     0x555cd0b47072 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   40:     0x555cd0b47072 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   41:     0x555cd0b47072 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x555cd0b47072 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x555cd0b47072 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x555cd0b47072 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x555cd0ba945b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x555cd0ba945b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x555cd0ba945b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7f2c96559ac3 - <unknown>
[INFO] [stdout]   49:     0x7f2c965eaa04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     instructions::tests::display_instruction
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin gb_emul`
[INFO] running `Command { std: "docker" "inspect" "e80feaecb46e7e4ad2a66566e9499400d8170472ae9427d79398993e2583a984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e80feaecb46e7e4ad2a66566e9499400d8170472ae9427d79398993e2583a984", kill_on_drop: false }`
[INFO] [stdout] e80feaecb46e7e4ad2a66566e9499400d8170472ae9427d79398993e2583a984
[INFO] testing Baptistemontan/gb_emul against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaptistemontan%2Fgb_emul" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Baptistemontan/gb_emul on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Baptistemontan/gb_emul
[INFO] finished tweaking git repo https://github.com/Baptistemontan/gb_emul
[INFO] tweaked toml for git repo https://github.com/Baptistemontan/gb_emul written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Baptistemontan/gb_emul 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e3a4b65a28b373815502a12e308416576c31afd10fbffffcbddfe7a2948b39cc
[INFO] running `Command { std: "docker" "start" "-a" "e3a4b65a28b373815502a12e308416576c31afd10fbffffcbddfe7a2948b39cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3a4b65a28b373815502a12e308416576c31afd10fbffffcbddfe7a2948b39cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3a4b65a28b373815502a12e308416576c31afd10fbffffcbddfe7a2948b39cc", kill_on_drop: false }`
[INFO] [stdout] e3a4b65a28b373815502a12e308416576c31afd10fbffffcbddfe7a2948b39cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dbaf50ad9df5494997957b09fdd7af5c90289a152907fb85e604f31cceb287cb
[INFO] running `Command { std: "docker" "start" "-a" "dbaf50ad9df5494997957b09fdd7af5c90289a152907fb85e604f31cceb287cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling gb_emul v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `LongRegister`
[INFO] [stdout]  --> src/instructions/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     registers::{LongRegister, Register, Registers},
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Flags`, `Registers`
[INFO] [stdout]  --> src/instructions/control_flow.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     registers::{Flags, LongRegister, Registers, SetFlags},
[INFO] [stdout]   |                 ^^^^^                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/memory/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Memory`
[INFO] [stdout]  --> src/memory/memory_section.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::Memory;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lr`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:456:42
[INFO] [stdout]     |
[INFO] [stdout] 456 |             ArithmeticInstruction::AddHL(lr) => {
[INFO] [stdout]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_lr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:459:51
[INFO] [stdout]     |
[INFO] [stdout] 459 |             ArithmeticInstruction::AddSPImmediate(n) => {
[INFO] [stdout]     |                                                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:503:12
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:503:19
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:18
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:25
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `carry`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:32
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_carry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `registers`, `memory`, and `cyclic` are never read
[INFO] [stdout]   --> src/cpu/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Cpu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 13 |     registers: Registers,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 14 |     memory: Memory,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     cyclic: Cyclic,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cpu` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu/mod.rs:20:12
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Cpu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] 19  |     /// Cycles: 4
[INFO] [stdout] 20  |     pub fn current_byte(&mut self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26  |     pub fn advance(&mut self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32  |     pub fn get_reg(&self, reg: Register) -> u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36  |     pub fn get_reg_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40  |     pub fn put_reg(&mut self, reg: Register, value: u8) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44  |     pub fn get_long_reg(&self, reg: LongRegister) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     pub fn get_long_reg_mut(&mut self, reg: LongRegister) -> &mut u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     pub fn put_long_reg(&mut self, reg: LongRegister, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     pub fn get_at_hl(&mut self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63  |     pub fn put_at_hl(&mut self, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68  |     pub fn get_reg_a(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     pub fn put_reg_a(&mut self, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77  |     pub fn get_relative(&mut self, delta: u16) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 98  |     pub fn advance_by(&mut self, delta: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn move_by(&mut self, delta: i16) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn get_pc_mut(&mut self) -> &mut u16 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn set_pc(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn get_pc(&self) -> u16 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn get_memory(&mut self, addr: u16) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn put_memory(&mut self, addr: u16, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn get_long_at(&mut self, addr: u16) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn put_long_at(&mut self, addr: u16, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn get_next_long(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     pub fn advance_long(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn push_stack(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn pop_stack(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn cycle(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn enable_interrupts(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn disable_interrupts(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cycle` is never used
[INFO] [stdout]  --> src/cpu/cyclic.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl Cyclic {
[INFO] [stdout]   | ----------- method in this implementation
[INFO] [stdout] 5 |     pub fn cycle(&mut self) {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `af`, `bc`, `de`, `hl`, `sp`, and `pc` are never read
[INFO] [stdout]   --> src/cpu/registers.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | pub struct Registers {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 7  |     af: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 8  |     bc: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 9  |     de: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 10 |     hl: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     sp: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 12 |     pc: u16,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Registers` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AF`, `BC`, `DE`, `HL`, `SP`, and `PC` are never constructed
[INFO] [stdout]   --> src/cpu/registers.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum LongRegister {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] 29 |     AF,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 30 |     BC,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 31 |     DE,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 32 |     HL,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 33 |     SP,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 34 |     PC,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LongRegister` 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: variants `Zero`, `Substract`, `HalfCarry`, and `Carry` are never constructed
[INFO] [stdout]   --> src/cpu/registers.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum Flags {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 48 |     Zero,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     Substract,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     HalfCarry,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     Carry,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Flags` 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 associated items are never used
[INFO] [stdout]    --> src/cpu/registers.rs:156:15
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl Registers {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub const LONG_REGISTERS: [LongRegister; 4] = [
[INFO] [stdout]     |               ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn get_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn get(&self, reg: Register) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn set(&mut self, reg: Register, byte: u8) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub fn get_long_mut(&mut self, reg: LongRegister) -> &mut u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub fn get_long(&self, reg: LongRegister) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn set_long(&mut self, reg: LongRegister, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_high_mut`, `get_low_mut`, `get_high`, `get_low`, `set_high`, and `set_low` are never used
[INFO] [stdout]   --> src/help_traits.rs:2:8
[INFO] [stdout]    |
[INFO] [stdout] 1  | pub trait AccesBigEndianBytesU16: Into<u16> {
[INFO] [stdout]    |           ---------------------- methods in this trait
[INFO] [stdout] 2  |     fn get_high_mut(&mut self) -> &mut u8;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 3  |     fn get_low_mut(&mut self) -> &mut u8;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 4  |     fn get_high(self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8  |     fn get_low(self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn set_high(&mut self, byte: u8) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn set_low(&mut self, byte: u8) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Load`, `Arithmetic`, `Misc`, `RotateShift`, `Bit`, and `ControlFlow` are never constructed
[INFO] [stdout]   --> src/instructions/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum Instruction {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 20 |     Load(LoadInstruction),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     Arithmetic(ArithmeticInstruction),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     Misc(MiscInstruction),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     RotateShift(RotateShiftInstruction),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 24 |     Bit(BitInstruction),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 25 |     ControlFlow(ControlFlowInstruction),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` 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: method `map` is never used
[INFO] [stdout]   --> src/instructions/mod.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl FetchRegister {
[INFO] [stdout]    | ------------------ method in this implementation
[INFO] [stdout] 59 |     pub fn map<F, T>(self, if_reg: F, if_hl: T) -> T
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `fetch` and `execute` are never used
[INFO] [stdout]    --> src/instructions/mod.rs:71:12
[INFO] [stdout]     |
[INFO] [stdout] 70  | impl Instruction {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 71  |     pub fn fetch(cpu: &mut Cpu) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/instructions/arithmetic.rs:16:5
[INFO] [stdout]     |
[INFO] [stdout] 9   | pub enum ArithmeticInstruction {
[INFO] [stdout]     |          --------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16  |     AddImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22  |     AddRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28  |     AddAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34  |     SubImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40  |     SubRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46  |     SubAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     AddCarryImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58  |     AddCarryRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64  |     AddCarryAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70  |     SubCarryImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76  |     SubCarryRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82  |     SubCarryAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88  |     AndImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     AndRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     AndAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     OrImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     OrRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     OrAddrHL,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     XorImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     XorRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     XorAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     CmpImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     CmpRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     CmpAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     IncRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     IncAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     DecRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     DecAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     AddHL(LongRegister),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 192 |     AddSPImmediate(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     IncLongRegister(LongRegister),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     DecLongRegister(LongRegister),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ArithmeticInstruction` 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 associated items are never used
[INFO] [stdout]    --> src/instructions/arithmetic.rs:208:8
[INFO] [stdout]     |
[INFO] [stdout] 207 | impl ArithmeticInstruction {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout] 208 |     fn fetch_add(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn fetch_sub(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 |     fn fetch_bitwise(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 248 |     fn fetch_inc_dec(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 260 |     fn fetch_inc_dec_long(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn fetch_add_hl_long(opcode: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 277 |     pub fn fetch(cpu: &mut Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 |     fn add(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 484 |     fn add_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 511 |     fn inc(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     fn dec(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mask` is never used
[INFO] [stdout]   --> src/instructions/bit.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl TargetBit {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 37 |     pub fn get_mask(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BitRegister`, `BitAddrHL`, `SetRegister`, `SetAddrHL`, `ResRegister`, and `ResAddrHL` are never constructed
[INFO] [stdout]   --> src/instructions/bit.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub enum BitInstruction {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 58 |     BitRegister(Register, TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     BitAddrHL(TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 70 |     SetRegister(Register, TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 76 |     SetAddrHL(TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     ResRegister(Register, TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     ResAddrHL(TargetBit),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BitInstruction` 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 items `fetch_prefixed`, `test_bit`, and `execute` are never used
[INFO] [stdout]    --> src/instructions/bit.rs:92:12
[INFO] [stdout]     |
[INFO] [stdout] 91  | impl BitInstruction {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 92  |     pub fn fetch_prefixed(_: &Cpu, opcode_id: u8, reg: FetchRegister) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn test_bit(byte: u8, target_bit: TargetBit, carry: bool) -> SetFlags {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_condition` is never used
[INFO] [stdout]   --> src/instructions/control_flow.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ControlFlowCondition {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] 27 |     fn check_condition(self, flags: SetFlags) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/instructions/control_flow.rs:45:5
[INFO] [stdout]     |
[INFO] [stdout] 38  | pub enum ControlFlowInstruction {
[INFO] [stdout]     |          ---------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 45  |     JumpImmediate(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51  |     JumpImmediateCondition(ControlFlowCondition, u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     JumpAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63  |     JumpImmediateRelative(i8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69  |     JumpRelativeCondition(ControlFlowCondition, i8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77  |     CallImmediate(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83  |     CallImmediateCondition(ControlFlowCondition, u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 91  |     Reset(u8),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99  |     Return,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     ReturnCondition(ControlFlowCondition),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     ReturnEnableInterrupt,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ControlFlowInstruction` 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 items `fetch`, `exec_cc`, and `execute` are never used
[INFO] [stdout]    --> src/instructions/control_flow.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl ControlFlowInstruction {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] 115 |     pub fn fetch(cpu: &mut Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     fn exec_cc(this: Self, cc: ControlFlowCondition, cpu: &mut Cpu) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/instructions/load.rs:14:5
[INFO] [stdout]     |
[INFO] [stdout] 7   | pub enum LoadInstruction {
[INFO] [stdout]     |          --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14  |     LoadImmediate(Register, u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20  |     LoadRegister(Register, Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26  |     LoadFromHLAddr(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32  |     LoadIntoHLAddr(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38  |     LoadIntoHLAddrn(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44  |     LoadIntoAFromAddr(LongRegister),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50  |     LoadIntoAFromAddrnn(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56  |     LoadIntoAddrFromA(LongRegister),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62  |     LoadIntoAddrnnFromA(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 71  |     LoadFromAddrCIntoA,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80  |     LoadIntoAddrCFromA,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87  |     LoadFromAddrHLIntoADec,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94  |     LoadFromAIntoAddrHLDec,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     LoadFromAddrHLIntoAInc,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     LoadFromAIntoAddrHLInc,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     LoadFromAIntoAddrn(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     LoadFromAddrnIntoA(u8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     LoadImmediateLong(LongRegister, u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     LoadFromHLIntoSP,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     LoadFromSPPlusnIntoHL(i8),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     LoadSPIntoAddrnn(u16),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     Push(LongRegister),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     Pop(LongRegister),
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LoadInstruction` 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 associated items are never used
[INFO] [stdout]    --> src/instructions/load.rs:181:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl LoadInstruction {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 181 |     fn fetch_load_r1_r2(opcode: u8) -> Option<Self> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     fn fetch_load_immediate(opcode: u8, n: u8) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn fetch_load_immediate_long(opcode: u8, nn: u16) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     fn fetch_long_register(opcode: u8) -> LongRegister {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn add_delta_to_addr(addr: u16, delta: i8) -> (u16, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 239 |     pub fn fetch(cpu: &mut Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/instructions/miscellaneous.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum MiscInstruction {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18 |     SwapRegister(Register),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     SwapAddrHL,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     DecimalAdjustA,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     ComplementA,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     ComplementCarry,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     SetCarry,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 59 |     Nop,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     Halt,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     Stop,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     DisableInterrupt,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     EnableInterrupt,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MiscInstruction` 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 items `fetch_prefixed`, `fetch`, `swap`, and `execute` are never used
[INFO] [stdout]    --> src/instructions/miscellaneous.rs:90:12
[INFO] [stdout]     |
[INFO] [stdout] 89  | impl MiscInstruction {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 90  |     pub fn fetch_prefixed(_: &Cpu, opcode_id: u8, reg: FetchRegister) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95  |     pub fn fetch(cpu: &mut Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn swap(value: u8) -> u8 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]    --> src/instructions/rotate_shift.rs:18:5
[INFO] [stdout]     |
[INFO] [stdout] 12  | pub enum RotateShiftInstruction {
[INFO] [stdout]     |          ---------------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 18  |     RotateLeftCarryA,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24  |     RotateLeftA,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30  |     RotateRightCarryA,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36  |     RotateRightA,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42  |     RotateLeftCarryRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     RotateLeftCarryAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54  |     RotateLeftRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60  |     RotateLeftAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66  |     RotateRightCarryRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     RotateRightCarryAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78  |     RotateRightRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84  |     RotateRightAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90  |     ShiftLeftRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 96  |     ShiftLeftAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     ShiftRightRegisterSigned(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     ShiftRightAddrHLSigned,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     ShiftRightRegister(Register),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     ShiftRightAddrHL,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `RotateShiftInstruction` 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 items `fetch_prefixed`, `fetch`, `execute`, `rotate_carry`, `rotate`, and `shift` are never used
[INFO] [stdout]    --> src/instructions/rotate_shift.rs:124:18
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl RotateShiftInstruction {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] 124 |     pub const fn fetch_prefixed(_: &Cpu, opcode_id: u8, reg: FetchRegister) -> Option<Self> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub const fn fetch(_: &Cpu, opcode: u8) -> Option<Self> {
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     fn rotate_carry(n: u8, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 324 |     fn rotate(n: u8, old_carry: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn shift(n: u8, signed: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/memory/mod.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Memory {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 9  |     rom: MemorySection<{ Self::ROM_BANK_SIZE }>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 10 |     switchable_rom: MemorySection<{ Self::SWITCHABLE_ROM_BANK_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     vram: MemorySection<{ Self::VRAM_SIZE }>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 12 |     switchable_ram: MemorySection<{ Self::SWITCHABLE_RAM_BANK_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     internal_ram: MemorySection<{ Self::INTERNAL_RAM_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 14 |     internal_ram_echo: MemorySection<{ Self::INTERNAL_RAM_ECHO_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     oam: MemorySection<{ Self::OAM_SIZE }>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 16 |     empty: MemorySection<{ Self::EMPTY_SIZE }>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     io_ports: MemorySection<{ Self::IO_PORTS_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     empty_two: MemorySection<{ Self::EMPTY_TWO_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 19 |     internal_ram_two: MemorySection<{ Self::INTERNAL_RAM_TWO_SIZE }>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     interrupt_enable_register: u8,
[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: enum `Bank` is never used
[INFO] [stdout]   --> src/memory/mod.rs:24:6
[INFO] [stdout]    |
[INFO] [stdout] 24 | enum Bank {
[INFO] [stdout]    |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_addr` is never used
[INFO] [stdout]   --> src/memory/mod.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Bank {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 39 |     pub const fn from_addr(addr: u16) -> Option<(Self, u16)> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/memory/mod.rs:109:11
[INFO] [stdout]     |
[INFO] [stdout] 78  | impl Memory {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 109 |     const ROM_BANK_END: u16 = Self::SWITCHABLE_ROM_BANK_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 110 |     const SWITCHABLE_ROM_BANK_END: u16 = Self::VRAM_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 111 |     const VRAM_END: u16 = Self::SWITCHABLE_RAM_BANK_START - 1;
[INFO] [stdout]     |           ^^^^^^^^
[INFO] [stdout] 112 |     const SWITCHABLE_RAM_BANK_END: u16 = Self::INTERNAL_RAM_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 113 |     const INTERNAL_RAM_END: u16 = Self::INTERNAL_RAM_ECHO_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 114 |     const INTERNAL_RAM_ECHO_END: u16 = Self::OAM_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 115 |     const OAM_END: u16 = Self::EMPTY_START - 1;
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout] 116 |     const EMPTY_END: u16 = Self::IO_PORTS_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout] 117 |     const IO_PORTS_END: u16 = Self::EMPTY_TWO_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 118 |     const EMPTY_TWO_END: u16 = Self::INTERNAL_RAM_TWO_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 119 |     const INTERNAL_RAM_TWO_END: u16 = Self::INTERRUPT_ENABLE_REGISTER_START - 1;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 120 |
[INFO] [stdout] 121 |     pub fn get(&self, addr: u16) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn put(&mut self, addr: u16, value: u8) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mem` is never read
[INFO] [stdout]  --> src/memory/memory_section.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MemorySection<const N: usize> {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] 5 |     mem: [u8; N],
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MemorySection` 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 `get` and `set` are never used
[INFO] [stdout]   --> src/memory/memory_section.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 8  | impl<const N: usize> MemorySection<N> {
[INFO] [stdout]    | ------------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn get(&self, addr: u16) -> u8 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn set(&mut self, addr: u16, value: u8) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 42 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "dbaf50ad9df5494997957b09fdd7af5c90289a152907fb85e604f31cceb287cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbaf50ad9df5494997957b09fdd7af5c90289a152907fb85e604f31cceb287cb", kill_on_drop: false }`
[INFO] [stdout] dbaf50ad9df5494997957b09fdd7af5c90289a152907fb85e604f31cceb287cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6dcf3ef464b4ef79e18359ea65e7be6c022c643a620a1ae001a156a1ed62b48f
[INFO] running `Command { std: "docker" "start" "-a" "6dcf3ef464b4ef79e18359ea65e7be6c022c643a620a1ae001a156a1ed62b48f", kill_on_drop: false }`
[INFO] [stderr]    Compiling gb_emul v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `LongRegister`
[INFO] [stdout]  --> src/instructions/mod.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     registers::{LongRegister, Register, Registers},
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Flags`, `Registers`
[INFO] [stdout]  --> src/instructions/control_flow.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 |     registers::{Flags, LongRegister, Registers, SetFlags},
[INFO] [stdout]   |                 ^^^^^                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Range`
[INFO] [stdout]  --> src/memory/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::Range;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::Memory`
[INFO] [stdout]  --> src/memory/memory_section.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::Memory;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `lr`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:456:42
[INFO] [stdout]     |
[INFO] [stdout] 456 |             ArithmeticInstruction::AddHL(lr) => {
[INFO] [stdout]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_lr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:459:51
[INFO] [stdout]     |
[INFO] [stdout] 459 |             ArithmeticInstruction::AddSPImmediate(n) => {
[INFO] [stdout]     |                                                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:503:12
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:503:19
[INFO] [stdout]     |
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:18
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:25
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `carry`
[INFO] [stdout]    --> src/instructions/arithmetic.rs:507:32
[INFO] [stdout]     |
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_carry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/cpu/mod.rs:32:12
[INFO] [stdout]     |
[INFO] [stdout] 18  | impl Cpu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32  |     pub fn get_reg(&self, reg: Register) -> u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36  |     pub fn get_reg_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40  |     pub fn put_reg(&mut self, reg: Register, value: u8) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44  |     pub fn get_long_reg(&self, reg: LongRegister) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48  |     pub fn get_long_reg_mut(&mut self, reg: LongRegister) -> &mut u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52  |     pub fn put_long_reg(&mut self, reg: LongRegister, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57  |     pub fn get_at_hl(&mut self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63  |     pub fn put_at_hl(&mut self, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68  |     pub fn get_reg_a(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 72  |     pub fn put_reg_a(&mut self, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub fn move_by(&mut self, delta: i16) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub fn set_pc(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn put_memory(&mut self, addr: u16, value: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn get_long_at(&mut self, addr: u16) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn put_long_at(&mut self, addr: u16, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn get_next_long(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn push_stack(&mut self, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     pub fn pop_stack(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     pub fn enable_interrupts(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     pub fn disable_interrupts(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Zero`, `Substract`, `HalfCarry`, and `Carry` are never constructed
[INFO] [stdout]   --> src/cpu/registers.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum Flags {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 48 |     Zero,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     Substract,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     HalfCarry,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     Carry,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Flags` 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 methods are never used
[INFO] [stdout]    --> src/cpu/registers.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl Registers {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn get_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     pub fn get(&self, reg: Register) -> u8 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn set(&mut self, reg: Register, byte: u8) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub fn set_long(&mut self, reg: LongRegister, value: u16) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 221 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 231 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_high`, `get_low`, `set_high`, and `set_low` are never used
[INFO] [stdout]   --> src/help_traits.rs:4:8
[INFO] [stdout]    |
[INFO] [stdout] 1  | pub trait AccesBigEndianBytesU16: Into<u16> {
[INFO] [stdout]    |           ---------------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 4  |     fn get_high(self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 8  |     fn get_low(self) -> u8 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn set_high(&mut self, byte: u8) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn set_low(&mut self, byte: u8) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `execute` is never used
[INFO] [stdout]    --> src/instructions/mod.rs:100:12
[INFO] [stdout]     |
[INFO] [stdout] 70  | impl Instruction {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/instructions/arithmetic.rs:299:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | impl ArithmeticInstruction {
[INFO] [stdout]     | -------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 299 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 |     fn add(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 484 |     fn add_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 511 |     fn inc(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     fn dec(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_mask` is never used
[INFO] [stdout]   --> src/instructions/bit.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl TargetBit {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 37 |     pub fn get_mask(self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `test_bit` and `execute` are never used
[INFO] [stdout]    --> src/instructions/bit.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 91  | impl BitInstruction {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 106 |     fn test_bit(byte: u8, target_bit: TargetBit, carry: bool) -> SetFlags {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check_condition` is never used
[INFO] [stdout]   --> src/instructions/control_flow.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl ControlFlowCondition {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] 27 |     fn check_condition(self, flags: SetFlags) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `exec_cc` and `execute` are never used
[INFO] [stdout]    --> src/instructions/control_flow.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl ControlFlowInstruction {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 137 |     fn exec_cc(this: Self, cc: ControlFlowCondition, cpu: &mut Cpu) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `fetch_load_immediate_long`, `add_delta_to_addr`, and `execute` are never used
[INFO] [stdout]    --> src/instructions/load.rs:204:8
[INFO] [stdout]     |
[INFO] [stdout] 180 | impl LoadInstruction {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 204 |     fn fetch_load_immediate_long(opcode: u8, nn: u16) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn add_delta_to_addr(addr: u16, delta: i8) -> (u16, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `swap` and `execute` are never used
[INFO] [stdout]    --> src/instructions/miscellaneous.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 89  | impl MiscInstruction {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 111 |     fn swap(value: u8) -> u8 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `execute`, `rotate_carry`, `rotate`, and `shift` are never used
[INFO] [stdout]    --> src/instructions/rotate_shift.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl RotateShiftInstruction {
[INFO] [stdout]     | --------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 181 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     fn rotate_carry(n: u8, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 324 |     fn rotate(n: u8, old_carry: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 343 |     fn shift(n: u8, signed: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 24 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "6dcf3ef464b4ef79e18359ea65e7be6c022c643a620a1ae001a156a1ed62b48f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dcf3ef464b4ef79e18359ea65e7be6c022c643a620a1ae001a156a1ed62b48f", kill_on_drop: false }`
[INFO] [stdout] 6dcf3ef464b4ef79e18359ea65e7be6c022c643a620a1ae001a156a1ed62b48f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6d546766f41fe559a7dc0c954ed38a3021f6c9222d96c80908bc1a3c0075d524
[INFO] running `Command { std: "docker" "start" "-a" "6d546766f41fe559a7dc0c954ed38a3021f6c9222d96c80908bc1a3c0075d524", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `LongRegister`
[INFO] [stderr]  --> src/instructions/mod.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 |     registers::{LongRegister, Register, Registers},
[INFO] [stderr]   |                 ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Flags`, `Registers`
[INFO] [stderr]  --> src/instructions/control_flow.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 |     registers::{Flags, LongRegister, Registers, SetFlags},
[INFO] [stderr]   |                 ^^^^^                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ops::Range`
[INFO] [stderr]  --> src/memory/mod.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::Range;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::Memory`
[INFO] [stderr]  --> src/memory/memory_section.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use super::Memory;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `lr`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:456:42
[INFO] [stderr]     |
[INFO] [stderr] 456 |             ArithmeticInstruction::AddHL(lr) => {
[INFO] [stderr]     |                                          ^^ help: if this is intentional, prefix it with an underscore: `_lr`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:459:51
[INFO] [stderr]     |
[INFO] [stderr] 459 |             ArithmeticInstruction::AddSPImmediate(n) => {
[INFO] [stderr]     |                                                   ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:503:12
[INFO] [stderr]     |
[INFO] [stderr] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stderr]     |            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:503:19
[INFO] [stderr]     |
[INFO] [stderr] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stderr]     |                   ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:507:18
[INFO] [stderr]     |
[INFO] [stderr] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |                  ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:507:25
[INFO] [stderr]     |
[INFO] [stderr] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `carry`
[INFO] [stderr]    --> src/instructions/arithmetic.rs:507:32
[INFO] [stderr]     |
[INFO] [stderr] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_carry`
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/cpu/mod.rs:32:12
[INFO] [stderr]     |
[INFO] [stderr] 18  | impl Cpu {
[INFO] [stderr]     | -------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32  |     pub fn get_reg(&self, reg: Register) -> u8 {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 36  |     pub fn get_reg_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 40  |     pub fn put_reg(&mut self, reg: Register, value: u8) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44  |     pub fn get_long_reg(&self, reg: LongRegister) -> u16 {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48  |     pub fn get_long_reg_mut(&mut self, reg: LongRegister) -> &mut u16 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52  |     pub fn put_long_reg(&mut self, reg: LongRegister, value: u16) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 57  |     pub fn get_at_hl(&mut self) -> u8 {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 63  |     pub fn put_at_hl(&mut self, value: u8) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 68  |     pub fn get_reg_a(&self) -> u8 {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 72  |     pub fn put_reg_a(&mut self, value: u8) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     pub fn move_by(&mut self, delta: i16) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 116 |     pub fn set_pc(&mut self, value: u16) {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 132 |     pub fn put_memory(&mut self, addr: u16, value: u8) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 138 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 142 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 150 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 154 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 158 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 163 |     pub fn get_long_at(&mut self, addr: u16) -> u16 {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 170 |     pub fn put_long_at(&mut self, addr: u16, value: u16) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 177 |     pub fn get_next_long(&mut self) -> u16 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 189 |     pub fn push_stack(&mut self, value: u16) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 197 |     pub fn pop_stack(&mut self) -> u16 {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 209 |     pub fn enable_interrupts(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 213 |     pub fn disable_interrupts(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Zero`, `Substract`, `HalfCarry`, and `Carry` are never constructed
[INFO] [stderr]   --> src/cpu/registers.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub enum Flags {
[INFO] [stderr]    |          ----- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 48 |     Zero,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     Substract,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 58 |     HalfCarry,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 64 |     Carry,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Flags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]    --> src/cpu/registers.rs:163:12
[INFO] [stderr]     |
[INFO] [stderr] 144 | impl Registers {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 163 |     pub fn get_mut(&mut self, reg: Register) -> &mut u8 {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 176 |     pub fn get(&self, reg: Register) -> u8 {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 189 |     pub fn set(&mut self, reg: Register, byte: u8) {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 216 |     pub fn set_long(&mut self, reg: LongRegister, value: u16) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 221 |     pub fn get_flags(&self) -> SetFlags {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 226 |     pub fn set_flags(&mut self, flags: SetFlags) {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 231 |     pub fn get_flag(&self, flag: Flags) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 240 |     pub fn set_flag(&mut self, flag: Flags) {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 246 |     pub fn reset_flag(&mut self, flag: Flags) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 252 |     pub fn set_flag_to(&mut self, flag: Flags, value: bool) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_high`, `get_low`, `set_high`, and `set_low` are never used
[INFO] [stderr]   --> src/help_traits.rs:4:8
[INFO] [stderr]    |
[INFO] [stderr] 1  | pub trait AccesBigEndianBytesU16: Into<u16> {
[INFO] [stderr]    |           ---------------------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 4  |     fn get_high(self) -> u8 {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 8  |     fn get_low(self) -> u8 {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 12 |     fn set_high(&mut self, byte: u8) {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     fn set_low(&mut self, byte: u8) {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `execute` is never used
[INFO] [stderr]    --> src/instructions/mod.rs:100:12
[INFO] [stderr]     |
[INFO] [stderr] 70  | impl Instruction {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 100 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/instructions/arithmetic.rs:299:12
[INFO] [stderr]     |
[INFO] [stderr] 207 | impl ArithmeticInstruction {
[INFO] [stderr]     | -------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 299 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 471 |     fn add(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 484 |     fn add_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 503 |     fn sub(a: u8, b: u8) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 507 |     fn sub_carry(a: u8, b: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 511 |     fn inc(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 517 |     fn dec(a: u8, carry: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_mask` is never used
[INFO] [stderr]   --> src/instructions/bit.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 36 | impl TargetBit {
[INFO] [stderr]    | -------------- method in this implementation
[INFO] [stderr] 37 |     pub fn get_mask(self) -> u8 {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `test_bit` and `execute` are never used
[INFO] [stderr]    --> src/instructions/bit.rs:106:8
[INFO] [stderr]     |
[INFO] [stderr] 91  | impl BitInstruction {
[INFO] [stderr]     | ------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 106 |     fn test_bit(byte: u8, target_bit: TargetBit, carry: bool) -> SetFlags {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `check_condition` is never used
[INFO] [stderr]   --> src/instructions/control_flow.rs:27:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | impl ControlFlowCondition {
[INFO] [stderr]    | ------------------------- method in this implementation
[INFO] [stderr] 27 |     fn check_condition(self, flags: SetFlags) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `exec_cc` and `execute` are never used
[INFO] [stderr]    --> src/instructions/control_flow.rs:137:8
[INFO] [stderr]     |
[INFO] [stderr] 114 | impl ControlFlowInstruction {
[INFO] [stderr]     | --------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 137 |     fn exec_cc(this: Self, cc: ControlFlowCondition, cpu: &mut Cpu) -> bool {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `fetch_load_immediate_long`, `add_delta_to_addr`, and `execute` are never used
[INFO] [stderr]    --> src/instructions/load.rs:204:8
[INFO] [stderr]     |
[INFO] [stderr] 180 | impl LoadInstruction {
[INFO] [stderr]     | -------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 204 |     fn fetch_load_immediate_long(opcode: u8, nn: u16) -> Self {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 219 |     fn add_delta_to_addr(addr: u16, delta: i8) -> (u16, SetFlags) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 273 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `swap` and `execute` are never used
[INFO] [stderr]    --> src/instructions/miscellaneous.rs:111:8
[INFO] [stderr]     |
[INFO] [stderr] 89  | impl MiscInstruction {
[INFO] [stderr]     | -------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 111 |     fn swap(value: u8) -> u8 {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `execute`, `rotate_carry`, `rotate`, and `shift` are never used
[INFO] [stderr]    --> src/instructions/rotate_shift.rs:181:12
[INFO] [stderr]     |
[INFO] [stderr] 123 | impl RotateShiftInstruction {
[INFO] [stderr]     | --------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 181 |     pub fn execute(self, cpu: &mut Cpu) {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 305 |     fn rotate_carry(n: u8, left: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 324 |     fn rotate(n: u8, old_carry: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 343 |     fn shift(n: u8, signed: bool, left: bool) -> (u8, SetFlags) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gb_emul` (bin "gb_emul" test) generated 24 warnings (run `cargo fix --bin "gb_emul" --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gb_emul-dc2a55b6173e1c74)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test help_traits::tests::test ... ok
[INFO] [stdout] test instructions::tests::display_instruction ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- instructions::tests::display_instruction stdout ----
[INFO] [stdout] thread 'instructions::tests::display_instruction' panicked at src/cpu/cyclic.rs:6:9:
[INFO] [stdout] not yet implemented
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55df331bd515 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x55df331bd515 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55df331bd515 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55df331bd515 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55df331e3cfb - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x55df331e3cfb - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x55df331badff - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x55df331bd2ee - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55df331bd2ee - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55df331bec59 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x55df331be9ac - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x55df3318fc6f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x55df3318fc6f - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x55df331bf25b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x55df331bf25b - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x55df331bef9b - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:656:13
[INFO] [stdout]   16:     0x55df331bd9d9 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55df331bed07 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x55df33152823 - core::panicking::panic_fmt::h2ba8af99174d83ea
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55df331528cc - core::panicking::panic::h049fed9389bf889e
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:146:5
[INFO] [stdout]   20:     0x55df33155cb1 - gb_emul::cpu::cyclic::Cyclic::cycle::h965b39e19374a41f
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/cyclic.rs:6:9
[INFO] [stdout]   21:     0x55df331562d1 - gb_emul::cpu::Cpu::cycle::h1bc5a01f133975fe
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:206:9
[INFO] [stdout]   22:     0x55df33156250 - gb_emul::cpu::Cpu::get_memory::h3fd6a8043117853e
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:127:9
[INFO] [stdout]   23:     0x55df33155e23 - gb_emul::cpu::Cpu::current_byte::h41bbdc1b47387311
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:22:9
[INFO] [stdout]   24:     0x55df3315b8d6 - gb_emul::instructions::tests::display_instruction::h13a1dae8d0f6f259
[INFO] [stdout]                                at /opt/rustwide/workdir/src/instructions/mod.rs:122:32
[INFO] [stdout]   25:     0x55df3315b7b7 - gb_emul::instructions::tests::display_instruction::{{closure}}::h2c55cb0a3344c74a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/instructions/mod.rs:119:29
[INFO] [stdout]   26:     0x55df33153ee6 - core::ops::function::FnOnce::call_once::hcc5636f986f52296
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x55df3319458b - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x55df3319458b - test::__rust_begin_short_backtrace::hdcf0edcfa9080086
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18
[INFO] [stdout]   29:     0x55df33193c51 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60
[INFO] [stdout]   30:     0x55df33193c51 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   31:     0x55df33193c51 - std::panicking::try::do_call::h5e158f1ad8a5f983
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   32:     0x55df33193c51 - std::panicking::try::hea3411d60321c4de
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   33:     0x55df33193c51 - std::panic::catch_unwind::hafb7bb18bc47bbc7
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   34:     0x55df33193c51 - test::run_test_in_process::h74dd138dc7762d99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27
[INFO] [stdout]   35:     0x55df33193c51 - test::run_test::{{closure}}::h6b390822e63606cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43
[INFO] [stdout]   36:     0x55df3315c624 - test::run_test::{{closure}}::h6e11dba8131d354b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41
[INFO] [stdout]   37:     0x55df3315c624 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   38:     0x55df331610f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   39:     0x55df331610f2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   40:     0x55df331610f2 - std::panicking::try::do_call::hbf534c458cd858f0
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   41:     0x55df331610f2 - std::panicking::try::h65c18365a7b9ad90
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   42:     0x55df331610f2 - std::panic::catch_unwind::h21b25d4c69478c39
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   43:     0x55df331610f2 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   44:     0x55df331610f2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x55df331c342b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   46:     0x55df331c342b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   47:     0x55df331c342b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   48:     0x7fc3659eaac3 - <unknown>
[INFO] [stdout]   49:     0x7fc365a7ba04 - __clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     instructions::tests::display_instruction
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin gb_emul`
[INFO] running `Command { std: "docker" "inspect" "6d546766f41fe559a7dc0c954ed38a3021f6c9222d96c80908bc1a3c0075d524", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d546766f41fe559a7dc0c954ed38a3021f6c9222d96c80908bc1a3c0075d524", kill_on_drop: false }`
[INFO] [stdout] 6d546766f41fe559a7dc0c954ed38a3021f6c9222d96c80908bc1a3c0075d524
