[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#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[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] 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] validating manifest of git repo https://github.com/Baptistemontan/gb_emul on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8354bf83e8c6ba9cf05755f92de911770f460c8c41729d90ae0e0d5ac64dec2b
[INFO] running `Command { std: "docker" "start" "-a" "8354bf83e8c6ba9cf05755f92de911770f460c8c41729d90ae0e0d5ac64dec2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8354bf83e8c6ba9cf05755f92de911770f460c8c41729d90ae0e0d5ac64dec2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8354bf83e8c6ba9cf05755f92de911770f460c8c41729d90ae0e0d5ac64dec2b", kill_on_drop: false }`
[INFO] [stdout] 8354bf83e8c6ba9cf05755f92de911770f460c8c41729d90ae0e0d5ac64dec2b
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a1e01dd3af1e59961a8208f92f11e9a4be30092902c8f90a72a22043c2e6c3d
[INFO] running `Command { std: "docker" "start" "-a" "2a1e01dd3af1e59961a8208f92f11e9a4be30092902c8f90a72a22043c2e6c3d", 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Flags` and `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)]` (part of `#[warn(unused)]`) 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: struct `Cpu` is never constructed
[INFO] [stdout]   --> src/cpu/mod.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Cpu {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: struct `Cyclic` is never constructed
[INFO] [stdout]  --> src/cpu/cyclic.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Cyclic {}
[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: struct `Registers` is never constructed
[INFO] [stdout]  --> src/cpu/registers.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Registers {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Register` is never used
[INFO] [stdout]   --> src/cpu/registers.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum Register {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LongRegister` is never used
[INFO] [stdout]   --> src/cpu/registers.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum LongRegister {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Flags` is never used
[INFO] [stdout]   --> src/cpu/registers.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum Flags {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SetFlags` is never constructed
[INFO] [stdout]   --> src/cpu/registers.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct SetFlags {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `ZERO_MASK`, `SUBSTRACT_MASK`, `HALF_CARRY_MASK`, and `CARRY_MASK` are never used
[INFO] [stdout]   --> src/cpu/registers.rs:93:11
[INFO] [stdout]    |
[INFO] [stdout] 92 | impl Flags {
[INFO] [stdout]    | ---------- associated constants in this implementation
[INFO] [stdout] 93 |     const ZERO_MASK: u8 = 0x80;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 94 |     const SUBSTRACT_MASK: u8 = 0x40;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 95 |     const HALF_CARRY_MASK: u8 = 0x20;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 96 |     const CARRY_MASK: u8 = 0x10;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cpu/registers.rs:145:15
[INFO] [stdout]     |
[INFO] [stdout] 144 | impl Registers {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 145 |     pub const REGISTERS: [Register; 8] = [
[INFO] [stdout]     |               ^^^^^^^^^
[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: trait `AccesBigEndianBytesU16` is never used
[INFO] [stdout]  --> src/help_traits.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait AccesBigEndianBytesU16: Into<u16> {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Instruction` is never used
[INFO] [stdout]   --> src/instructions/mod.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub enum Instruction {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FetchRegister` is never used
[INFO] [stdout]   --> src/instructions/mod.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub enum FetchRegister {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[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: enum `ArithmeticInstruction` is never used
[INFO] [stdout]  --> src/instructions/arithmetic.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum ArithmeticInstruction {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^^^^^^
[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: enum `TargetBit` is never used
[INFO] [stdout]  --> src/instructions/bit.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum TargetBit {
[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: enum `BitInstruction` is never used
[INFO] [stdout]   --> src/instructions/bit.rs:52:10
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub enum BitInstruction {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[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: enum `ControlFlowCondition` is never used
[INFO] [stdout]  --> src/instructions/control_flow.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum ControlFlowCondition {
[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: enum `ControlFlowInstruction` is never used
[INFO] [stdout]   --> src/instructions/control_flow.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub enum ControlFlowInstruction {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[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: enum `LoadInstruction` is never used
[INFO] [stdout]  --> src/instructions/load.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum LoadInstruction {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^
[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: enum `MiscInstruction` is never used
[INFO] [stdout]   --> src/instructions/miscellaneous.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum MiscInstruction {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[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: enum `RotateShiftInstruction` is never used
[INFO] [stdout]   --> src/instructions/rotate_shift.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum RotateShiftInstruction {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[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: struct `Memory` is never constructed
[INFO] [stdout]  --> src/memory/mod.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Memory {
[INFO] [stdout]   |            ^^^^^^
[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:79:11
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl Memory {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  79 |     const ROM_BANK_START: u16 = 0x0000;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout]  80 |     const SWITCHABLE_ROM_BANK_START: u16 = 0x4000;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  81 |     const VRAM_START: u16 = 0x8000;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout]  82 |     const SWITCHABLE_RAM_BANK_START: u16 = 0xA000;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  83 |     const INTERNAL_RAM_START: u16 = 0xC000;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  84 |     const INTERNAL_RAM_ECHO_START: u16 = 0xE000;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  85 |     const OAM_START: u16 = 0xFE00;
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout]  86 |     const EMPTY_START: u16 = 0xFEA0;
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]  87 |     const IO_PORTS_START: u16 = 0xFF00;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout]  88 |     const EMPTY_TWO_START: u16 = 0xFF4C;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout]  89 |     const INTERNAL_RAM_TWO_START: u16 = 0xFF80;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  90 |     const INTERRUPT_ENABLE_REGISTER_START: u16 = 0xFFFF;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  91 |
[INFO] [stdout]  92 |     const ROM_BANK_SIZE: usize = (Self::SWITCHABLE_ROM_BANK_START - Self::ROM_BANK_START) as usize;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout]  93 |     const SWITCHABLE_ROM_BANK_SIZE: usize =
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  94 |         (Self::VRAM_START - Self::SWITCHABLE_ROM_BANK_START) as usize;
[INFO] [stdout]  95 |     const VRAM_SIZE: usize = (Self::SWITCHABLE_RAM_BANK_START - Self::VRAM_START) as usize;
[INFO] [stdout]     |           ^^^^^^^^^
[INFO] [stdout]  96 |     const SWITCHABLE_RAM_BANK_SIZE: usize =
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  97 |         (Self::INTERNAL_RAM_START - Self::SWITCHABLE_RAM_BANK_START) as usize;
[INFO] [stdout]  98 |     const INTERNAL_RAM_SIZE: usize =
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]  99 |         (Self::INTERNAL_RAM_ECHO_START - Self::INTERNAL_RAM_START) as usize;
[INFO] [stdout] 100 |     const INTERNAL_RAM_ECHO_SIZE_U16: u16 = Self::OAM_START - Self::INTERNAL_RAM_ECHO_START;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     const INTERNAL_RAM_ECHO_SIZE: usize = Self::INTERNAL_RAM_ECHO_SIZE_U16 as usize;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 102 |     const OAM_SIZE: usize = (Self::EMPTY_START - Self::OAM_START) as usize;
[INFO] [stdout]     |           ^^^^^^^^
[INFO] [stdout] 103 |     const EMPTY_SIZE: usize = (Self::IO_PORTS_START - Self::EMPTY_START) as usize;
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout] 104 |     const IO_PORTS_SIZE: usize = (Self::EMPTY_TWO_START - Self::IO_PORTS_START) as usize;
[INFO] [stdout]     |           ^^^^^^^^^^^^^
[INFO] [stdout] 105 |     const EMPTY_TWO_SIZE: usize = (Self::INTERNAL_RAM_TWO_START - Self::EMPTY_TWO_START) as usize;
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout] 106 |     const INTERNAL_RAM_TWO_SIZE: usize =
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^
[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: struct `MemorySection` is never constructed
[INFO] [stdout]  --> src/memory/memory_section.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct MemorySection<const N: usize> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, and `set` are never used
[INFO] [stdout]   --> src/memory/memory_section.rs:9:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl<const N: usize> MemorySection<N> {
[INFO] [stdout]    | ------------------------------------- associated items in this implementation
[INFO] [stdout]  9 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] running `Command { std: "docker" "inspect" "2a1e01dd3af1e59961a8208f92f11e9a4be30092902c8f90a72a22043c2e6c3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a1e01dd3af1e59961a8208f92f11e9a4be30092902c8f90a72a22043c2e6c3d", kill_on_drop: false }`
[INFO] [stdout] 2a1e01dd3af1e59961a8208f92f11e9a4be30092902c8f90a72a22043c2e6c3d
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5627d2c147e25b30b680af9b5d9fd9cffe75db7594082c744c9c4126d3d30e7
[INFO] running `Command { std: "docker" "start" "-a" "f5627d2c147e25b30b680af9b5d9fd9cffe75db7594082c744c9c4126d3d30e7", 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Flags` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Flags` is never used
[INFO] [stdout]   --> src/cpu/registers.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum Flags {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SetFlags` is never constructed
[INFO] [stdout]   --> src/cpu/registers.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct SetFlags {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `ZERO_MASK`, `SUBSTRACT_MASK`, `HALF_CARRY_MASK`, and `CARRY_MASK` are never used
[INFO] [stdout]   --> src/cpu/registers.rs:93:11
[INFO] [stdout]    |
[INFO] [stdout] 92 | impl Flags {
[INFO] [stdout]    | ---------- associated constants in this implementation
[INFO] [stdout] 93 |     const ZERO_MASK: u8 = 0x80;
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 94 |     const SUBSTRACT_MASK: u8 = 0x40;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 95 |     const HALF_CARRY_MASK: u8 = 0x20;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 96 |     const CARRY_MASK: u8 = 0x10;
[INFO] [stdout]    |           ^^^^^^^^^^
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] running `Command { std: "docker" "inspect" "f5627d2c147e25b30b680af9b5d9fd9cffe75db7594082c744c9c4126d3d30e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5627d2c147e25b30b680af9b5d9fd9cffe75db7594082c744c9c4126d3d30e7", kill_on_drop: false }`
[INFO] [stdout] f5627d2c147e25b30b680af9b5d9fd9cffe75db7594082c744c9c4126d3d30e7
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 755c66d2643f6332bfecac990c933b597f2a326c23079fd45ef21b1e0fd15add
[INFO] running `Command { std: "docker" "start" "-a" "755c66d2643f6332bfecac990c933b597f2a326c23079fd45ef21b1e0fd15add", 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Flags` and `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Flags` is never used
[INFO] [stderr]   --> src/cpu/registers.rs:43:10
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub enum Flags {
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SetFlags` is never constructed
[INFO] [stderr]   --> src/cpu/registers.rs:68:12
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub struct SetFlags {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated constants `ZERO_MASK`, `SUBSTRACT_MASK`, `HALF_CARRY_MASK`, and `CARRY_MASK` are never used
[INFO] [stderr]   --> src/cpu/registers.rs:93:11
[INFO] [stderr]    |
[INFO] [stderr] 92 | impl Flags {
[INFO] [stderr]    | ---------- associated constants in this implementation
[INFO] [stderr] 93 |     const ZERO_MASK: u8 = 0x80;
[INFO] [stderr]    |           ^^^^^^^^^
[INFO] [stderr] 94 |     const SUBSTRACT_MASK: u8 = 0x40;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^
[INFO] [stderr] 95 |     const HALF_CARRY_MASK: u8 = 0x20;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^
[INFO] [stderr] 96 |     const CARRY_MASK: u8 = 0x10;
[INFO] [stderr]    |           ^^^^^^^^^^
[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 26 warnings (run `cargo fix --bin "gb_emul" -p gb_emul --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gb_emul-91ddf1296b89a34b)
[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] 
[INFO] [stdout] thread 'instructions::tests::display_instruction' (25) panicked at src/cpu/cyclic.rs:6:9:
[INFO] [stdout] not yet implemented
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x645c49a873d2 - std::backtrace_rs::backtrace::libunwind::trace::h786de35fecf3582f
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x645c49a873d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h4a7da1a2a64387f1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x645c49a873d2 - std::sys::backtrace::_print_fmt::h6bd7d500070c788c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x645c49a873d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h6d82c1afff976903
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x645c49a9759f - core::fmt::rt::Argument::fmt::hc4ce6d643d397690
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x645c49a9759f - core::fmt::write::hb1e7ca88b6a3936e
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/fmt/mod.rs:1469:25
[INFO] [stdout]    6:     0x645c49a54d73 - std::io::default_write_fmt::haffd49d96f1984a8
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x645c49a54d73 - std::io::Write::write_fmt::h027871c57cf57c01
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x645c49a60c42 - std::sys::backtrace::BacktraceLock::print::ha2430613ee79d059
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x645c49a6571f - std::panicking::default_hook::{{closure}}::hdbd2db9e5c303cf6
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:301:27
[INFO] [stdout]   10:     0x645c49a655b1 - std::panicking::default_hook::hed93c70cba5fdcf0
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:325:9
[INFO] [stdout]   11:     0x645c49a2877e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd0ee8b569efc6a07
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   12:     0x645c49a2877e - test::test_main_with_exit_callback::{{closure}}::hf10864b576ecd15d
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x645c49a65d2f - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h3a55ca34534c0d00
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2099:9
[INFO] [stdout]   14:     0x645c49a65d2f - std::panicking::panic_with_hook::h3862d766c2cec19b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:842:13
[INFO] [stdout]   15:     0x645c49a65b56 - std::panicking::panic_handler::{{closure}}::hb95eb402b5e28ee1
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:700:13
[INFO] [stdout]   16:     0x645c49a60d79 - std::sys::backtrace::__rust_end_short_backtrace::hf73a26dc1835d85a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x645c49a4966d - __rustc[6ed5915ee467787]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:698:5
[INFO] [stdout]   18:     0x645c49a9edd0 - core::panicking::panic_fmt::h3454303eb8e6f7cd
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x645c49a9edac - core::panicking::panic::hb290d809a6d6b140
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x645c49a0562e - gb_emul::cpu::cyclic::Cyclic::cycle::hd7c8af46f621b630
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/cyclic.rs:6:9
[INFO] [stdout]   21:     0x645c49a055a1 - gb_emul::cpu::Cpu::cycle::hdd1e48fca2d2b123
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:206:21
[INFO] [stdout]   22:     0x645c49a051d0 - gb_emul::cpu::Cpu::get_memory::h368af7343c1695cf
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:127:14
[INFO] [stdout]   23:     0x645c49a05283 - gb_emul::cpu::Cpu::current_byte::h694ac1810e61e8fa
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:22:14
[INFO] [stdout]   24:     0x645c49a04c00 - gb_emul::instructions::tests::display_instruction::h8e61c4dcd239fb4d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/instructions/mod.rs:122:36
[INFO] [stdout]   25:     0x645c49a05157 - gb_emul::instructions::tests::display_instruction::{{closure}}::h94d17e3ba0f62cda
[INFO] [stdout]                                at /opt/rustwide/workdir/src/instructions/mod.rs:119:29
[INFO] [stdout]   26:     0x645c49a002c6 - core::ops::function::FnOnce::call_once::h02441edccf0bde09
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x645c49a2855b - core::ops::function::FnOnce::call_once::ha729ee35d2fab541
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x645c49a2855b - test::__rust_begin_short_backtrace::ha40f4db8207e1111
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:663:18
[INFO] [stdout]   29:     0x645c49a3c5dd - test::run_test_in_process::{{closure}}::hc1b77cda5d44f0f3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:74
[INFO] [stdout]   30:     0x645c49a3c5dd - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h1dbea1de64785521
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   31:     0x645c49a3c5dd - std::panicking::catch_unwind::do_call::hd5febe9affd5a1b3
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   32:     0x645c49a3c5dd - std::panicking::catch_unwind::h51ea89627559b6f4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   33:     0x645c49a3c5dd - std::panic::catch_unwind::hb8b8c2367cae3d66
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   34:     0x645c49a3c5dd - test::run_test_in_process::ha5b55801407ea100
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:686:27
[INFO] [stdout]   35:     0x645c49a3c5dd - test::run_test::{{closure}}::h0b9d4072b527abf5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:607:43
[INFO] [stdout]   36:     0x645c49a15af4 - test::run_test::{{closure}}::hb1056b5731205822
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/test/src/lib.rs:637:41
[INFO] [stdout]   37:     0x645c49a15af4 - std::sys::backtrace::__rust_begin_short_backtrace::hb61ff5a34023c7ef
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   38:     0x645c49a1942a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hb0a83c0e8b353cff
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:562:17
[INFO] [stdout]   39:     0x645c49a1942a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb4f32cb008535298
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   40:     0x645c49a1942a - std::panicking::catch_unwind::do_call::h16d110e4fc35789a
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:590:40
[INFO] [stdout]   41:     0x645c49a1942a - std::panicking::catch_unwind::hea9118f355699c4b
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panicking.rs:553:19
[INFO] [stdout]   42:     0x645c49a1942a - std::panic::catch_unwind::hf4b3c2a06d3f42f5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/panic.rs:359:14
[INFO] [stdout]   43:     0x645c49a1942a - std::thread::Builder::spawn_unchecked_::{{closure}}::h3f4cb733a52d53d5
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/thread/mod.rs:560:30
[INFO] [stdout]   44:     0x645c49a1942a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4052f0967b37caeb
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x645c49a5c17f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7ec433abd3f148b4
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/alloc/src/boxed.rs:2085:9
[INFO] [stdout]   46:     0x645c49a5c17f - std::sys::thread::unix::Thread::new::thread_start::he514622d3d7ba65c
[INFO] [stdout]                                at /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/std/src/sys/thread/unix.rs:124:17
[INFO] [stdout]   47:     0x71bb5262baa4 - <unknown>
[INFO] [stdout]   48:     0x71bb526b8a64 - clone
[INFO] [stdout]   49:                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.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin gb_emul`
[INFO] running `Command { std: "docker" "inspect" "755c66d2643f6332bfecac990c933b597f2a326c23079fd45ef21b1e0fd15add", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "755c66d2643f6332bfecac990c933b597f2a326c23079fd45ef21b1e0fd15add", kill_on_drop: false }`
[INFO] [stdout] 755c66d2643f6332bfecac990c933b597f2a326c23079fd45ef21b1e0fd15add
