[INFO] cloning repository https://github.com/modbrin/nes-emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/modbrin/nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodbrin%2Fnes-emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodbrin%2Fnes-emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 49ffd34b68ec2517617c156ce998adccd0ba3734
[INFO] testing modbrin/nes-emulator against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodbrin%2Fnes-emulator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/modbrin/nes-emulator
[INFO] finished tweaking git repo https://github.com/modbrin/nes-emulator
[INFO] tweaked toml for git repo https://github.com/modbrin/nes-emulator written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/modbrin/nes-emulator on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/modbrin/nes-emulator 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 49a612c8c45445cb27bc94634cbb6a9a59cca219a8d5c882d4f74a0890cd1304
[INFO] running `Command { std: "docker" "start" "-a" "49a612c8c45445cb27bc94634cbb6a9a59cca219a8d5c882d4f74a0890cd1304", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "49a612c8c45445cb27bc94634cbb6a9a59cca219a8d5c882d4f74a0890cd1304", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49a612c8c45445cb27bc94634cbb6a9a59cca219a8d5c882d4f74a0890cd1304", kill_on_drop: false }`
[INFO] [stdout] 49a612c8c45445cb27bc94634cbb6a9a59cca219a8d5c882d4f74a0890cd1304
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b1d16787816f3c94d5bcff9274995554a1141043f2fdbb8423342b2af52d1d0a
[INFO] running `Command { std: "docker" "start" "-a" "b1d16787816f3c94d5bcff9274995554a1141043f2fdbb8423342b2af52d1d0a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling either v1.8.1
[INFO] [stderr]    Compiling once_cell v1.17.2
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling nes-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]  --> src/screen.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mempage_differs` is never used
[INFO] [stdout]   --> src/common.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn mempage_differs(location_a: u16, location_b: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_forbidden_address` is never used
[INFO] [stdout]    --> src/common.rs:203:4
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn is_forbidden_address(addr: u16) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_operands_repr` is never used
[INFO] [stdout]    --> src/common.rs:210:4
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn get_operands_repr(device: &Device, mode: AddressingMode, op: Opcode) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trace` is never used
[INFO] [stdout]    --> src/common.rs:348:8
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub fn trace(device: &Device) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_FREQ` is never used
[INFO] [stdout]   --> src/consts.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const PPU_FREQ: usize = 5_370_000;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STACK_SECTION_END` is never used
[INFO] [stdout]   --> src/consts.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const STACK_SECTION_END: u16 = 0x01FF;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DISPLAY_RES_NTSC` is never used
[INFO] [stdout]   --> src/consts.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub const DISPLAY_RES_NTSC: (usize, usize) = (256, 224);
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DISPLAY_SIZE_NTSC` is never used
[INFO] [stdout]   --> src/consts.rs:60:11
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub const DISPLAY_SIZE_NTSC: usize = DISPLAY_RES_NTSC.0 * DISPLAY_RES_NTSC.1 * 3;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIVERSAL_BKG_COLOR_ADDR` is never used
[INFO] [stdout]   --> src/consts.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub const UNIVERSAL_BKG_COLOR_ADDR: usize = 0x3F00;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Single` is never constructed
[INFO] [stdout]    --> src/consts.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub enum ScrMirror {
[INFO] [stdout]     |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 136 |     Single,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ScrMirror` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `result_extra_cycles` is never used
[INFO] [stdout]    --> src/cpu.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl Device {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn result_extra_cycles(&self, cycles: u8) -> InstResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `skip_n` is never used
[INFO] [stdout]    --> src/device.rs:107:19
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl Device {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub(crate) fn skip_n(&mut self, n: u16) -> Result<(), NesError> {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_le_u16` is never used
[INFO] [stdout]    --> src/memory.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub trait RwMemory {
[INFO] [stdout]     |           -------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn write_le_u16(&mut self, addr: u16, val: u16) -> Result<(), NesError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push`, `get_sprite_overflow`, `get_sprite_zero_hit`, and `set_sprite_overflow` are never used
[INFO] [stdout]    --> src/ppu.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | impl StatusReg {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn push(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn get_sprite_overflow(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn get_sprite_zero_hit(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn set_sprite_overflow(&mut self, state: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mapper_type` is never read
[INFO] [stdout]   --> src/rom.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Rom {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub mapper_type: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.62s
[INFO] running `Command { std: "docker" "inspect" "b1d16787816f3c94d5bcff9274995554a1141043f2fdbb8423342b2af52d1d0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1d16787816f3c94d5bcff9274995554a1141043f2fdbb8423342b2af52d1d0a", kill_on_drop: false }`
[INFO] [stdout] b1d16787816f3c94d5bcff9274995554a1141043f2fdbb8423342b2af52d1d0a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] be11b5387e56614c2140aacf8bc3b39491aa78ad5dbdf28bc18ca9bb943f1159
[INFO] running `Command { std: "docker" "start" "-a" "be11b5387e56614c2140aacf8bc3b39491aa78ad5dbdf28bc18ca9bb943f1159", kill_on_drop: false }`
[INFO] [stderr]    Compiling nes-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]  --> src/screen.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mempage_differs` is never used
[INFO] [stdout]   --> src/common.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn mempage_differs(location_a: u16, location_b: u16) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_forbidden_address` is never used
[INFO] [stdout]    --> src/common.rs:203:4
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn is_forbidden_address(addr: u16) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_operands_repr` is never used
[INFO] [stdout]    --> src/common.rs:210:4
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn get_operands_repr(device: &Device, mode: AddressingMode, op: Opcode) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trace` is never used
[INFO] [stdout]    --> src/common.rs:348:8
[INFO] [stdout]     |
[INFO] [stdout] 348 | pub fn trace(device: &Device) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PPU_FREQ` is never used
[INFO] [stdout]   --> src/consts.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub const PPU_FREQ: usize = 5_370_000;
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STACK_SECTION_END` is never used
[INFO] [stdout]   --> src/consts.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const STACK_SECTION_END: u16 = 0x01FF;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DISPLAY_RES_NTSC` is never used
[INFO] [stdout]   --> src/consts.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub const DISPLAY_RES_NTSC: (usize, usize) = (256, 224);
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DISPLAY_SIZE_NTSC` is never used
[INFO] [stdout]   --> src/consts.rs:60:11
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub const DISPLAY_SIZE_NTSC: usize = DISPLAY_RES_NTSC.0 * DISPLAY_RES_NTSC.1 * 3;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIVERSAL_BKG_COLOR_ADDR` is never used
[INFO] [stdout]   --> src/consts.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub const UNIVERSAL_BKG_COLOR_ADDR: usize = 0x3F00;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Single` is never constructed
[INFO] [stdout]    --> src/consts.rs:136:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub enum ScrMirror {
[INFO] [stdout]     |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 136 |     Single,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ScrMirror` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `result_extra_cycles` is never used
[INFO] [stdout]    --> src/cpu.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | impl Device {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn result_extra_cycles(&self, cycles: u8) -> InstResult {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `skip_n` is never used
[INFO] [stdout]    --> src/device.rs:107:19
[INFO] [stdout]     |
[INFO] [stdout]  17 | impl Device {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub(crate) fn skip_n(&mut self, n: u16) -> Result<(), NesError> {
[INFO] [stdout]     |                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_le_u16` is never used
[INFO] [stdout]    --> src/memory.rs:118:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub trait RwMemory {
[INFO] [stdout]     |           -------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn write_le_u16(&mut self, addr: u16, val: u16) -> Result<(), NesError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `push`, `get_sprite_overflow`, `get_sprite_zero_hit`, and `set_sprite_overflow` are never used
[INFO] [stdout]    --> src/ppu.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | impl StatusReg {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 232 |     pub fn push(&mut self, val: u8) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn get_sprite_overflow(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 244 |     pub fn get_sprite_zero_hit(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn set_sprite_overflow(&mut self, state: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mapper_type` is never read
[INFO] [stdout]   --> src/rom.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Rom {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 10 |     pub mapper_type: u8,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Rom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/common.rs:399:48
[INFO] [stdout]     |
[INFO] [stdout] 399 |         let as_u8 = |val: i8| -> u8 { unsafe { std::mem::transmute(val) } };
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 399 -         let as_u8 = |val: i8| -> u8 { unsafe { std::mem::transmute(val) } };
[INFO] [stdout] 399 +         let as_u8 = |val: i8| -> u8 { unsafe { i8::cast_unsigned(val) } };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s
[INFO] running `Command { std: "docker" "inspect" "be11b5387e56614c2140aacf8bc3b39491aa78ad5dbdf28bc18ca9bb943f1159", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be11b5387e56614c2140aacf8bc3b39491aa78ad5dbdf28bc18ca9bb943f1159", kill_on_drop: false }`
[INFO] [stdout] be11b5387e56614c2140aacf8bc3b39491aa78ad5dbdf28bc18ca9bb943f1159
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 72753076b031bcd5169b906f674c6689f0d9f415ce545af6228b9bff476087e5
[INFO] running `Command { std: "docker" "start" "-a" "72753076b031bcd5169b906f674c6689f0d9f415ce545af6228b9bff476087e5", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::prelude::*`
[INFO] [stderr]  --> src/screen.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `mempage_differs` is never used
[INFO] [stderr]   --> src/common.rs:89:8
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub fn mempage_differs(location_a: u16, location_b: u16) -> bool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: function `is_forbidden_address` is never used
[INFO] [stdout] running 2 tests
[INFO] [stderr]    --> src/common.rs:203:4
[INFO] [stdout] test common::tests::overflow_bit_checks ... ok
[INFO] [stderr]     |
[INFO] [stdout] test cpu::tests::validate_table_bytecodes ... ok
[INFO] [stderr] 203 | fn is_forbidden_address(addr: u16) -> bool {
[INFO] [stdout] 
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: function `get_operands_repr` is never used
[INFO] [stderr]    --> src/common.rs:210:4
[INFO] [stderr]     |
[INFO] [stderr] 210 | fn get_operands_repr(device: &Device, mode: AddressingMode, op: Opcode) -> String {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `trace` is never used
[INFO] [stderr]    --> src/common.rs:348:8
[INFO] [stderr]     |
[INFO] [stderr] 348 | pub fn trace(device: &Device) {
[INFO] [stderr]     |        ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PPU_FREQ` is never used
[INFO] [stderr]   --> src/consts.rs:15:11
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub const PPU_FREQ: usize = 5_370_000;
[INFO] [stderr]    |           ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `STACK_SECTION_END` is never used
[INFO] [stderr]   --> src/consts.rs:18:11
[INFO] [stderr]    |
[INFO] [stderr] 18 | pub const STACK_SECTION_END: u16 = 0x01FF;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DISPLAY_RES_NTSC` is never used
[INFO] [stderr]   --> src/consts.rs:58:11
[INFO] [stderr]    |
[INFO] [stderr] 58 | pub const DISPLAY_RES_NTSC: (usize, usize) = (256, 224);
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DISPLAY_SIZE_NTSC` is never used
[INFO] [stderr]   --> src/consts.rs:60:11
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub const DISPLAY_SIZE_NTSC: usize = DISPLAY_RES_NTSC.0 * DISPLAY_RES_NTSC.1 * 3;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `UNIVERSAL_BKG_COLOR_ADDR` is never used
[INFO] [stderr]   --> src/consts.rs:62:11
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub const UNIVERSAL_BKG_COLOR_ADDR: usize = 0x3F00;
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Single` is never constructed
[INFO] [stderr]    --> src/consts.rs:136:5
[INFO] [stderr]     |
[INFO] [stderr] 133 | pub enum ScrMirror {
[INFO] [stderr]     |          --------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 136 |     Single,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ScrMirror` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `result_extra_cycles` is never used
[INFO] [stderr]    --> src/cpu.rs:123:8
[INFO] [stderr]     |
[INFO] [stderr] 106 | impl Device {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 123 |     fn result_extra_cycles(&self, cycles: u8) -> InstResult {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `skip_n` is never used
[INFO] [stderr]    --> src/device.rs:107:19
[INFO] [stderr]     |
[INFO] [stderr]  17 | impl Device {
[INFO] [stderr]     | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 107 |     pub(crate) fn skip_n(&mut self, n: u16) -> Result<(), NesError> {
[INFO] [stderr]     |                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `write_le_u16` is never used
[INFO] [stderr]    --> src/memory.rs:118:8
[INFO] [stderr]     |
[INFO] [stderr] 103 | pub trait RwMemory {
[INFO] [stderr]     |           -------- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 118 |     fn write_le_u16(&mut self, addr: u16, val: u16) -> Result<(), NesError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `push`, `get_sprite_overflow`, `get_sprite_zero_hit`, and `set_sprite_overflow` are never used
[INFO] [stderr]    --> src/ppu.rs:232:12
[INFO] [stderr]     |
[INFO] [stderr] 227 | impl StatusReg {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 232 |     pub fn push(&mut self, val: u8) {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 240 |     pub fn get_sprite_overflow(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 244 |     pub fn get_sprite_zero_hit(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 252 |     pub fn set_sprite_overflow(&mut self, state: bool) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `mapper_type` is never read
[INFO] [stderr]   --> src/rom.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr]  7 | pub struct Rom {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 10 |     pub mapper_type: u8,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Rom` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary transmute
[INFO] [stderr]    --> src/common.rs:399:48
[INFO] [stderr]     |
[INFO] [stderr] 399 |         let as_u8 = |val: i8| -> u8 { unsafe { std::mem::transmute(val) } };
[INFO] [stderr]     |                                                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stderr] help: replace this with
[INFO] [stderr]     |
[INFO] [stderr] 399 -         let as_u8 = |val: i8| -> u8 { unsafe { std::mem::transmute(val) } };
[INFO] [stderr] 399 +         let as_u8 = |val: i8| -> u8 { unsafe { i8::cast_unsigned(val) } };
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `nes-emulator` (bin "nes-emulator" test) generated 17 warnings (run `cargo fix --bin "nes-emulator" -p nes-emulator --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nes_emulator-0bd1c90b548caec1)
[INFO] running `Command { std: "docker" "inspect" "72753076b031bcd5169b906f674c6689f0d9f415ce545af6228b9bff476087e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72753076b031bcd5169b906f674c6689f0d9f415ce545af6228b9bff476087e5", kill_on_drop: false }`
[INFO] [stdout] 72753076b031bcd5169b906f674c6689f0d9f415ce545af6228b9bff476087e5
