[INFO] cloning repository https://github.com/sonhs99/rustygb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sonhs99/rustygb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonhs99%2Frustygb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonhs99%2Frustygb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 85663e7f034bb74a2dd871d57961c33a1462c304
[INFO] checking sonhs99/rustygb against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsonhs99%2Frustygb" "/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/sonhs99/rustygb
[INFO] finished tweaking git repo https://github.com/sonhs99/rustygb
[INFO] tweaked toml for git repo https://github.com/sonhs99/rustygb written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sonhs99/rustygb on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sonhs99/rustygb 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 658104ce8fbfb0d1847facebf109a979824b0b3f6e921d199da5866e6a0c6aca
[INFO] running `Command { std: "docker" "start" "-a" "658104ce8fbfb0d1847facebf109a979824b0b3f6e921d199da5866e6a0c6aca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "658104ce8fbfb0d1847facebf109a979824b0b3f6e921d199da5866e6a0c6aca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "658104ce8fbfb0d1847facebf109a979824b0b3f6e921d199da5866e6a0c6aca", kill_on_drop: false }`
[INFO] [stdout] 658104ce8fbfb0d1847facebf109a979824b0b3f6e921d199da5866e6a0c6aca
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 36da30ab6ca93470621f023d011ba756b0374341e9553d1f70e14bb0a39b9f22
[INFO] running `Command { std: "docker" "start" "-a" "36da30ab6ca93470621f023d011ba756b0374341e9553d1f70e14bb0a39b9f22", kill_on_drop: false }`
[INFO] [stderr]    Compiling xml-rs v0.8.16
[INFO] [stderr]     Checking libloading v0.8.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]    Compiling rustix v0.38.4
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.3
[INFO] [stderr]     Checking bitflags v2.3.3
[INFO] [stderr]    Compiling minifb v0.25.0
[INFO] [stderr]     Checking fastrand v2.0.0
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking raw-window-handle v0.4.3
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking rustygb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `FrameBuffer`
[INFO] [stdout]  --> src/lib/system.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     gpu::{FrameBuffer, GPU},
[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 variable: `mmu`
[INFO] [stdout]   --> src/lib/cycle.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn read(&mut self, mmu: &MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/cycle.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn write(&mut self, mmu: &MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/dma.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn read(&mut self, mmu: &crate::mmu::MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/lib/dma.rs:33:53
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn read(&mut self, mmu: &crate::mmu::MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/dma.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn write(&mut self, mmu: &MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/input.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn read(&mut self, mmu: &MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/lib/input.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn read(&mut self, mmu: &MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/input.rs:39:25
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn write(&mut self, mmu: &MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/mbc.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn read(&mut self, mmu: &crate::mmu::MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/mbc.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn write(&mut self, mmu: &crate::mmu::MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elasped_cycles`
[INFO] [stdout]   --> src/lib/sound.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn step(&mut self, elasped_cycles: u16) {}
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elasped_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/system.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut cpu = CPU::new();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IO_IF` is never used
[INFO] [stdout]  --> src/lib/cpu.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const IO_IF: usize = 0x0F;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inc` is never read
[INFO] [stdout]   --> src/lib/cycle.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Clock {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     inc: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `mediate` and `borrow` are never used
[INFO] [stdout]   --> src/lib/device.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Device<T> {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn mediate(inner: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn borrow<'a>(&'a self) -> Ref<'a, T> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RenderCallback` is never used
[INFO] [stdout]  --> src/lib/gpu.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type RenderCallback = fn(&FrameBuffer);
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BGP` is never used
[INFO] [stdout]   --> src/lib/gpu.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const BGP: usize = 0;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBP0` is never used
[INFO] [stdout]   --> src/lib/gpu.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const OBP0: usize = 1;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBP1` is never used
[INFO] [stdout]   --> src/lib/gpu.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const OBP1: usize = 2;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REG_HL` is never used
[INFO] [stdout]    --> src/lib/inst.rs:157:7
[INFO] [stdout]     |
[INFO] [stdout] 157 | const REG_HL: Operand = Operand::Register16(Reg16Index::HL);
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sound` is never constructed
[INFO] [stdout]  --> src/lib/sound.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Sound {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `step` are never used
[INFO] [stdout]   --> src/lib/sound.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Sound {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 39 |     pub fn new() -> Sound {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn step(&mut self, elasped_cycles: u16) {}
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cartrigde` is never read
[INFO] [stdout]   --> src/lib/system.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct System {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     cartrigde: Device<Cartridge>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `IME` should have a snake case name
[INFO] [stdout]   --> src/lib/cpu.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     IME: bool,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `ime`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `TMA` should have a snake case name
[INFO] [stdout]  --> src/lib/cycle.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     TMA: u8,
[INFO] [stdout]   |     ^^^ help: convert the identifier to snake case: `tma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `TAC` should have a snake case name
[INFO] [stdout]   --> src/lib/cycle.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     TAC: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `tac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `LCDC` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     LCDC: u8,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `lcdc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `STAT` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     STAT: u8,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `stat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `LY` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     LY: u8,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `ly`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `LYC` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     LYC: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `lyc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WY` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     WY: u8,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `wy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WX` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     WX: u8,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `wx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `SCY` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     SCY: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case (notice the capitalization): `scy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `SCX` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     SCX: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case (notice the capitalization): `scx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `BGP` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     BGP: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `bgp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OBP0` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     OBP0: u8,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `obp0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OBP1` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     OBP1: u8,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `obp1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `inst_time` should have an upper case name
[INFO] [stdout]  --> src/lib/inst.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const inst_time: [u8; 256] = [
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 1 - pub const inst_time: [u8; 256] = [
[INFO] [stdout] 1 + pub const INST_TIME: [u8; 256] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `inst_cb_time` should have an upper case name
[INFO] [stdout]   --> src/lib/inst.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const inst_cb_time: [u8; 256] = [
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub const inst_cb_time: [u8; 256] = [
[INFO] [stdout] 12 + pub const INST_CB_TIME: [u8; 256] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking tempfile v3.7.0
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stdout] warning: unused import: `FrameBuffer`
[INFO] [stdout]  --> src/lib/system.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     gpu::{FrameBuffer, GPU},
[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 variable: `mmu`
[INFO] [stdout]   --> src/lib/cycle.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn read(&mut self, mmu: &MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/cycle.rs:60:25
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn write(&mut self, mmu: &MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/device.rs:85:28
[INFO] [stdout]    |
[INFO] [stdout] 85 |         fn read(&mut self, mmu: &MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                            ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/device.rs:92:29
[INFO] [stdout]    |
[INFO] [stdout] 92 |         fn write(&mut self, mmu: &MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                             ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/dma.rs:33:24
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn read(&mut self, mmu: &crate::mmu::MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/lib/dma.rs:33:53
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn read(&mut self, mmu: &crate::mmu::MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/dma.rs:36:25
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn write(&mut self, mmu: &MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/input.rs:30:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn read(&mut self, mmu: &MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `address`
[INFO] [stdout]   --> src/lib/input.rs:30:41
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn read(&mut self, mmu: &MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/input.rs:39:25
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn write(&mut self, mmu: &MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/mbc.rs:26:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn read(&mut self, mmu: &crate::mmu::MemoryBus, address: u16) -> MemoryRead {
[INFO] [stdout]    |                        ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mmu`
[INFO] [stdout]   --> src/lib/mbc.rs:38:25
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn write(&mut self, mmu: &crate::mmu::MemoryBus, address: u16, value: u8) -> MemoryWrite {
[INFO] [stdout]    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_mmu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `elasped_cycles`
[INFO] [stdout]   --> src/lib/sound.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn step(&mut self, elasped_cycles: u16) {}
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elasped_cycles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/system.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut cpu = CPU::new();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IO_IF` is never used
[INFO] [stdout]  --> src/lib/cpu.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const IO_IF: usize = 0x0F;
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inc` is never read
[INFO] [stdout]   --> src/lib/cycle.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub struct Clock {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     inc: u8,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `mediate` is never used
[INFO] [stdout]   --> src/lib/device.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Device<T> {
[INFO] [stdout]    | ----------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 15 |     pub fn mediate(inner: T) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `RenderCallback` is never used
[INFO] [stdout]  --> src/lib/gpu.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub type RenderCallback = fn(&FrameBuffer);
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BGP` is never used
[INFO] [stdout]   --> src/lib/gpu.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const BGP: usize = 0;
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBP0` is never used
[INFO] [stdout]   --> src/lib/gpu.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const OBP0: usize = 1;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `OBP1` is never used
[INFO] [stdout]   --> src/lib/gpu.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const OBP1: usize = 2;
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REG_HL` is never used
[INFO] [stdout]    --> src/lib/inst.rs:157:7
[INFO] [stdout]     |
[INFO] [stdout] 157 | const REG_HL: Operand = Operand::Register16(Reg16Index::HL);
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sound` is never constructed
[INFO] [stdout]  --> src/lib/sound.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct Sound {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `step` are never used
[INFO] [stdout]   --> src/lib/sound.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Sound {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 39 |     pub fn new() -> Sound {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn step(&mut self, elasped_cycles: u16) {}
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cartrigde` is never read
[INFO] [stdout]   --> src/lib/system.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct System {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     cartrigde: Device<Cartridge>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `IME` should have a snake case name
[INFO] [stdout]   --> src/lib/cpu.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     IME: bool,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `ime`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `TMA` should have a snake case name
[INFO] [stdout]  --> src/lib/cycle.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     TMA: u8,
[INFO] [stdout]   |     ^^^ help: convert the identifier to snake case: `tma`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `TAC` should have a snake case name
[INFO] [stdout]   --> src/lib/cycle.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     TAC: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `tac`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `LCDC` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     LCDC: u8,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `lcdc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `STAT` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 46 |     STAT: u8,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `stat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `LY` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     LY: u8,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case: `ly`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `LYC` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     LYC: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `lyc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WY` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 49 |     WY: u8,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `wy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `WX` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     WX: u8,
[INFO] [stdout]    |     ^^ help: convert the identifier to snake case (notice the capitalization): `wx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `SCY` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     SCY: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case (notice the capitalization): `scy`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `SCX` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     SCX: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case (notice the capitalization): `scx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `BGP` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 |     BGP: u8,
[INFO] [stdout]    |     ^^^ help: convert the identifier to snake case: `bgp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OBP0` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 |     OBP0: u8,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `obp0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `OBP1` should have a snake case name
[INFO] [stdout]   --> src/lib/gpu.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 |     OBP1: u8,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to snake case: `obp1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `inst_time` should have an upper case name
[INFO] [stdout]  --> src/lib/inst.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const inst_time: [u8; 256] = [
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]   |
[INFO] [stdout] 1 - pub const inst_time: [u8; 256] = [
[INFO] [stdout] 1 + pub const INST_TIME: [u8; 256] = [
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `inst_cb_time` should have an upper case name
[INFO] [stdout]   --> src/lib/inst.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const inst_cb_time: [u8; 256] = [
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub const inst_cb_time: [u8; 256] = [
[INFO] [stdout] 12 + pub const INST_CB_TIME: [u8; 256] = [
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.52s
[INFO] running `Command { std: "docker" "inspect" "36da30ab6ca93470621f023d011ba756b0374341e9553d1f70e14bb0a39b9f22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36da30ab6ca93470621f023d011ba756b0374341e9553d1f70e14bb0a39b9f22", kill_on_drop: false }`
[INFO] [stdout] 36da30ab6ca93470621f023d011ba756b0374341e9553d1f70e14bb0a39b9f22
