[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 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-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jfconde/rust-gb on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f385a983c2d7215bd6d34f3abc31f83e2ee7fcf8873bc937949416b7f0d54da [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" "7f385a983c2d7215bd6d34f3abc31f83e2ee7fcf8873bc937949416b7f0d54da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f385a983c2d7215bd6d34f3abc31f83e2ee7fcf8873bc937949416b7f0d54da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f385a983c2d7215bd6d34f3abc31f83e2ee7fcf8873bc937949416b7f0d54da", kill_on_drop: false }` [INFO] [stdout] 7f385a983c2d7215bd6d34f3abc31f83e2ee7fcf8873bc937949416b7f0d54da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 44e54a8b201302b8619150e4387ea891579d56d1eb112f9d56947db16a12573e [INFO] running `Command { std: "docker" "start" "-a" "44e54a8b201302b8619150e4387ea891579d56d1eb112f9d56947db16a12573e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking gb v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib/mmu.rs (1 fix) [INFO] [stderr] Fixed src/lib/cpu.rs (10 fixes) [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: 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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lib/./cpu_test.rs (1 fix) [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: 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: 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: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.56s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking gb v0.1.0 (/tmp/fixit) [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: 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: 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: 17 warnings emitted [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: 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: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "44e54a8b201302b8619150e4387ea891579d56d1eb112f9d56947db16a12573e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e54a8b201302b8619150e4387ea891579d56d1eb112f9d56947db16a12573e", kill_on_drop: false }` [INFO] [stdout] 44e54a8b201302b8619150e4387ea891579d56d1eb112f9d56947db16a12573e