[INFO] cloning repository https://github.com/ykafia/Nes-Emulator-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ykafia/Nes-Emulator-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2FNes-Emulator-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2FNes-Emulator-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d4b5b934f76596cde30b927975b11f1f1ec9d5f [INFO] checking ykafia/Nes-Emulator-Rust against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2FNes-Emulator-Rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ykafia/Nes-Emulator-Rust on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ykafia/Nes-Emulator-Rust [INFO] finished tweaking git repo https://github.com/ykafia/Nes-Emulator-Rust [INFO] tweaked toml for git repo https://github.com/ykafia/Nes-Emulator-Rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/ykafia/Nes-Emulator-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61e7525b8b898b1b231143843b8e17ef52a8f12bfcbe6dab2cc4454594c705a5 [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" "61e7525b8b898b1b231143843b8e17ef52a8f12bfcbe6dab2cc4454594c705a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61e7525b8b898b1b231143843b8e17ef52a8f12bfcbe6dab2cc4454594c705a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e7525b8b898b1b231143843b8e17ef52a8f12bfcbe6dab2cc4454594c705a5", kill_on_drop: false }` [INFO] [stdout] 61e7525b8b898b1b231143843b8e17ef52a8f12bfcbe6dab2cc4454594c705a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90ce8ecee51956aa5163a86d9b20c3ffac0180950d28126a60dfd97462ae4559 [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" "90ce8ecee51956aa5163a86d9b20c3ffac0180950d28126a60dfd97462ae4559", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking console v0.9.0 [INFO] [stderr] Compiling modular-bitfield-impl v0.6.0 [INFO] [stderr] Checking modular-bitfield v0.6.0 [INFO] [stderr] Checking rustnes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/components/nes.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn insert_cartridge(&mut self, cartridge: [u8; 0xBFDF]) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/components/ppu.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | fn ppu_read(&mut self, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/components/ppu.rs:42:77 [INFO] [stdout] | [INFO] [stdout] 42 | fn cpu_read(&mut self, cpu: &mut CPU6502, nes: &mut NesData, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cartridge` [INFO] [stdout] --> src/components/nes.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn insert_cartridge(&mut self, cartridge: [u8; 0xBFDF]) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cartridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/components/ppu.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | fn ppu_read(&mut self, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/components/ppu.rs:42:77 [INFO] [stdout] | [INFO] [stdout] 42 | fn cpu_read(&mut self, cpu: &mut CPU6502, nes: &mut NesData, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `APU` [INFO] [stdout] --> src/components/apu.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct APU { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_cartridge` [INFO] [stdout] --> src/components/nes.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn insert_cartridge(&mut self, cartridge: [u8; 0xBFDF]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_memory` [INFO] [stdout] --> src/components/nes.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn reset_memory(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PPU` [INFO] [stdout] --> src/components/ppu.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components/ppu.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new() -> PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_write` [INFO] [stdout] --> src/components/ppu.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_read` [INFO] [stdout] --> src/components/ppu.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn ppu_read(&mut self, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read` [INFO] [stdout] --> src/components/ppu.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn cpu_read(&mut self, cpu: &mut CPU6502, nes: &mut NesData, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/components/ppu.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write` [INFO] [stdout] --> src/components/ppu.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn cpu_write(&mut self, cpu: &mut CPU6502, nes: &mut NesData, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/components/ppu.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OAM` should have a snake case name [INFO] [stdout] --> src/components/ppu.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub OAM: [u8; 256], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `oam` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `APU` [INFO] [stdout] --> src/components/apu.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct APU { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_cartridge` [INFO] [stdout] --> src/components/nes.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn insert_cartridge(&mut self, cartridge: [u8; 0xBFDF]) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_memory` [INFO] [stdout] --> src/components/nes.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn reset_memory(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PPU` [INFO] [stdout] --> src/components/ppu.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components/ppu.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new() -> PPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_write` [INFO] [stdout] --> src/components/ppu.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn ppu_write(&mut self, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_read` [INFO] [stdout] --> src/components/ppu.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn ppu_read(&mut self, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read` [INFO] [stdout] --> src/components/ppu.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn cpu_read(&mut self, cpu: &mut CPU6502, nes: &mut NesData, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/components/ppu.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write` [INFO] [stdout] --> src/components/ppu.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn cpu_write(&mut self, cpu: &mut CPU6502, nes: &mut NesData, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/components/ppu.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OAM` should have a snake case name [INFO] [stdout] --> src/components/ppu.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub OAM: [u8; 256], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `oam` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.80s [INFO] running `Command { std: "docker" "inspect" "90ce8ecee51956aa5163a86d9b20c3ffac0180950d28126a60dfd97462ae4559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ce8ecee51956aa5163a86d9b20c3ffac0180950d28126a60dfd97462ae4559", kill_on_drop: false }` [INFO] [stdout] 90ce8ecee51956aa5163a86d9b20c3ffac0180950d28126a60dfd97462ae4559