[INFO] cloning repository https://github.com/sudfud/rugb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sudfud/rugb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudfud%2Frugb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudfud%2Frugb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1c5806a447b57ee070d3d070300f68c79ddfbcd [INFO] checking sudfud/rugb against master#d5419f1e97b90741d51841f800d3c697c662567d for pr-147565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsudfud%2Frugb" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sudfud/rugb [INFO] finished tweaking git repo https://github.com/sudfud/rugb [INFO] tweaked toml for git repo https://github.com/sudfud/rugb written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sudfud/rugb on toolchain d5419f1e97b90741d51841f800d3c697c662567d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5419f1e97b90741d51841f800d3c697c662567d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sudfud/rugb 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" "+d5419f1e97b90741d51841f800d3c697c662567d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.41 [INFO] [stderr] Downloaded sdl2 v0.38.0 [INFO] [stderr] Downloaded sdl2-sys v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d5419f1e97b90741d51841f800d3c697c662567d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f35b339c31597f2e4187017b58717b7ff641d03ec48e42f7837c8ee2a9b21ee4 [INFO] running `Command { std: "docker" "start" "-a" "f35b339c31597f2e4187017b58717b7ff641d03ec48e42f7837c8ee2a9b21ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f35b339c31597f2e4187017b58717b7ff641d03ec48e42f7837c8ee2a9b21ee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f35b339c31597f2e4187017b58717b7ff641d03ec48e42f7837c8ee2a9b21ee4", kill_on_drop: false }` [INFO] [stdout] f35b339c31597f2e4187017b58717b7ff641d03ec48e42f7837c8ee2a9b21ee4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d5419f1e97b90741d51841f800d3c697c662567d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22cefea83b6d32cf60f5c4a0d5f8c01c33aa9459e2e286e0b182d8bb9b0db3dc [INFO] running `Command { std: "docker" "start" "-a" "22cefea83b6d32cf60f5c4a0d5f8c01c33aa9459e2e286e0b182d8bb9b0db3dc", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling sdl2-sys v0.38.0 [INFO] [stderr] Checking rugb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/emulator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/emulator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/emulator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/emulator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/emulator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/emulator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::event::Event` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::event::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/emulator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn write_rom(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | fn write_rom(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | fn read_ram(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | fn write_ram(&self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | fn write_ram(&self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/emulator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn write_rom(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | fn write_rom(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | fn read_ram(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | fn write_ram(&self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/emulator/cartridge/mbc/mbc0.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | fn write_ram(&self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CartridgeError` is more private than the item `EmulatorError::Cartridge::0` [INFO] [stdout] --> src/emulator.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | Cartridge(CartridgeError), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `EmulatorError::Cartridge::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CartridgeError` is only usable at visibility `pub(in crate::emulator)` [INFO] [stdout] --> src/emulator/cartridge.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) enum CartridgeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CPUError` is more private than the item `EmulatorError::CPU::0` [INFO] [stdout] --> src/emulator.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | CPU(CPUError) [INFO] [stdout] | ^^^^^^^^ field `EmulatorError::CPU::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CPUError` is only usable at visibility `pub(in crate::emulator)` [INFO] [stdout] --> src/emulator/cpu.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) enum CPUError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | 0x40 => self.registers.b = self.registers.b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | 0x49 => self.registers.c = self.registers.c, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:455:21 [INFO] [stdout] | [INFO] [stdout] 455 | 0x52 => self.registers.d = self.registers.d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | 0x5B => self.registers.e = self.registers.e, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CartridgeError` is more private than the item `EmulatorError::Cartridge::0` [INFO] [stdout] --> src/emulator.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | Cartridge(CartridgeError), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `EmulatorError::Cartridge::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CartridgeError` is only usable at visibility `pub(in crate::emulator)` [INFO] [stdout] --> src/emulator/cartridge.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(super) enum CartridgeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CPUError` is more private than the item `EmulatorError::CPU::0` [INFO] [stdout] --> src/emulator.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | CPU(CPUError) [INFO] [stdout] | ^^^^^^^^ field `EmulatorError::CPU::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CPUError` is only usable at visibility `pub(in crate::emulator)` [INFO] [stdout] --> src/emulator/cpu.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) enum CPUError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:401:21 [INFO] [stdout] | [INFO] [stdout] 401 | 0x40 => self.registers.b = self.registers.b, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | 0x49 => self.registers.c = self.registers.c, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:455:21 [INFO] [stdout] | [INFO] [stdout] 455 | 0x52 => self.registers.d = self.registers.d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | 0x5B => self.registers.e = self.registers.e, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:509:21 [INFO] [stdout] | [INFO] [stdout] 509 | 0x64 => self.registers.h = self.registers.h, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | 0x6D => self.registers.l = self.registers.l, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | 0x7F => self.registers.a = self.registers.a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_WIDTH` is never used [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SCREEN_WIDTH: u32 = 160; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const SCREEN_HEIGHT: u32 = 144; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SDL` is never constructed [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum RugbError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 20 | Emulator(EmulatorError), [INFO] [stdout] 21 | SDL(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RugbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pc` and `halted` are never used [INFO] [stdout] --> src/emulator/cpu.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 36 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub(super) fn pc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(super) fn halted(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_START` is never used [INFO] [stdout] --> src/emulator/cpu/mmu.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const IO_START: u16 = 0xFF00; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `joypad` is never read [INFO] [stdout] --> src/emulator/cpu/mmu.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) struct MMU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | joypad: Joypad, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/emulator/cpu/mmu/joypad.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) struct Joypad { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 2 | data: u8 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/emulator/cpu/mmu/joypad.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 5 | impl Joypad { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub(super) fn read(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub(super) fn write(&mut self, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/emulator/cpu/registers.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub(super) fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub(super) fn inc_bc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(super) fn dec_bc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub(super) fn inc_de(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub(super) fn dec_de(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(super) fn inc_hl(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub(super) fn dec_hl(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:509:21 [INFO] [stdout] | [INFO] [stdout] 509 | 0x64 => self.registers.h = self.registers.h, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:536:21 [INFO] [stdout] | [INFO] [stdout] 536 | 0x6D => self.registers.l = self.registers.l, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless assignment of field of type `u8` to itself [INFO] [stdout] --> src/emulator/cpu.rs:590:21 [INFO] [stdout] | [INFO] [stdout] 590 | 0x7F => self.registers.a = self.registers.a, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_WIDTH` is never used [INFO] [stdout] --> src/main.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const SCREEN_WIDTH: u32 = 160; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_HEIGHT` is never used [INFO] [stdout] --> src/main.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const SCREEN_HEIGHT: u32 = 144; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SDL` is never constructed [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum RugbError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 20 | Emulator(EmulatorError), [INFO] [stdout] 21 | SDL(String), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RugbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pc` and `halted` are never used [INFO] [stdout] --> src/emulator/cpu.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 36 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub(super) fn pc(&self) -> u16 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub(super) fn halted(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IO_START` is never used [INFO] [stdout] --> src/emulator/cpu/mmu.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const IO_START: u16 = 0xFF00; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `joypad` is never read [INFO] [stdout] --> src/emulator/cpu/mmu.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub(super) struct MMU { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | joypad: Joypad, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/emulator/cpu/mmu/joypad.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub(super) struct Joypad { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 2 | data: u8 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/emulator/cpu/mmu/joypad.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 5 | impl Joypad { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub(super) fn read(&self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub(super) fn write(&mut self, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/emulator/cpu/registers.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 23 | impl Registers { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub(super) fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub(super) fn inc_bc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub(super) fn dec_bc(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub(super) fn inc_de(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub(super) fn dec_de(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub(super) fn inc_hl(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub(super) fn dec_hl(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "22cefea83b6d32cf60f5c4a0d5f8c01c33aa9459e2e286e0b182d8bb9b0db3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22cefea83b6d32cf60f5c4a0d5f8c01c33aa9459e2e286e0b182d8bb9b0db3dc", kill_on_drop: false }` [INFO] [stdout] 22cefea83b6d32cf60f5c4a0d5f8c01c33aa9459e2e286e0b182d8bb9b0db3dc