[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] building breadbored/NUST against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbreadbored%2FNUST" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/breadbored/NUST on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-3-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc6a15734c805177e6e3d7f8e4ac45f3d704351ec9c098b1e64740b20bf16426 [INFO] running `Command { std: "docker" "start" "-a" "cc6a15734c805177e6e3d7f8e4ac45f3d704351ec9c098b1e64740b20bf16426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc6a15734c805177e6e3d7f8e4ac45f3d704351ec9c098b1e64740b20bf16426", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6a15734c805177e6e3d7f8e4ac45f3d704351ec9c098b1e64740b20bf16426", kill_on_drop: false }` [INFO] [stdout] cc6a15734c805177e6e3d7f8e4ac45f3d704351ec9c098b1e64740b20bf16426 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a29c77205b9703cb76fe763362e3658e624fd6f5c26760689d6c712ecdb9729 [INFO] running `Command { std: "docker" "start" "-a" "7a29c77205b9703cb76fe763362e3658e624fd6f5c26760689d6c712ecdb9729", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling getrandom v0.2.12 [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 nust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/and.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/asl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bcc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bcs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/beq.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bne.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bpl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/brk.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bvs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/clc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cld.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/clv.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cmp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cpx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cpy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/dec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/dex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/dey.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/eor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/inc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/inx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/iny.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/jmp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/jsr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/lda.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/ldx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/ldy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::system::System` [INFO] [stdout] --> src/cpu/instructions/nop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::system::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/ora.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/pha.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/php.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/pla.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/plp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/rol.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/ror.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/rti.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/rts.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sbc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sed.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sei.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/stx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sty.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/tax.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/tay.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/tsx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/txa.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/txs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/tya.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CPU_CLOCK_SPEED` [INFO] [stdout] --> src/cpu/instructions/mod.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub use consts::{CPU_CLOCK_SPEED, IRQ_VECTOR, NMI_VECTOR, RESET_VECTOR}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::PPU` [INFO] [stdout] --> src/cpu/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ppu::PPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/ppu/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub use screen::{Color, Screen}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::PPU` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ppu::PPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::CPU` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::{cpu::CPU, ppu::Screen}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcc.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | 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:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | 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:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | 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:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:335:13 [INFO] [stdout] | [INFO] [stdout] 330 | 0x28 => { [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 335 | 0x28 => { [INFO] [stdout] | ^^^^ no value can reach this [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rom: Cartridge = get_rom(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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:612:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 612 | pub fn set_mapped_word(&self, system: &mut Arc>, address: usize, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 678 | 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:684:12 [INFO] [stdout] | [INFO] [stdout] 683 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 684 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.87s [INFO] running `Command { std: "docker" "inspect" "7a29c77205b9703cb76fe763362e3658e624fd6f5c26760689d6c712ecdb9729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a29c77205b9703cb76fe763362e3658e624fd6f5c26760689d6c712ecdb9729", kill_on_drop: false }` [INFO] [stdout] 7a29c77205b9703cb76fe763362e3658e624fd6f5c26760689d6c712ecdb9729 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47b5bd0e8a2a55ad56661ac470375e7c46064912887bb6303e04c7a7fe5279af [INFO] running `Command { std: "docker" "start" "-a" "47b5bd0e8a2a55ad56661ac470375e7c46064912887bb6303e04c7a7fe5279af", kill_on_drop: false }` [INFO] [stderr] Compiling nust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/and.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/asl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bcc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bcs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/beq.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bne.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bpl.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/brk.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/bvs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/clc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cld.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/clv.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cmp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cpx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/cpy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/dec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/dex.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/dey.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/eor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/inc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/inx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/iny.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/jmp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/jsr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/lda.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/ldx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/ldy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::system::System` [INFO] [stdout] --> src/cpu/instructions/nop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::system::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/ora.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/pha.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/php.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/pla.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/plp.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/rol.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/ror.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/rti.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/rts.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sbc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sec.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sed.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sei.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sta.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/stx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/sty.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/tax.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/tay.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/tsx.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/txa.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/txs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/instructions/tya.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CPU_CLOCK_SPEED` [INFO] [stdout] --> src/cpu/instructions/mod.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub use consts::{CPU_CLOCK_SPEED, IRQ_VECTOR, NMI_VECTOR, RESET_VECTOR}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cpu/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::PPU` [INFO] [stdout] --> src/cpu/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ppu::PPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/ppu/mod.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | pub use screen::{Color, Screen}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::PPU` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::ppu::PPU; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cpu::CPU` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::{cpu::CPU, ppu::Screen}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `system` [INFO] [stdout] --> src/cpu/instructions/bcc.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | 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:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | 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:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | 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:6:44 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | 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:335:13 [INFO] [stdout] | [INFO] [stdout] 330 | 0x28 => { [INFO] [stdout] | ---- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 335 | 0x28 => { [INFO] [stdout] | ^^^^ no value can reach this [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rom: Cartridge = get_rom(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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:612:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 612 | pub fn set_mapped_word(&self, system: &mut Arc>, address: usize, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 678 | 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:684:12 [INFO] [stdout] | [INFO] [stdout] 683 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 684 | 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "47b5bd0e8a2a55ad56661ac470375e7c46064912887bb6303e04c7a7fe5279af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47b5bd0e8a2a55ad56661ac470375e7c46064912887bb6303e04c7a7fe5279af", kill_on_drop: false }` [INFO] [stdout] 47b5bd0e8a2a55ad56661ac470375e7c46064912887bb6303e04c7a7fe5279af