[INFO] cloning repository https://github.com/Denec32/gameboy_emu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Denec32/gameboy_emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenec32%2Fgameboy_emu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenec32%2Fgameboy_emu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 815fae00fa64e05e67c75bc6780c460cde535e09
[INFO] testing Denec32/gameboy_emu against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenec32%2Fgameboy_emu" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Denec32/gameboy_emu
[INFO] finished tweaking git repo https://github.com/Denec32/gameboy_emu
[INFO] tweaked toml for git repo https://github.com/Denec32/gameboy_emu written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Denec32/gameboy_emu 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/Denec32/gameboy_emu 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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pixels v0.15.0
[INFO] [stderr]   Downloaded ultraviolet v0.9.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 01ff7017ae951f4b54e9dcfcdf3da12de6531b184abfb0700b51a1665abc51f8
[INFO] running `Command { std: "docker" "start" "-a" "01ff7017ae951f4b54e9dcfcdf3da12de6531b184abfb0700b51a1665abc51f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "01ff7017ae951f4b54e9dcfcdf3da12de6531b184abfb0700b51a1665abc51f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01ff7017ae951f4b54e9dcfcdf3da12de6531b184abfb0700b51a1665abc51f8", kill_on_drop: false }`
[INFO] [stdout] 01ff7017ae951f4b54e9dcfcdf3da12de6531b184abfb0700b51a1665abc51f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] a54354f28e66bb04d68ec47714ed7a622baa35a3a60165542c6c44af2daa4c7a
[INFO] running `Command { std: "docker" "start" "-a" "a54354f28e66bb04d68ec47714ed7a622baa35a3a60165542c6c44af2daa4c7a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling wayland-sys v0.31.6
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling wayland-client v0.31.10
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling bytemuck v1.23.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling wgpu-hal v0.19.5
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]    Compiling wgpu-core v0.19.4
[INFO] [stderr]    Compiling wgpu-types v0.19.2
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling xcursor v0.3.9
[INFO] [stderr]    Compiling glow v0.13.1
[INFO] [stderr]    Compiling profiling v1.0.17
[INFO] [stderr]    Compiling ttf-parser v0.25.1
[INFO] [stderr]    Compiling renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]    Compiling safe_arch v0.7.4
[INFO] [stderr]    Compiling tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling memmap2 v0.9.5
[INFO] [stderr]    Compiling wgpu v0.19.4
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling winit v0.30.11
[INFO] [stderr]    Compiling wide v0.7.33
[INFO] [stderr]    Compiling x11rb-protocol v0.13.1
[INFO] [stderr]    Compiling wayland-scanner v0.31.6
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling wayland-backend v0.3.10
[INFO] [stderr]    Compiling tiny-skia v0.11.4
[INFO] [stderr]    Compiling as-raw-xcb-connection v1.0.1
[INFO] [stderr]    Compiling xkbcommon-dl v0.4.2
[INFO] [stderr]    Compiling smol_str v0.2.2
[INFO] [stderr]    Compiling dpi v0.1.2
[INFO] [stderr]    Compiling pollster v0.3.0
[INFO] [stderr]    Compiling owned_ttf_parser v0.25.0
[INFO] [stderr]    Compiling ab_glyph v0.2.29
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling naga v0.19.2
[INFO] [stderr]    Compiling polling v3.8.0
[INFO] [stderr]    Compiling ultraviolet v0.9.2
[INFO] [stderr]    Compiling calloop v0.13.0
[INFO] [stderr]    Compiling wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling wayland-protocols v0.32.8
[INFO] [stderr]    Compiling wayland-cursor v0.31.10
[INFO] [stderr]    Compiling calloop-wayland-source v0.3.0
[INFO] [stderr]    Compiling x11rb v0.13.1
[INFO] [stderr]    Compiling wayland-protocols-wlr v0.3.8
[INFO] [stderr]    Compiling wayland-protocols-plasma v0.3.8
[INFO] [stderr]    Compiling sctk-adwaita v0.10.1
[INFO] [stderr]    Compiling pixels v0.15.0
[INFO] [stderr]    Compiling gameboy_emu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `n16`
[INFO] [stdout]    --> src/game_boy/cpu.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |     fn call_n16(&mut self, n16: u16) {
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_n16`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `adj` is assigned to, but never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let mut adj = 0;
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_adj` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `adj` is assigned to, but never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let mut adj = 0;
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_adj` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:230:17
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 adj += 0x6;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:233:17
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 adj += 0x60;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |                 adj += 0x6;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |                 adj += 0x60;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/game_boy/memory/vram_tile_data.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub(crate) fn read(&self, address: u16) -> u8 {
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/game_boy/memory.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/game_boy/memory.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x0000 ..= 0x3FFF => self.rom_bank_00[address as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 71 |             0x4000 ..= 0x7FFF => self.rom_bank_01[(address - 0x4000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 72 |             0x8000 ..= 0x9FFF => self.read_video_ram(address),  //self.video_ram[(address - 0x8000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 73 |             0xA000 ..= 0xBFFF => self.external_ram[(address - 0xA000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 88 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game_boy/memory.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/game_boy/memory.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout]  94 |             0x0000 ..= 0x3FFF => panic!("Cartridge ROM is readonly!"),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  95 |             0x4000 ..= 0x7FFF => panic!("Cartridge ROM is readonly!"),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  96 |             0x8000 ..= 0x9FFF => self.video_ram[(address - 0x8000) as usize] = value,
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  97 |             0xA000 ..= 0xBFFF => self.external_ram[(address - 0xA000) as usize] = value,
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 106 |             _ => {}
[INFO] [stdout]     |             ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Memory` is more private than the item `CPU::new`
[INFO] [stdout]   --> src/game_boy/cpu.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn new(memory: Rc<RefCell<Memory>>) -> CPU {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `CPU::new` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Memory` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/game_boy/memory.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub(crate) struct Memory {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ime` and `set_ime_after_instruction` are never read
[INFO] [stdout]   --> src/game_boy/cpu.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct CPU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     ime: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     set_ime_after_instruction: bool,
[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 associated items are never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:42:8
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl CPU {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  42 |     fn nop(&mut self) {}
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn adc_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn adc_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     fn add_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn add_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn add_hl_r16(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn add_hl(&mut self, value: u16) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn add_sp(&mut self, e8: i8) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn and_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     fn and_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn bit_u3_r8(&mut self, u3: i8, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     fn call_cc_n16(&mut self, cc: u8, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn call_n16(&mut self, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn ccf(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn cpl(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn daa(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     fn di(&mut self) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     fn ei(&mut self) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     fn halt(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 287 |     fn detect_bit_3_overflow(a: u8, b: u8) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 291 |     fn inc_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     fn inc_r16(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 314 |     fn jp_cc_n16(&mut self, cc: u8, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     fn jp_hl(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn ld_r16_a(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `LOWER_BITS`, `read_subtraction_flag`, and `read_half_carry_flag` are never used
[INFO] [stdout]   --> src/game_boy/cpu/registers.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Registers {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     const LOWER_BITS: u16 = 0b00000000_11111111;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub(crate) fn read_subtraction_flag(&self) -> bool { (self.f & Self::SUBTRACTION_FLAG_BITS) != 0 }
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 79 |     pub(crate) fn read_half_carry_flag(&self) -> bool { (self.f & Self::HALF_CARRY_FLAG_BITS) != 0 }
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObjectAttributeMemory` is never constructed
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct ObjectAttributeMemory {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ObjectAttributeMemory {
[INFO] [stdout]    | -------------------------- associated function in this implementation
[INFO] [stdout] 10 |     fn new() -> ObjectAttributeMemory {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Priority` is never used
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Priority {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Flip` is never used
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Flip {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DmgPalette` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum DmgPalette {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObjectAttributes` is never constructed
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct ObjectAttributes {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ObjectAttributes {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn new() -> ObjectAttributes {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tiles` is never read
[INFO] [stdout]  --> src/game_boy/memory/vram_tile_data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VramTileData {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 6 |     tiles: Vec<Tile>
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]  --> src/game_boy/memory/vram_tile_data/tile.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Tile {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 2 |     data : [[u8; 2]; 8]
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_vec` and `to_array` are never used
[INFO] [stdout]   --> src/game_boy/memory/vram_tile_data/tile.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Tile {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn from_vec(external_data: Vec<u8>) -> Tile {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn to_array(&self) -> [[u8; 8]; 8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s
[INFO] running `Command { std: "docker" "inspect" "a54354f28e66bb04d68ec47714ed7a622baa35a3a60165542c6c44af2daa4c7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a54354f28e66bb04d68ec47714ed7a622baa35a3a60165542c6c44af2daa4c7a", kill_on_drop: false }`
[INFO] [stdout] a54354f28e66bb04d68ec47714ed7a622baa35a3a60165542c6c44af2daa4c7a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3ed6b0d4d7eeb316ab7fe51fbb4588b466d2205e07ddf226b73951dc1cd3237b
[INFO] running `Command { std: "docker" "start" "-a" "3ed6b0d4d7eeb316ab7fe51fbb4588b466d2205e07ddf226b73951dc1cd3237b", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `n16`
[INFO] [stdout]    --> src/game_boy/cpu.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |     fn call_n16(&mut self, n16: u16) {
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_n16`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `adj` is assigned to, but never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let mut adj = 0;
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_adj` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `adj` is assigned to, but never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let mut adj = 0;
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_adj` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:230:17
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 adj += 0x6;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:233:17
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 adj += 0x60;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |                 adj += 0x6;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |                 adj += 0x60;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/game_boy/memory/vram_tile_data.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub(crate) fn read(&self, address: u16) -> u8 {
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/game_boy/memory.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/game_boy/memory.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x0000 ..= 0x3FFF => self.rom_bank_00[address as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 71 |             0x4000 ..= 0x7FFF => self.rom_bank_01[(address - 0x4000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 72 |             0x8000 ..= 0x9FFF => self.read_video_ram(address),  //self.video_ram[(address - 0x8000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 73 |             0xA000 ..= 0xBFFF => self.external_ram[(address - 0xA000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 88 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game_boy/memory.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/game_boy/memory.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout]  94 |             0x0000 ..= 0x3FFF => panic!("Cartridge ROM is readonly!"),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  95 |             0x4000 ..= 0x7FFF => panic!("Cartridge ROM is readonly!"),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  96 |             0x8000 ..= 0x9FFF => self.video_ram[(address - 0x8000) as usize] = value,
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  97 |             0xA000 ..= 0xBFFF => self.external_ram[(address - 0xA000) as usize] = value,
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 106 |             _ => {}
[INFO] [stdout]     |             ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Memory` is more private than the item `CPU::new`
[INFO] [stdout]   --> src/game_boy/cpu.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn new(memory: Rc<RefCell<Memory>>) -> CPU {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `CPU::new` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Memory` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/game_boy/memory.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub(crate) struct Memory {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ime` and `set_ime_after_instruction` are never read
[INFO] [stdout]   --> src/game_boy/cpu.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct CPU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     ime: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     set_ime_after_instruction: bool,
[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 associated items are never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:42:8
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl CPU {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  42 |     fn nop(&mut self) {}
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn adc_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn adc_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     fn add_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn add_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn add_hl_r16(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn add_hl(&mut self, value: u16) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn add_sp(&mut self, e8: i8) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn and_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     fn and_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn bit_u3_r8(&mut self, u3: i8, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     fn call_cc_n16(&mut self, cc: u8, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn call_n16(&mut self, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn ccf(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn cpl(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn daa(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     fn di(&mut self) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     fn ei(&mut self) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     fn halt(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 287 |     fn detect_bit_3_overflow(a: u8, b: u8) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 291 |     fn inc_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     fn inc_r16(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 314 |     fn jp_cc_n16(&mut self, cc: u8, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     fn jp_hl(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn ld_r16_a(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `LOWER_BITS`, `read_subtraction_flag`, and `read_half_carry_flag` are never used
[INFO] [stdout]   --> src/game_boy/cpu/registers.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Registers {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     const LOWER_BITS: u16 = 0b00000000_11111111;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub(crate) fn read_subtraction_flag(&self) -> bool { (self.f & Self::SUBTRACTION_FLAG_BITS) != 0 }
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 79 |     pub(crate) fn read_half_carry_flag(&self) -> bool { (self.f & Self::HALF_CARRY_FLAG_BITS) != 0 }
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling gameboy_emu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `ObjectAttributeMemory` is never constructed
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct ObjectAttributeMemory {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ObjectAttributeMemory {
[INFO] [stdout]    | -------------------------- associated function in this implementation
[INFO] [stdout] 10 |     fn new() -> ObjectAttributeMemory {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Priority` is never used
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Priority {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Flip` is never used
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Flip {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DmgPalette` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum DmgPalette {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObjectAttributes` is never constructed
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct ObjectAttributes {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ObjectAttributes {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn new() -> ObjectAttributes {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tiles` is never read
[INFO] [stdout]  --> src/game_boy/memory/vram_tile_data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VramTileData {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 6 |     tiles: Vec<Tile>
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]  --> src/game_boy/memory/vram_tile_data/tile.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Tile {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 2 |     data : [[u8; 2]; 8]
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_vec` and `to_array` are never used
[INFO] [stdout]   --> src/game_boy/memory/vram_tile_data/tile.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Tile {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub fn from_vec(external_data: Vec<u8>) -> Tile {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn to_array(&self) -> [[u8; 8]; 8] {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n16`
[INFO] [stdout]    --> src/game_boy/cpu.rs:197:28
[INFO] [stdout]     |
[INFO] [stdout] 197 |     fn call_n16(&mut self, n16: u16) {
[INFO] [stdout]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_n16`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `adj` is assigned to, but never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let mut adj = 0;
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_adj` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `adj` is assigned to, but never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:237:17
[INFO] [stdout]     |
[INFO] [stdout] 237 |             let mut adj = 0;
[INFO] [stdout]     |                 ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_adj` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:230:17
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 adj += 0x6;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:233:17
[INFO] [stdout]     |
[INFO] [stdout] 233 |                 adj += 0x60;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |                 adj += 0x6;
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `adj` is never read
[INFO] [stdout]    --> src/game_boy/cpu.rs:242:17
[INFO] [stdout]     |
[INFO] [stdout] 242 |                 adj += 0x60;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/game_boy/memory/vram_tile_data.rs:18:31
[INFO] [stdout]    |
[INFO] [stdout] 18 |     pub(crate) fn read(&self, address: u16) -> u8 {
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/game_boy/memory.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/game_boy/memory.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x0000 ..= 0x3FFF => self.rom_bank_00[address as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 71 |             0x4000 ..= 0x7FFF => self.rom_bank_01[(address - 0x4000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 72 |             0x8000 ..= 0x9FFF => self.read_video_ram(address),  //self.video_ram[(address - 0x8000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] 73 |             0xA000 ..= 0xBFFF => self.external_ram[(address - 0xA000) as usize],
[INFO] [stdout]    |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 88 |             _ => unreachable!(),
[INFO] [stdout]    |             ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/game_boy/memory.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             _ => {}
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/game_boy/memory.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout]  94 |             0x0000 ..= 0x3FFF => panic!("Cartridge ROM is readonly!"),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  95 |             0x4000 ..= 0x7FFF => panic!("Cartridge ROM is readonly!"),
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  96 |             0x8000 ..= 0x9FFF => self.video_ram[(address - 0x8000) as usize] = value,
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout]  97 |             0xA000 ..= 0xBFFF => self.external_ram[(address - 0xA000) as usize] = value,
[INFO] [stdout]     |             ----------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 106 |             _ => {}
[INFO] [stdout]     |             ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Memory` is more private than the item `CPU::new`
[INFO] [stdout]   --> src/game_boy/cpu.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn new(memory: Rc<RefCell<Memory>>) -> CPU {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `CPU::new` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Memory` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/game_boy/memory.rs:8:1
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub(crate) struct Memory {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ime` and `set_ime_after_instruction` are never read
[INFO] [stdout]   --> src/game_boy/cpu.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct CPU {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     ime: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     set_ime_after_instruction: bool,
[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 associated items are never used
[INFO] [stdout]    --> src/game_boy/cpu.rs:42:8
[INFO] [stdout]     |
[INFO] [stdout]  37 | impl CPU {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  42 |     fn nop(&mut self) {}
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn adc_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn adc_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     fn add_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     fn add_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     fn add_hl_r16(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn add_hl(&mut self, value: u16) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn add_sp(&mut self, e8: i8) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     fn and_a_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     fn and_a(&mut self, value: u8) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     fn bit_u3_r8(&mut self, u3: i8, r8: u8) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     fn call_cc_n16(&mut self, cc: u8, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 197 |     fn call_n16(&mut self, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     fn ccf(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     fn cpl(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn daa(&mut self) {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 275 |     fn di(&mut self) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     fn ei(&mut self) {
[INFO] [stdout]     |        ^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     fn halt(&mut self) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 287 |     fn detect_bit_3_overflow(a: u8, b: u8) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 291 |     fn inc_r8(&mut self, r8: u8) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     fn inc_r16(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 314 |     fn jp_cc_n16(&mut self, cc: u8, n16: u16) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     fn jp_hl(&mut self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 338 |     fn ld_r16_a(&mut self, r16: u8) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `LOWER_BITS`, `read_subtraction_flag`, and `read_half_carry_flag` are never used
[INFO] [stdout]   --> src/game_boy/cpu/registers.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl Registers {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     const LOWER_BITS: u16 = 0b00000000_11111111;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub(crate) fn read_subtraction_flag(&self) -> bool { (self.f & Self::SUBTRACTION_FLAG_BITS) != 0 }
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 79 |     pub(crate) fn read_half_carry_flag(&self) -> bool { (self.f & Self::HALF_CARRY_FLAG_BITS) != 0 }
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObjectAttributeMemory` is never constructed
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct ObjectAttributeMemory {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ObjectAttributeMemory {
[INFO] [stdout]    | -------------------------- associated function in this implementation
[INFO] [stdout] 10 |     fn new() -> ObjectAttributeMemory {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Priority` is never used
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:1:6
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum Priority {
[INFO] [stdout]   |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Flip` is never used
[INFO] [stdout]  --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | enum Flip {
[INFO] [stdout]   |      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DmgPalette` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | enum DmgPalette {
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ObjectAttributes` is never constructed
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct ObjectAttributes {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl ObjectAttributes {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 28 |     pub fn new() -> ObjectAttributes {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tiles` is never read
[INFO] [stdout]  --> src/game_boy/memory/vram_tile_data.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct VramTileData {
[INFO] [stdout]   |            ------------ field in this struct
[INFO] [stdout] 6 |     tiles: Vec<Tile>
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.03s
[INFO] running `Command { std: "docker" "inspect" "3ed6b0d4d7eeb316ab7fe51fbb4588b466d2205e07ddf226b73951dc1cd3237b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ed6b0d4d7eeb316ab7fe51fbb4588b466d2205e07ddf226b73951dc1cd3237b", kill_on_drop: false }`
[INFO] [stdout] 3ed6b0d4d7eeb316ab7fe51fbb4588b466d2205e07ddf226b73951dc1cd3237b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 083dae0b48531c395c016e55470477f1ab3fbd2cf304a69671821a6fb479a454
[INFO] running `Command { std: "docker" "start" "-a" "083dae0b48531c395c016e55470477f1ab3fbd2cf304a69671821a6fb479a454", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `n16`
[INFO] [stderr]    --> src/game_boy/cpu.rs:197:28
[INFO] [stderr]     |
[INFO] [stderr] 197 |     fn call_n16(&mut self, n16: u16) {
[INFO] [stderr]     |                            ^^^ help: if this is intentional, prefix it with an underscore: `_n16`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `adj` is assigned to, but never used
[INFO] [stderr]    --> src/game_boy/cpu.rs:228:17
[INFO] [stderr]     |
[INFO] [stderr] 228 |             let mut adj = 0;
[INFO] [stderr]     |                 ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_adj` instead
[INFO] [stderr] 
[INFO] [stderr] warning: variable `adj` is assigned to, but never used
[INFO] [stderr]    --> src/game_boy/cpu.rs:237:17
[INFO] [stderr]     |
[INFO] [stderr] 237 |             let mut adj = 0;
[INFO] [stderr]     |                 ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_adj` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `adj` is never read
[INFO] [stderr]    --> src/game_boy/cpu.rs:230:17
[INFO] [stderr]     |
[INFO] [stderr] 230 |                 adj += 0x6;
[INFO] [stderr]     |                 ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `adj` is never read
[INFO] [stderr]    --> src/game_boy/cpu.rs:233:17
[INFO] [stderr]     |
[INFO] [stderr] 233 |                 adj += 0x60;
[INFO] [stderr]     |                 ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `adj` is never read
[INFO] [stderr]    --> src/game_boy/cpu.rs:239:17
[INFO] [stderr]     |
[INFO] [stderr] 239 |                 adj += 0x6;
[INFO] [stderr]     |                 ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `adj` is never read
[INFO] [stderr]    --> src/game_boy/cpu.rs:242:17
[INFO] [stderr]     |
[INFO] [stderr] 242 |                 adj += 0x60;
[INFO] [stderr]     |                 ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `address`
[INFO] [stderr]   --> src/game_boy/memory/vram_tile_data.rs:18:31
[INFO] [stderr]    |
[INFO] [stderr] 18 |     pub(crate) fn read(&self, address: u16) -> u8 {
[INFO] [stderr]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/game_boy/memory.rs:88:13
[INFO] [stderr]    |
[INFO] [stderr] 88 |             _ => unreachable!(),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/game_boy/memory.rs:88:13
[INFO] [stderr]    |
[INFO] [stderr] 70 |             0x0000 ..= 0x3FFF => self.rom_bank_00[address as usize],
[INFO] [stderr]    |             ----------------- matches some of the same values
[INFO] [stderr] 71 |             0x4000 ..= 0x7FFF => self.rom_bank_01[(address - 0x4000) as usize],
[INFO] [stderr]    |             ----------------- matches some of the same values
[INFO] [stderr] 72 |             0x8000 ..= 0x9FFF => self.read_video_ram(address),  //self.video_ram[(address - 0x8000) as usize],
[INFO] [stderr]    |             ----------------- matches some of the same values
[INFO] [stderr] 73 |             0xA000 ..= 0xBFFF => self.external_ram[(address - 0xA000) as usize],
[INFO] [stderr]    |             ----------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 88 |             _ => unreachable!(),
[INFO] [stderr]    |             ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/game_boy/memory.rs:106:13
[INFO] [stderr]     |
[INFO] [stderr] 106 |             _ => {}
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/game_boy/memory.rs:106:13
[INFO] [stderr]     |
[INFO] [stderr]  94 |             0x0000 ..= 0x3FFF => panic!("Cartridge ROM is readonly!"),
[INFO] [stderr]     |             ----------------- matches some of the same values
[INFO] [stderr]  95 |             0x4000 ..= 0x7FFF => panic!("Cartridge ROM is readonly!"),
[INFO] [stderr]     |             ----------------- matches some of the same values
[INFO] [stderr]  96 |             0x8000 ..= 0x9FFF => self.video_ram[(address - 0x8000) as usize] = value,
[INFO] [stderr]     |             ----------------- matches some of the same values
[INFO] [stderr]  97 |             0xA000 ..= 0xBFFF => self.external_ram[(address - 0xA000) as usize] = value,
[INFO] [stderr]     |             ----------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 106 |             _ => {}
[INFO] [stderr]     |             ^ ...and 8 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: type `Memory` is more private than the item `CPU::new`
[INFO] [stderr]   --> src/game_boy/cpu.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 38 |     pub fn new(memory: Rc<RefCell<Memory>>) -> CPU {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `CPU::new` is reachable at visibility `pub`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `Memory` is only usable at visibility `pub(crate)`
[INFO] [stderr]   --> src/game_boy/memory.rs:8:1
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub(crate) struct Memory {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `ime` and `set_ime_after_instruction` are never read
[INFO] [stderr]   --> src/game_boy/cpu.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 29 | pub struct CPU {
[INFO] [stderr]    |            --- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 33 |     ime: bool,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 34 |     set_ime_after_instruction: bool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/game_boy/cpu.rs:42:8
[INFO] [stderr]     |
[INFO] [stderr]  37 | impl CPU {
[INFO] [stderr]     | -------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  42 |     fn nop(&mut self) {}
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 103 |     fn adc_a_r8(&mut self, r8: u8) {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 109 |     fn adc_a(&mut self, value: u8) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 121 |     fn add_a_r8(&mut self, r8: u8) {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 126 |     fn add_a(&mut self, value: u8) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 138 |     fn add_hl_r16(&mut self, r16: u8) {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 143 |     fn add_hl(&mut self, value: u16) {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 155 |     fn add_sp(&mut self, e8: i8) {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 167 |     fn and_a_r8(&mut self, r8: u8) {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 172 |     fn and_a(&mut self, value: u8) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 183 |     fn bit_u3_r8(&mut self, u3: i8, r8: u8) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 191 |     fn call_cc_n16(&mut self, cc: u8, n16: u16) {
[INFO] [stderr]     |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 197 |     fn call_n16(&mut self, n16: u16) {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 201 |     fn ccf(&mut self) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 219 |     fn cpl(&mut self) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 226 |     fn daa(&mut self) {
[INFO] [stderr]     |        ^^^
[INFO] [stderr] ...
[INFO] [stderr] 275 |     fn di(&mut self) {
[INFO] [stderr]     |        ^^
[INFO] [stderr] ...
[INFO] [stderr] 279 |     fn ei(&mut self) {
[INFO] [stderr]     |        ^^
[INFO] [stderr] ...
[INFO] [stderr] 283 |     fn halt(&mut self) {
[INFO] [stderr]     |        ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 287 |     fn detect_bit_3_overflow(a: u8, b: u8) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 291 |     fn inc_r8(&mut self, r8: u8) {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 303 |     fn inc_r16(&mut self, r16: u8) {
[INFO] [stderr]     |        ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 314 |     fn jp_cc_n16(&mut self, cc: u8, n16: u16) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 320 |     fn jp_hl(&mut self) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 338 |     fn ld_r16_a(&mut self, r16: u8) {
[INFO] [stderr]     |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `LOWER_BITS`, `read_subtraction_flag`, and `read_half_carry_flag` are never used
[INFO] [stderr]   --> src/game_boy/cpu/registers.rs:25:11
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl Registers {
[INFO] [stderr]    | -------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 25 |     const LOWER_BITS: u16 = 0b00000000_11111111;
[INFO] [stderr]    |           ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 78 |     pub(crate) fn read_subtraction_flag(&self) -> bool { (self.f & Self::SUBTRACTION_FLAG_BITS) != 0 }
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 79 |     pub(crate) fn read_half_carry_flag(&self) -> bool { (self.f & Self::HALF_CARRY_FLAG_BITS) != 0 }
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ObjectAttributeMemory` is never constructed
[INFO] [stderr]  --> src/game_boy/memory/object_attribute_memory.rs:5:8
[INFO] [stderr]   |
[INFO] [stderr] 5 | struct ObjectAttributeMemory {
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/game_boy/memory/object_attribute_memory.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl ObjectAttributeMemory {
[INFO] [stderr]    | -------------------------- associated function in this implementation
[INFO] [stderr] 10 |     fn new() -> ObjectAttributeMemory {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Priority` is never used
[INFO] [stderr]  --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:1:6
[INFO] [stderr]   |
[INFO] [stderr] 1 | enum Priority {
[INFO] [stderr]   |      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Flip` is never used
[INFO] [stderr]  --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:6:6
[INFO] [stderr]   |
[INFO] [stderr] 6 | enum Flip {
[INFO] [stderr]   |      ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `DmgPalette` is never used
[INFO] [stderr]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:11:6
[INFO] [stderr]    |
[INFO] [stderr] 11 | enum DmgPalette {
[INFO] [stderr]    |      ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ObjectAttributes` is never constructed
[INFO] [stderr]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct ObjectAttributes {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/game_boy/memory/object_attribute_memory/object_attributes.rs:28:12
[INFO] [stderr]    |
[INFO] [stderr] 27 | impl ObjectAttributes {
[INFO] [stderr]    | --------------------- associated function in this implementation
[INFO] [stderr] 28 |     pub fn new() -> ObjectAttributes {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `tiles` is never read
[INFO] [stderr]  --> src/game_boy/memory/vram_tile_data.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct VramTileData {
[INFO] [stderr]   |            ------------ field in this struct
[INFO] [stderr] 6 |     tiles: Vec<Tile>
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `data` is never read
[INFO] [stderr]  --> src/game_boy/memory/vram_tile_data/tile.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub struct Tile {
[INFO] [stderr]   |            ---- field in this struct
[INFO] [stderr] 2 |     data : [[u8; 2]; 8]
[INFO] [stderr]   |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `from_vec` and `to_array` are never used
[INFO] [stderr]   --> src/game_boy/memory/vram_tile_data/tile.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  5 | impl Tile {
[INFO] [stderr]    | --------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub fn from_vec(external_data: Vec<u8>) -> Tile {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub fn to_array(&self) -> [[u8; 8]; 8] {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gameboy_emu` (lib) generated 24 warnings (run `cargo fix --lib -p gameboy_emu` to apply 2 suggestions)
[INFO] [stderr] warning: `gameboy_emu` (lib test) generated 22 warnings (22 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gameboy_emu-3f6e13b45528e15e)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gameboy_emu-5b23aff27051a4dd)
[INFO] [stdout] running 4 tests
[INFO] [stdout] test game_boy::cpu::registers::tests::read_lo ... ok
[INFO] [stdout] test game_boy::cpu::registers::tests::read_hi ... ok
[INFO] [stdout] test game_boy::memory::vram_tile_data::tile::tests::test_tile ... ok
[INFO] [stdout] test game_boy::cpu::registers::tests::read_hl ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests gameboy_emu
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "083dae0b48531c395c016e55470477f1ab3fbd2cf304a69671821a6fb479a454", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "083dae0b48531c395c016e55470477f1ab3fbd2cf304a69671821a6fb479a454", kill_on_drop: false }`
[INFO] [stdout] 083dae0b48531c395c016e55470477f1ab3fbd2cf304a69671821a6fb479a454
