[INFO] cloning repository https://github.com/cookie99999/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/cookie99999/nes-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcookie99999%2Fnes-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcookie99999%2Fnes-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fdcf0884b38263da2048190afc083bddc5dc7c10
[INFO] checking cookie99999/nes-rs against try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcookie99999%2Fnes-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cookie99999/nes-rs
[INFO] finished tweaking git repo https://github.com/cookie99999/nes-rs
[INFO] tweaked toml for git repo https://github.com/cookie99999/nes-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cookie99999/nes-rs on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cookie99999/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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b3f6297750798299e392fe6137b37552c6d33e6d3b07016fe050175e680d783
[INFO] running `Command { std: "docker" "start" "-a" "2b3f6297750798299e392fe6137b37552c6d33e6d3b07016fe050175e680d783", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b3f6297750798299e392fe6137b37552c6d33e6d3b07016fe050175e680d783", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b3f6297750798299e392fe6137b37552c6d33e6d3b07016fe050175e680d783", kill_on_drop: false }`
[INFO] [stdout] 2b3f6297750798299e392fe6137b37552c6d33e6d3b07016fe050175e680d783
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cdf49168906301cbc5c4ba4ed84868746853384dad62e4d0224076c5e59b74fe
[INFO] running `Command { std: "docker" "start" "-a" "cdf49168906301cbc5c4ba4ed84868746853384dad62e4d0224076c5e59b74fe", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling sdl2 v0.37.0
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]    Compiling sdl2-sys v0.37.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking emu6502 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `priority`
[INFO] [stdout]    --> src/main.rs:107:6
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let priority: bool = ((attr >> 5) & 1) != 0;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_screen` is never used
[INFO] [stdout]   --> src/main.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn draw_screen(ppu: &mut ppu::Ppu, tex: &mut sdl2::render::Texture) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `opcode` is never read
[INFO] [stdout]   --> src/cpu.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Instruction {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 15 |     opcode: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NMOS`, `CMOS`, and `WDC` are never constructed
[INFO] [stdout]   --> src/cpu.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 97 | enum CPUModel {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 98 |     NMOS, R2A03, CMOS, WDC,
[INFO] [stdout]    |     ^^^^         ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `model` is never read
[INFO] [stdout]    --> src/cpu.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct Cpu {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 129 |     model: CPUModel,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disas` is never used
[INFO] [stdout]    --> src/cpu.rs:208:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl Cpu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 208 |     pub fn disas(&mut self, opcode: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_word` is never used
[INFO] [stdout]  --> src/bus.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Bus {
[INFO] [stdout]   |           --- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 8 |     fn write_word(&mut self, addr: u16, data: u16);
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Both` is never constructed
[INFO] [stdout]   --> src/bus.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum Mirroring {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Both,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Mirroring` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VRAM_END` is never used
[INFO] [stdout]  --> src/ppu.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const VRAM_END: u16 = 0x2fff;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `framebuffer` and `oamdma` are never read
[INFO] [stdout]   --> src/ppu.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Ppu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     framebuffer: [u32; 256 * 240],
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     oamdma: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_oam`, `write_pixel`, `read_pixel`, and `draw_tile` are never used
[INFO] [stdout]    --> src/ppu.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl Ppu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn read_oam(&mut self, addr: usize) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     pub fn write_pixel(&mut self, x: u8, y: u8, pix: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn read_pixel(&mut self, x: u8, y: u8) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn draw_tile(&mut self, x: u8, y: u8, tile: u8, table: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/cpu.rs:794:22
[INFO] [stdout]     |
[INFO] [stdout] 794 |         self.p.set(PSW::C, self.x >= 0);
[INFO] [stdout]     |                            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `priority`
[INFO] [stdout]    --> src/main.rs:107:6
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let priority: bool = ((attr >> 5) & 1) != 0;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_priority`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_screen` is never used
[INFO] [stdout]   --> src/main.rs:11:4
[INFO] [stdout]    |
[INFO] [stdout] 11 | fn draw_screen(ppu: &mut ppu::Ppu, tex: &mut sdl2::render::Texture) {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `opcode` is never read
[INFO] [stdout]   --> src/cpu.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Instruction {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 15 |     opcode: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NMOS`, `CMOS`, and `WDC` are never constructed
[INFO] [stdout]   --> src/cpu.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 97 | enum CPUModel {
[INFO] [stdout]    |      -------- variants in this enum
[INFO] [stdout] 98 |     NMOS, R2A03, CMOS, WDC,
[INFO] [stdout]    |     ^^^^         ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `model` is never read
[INFO] [stdout]    --> src/cpu.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct Cpu {
[INFO] [stdout]     |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 129 |     model: CPUModel,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `disas` is never used
[INFO] [stdout]    --> src/cpu.rs:208:12
[INFO] [stdout]     |
[INFO] [stdout] 136 | impl Cpu {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 208 |     pub fn disas(&mut self, opcode: u8) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_word` is never used
[INFO] [stdout]  --> src/bus.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Bus {
[INFO] [stdout]   |           --- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 8 |     fn write_word(&mut self, addr: u16, data: u16);
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Both` is never constructed
[INFO] [stdout]   --> src/bus.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub enum Mirroring {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 24 |     Both,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Mirroring` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VRAM_END` is never used
[INFO] [stdout]  --> src/ppu.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const VRAM_END: u16 = 0x2fff;
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `framebuffer` and `oamdma` are never read
[INFO] [stdout]   --> src/ppu.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Ppu {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     framebuffer: [u32; 256 * 240],
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     oamdma: u8,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_oam`, `write_pixel`, `read_pixel`, and `draw_tile` are never used
[INFO] [stdout]    --> src/ppu.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout]  33 | impl Ppu {
[INFO] [stdout]     | -------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn read_oam(&mut self, addr: usize) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     pub fn write_pixel(&mut self, x: u8, y: u8, pix: u32) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn read_pixel(&mut self, x: u8, y: u8) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 236 |     pub fn draw_tile(&mut self, x: u8, y: u8, tile: u8, table: u8) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/cpu.rs:794:22
[INFO] [stdout]     |
[INFO] [stdout] 794 |         self.p.set(PSW::C, self.x >= 0);
[INFO] [stdout]     |                            ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.11s
[INFO] running `Command { std: "docker" "inspect" "cdf49168906301cbc5c4ba4ed84868746853384dad62e4d0224076c5e59b74fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdf49168906301cbc5c4ba4ed84868746853384dad62e4d0224076c5e59b74fe", kill_on_drop: false }`
[INFO] [stdout] cdf49168906301cbc5c4ba4ed84868746853384dad62e4d0224076c5e59b74fe
