[INFO] cloning repository https://github.com/triptolemusew/gbc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/triptolemusew/gbc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriptolemusew%2Fgbc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriptolemusew%2Fgbc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9264b3e4d8daedc2e973ee06bfd1c15a426f5055 [INFO] checking triptolemusew/gbc against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriptolemusew%2Fgbc" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/triptolemusew/gbc on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/triptolemusew/gbc [INFO] finished tweaking git repo https://github.com/triptolemusew/gbc [INFO] tweaked toml for git repo https://github.com/triptolemusew/gbc written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/triptolemusew/gbc 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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking triptolemusew/gbc against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriptolemusew%2Fgbc" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/triptolemusew/gbc on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/triptolemusew/gbc [INFO] finished tweaking git repo https://github.com/triptolemusew/gbc [INFO] tweaked toml for git repo https://github.com/triptolemusew/gbc written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/triptolemusew/gbc 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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abfb5e9df16fcc5a89d30b29a1360aa6dad17188d7d7b7a129f0cbe90d67876d [INFO] running `Command { std: "docker" "start" "-a" "abfb5e9df16fcc5a89d30b29a1360aa6dad17188d7d7b7a129f0cbe90d67876d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abfb5e9df16fcc5a89d30b29a1360aa6dad17188d7d7b7a129f0cbe90d67876d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abfb5e9df16fcc5a89d30b29a1360aa6dad17188d7d7b7a129f0cbe90d67876d", kill_on_drop: false }` [INFO] [stdout] abfb5e9df16fcc5a89d30b29a1360aa6dad17188d7d7b7a129f0cbe90d67876d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 997419936fd01d68b84e512894c52c805778e3fa1c60233771ffdbd9cc01f875 [INFO] running `Command { std: "docker" "start" "-a" "997419936fd01d68b84e512894c52c805778e3fa1c60233771ffdbd9cc01f875", kill_on_drop: false }` [INFO] [stderr] Checking gbc v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mod.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn write(&mut self, addr: u16, data: u8) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bus/mod.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn write(&mut self, addr: u16, data: u8) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/mod.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | fn execute_opcode(&mut self, op: u8, bus: &mut Bus) -> &u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read(&self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mod.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn write(&mut self, addr: u16, data: u8) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bus/mod.rs:25:40 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn write(&mut self, addr: u16, data: u8) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/mod.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | fn execute_extended_opcode(&mut self, op: u8, bus: &mut Bus) -> &u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/ppu/mod.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn step(&mut self, cycles: u32) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cart`, `wram`, and `hram` are never read [INFO] [stdout] --> src/bus/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Bus { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | ppu: Ppu, [INFO] [stdout] 6 | cart: Cartridge, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | wram: [u8; 0x2000], [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | hram: [u8; 0x2000], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_word` is never used [INFO] [stdout] --> src/cpu/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn get_word(&mut self, bus: &Bus) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ld` is never used [INFO] [stdout] --> src/cpu/instructions.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn ld() {} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rst` is never used [INFO] [stdout] --> src/cpu/instructions.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn rst() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/cpu/opcode.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Opcode<'a>(pub u8, pub u32, pub &'a str); [INFO] [stdout] | ------ field in this struct ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/cpu/opcode.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ExtendedOpcode<'a>(pub u8, pub u32, pub &'a str); [INFO] [stdout] | -------------- field in this struct ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment`, `decrement`, and `add` are never used [INFO] [stdout] --> src/cpu/register.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl RegisterPair { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn decrement(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn add(&mut self, val: RegisterPair) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCK_SPEED` is never used [INFO] [stdout] --> src/ppu/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const CLOCK_SPEED: u32 = 4194304; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_RATE` is never used [INFO] [stdout] --> src/ppu/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const FRAME_RATE: u32 = 60; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_PER_FRAME` is never used [INFO] [stdout] --> src/ppu/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const CYCLES_PER_FRAME: u32 = CLOCK_SPEED / FRAME_RATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_CONTROL_ADDR` is never used [INFO] [stdout] --> src/ppu/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const LCD_CONTROL_ADDR: u16 = 0xFF40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_STATUS_ADDR` is never used [INFO] [stdout] --> src/ppu/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LCD_STATUS_ADDR: u16 = 0xFF41; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_SCANLINE_ADDR` is never used [INFO] [stdout] --> src/ppu/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CURRENT_SCANLINE_ADDR: u16 = 0xFF44; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OAM_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const OAM_PERIOD: u32 = 80; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSFER_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const TRANSFER_PERIOD: u32 = OAM_PERIOD + 172; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HBLANK_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const HBLANK_PERIOD: u32 = 456; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const FRAME_PERIOD: u32 = HBLANK_PERIOD + 144; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VBLANK_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const VBLANK_PERIOD: u32 = FRAME_PERIOD + 4560; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusInterrupt` is never used [INFO] [stdout] --> src/ppu/mod.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum StatusInterrupt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SdlColor` is never used [INFO] [stdout] --> src/ppu/mod.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum SdlColor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Instructions` should have a snake case name [INFO] [stdout] --> src/cpu/instructions.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Instructions { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/mod.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | fn execute_opcode(&mut self, op: u8, bus: &mut Bus) -> &u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bus` [INFO] [stdout] --> src/cpu/mod.rs:86:51 [INFO] [stdout] | [INFO] [stdout] 86 | fn execute_extended_opcode(&mut self, op: u8, bus: &mut Bus) -> &u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cycles` [INFO] [stdout] --> src/ppu/mod.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn step(&mut self, cycles: u32) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cycles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cart`, `wram`, and `hram` are never read [INFO] [stdout] --> src/bus/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Bus { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | ppu: Ppu, [INFO] [stdout] 6 | cart: Cartridge, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | wram: [u8; 0x2000], [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | hram: [u8; 0x2000], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_word` is never used [INFO] [stdout] --> src/cpu/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn get_word(&mut self, bus: &Bus) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ld` is never used [INFO] [stdout] --> src/cpu/instructions.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn ld() {} [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rst` is never used [INFO] [stdout] --> src/cpu/instructions.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn rst() {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/cpu/opcode.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Opcode<'a>(pub u8, pub u32, pub &'a str); [INFO] [stdout] | ------ field in this struct ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `2` is never read [INFO] [stdout] --> src/cpu/opcode.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ExtendedOpcode<'a>(pub u8, pub u32, pub &'a str); [INFO] [stdout] | -------------- field in this struct ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `increment`, `decrement`, and `add` are never used [INFO] [stdout] --> src/cpu/register.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl RegisterPair { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | fn increment(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn decrement(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn add(&mut self, val: RegisterPair) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CLOCK_SPEED` is never used [INFO] [stdout] --> src/ppu/mod.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const CLOCK_SPEED: u32 = 4194304; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_RATE` is never used [INFO] [stdout] --> src/ppu/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const FRAME_RATE: u32 = 60; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_PER_FRAME` is never used [INFO] [stdout] --> src/ppu/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const CYCLES_PER_FRAME: u32 = CLOCK_SPEED / FRAME_RATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_CONTROL_ADDR` is never used [INFO] [stdout] --> src/ppu/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const LCD_CONTROL_ADDR: u16 = 0xFF40; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LCD_STATUS_ADDR` is never used [INFO] [stdout] --> src/ppu/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const LCD_STATUS_ADDR: u16 = 0xFF41; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CURRENT_SCANLINE_ADDR` is never used [INFO] [stdout] --> src/ppu/mod.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const CURRENT_SCANLINE_ADDR: u16 = 0xFF44; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OAM_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const OAM_PERIOD: u32 = 80; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSFER_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const TRANSFER_PERIOD: u32 = OAM_PERIOD + 172; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HBLANK_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const HBLANK_PERIOD: u32 = 456; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAME_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const FRAME_PERIOD: u32 = HBLANK_PERIOD + 144; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VBLANK_PERIOD` is never used [INFO] [stdout] --> src/ppu/mod.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const VBLANK_PERIOD: u32 = FRAME_PERIOD + 4560; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusInterrupt` is never used [INFO] [stdout] --> src/ppu/mod.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum StatusInterrupt { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SdlColor` is never used [INFO] [stdout] --> src/ppu/mod.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | enum SdlColor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Instructions` should have a snake case name [INFO] [stdout] --> src/cpu/instructions.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Instructions { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "997419936fd01d68b84e512894c52c805778e3fa1c60233771ffdbd9cc01f875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997419936fd01d68b84e512894c52c805778e3fa1c60233771ffdbd9cc01f875", kill_on_drop: false }` [INFO] [stdout] 997419936fd01d68b84e512894c52c805778e3fa1c60233771ffdbd9cc01f875