[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#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2FNes-Emulator-Rust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ykafia/Nes-Emulator-Rust on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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] 8e5ace020568149656bac4e0d939f3aba466ceffaa6e1fa564493a43f5bf4972 [INFO] running `Command { std: "docker" "start" "-a" "8e5ace020568149656bac4e0d939f3aba466ceffaa6e1fa564493a43f5bf4972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e5ace020568149656bac4e0d939f3aba466ceffaa6e1fa564493a43f5bf4972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e5ace020568149656bac4e0d939f3aba466ceffaa6e1fa564493a43f5bf4972", kill_on_drop: false }` [INFO] [stdout] 8e5ace020568149656bac4e0d939f3aba466ceffaa6e1fa564493a43f5bf4972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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] 5a6de9493110df959657fe5dbb567b494983a534b1f4409b9692f8a9130c161a [INFO] running `Command { std: "docker" "start" "-a" "5a6de9493110df959657fe5dbb567b494983a534b1f4409b9692f8a9130c161a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Compiling heck v0.3.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 23.67s [INFO] running `Command { std: "docker" "inspect" "5a6de9493110df959657fe5dbb567b494983a534b1f4409b9692f8a9130c161a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a6de9493110df959657fe5dbb567b494983a534b1f4409b9692f8a9130c161a", kill_on_drop: false }` [INFO] [stdout] 5a6de9493110df959657fe5dbb567b494983a534b1f4409b9692f8a9130c161a