[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#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBaptistemontan%2Fgb_emul" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Baptistemontan/gb_emul on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f5e5f6db917f710d052420235797fe9ccba85232f18f26fb07aea615e24c199
[INFO] running `Command { std: "docker" "start" "-a" "8f5e5f6db917f710d052420235797fe9ccba85232f18f26fb07aea615e24c199", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f5e5f6db917f710d052420235797fe9ccba85232f18f26fb07aea615e24c199", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f5e5f6db917f710d052420235797fe9ccba85232f18f26fb07aea615e24c199", kill_on_drop: false }`
[INFO] [stdout] 8f5e5f6db917f710d052420235797fe9ccba85232f18f26fb07aea615e24c199
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1608ace2459e83f9733bf3e00d778c9fa8298bcd37027d24b2e999295e6d0cd1
[INFO] running `Command { std: "docker" "start" "-a" "1608ace2459e83f9733bf3e00d778c9fa8298bcd37027d24b2e999295e6d0cd1", 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` 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)]` 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)]` 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: 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: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.39s
[INFO] running `Command { std: "docker" "inspect" "1608ace2459e83f9733bf3e00d778c9fa8298bcd37027d24b2e999295e6d0cd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1608ace2459e83f9733bf3e00d778c9fa8298bcd37027d24b2e999295e6d0cd1", kill_on_drop: false }`
[INFO] [stdout] 1608ace2459e83f9733bf3e00d778c9fa8298bcd37027d24b2e999295e6d0cd1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d666488a01e218f4a8908df1c577782ad2d0960d9d8a94b11e6adafe27a1ae56
[INFO] running `Command { std: "docker" "start" "-a" "d666488a01e218f4a8908df1c577782ad2d0960d9d8a94b11e6adafe27a1ae56", 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` 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)]` 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] running `Command { std: "docker" "inspect" "d666488a01e218f4a8908df1c577782ad2d0960d9d8a94b11e6adafe27a1ae56", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d666488a01e218f4a8908df1c577782ad2d0960d9d8a94b11e6adafe27a1ae56", kill_on_drop: false }`
[INFO] [stdout] d666488a01e218f4a8908df1c577782ad2d0960d9d8a94b11e6adafe27a1ae56
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 635f23e18a448df24cd733080a0fb8799f2baa9741470e14d7063a139cf68753
[INFO] running `Command { std: "docker" "start" "-a" "635f23e18a448df24cd733080a0fb8799f2baa9741470e14d7063a139cf68753", 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` 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)]` 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.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gb_emul-2ecbdfac8049301a)
[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' panicked at src/cpu/cyclic.rs:6:9:
[INFO] [stdout] not yet implemented
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e6574c18ad2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5e6574c18ad2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5e6574c18ad2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5e6574c18ad2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5e6574c3db63 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5e6574c3db63 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x5e6574c15cb3 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5e6574c15cb3 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5e6574c18922 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5e6574c1a03c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5e6574c19e92 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5e6574be1f74 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5e6574be1f74 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5e6574c1aa1b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5e6574c1aa1b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5e6574c1a7b6 - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:699:13
[INFO] [stdout]   16:     0x5e6574c18fc9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x5e6574c1a47d - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5e6574c3c6e0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5e6574c3c74c - core::panicking::panic::h318cb8731d7e290d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:145:5
[INFO] [stdout]   20:     0x5e6574ba883a - gb_emul::cpu::cyclic::Cyclic::cycle::hd436fe90a484eb5d
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/cyclic.rs:6:9
[INFO] [stdout]   21:     0x5e6574ba883a - gb_emul::cpu::Cpu::cycle::h7c19b616e5cd12a9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:206:21
[INFO] [stdout]   22:     0x5e6574ba883a - gb_emul::cpu::Cpu::get_memory::h7d82566bb64163e7
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:127:14
[INFO] [stdout]   23:     0x5e6574ba883a - gb_emul::cpu::Cpu::current_byte::hce18b830be634f8a
[INFO] [stdout]                                at /opt/rustwide/workdir/src/cpu/mod.rs:22:14
[INFO] [stdout]   24:     0x5e6574ba8978 - gb_emul::instructions::tests::display_instruction::h81c926b2bd77617c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/instructions/mod.rs:122:36
[INFO] [stdout]   25:     0x5e6574ba87e9 - gb_emul::instructions::tests::display_instruction::{{closure}}::hc10b9c324a4e2777
[INFO] [stdout]                                at /opt/rustwide/workdir/src/instructions/mod.rs:119:29
[INFO] [stdout]   26:     0x5e6574ba87e9 - core::ops::function::FnOnce::call_once::h6246ee411f0f0fe4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x5e6574be76fb - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x5e6574be76fb - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   29:     0x5e6574be68ee - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   30:     0x5e6574be68ee - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   31:     0x5e6574be68ee - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   32:     0x5e6574be68ee - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   33:     0x5e6574be68ee - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   34:     0x5e6574be68ee - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   35:     0x5e6574be68ee - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   36:     0x5e6574baa464 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   37:     0x5e6574baa464 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   38:     0x5e6574bade3a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   39:     0x5e6574bade3a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   40:     0x5e6574bade3a - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   41:     0x5e6574bade3a - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   42:     0x5e6574bade3a - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   43:     0x5e6574bade3a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   44:     0x5e6574bade3a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5e6574c1d977 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   46:     0x5e6574c1d977 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   47:     0x5e6574c1d977 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   48:     0x79408b5f8aa4 - <unknown>
[INFO] [stdout]   49:     0x79408b685a34 - 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.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin gb_emul`
[INFO] running `Command { std: "docker" "inspect" "635f23e18a448df24cd733080a0fb8799f2baa9741470e14d7063a139cf68753", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "635f23e18a448df24cd733080a0fb8799f2baa9741470e14d7063a139cf68753", kill_on_drop: false }`
[INFO] [stdout] 635f23e18a448df24cd733080a0fb8799f2baa9741470e14d7063a139cf68753
