[INFO] cloning repository https://github.com/pacokwon/NES.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pacokwon/NES.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpacokwon%2FNES.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpacokwon%2FNES.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c87a34ddf3ea87efab254b019413257052289a3b [INFO] checking pacokwon/NES.rs against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpacokwon%2FNES.rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pacokwon/NES.rs [INFO] finished tweaking git repo https://github.com/pacokwon/NES.rs [INFO] tweaked toml for git repo https://github.com/pacokwon/NES.rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pacokwon/NES.rs on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pacokwon/NES.rs 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41b2ac065aee383699a5a6305bc0f60d99e63bf2619b290777e19e8c1b329315 [INFO] running `Command { std: "docker" "start" "-a" "41b2ac065aee383699a5a6305bc0f60d99e63bf2619b290777e19e8c1b329315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41b2ac065aee383699a5a6305bc0f60d99e63bf2619b290777e19e8c1b329315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b2ac065aee383699a5a6305bc0f60d99e63bf2619b290777e19e8c1b329315", kill_on_drop: false }` [INFO] [stdout] 41b2ac065aee383699a5a6305bc0f60d99e63bf2619b290777e19e8c1b329315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 158a72fcb441a6295cfc8eb9cd3ac5496bf03fb4e27573c8ed9335c94a155a97 [INFO] running `Command { std: "docker" "start" "-a" "158a72fcb441a6295cfc8eb9cd3ac5496bf03fb4e27573c8ed9335c94a155a97", kill_on_drop: false }` [INFO] [stderr] Checking nesrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::addr::Addr6502` [INFO] [stdout] --> src/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::addr::Addr6502; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::addr::Addr6502` [INFO] [stdout] --> src/cpu.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::addr::Addr6502; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation` [INFO] [stdout] --> src/cpu.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let operation = &INSTRUCTIONS[opcode]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operation` [INFO] [stdout] --> src/cpu.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let operation = &INSTRUCTIONS[opcode]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Flags` is never used [INFO] [stdout] --> src/cpu.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CpuFlags` is never constructed [INFO] [stdout] --> src/cpu.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CpuFlags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_byte`, `empty`, `set`, and `to_byte` are never used [INFO] [stdout] --> src/cpu.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl CpuFlags { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 35 | pub fn from_byte(byte: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn set(&mut self, flag: Flags, value: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn to_byte(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read`, `write`, `push`, `pull`, and `execute` are never used [INFO] [stdout] --> src/cpu.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn read(&mut self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn push(&mut self, value: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn pull(&mut self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn execute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mnemonic` is never used [INFO] [stdout] --> src/inst.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Mnemonic { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inst` is never constructed [INFO] [stdout] --> src/inst.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Inst { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTRUCTIONS` is never used [INFO] [stdout] --> src/inst.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub static INSTRUCTIONS: [Inst; 0x100] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Inst6502` is never used [INFO] [stdout] --> src/inst.rs:303:11 [INFO] [stdout] | [INFO] [stdout] 303 | pub trait Inst6502 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddrMode` is never used [INFO] [stdout] --> src/addr.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AddrMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Addr6502` is never used [INFO] [stdout] --> src/addr.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Addr6502 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Flags` is never used [INFO] [stdout] --> src/cpu.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CpuFlags` is never constructed [INFO] [stdout] --> src/cpu.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CpuFlags { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_byte`, `empty`, `set`, and `to_byte` are never used [INFO] [stdout] --> src/cpu.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl CpuFlags { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 35 | pub fn from_byte(byte: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn set(&mut self, flag: Flags, value: bool) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn to_byte(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read`, `write`, `push`, `pull`, and `execute` are never used [INFO] [stdout] --> src/cpu.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn read(&mut self, addr: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn push(&mut self, value: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn pull(&mut self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn execute(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Mnemonic` is never used [INFO] [stdout] --> src/inst.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Mnemonic { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inst` is never constructed [INFO] [stdout] --> src/inst.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Inst { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INSTRUCTIONS` is never used [INFO] [stdout] --> src/inst.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub static INSTRUCTIONS: [Inst; 0x100] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Inst6502` is never used [INFO] [stdout] --> src/inst.rs:303:11 [INFO] [stdout] | [INFO] [stdout] 303 | pub trait Inst6502 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddrMode` is never used [INFO] [stdout] --> src/addr.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum AddrMode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Addr6502` is never used [INFO] [stdout] --> src/addr.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Addr6502 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "158a72fcb441a6295cfc8eb9cd3ac5496bf03fb4e27573c8ed9335c94a155a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158a72fcb441a6295cfc8eb9cd3ac5496bf03fb4e27573c8ed9335c94a155a97", kill_on_drop: false }` [INFO] [stdout] 158a72fcb441a6295cfc8eb9cd3ac5496bf03fb4e27573c8ed9335c94a155a97