[INFO] cloning repository https://github.com/jfconde/rust-gb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jfconde/rust-gb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfconde%2Frust-gb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfconde%2Frust-gb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1eb6d651513892f0c795940f29cd90571e5d21fa [INFO] checking jfconde/rust-gb against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjfconde%2Frust-gb" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jfconde/rust-gb on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jfconde/rust-gb [INFO] finished tweaking git repo https://github.com/jfconde/rust-gb [INFO] tweaked toml for git repo https://github.com/jfconde/rust-gb written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jfconde/rust-gb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 07050f8e9ba811735b903f24191faeca3269dfcbf0ae5fab3c64ba99b368601c [INFO] running `Command { std: "docker" "start" "-a" "07050f8e9ba811735b903f24191faeca3269dfcbf0ae5fab3c64ba99b368601c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07050f8e9ba811735b903f24191faeca3269dfcbf0ae5fab3c64ba99b368601c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07050f8e9ba811735b903f24191faeca3269dfcbf0ae5fab3c64ba99b368601c", kill_on_drop: false }` [INFO] [stdout] 07050f8e9ba811735b903f24191faeca3269dfcbf0ae5fab3c64ba99b368601c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f93a5b638803d4e72b1c52bf4ab0769a60ecc43cf710be813bf33e59e4f4f0c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f93a5b638803d4e72b1c52bf4ab0769a60ecc43cf710be813bf33e59e4f4f0c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking gb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::mbc` [INFO] [stdout] --> src/lib/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::mbc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib/cpu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::gpu` [INFO] [stdout] --> src/lib/mmu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::gpu; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `mbc` should have an upper camel case name [INFO] [stdout] --> src/lib/mbc/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait mbc { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mbc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mbcType` should have an upper camel case name [INFO] [stdout] --> src/lib/mbc/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum mbcType { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MbcType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::mbc` [INFO] [stdout] --> src/lib/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::mbc; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/lib/cpu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/lib/cpu.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::REG_F` [INFO] [stdout] --> src/lib/./cpu_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::REG_F; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::gpu` [INFO] [stdout] --> src/lib/mmu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::gpu; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `mbc` should have an upper camel case name [INFO] [stdout] --> src/lib/mbc/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait mbc { [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mbc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `mbcType` should have an upper camel case name [INFO] [stdout] --> src/lib/mbc/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum mbcType { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `MbcType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib/cpu.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | fn ld_reg_byte(&mut self, index: usize, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/cpu.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut pc = self.reg_pc; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/cpu.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut pc = self.reg_pc; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/cpu.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut hl = self.get_hl(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/cpu.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut hl = self.get_hl(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gpu` [INFO] [stdout] --> src/lib/cpu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | gpu: gpu::GPU, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reg_flg` [INFO] [stdout] --> src/lib/cpu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | reg_flg: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REG_F` [INFO] [stdout] --> src/lib/cpu.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const REG_F: Register = Register("F", 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_pc` [INFO] [stdout] --> src/lib/cpu.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn dec_pc(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bc` [INFO] [stdout] --> src/lib/cpu.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn set_bc(&mut self, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_de` [INFO] [stdout] --> src/lib/cpu.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn set_de(&mut self, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sp` [INFO] [stdout] --> src/lib/cpu.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_sp(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sp` [INFO] [stdout] --> src/lib/cpu.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn set_sp(&mut self, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_reg_byte` [INFO] [stdout] --> src/lib/cpu.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn ld_reg_byte(&mut self, index: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/lib/gpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | data: [u8; VRAM_SIZE] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MEMORY_SIZE` [INFO] [stdout] --> src/lib/mmu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const MEMORY_SIZE: usize = 65535; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram` [INFO] [stdout] --> src/lib/mmu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ram: ram::RAM, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/lib/ram.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | data: [u8; RAM_SIZE] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/mbc/mbc0.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new () -> MBC0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib/cpu.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | stdin().read_line(&mut s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib/cpu.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | &self.mmu.reset(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = &self.mmu.reset(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | &self.mmu.read_rom(&rom); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = &self.mmu.read_rom(&rom); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib/cpu.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | fn ld_reg_byte(&mut self, index: usize, value: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/cpu.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut pc = self.reg_pc; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/cpu.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut pc = self.reg_pc; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/cpu.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut hl = self.get_hl(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib/cpu.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut hl = self.get_hl(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gpu` [INFO] [stdout] --> src/lib/cpu.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | gpu: gpu::GPU, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reg_flg` [INFO] [stdout] --> src/lib/cpu.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | reg_flg: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `REG_F` [INFO] [stdout] --> src/lib/cpu.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const REG_F: Register = Register("F", 5); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dec_pc` [INFO] [stdout] --> src/lib/cpu.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn dec_pc(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sp` [INFO] [stdout] --> src/lib/cpu.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn get_sp(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_sp` [INFO] [stdout] --> src/lib/cpu.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn set_sp(&mut self, value: u16) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ld_reg_byte` [INFO] [stdout] --> src/lib/cpu.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | fn ld_reg_byte(&mut self, index: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/lib/gpu.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | data: [u8; VRAM_SIZE] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MEMORY_SIZE` [INFO] [stdout] --> src/lib/mmu.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const MEMORY_SIZE: usize = 65535; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ram` [INFO] [stdout] --> src/lib/mmu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ram: ram::RAM, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/lib/ram.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | data: [u8; RAM_SIZE] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/mbc/mbc0.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new () -> MBC0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib/cpu.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | stdin().read_line(&mut s); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib/cpu.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | &self.mmu.reset(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = &self.mmu.reset(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib/cpu.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | &self.mmu.read_rom(&rom); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = &self.mmu.read_rom(&rom); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x0A` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn test_cpu_opcode_0x0A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x0_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x0E` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_cpu_opcode_0x0E() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x0_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x1A` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn test_cpu_opcode_0x1A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x1_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x1E` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn test_cpu_opcode_0x1E() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x1_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x2A` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn test_cpu_opcode_0x2A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x2_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x2E` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn test_cpu_opcode_0x2E() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x2_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x3A` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:250:4 [INFO] [stdout] | [INFO] [stdout] 250 | fn test_cpu_opcode_0x3A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x3_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x3E` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn test_cpu_opcode_0x3E() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x3_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x4A` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:385:4 [INFO] [stdout] | [INFO] [stdout] 385 | fn test_cpu_opcode_0x4A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x4_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x4B` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:396:4 [INFO] [stdout] | [INFO] [stdout] 396 | fn test_cpu_opcode_0x4B() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x4_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x4C` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:407:4 [INFO] [stdout] | [INFO] [stdout] 407 | fn test_cpu_opcode_0x4C() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x4_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x4D` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | fn test_cpu_opcode_0x4D() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x4_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x4E` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:429:4 [INFO] [stdout] | [INFO] [stdout] 429 | fn test_cpu_opcode_0x4E() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x4_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x4F` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:442:4 [INFO] [stdout] | [INFO] [stdout] 442 | fn test_cpu_opcode_0x4F() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x4_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x5A` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:565:4 [INFO] [stdout] | [INFO] [stdout] 565 | fn test_cpu_opcode_0x5A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x5_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x5B` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:576:4 [INFO] [stdout] | [INFO] [stdout] 576 | fn test_cpu_opcode_0x5B() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x5_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x5C` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:587:4 [INFO] [stdout] | [INFO] [stdout] 587 | fn test_cpu_opcode_0x5C() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x5_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x5D` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:598:4 [INFO] [stdout] | [INFO] [stdout] 598 | fn test_cpu_opcode_0x5D() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x5_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x5E` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:609:4 [INFO] [stdout] | [INFO] [stdout] 609 | fn test_cpu_opcode_0x5E() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x5_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x5F` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:622:4 [INFO] [stdout] | [INFO] [stdout] 622 | fn test_cpu_opcode_0x5F() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x5_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x6A` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:745:4 [INFO] [stdout] | [INFO] [stdout] 745 | fn test_cpu_opcode_0x6A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x6_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x6B` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:756:4 [INFO] [stdout] | [INFO] [stdout] 756 | fn test_cpu_opcode_0x6B() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x6_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x6C` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:767:4 [INFO] [stdout] | [INFO] [stdout] 767 | fn test_cpu_opcode_0x6C() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x6_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x6D` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:778:4 [INFO] [stdout] | [INFO] [stdout] 778 | fn test_cpu_opcode_0x6D() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x6_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x6E` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:789:4 [INFO] [stdout] | [INFO] [stdout] 789 | fn test_cpu_opcode_0x6E() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x6_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x6F` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:802:4 [INFO] [stdout] | [INFO] [stdout] 802 | fn test_cpu_opcode_0x6F() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x6_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x7A` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:919:4 [INFO] [stdout] | [INFO] [stdout] 919 | fn test_cpu_opcode_0x7A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x7_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x7B` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:930:4 [INFO] [stdout] | [INFO] [stdout] 930 | fn test_cpu_opcode_0x7B() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x7_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x7C` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:941:4 [INFO] [stdout] | [INFO] [stdout] 941 | fn test_cpu_opcode_0x7C() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x7_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x7D` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:952:4 [INFO] [stdout] | [INFO] [stdout] 952 | fn test_cpu_opcode_0x7D() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x7_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x7E` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:963:4 [INFO] [stdout] | [INFO] [stdout] 963 | fn test_cpu_opcode_0x7E() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x7_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0x7F` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:976:4 [INFO] [stdout] | [INFO] [stdout] 976 | fn test_cpu_opcode_0x7F() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x7_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0xE0` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:986:4 [INFO] [stdout] | [INFO] [stdout] 986 | fn test_cpu_opcode_0xE0() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x_e0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0xE2` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:998:4 [INFO] [stdout] | [INFO] [stdout] 998 | fn test_cpu_opcode_0xE2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x_e2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0xEA` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:1011:4 [INFO] [stdout] | [INFO] [stdout] 1011 | fn test_cpu_opcode_0xEA() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x_ea` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0xF0` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:1023:4 [INFO] [stdout] | [INFO] [stdout] 1023 | fn test_cpu_opcode_0xF0() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x_f0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0xF2` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:1037:4 [INFO] [stdout] | [INFO] [stdout] 1037 | fn test_cpu_opcode_0xF2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x_f2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0xF8` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:1050:4 [INFO] [stdout] | [INFO] [stdout] 1050 | fn test_cpu_opcode_0xF8() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x_f8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0xF9` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:1061:4 [INFO] [stdout] | [INFO] [stdout] 1061 | fn test_cpu_opcode_0xF9() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x_f9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_cpu_opcode_0xFA` should have a snake case name [INFO] [stdout] --> src/lib/./cpu_test.rs:1072:4 [INFO] [stdout] | [INFO] [stdout] 1072 | fn test_cpu_opcode_0xFA() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_cpu_opcode_0x_fa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `Command { std: "docker" "inspect" "f93a5b638803d4e72b1c52bf4ab0769a60ecc43cf710be813bf33e59e4f4f0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f93a5b638803d4e72b1c52bf4ab0769a60ecc43cf710be813bf33e59e4f4f0c9", kill_on_drop: false }` [INFO] [stdout] f93a5b638803d4e72b1c52bf4ab0769a60ecc43cf710be813bf33e59e4f4f0c9