[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 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-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ykafia/Nes-Emulator-Rust 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/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-0/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded modular-bitfield-impl v0.6.0 [INFO] [stderr] Downloaded modular-bitfield v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] b101f69733c4f90ee46bbfaffda9b82175d1a2874b3b1e7fdc5c4e4522621375 [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" "b101f69733c4f90ee46bbfaffda9b82175d1a2874b3b1e7fdc5c4e4522621375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b101f69733c4f90ee46bbfaffda9b82175d1a2874b3b1e7fdc5c4e4522621375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b101f69733c4f90ee46bbfaffda9b82175d1a2874b3b1e7fdc5c4e4522621375", kill_on_drop: false }` [INFO] [stdout] b101f69733c4f90ee46bbfaffda9b82175d1a2874b3b1e7fdc5c4e4522621375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] e1e53f3b1e27eef90b0ff10743f8f7bc90652a7991c1bc1a76ef0364f36644ed [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" "e1e53f3b1e27eef90b0ff10743f8f7bc90652a7991c1bc1a76ef0364f36644ed", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/components/nes.rs (1 fix) [INFO] [stderr] Fixed src/components/mapper.rs (2 fixes) [INFO] [stderr] Fixed src/components/cartridge.rs (3 fixes) [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: 10 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: `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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.86s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking rustnes v0.1.0 (/tmp/fixit) [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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "e1e53f3b1e27eef90b0ff10743f8f7bc90652a7991c1bc1a76ef0364f36644ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e53f3b1e27eef90b0ff10743f8f7bc90652a7991c1bc1a76ef0364f36644ed", kill_on_drop: false }` [INFO] [stdout] e1e53f3b1e27eef90b0ff10743f8f7bc90652a7991c1bc1a76ef0364f36644ed