[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] def58b375147cf7e153bed0fcf9167ba6bf8d22c [INFO] checking ykafia/Nes-Emulator-Rust against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [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 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b4804e9598204df9df55c7e06c41fd9a0b866559688fb3973e972425d9bdf2a [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" "6b4804e9598204df9df55c7e06c41fd9a0b866559688fb3973e972425d9bdf2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b4804e9598204df9df55c7e06c41fd9a0b866559688fb3973e972425d9bdf2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4804e9598204df9df55c7e06c41fd9a0b866559688fb3973e972425d9bdf2a", kill_on_drop: false }` [INFO] [stdout] 6b4804e9598204df9df55c7e06c41fd9a0b866559688fb3973e972425d9bdf2a [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f1be7cbcbcf09e49cb7641e6e588e05bfbb4f0b57f758bf3f08c74251a5d2dc [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" "6f1be7cbcbcf09e49cb7641e6e588e05bfbb4f0b57f758bf3f08c74251a5d2dc", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [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 import: `convert::TryInto` [INFO] [stdout] --> src/components/cartridge.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::TryInto, fmt, ops::{Index, IndexMut}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/components/cartridge.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{convert::TryInto, fmt, ops::{Index, IndexMut}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/components/nes.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/components/mapper.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn mapper_001(&self, src: Source, addr: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/components/mapper.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | fn mapper_001(&self, src: Source, addr: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nb_bank` [INFO] [stdout] --> src/components/cartridge.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let nb_bank = self.header.nb_prg_banks as usize; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nb_bank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nb_bank2` [INFO] [stdout] --> src/components/cartridge.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let nb_bank2 = self.header.nb_chr_banks as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nb_bank2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/components/nes.rs:84:39 [INFO] [stdout] | [INFO] [stdout] 84 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/components/mapper.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn mapper_001(&self, src: Source, addr: u16) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/components/mapper.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | fn mapper_001(&self, src: Source, addr: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nb_bank` [INFO] [stdout] --> src/components/cartridge.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let nb_bank = self.header.nb_prg_banks as usize; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nb_bank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nb_bank2` [INFO] [stdout] --> src/components/cartridge.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let nb_bank2 = self.header.nb_chr_banks as usize; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nb_bank2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_cartridge` [INFO] [stdout] --> src/components/nes.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn insert_cartridge(&mut self, cartridge: Vec) { [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: `reset_memory` [INFO] [stdout] --> src/components/nes.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn reset_memory(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/components/nes.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn clock(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components/mapper.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(header: Header) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_write` [INFO] [stdout] --> src/components/cartridge.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ppu_write(&mut self, addr : u16, data : u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_metroid` [INFO] [stdout] --> src/test/mod.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn load_metroid() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_cartridge` [INFO] [stdout] --> src/components/nes.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn insert_cartridge(&mut self, cartridge: Vec) { [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: `reset_memory` [INFO] [stdout] --> src/components/nes.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn reset_memory(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clock` [INFO] [stdout] --> src/components/nes.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn clock(&mut self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components/mapper.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(header: Header) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/components/cartridge.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn load(&mut self, data : Vec){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ppu_write` [INFO] [stdout] --> src/components/cartridge.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ppu_write(&mut self, addr : u16, data : u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/components/cartridge.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new(data : &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_trainer` [INFO] [stdout] --> src/components/cartridge.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn has_trainer(&self) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_mario` [INFO] [stdout] --> src/test/mod.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn load_mario() -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_metroid` [INFO] [stdout] --> src/test/mod.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn load_metroid() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.74s [INFO] running `Command { std: "docker" "inspect" "6f1be7cbcbcf09e49cb7641e6e588e05bfbb4f0b57f758bf3f08c74251a5d2dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f1be7cbcbcf09e49cb7641e6e588e05bfbb4f0b57f758bf3f08c74251a5d2dc", kill_on_drop: false }` [INFO] [stdout] 6f1be7cbcbcf09e49cb7641e6e588e05bfbb4f0b57f758bf3f08c74251a5d2dc