[INFO] cloning repository https://github.com/breadbored/NUST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/breadbored/NUST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreadbored%2FNUST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreadbored%2FNUST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b822c0dbfb52207871eb4d6a9b0ce70f3738bdf4 [INFO] checking breadbored/NUST against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreadbored%2FNUST" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/breadbored/NUST on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/breadbored/NUST [INFO] finished tweaking git repo https://github.com/breadbored/NUST [INFO] tweaked toml for git repo https://github.com/breadbored/NUST written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/breadbored/NUST 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking breadbored/NUST against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreadbored%2FNUST" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/breadbored/NUST on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/breadbored/NUST [INFO] finished tweaking git repo https://github.com/breadbored/NUST [INFO] tweaked toml for git repo https://github.com/breadbored/NUST written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/breadbored/NUST 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking breadbored/NUST against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreadbored%2FNUST" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/breadbored/NUST on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/breadbored/NUST [INFO] finished tweaking git repo https://github.com/breadbored/NUST [INFO] tweaked toml for git repo https://github.com/breadbored/NUST written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/breadbored/NUST 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded sdl2 v0.36.0 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded sdl2-sys v0.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eae646a1a751765378a8c7802e1e1acd8dcc160b9a66f71bcb3c96ab389bc1db [INFO] running `Command { std: "docker" "start" "-a" "eae646a1a751765378a8c7802e1e1acd8dcc160b9a66f71bcb3c96ab389bc1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eae646a1a751765378a8c7802e1e1acd8dcc160b9a66f71bcb3c96ab389bc1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eae646a1a751765378a8c7802e1e1acd8dcc160b9a66f71bcb3c96ab389bc1db", kill_on_drop: false }` [INFO] [stdout] eae646a1a751765378a8c7802e1e1acd8dcc160b9a66f71bcb3c96ab389bc1db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b20cd40fd4e55c8d4b301c55a3419e1cb5e4770971427c5ea6cc39fdf4bee9e8 [INFO] running `Command { std: "docker" "start" "-a" "b20cd40fd4e55c8d4b301c55a3419e1cb5e4770971427c5ea6cc39fdf4bee9e8", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/cpu/instructions/cpy.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/bpl.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/dey.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/tya.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/plp.rs (1 fix) [INFO] [stderr] Fixed src/ppu/mod.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/sed.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/rts.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/bvs.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/lda.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/tax.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/bcc.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/jsr.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/sec.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/eor.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/ora.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/sbc.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/dex.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/jmp.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/txa.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/sei.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/tay.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/inc.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/cmp.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/php.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/stx.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/clc.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/bcs.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/pla.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/pha.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/brk.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/cld.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/cpx.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/mod.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/cli.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/nop.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/sty.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/tsx.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/rti.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/inx.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/ror.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/asl.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/sta.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/bne.rs (1 fix) [INFO] [stderr] Fixed src/cpu/instructions/and.rs (1 fix) [INFO] [stderr] Fixed src/cpu/mod.rs (2 fixes) [INFO] [stderr] Fixed src/cpu/instructions/beq.rs (1 fix) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcc.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bcc(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cpu/instructions/dec.rs (1 fix) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcs.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bcs(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/beq.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn beq(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cpu/instructions/ldx.rs (1 fix) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bmi.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bmi(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cpu/instructions/ldy.rs (1 fix) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bne.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bne(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cpu/instructions/rol.rs (1 fix) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bpl.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bpl(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cpu/instructions/txs.rs (1 fix) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bvc.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bvc(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cpu/instructions/clv.rs (1 fix) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bvs.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bvs(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cpu/instructions/iny.rs (1 fix) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/clc.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clc(cpu: &mut CPU, instruction: u8, system: &Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/cld.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cld(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/cli.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cli(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/clv.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clv(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand2` [INFO] [stdout] --> src/cpu/instructions/cpx.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operand2: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand2` [INFO] [stdout] --> src/cpu/instructions/cpy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operand2: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/dex.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dex(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/dey.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dey(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/inx.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn inx(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/iny.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn iny(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/cpu/instructions/rol.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let ram = system.lock().unwrap().ram.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sec.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sec(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sed.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sed(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sei.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sei(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tax.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tax(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tay.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tay(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tsx.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tsx(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/txa.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn txa(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/txs.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn txs(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tya.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tya(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | 0x28 => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vram` [INFO] [stdout] --> src/ppu/mod.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let vram = system.lock().unwrap().vram.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/ppu/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let ram = system.lock().unwrap().ram.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/ppu/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let cpu = system.lock().unwrap().cpu.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cartridge/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CartridgeHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 61 | pub ines: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | pub nes2: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | pub submapper: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | pub prg_msb_rom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub chr_msb_rom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | pub chr_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | pub cpu_ppu_timing: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub is_vs_unisystem: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub vs_unisystem: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | pub is_extended_console: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub extended_console: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub misc_roms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | pub default_expansion_device: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeHeader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_chr_from_address` and `read_prg_word` are never used [INFO] [stdout] --> src/cartridge/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Cartridge { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_chr_from_address(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn read_prg_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mapped_word` and `request_nmi_interrupt` are never used [INFO] [stdout] --> src/cpu/mod.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn set_mapped_word(&self, system: &mut Arc>, address: usize, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn request_nmi_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/mod.rs:682:12 [INFO] [stdout] | [INFO] [stdout] 681 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 682 | pub fn new() -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CPU_CLOCK_SPEED` is never used [INFO] [stdout] --> src/cpu/instructions/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const CPU_CLOCK_SPEED: u64 = 559; // 1.79 MHz [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/ppu/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch` is never used [INFO] [stdout] --> src/ppu/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl PPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn fetch(&self, system: &mut Arc>, sprite_num: u8) -> Sprite { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/ppu/screen.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Screen { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 87 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/ppu/screen.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oam` is never read [INFO] [stdout] --> src/system.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct System { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub oam: Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcc.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bcc(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcs.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bcs(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/beq.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn beq(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bmi.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bmi(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bne.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bne(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bpl.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bpl(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bvc.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bvc(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bvs.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bvs(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/clc.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clc(cpu: &mut CPU, instruction: u8, system: &Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/cld.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cld(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/cli.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cli(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/clv.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clv(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand2` [INFO] [stdout] --> src/cpu/instructions/cpx.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operand2: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand2` [INFO] [stdout] --> src/cpu/instructions/cpy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operand2: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/dex.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dex(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/dey.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dey(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/inx.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn inx(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/iny.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn iny(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/cpu/instructions/rol.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let ram = system.lock().unwrap().ram.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sec.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sec(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sed.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sed(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sei.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sei(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tax.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tax(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tay.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tay(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tsx.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tsx(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/txa.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn txa(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/txs.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn txs(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tya.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tya(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | 0x28 => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vram` [INFO] [stdout] --> src/ppu/mod.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let vram = system.lock().unwrap().vram.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/ppu/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let ram = system.lock().unwrap().ram.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/ppu/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let cpu = system.lock().unwrap().cpu.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cartridge/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CartridgeHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 61 | pub ines: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | pub nes2: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | pub submapper: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | pub prg_msb_rom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub chr_msb_rom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | pub chr_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | pub cpu_ppu_timing: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub is_vs_unisystem: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub vs_unisystem: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | pub is_extended_console: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub extended_console: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub misc_roms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | pub default_expansion_device: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeHeader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_chr_from_address` and `read_prg_word` are never used [INFO] [stdout] --> src/cartridge/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Cartridge { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_chr_from_address(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn read_prg_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mapped_word` and `request_nmi_interrupt` are never used [INFO] [stdout] --> src/cpu/mod.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn set_mapped_word(&self, system: &mut Arc>, address: usize, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn request_nmi_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/mod.rs:682:12 [INFO] [stdout] | [INFO] [stdout] 681 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 682 | pub fn new() -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CPU_CLOCK_SPEED` is never used [INFO] [stdout] --> src/cpu/instructions/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const CPU_CLOCK_SPEED: u64 = 559; // 1.79 MHz [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/ppu/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch` is never used [INFO] [stdout] --> src/ppu/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl PPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn fetch(&self, system: &mut Arc>, sprite_num: u8) -> Sprite { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/ppu/screen.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Screen { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 87 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/ppu/screen.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oam` is never read [INFO] [stdout] --> src/system.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct System { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub oam: Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking nust v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcc.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bcc(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcs.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bcs(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcc.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bcc(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/beq.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn beq(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcs.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bcs(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/beq.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn beq(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bmi.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bmi(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bne.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bne(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bmi.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bmi(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bpl.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bpl(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bne.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bne(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bpl.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bpl(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bvc.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bvc(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bvs.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bvs(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bvc.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bvc(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/clc.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clc(cpu: &mut CPU, instruction: u8, system: &Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bvs.rs:6:57 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn bvs(cpu: &mut CPU, instruction: u8, operand: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/cld.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cld(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/cli.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cli(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/clc.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clc(cpu: &mut CPU, instruction: u8, system: &Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/clv.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clv(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/cld.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cld(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/cli.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn cli(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/clv.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn clv(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand2` [INFO] [stdout] --> src/cpu/instructions/cpx.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operand2: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand2` [INFO] [stdout] --> src/cpu/instructions/cpy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operand2: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand2` [INFO] [stdout] --> src/cpu/instructions/cpx.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operand2: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operand2` [INFO] [stdout] --> src/cpu/instructions/cpy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | operand2: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/dex.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dex(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/dey.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dey(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/dex.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dex(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/dey.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn dey(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/inx.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn inx(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/iny.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn iny(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/inx.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn inx(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/iny.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn iny(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/cpu/instructions/rol.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let ram = system.lock().unwrap().ram.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/cpu/instructions/rol.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let ram = system.lock().unwrap().ram.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sec.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sec(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sed.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sed(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sei.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sei(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tax.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tax(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sec.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sec(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tay.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tay(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tsx.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tsx(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sed.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sed(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/txa.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn txa(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/sei.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn sei(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/txs.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn txs(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tya.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tya(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tax.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tax(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tay.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tay(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tsx.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tsx(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | 0x28 => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/txa.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn txa(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/txs.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn txs(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/tya.rs:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tya(cpu: &mut CPU, instruction: u8, system: &mut Arc>) -> u64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | 0x28 => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vram` [INFO] [stdout] --> src/ppu/mod.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let vram = system.lock().unwrap().vram.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/ppu/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let ram = system.lock().unwrap().ram.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/ppu/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let cpu = system.lock().unwrap().cpu.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vram` [INFO] [stdout] --> src/ppu/mod.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let vram = system.lock().unwrap().vram.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ram` [INFO] [stdout] --> src/ppu/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let ram = system.lock().unwrap().ram.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/ppu/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let cpu = system.lock().unwrap().cpu.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cartridge/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CartridgeHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 61 | pub ines: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | pub nes2: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | pub submapper: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | pub prg_msb_rom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub chr_msb_rom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | pub chr_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | pub cpu_ppu_timing: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub is_vs_unisystem: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub vs_unisystem: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | pub is_extended_console: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub extended_console: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub misc_roms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | pub default_expansion_device: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeHeader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_chr_from_address` and `read_prg_word` are never used [INFO] [stdout] --> src/cartridge/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Cartridge { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_chr_from_address(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn read_prg_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mapped_word` and `request_nmi_interrupt` are never used [INFO] [stdout] --> src/cpu/mod.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn set_mapped_word(&self, system: &mut Arc>, address: usize, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn request_nmi_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/mod.rs:682:12 [INFO] [stdout] | [INFO] [stdout] 681 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 682 | pub fn new() -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CPU_CLOCK_SPEED` is never used [INFO] [stdout] --> src/cpu/instructions/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const CPU_CLOCK_SPEED: u64 = 559; // 1.79 MHz [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/ppu/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch` is never used [INFO] [stdout] --> src/ppu/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl PPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn fetch(&self, system: &mut Arc>, sprite_num: u8) -> Sprite { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/ppu/screen.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Screen { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 87 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/ppu/screen.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oam` is never read [INFO] [stdout] --> src/system.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct System { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub oam: Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cartridge/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct CartridgeHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 61 | pub ines: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 62 | pub nes2: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | pub submapper: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | pub prg_msb_rom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | pub chr_msb_rom_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | pub prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 71 | pub chr_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | pub cpu_ppu_timing: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | pub is_vs_unisystem: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | pub vs_unisystem: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 75 | pub is_extended_console: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | pub extended_console: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | pub misc_roms: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | pub default_expansion_device: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CartridgeHeader` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_chr_from_address` and `read_prg_word` are never used [INFO] [stdout] --> src/cartridge/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl Cartridge { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_chr_from_address(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn read_prg_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mapped_word` and `request_nmi_interrupt` are never used [INFO] [stdout] --> src/cpu/mod.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn set_mapped_word(&self, system: &mut Arc>, address: usize, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 676 | pub fn request_nmi_interrupt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cpu/mod.rs:682:12 [INFO] [stdout] | [INFO] [stdout] 681 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 682 | pub fn new() -> Status { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CPU_CLOCK_SPEED` is never used [INFO] [stdout] --> src/cpu/instructions/consts.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const CPU_CLOCK_SPEED: u64 = 559; // 1.79 MHz [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/ppu/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch` is never used [INFO] [stdout] --> src/ppu/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl PPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn fetch(&self, system: &mut Arc>, sprite_num: u8) -> Sprite { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/ppu/screen.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Screen { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 87 | pub width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | pub height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/ppu/screen.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Screen { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `oam` is never read [INFO] [stdout] --> src/system.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct System { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub oam: Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "b20cd40fd4e55c8d4b301c55a3419e1cb5e4770971427c5ea6cc39fdf4bee9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20cd40fd4e55c8d4b301c55a3419e1cb5e4770971427c5ea6cc39fdf4bee9e8", kill_on_drop: false }` [INFO] [stdout] b20cd40fd4e55c8d4b301c55a3419e1cb5e4770971427c5ea6cc39fdf4bee9e8