[INFO] cloning repository https://github.com/EugenFeuer/feuernes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EugenFeuer/feuernes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEugenFeuer%2Ffeuernes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEugenFeuer%2Ffeuernes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d024d5aee59e9d94ce0cb27f4c9fba0bdb4b81c9 [INFO] checking EugenFeuer/feuernes/d024d5aee59e9d94ce0cb27f4c9fba0bdb4b81c9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEugenFeuer%2Ffeuernes" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EugenFeuer/feuernes on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EugenFeuer/feuernes [INFO] finished tweaking git repo https://github.com/EugenFeuer/feuernes [INFO] tweaked toml for git repo https://github.com/EugenFeuer/feuernes written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EugenFeuer/feuernes 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yew v0.18.0 [INFO] [stderr] Downloaded gloo-console v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.75 [INFO] [stderr] Downloaded gloo-storage v0.1.0 [INFO] [stderr] Downloaded cfg-match v0.2.1 [INFO] [stderr] Downloaded gloo-console-timer v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.75 [INFO] [stderr] Downloaded gloo-file v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.25 [INFO] [stderr] Downloaded yew-macro v0.18.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.75 [INFO] [stderr] Downloaded js-sys v0.3.52 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen v0.2.75 [INFO] [stderr] Downloaded gloo v0.2.1 [INFO] [stderr] Downloaded web-sys v0.3.52 [INFO] [stderr] Downloaded gloo v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b3afacda9fa742e4f75ccc3a07d00105efab197f8a9cd4391a602610c9a8bfe [INFO] running `Command { std: "docker" "start" "-a" "8b3afacda9fa742e4f75ccc3a07d00105efab197f8a9cd4391a602610c9a8bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b3afacda9fa742e4f75ccc3a07d00105efab197f8a9cd4391a602610c9a8bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3afacda9fa742e4f75ccc3a07d00105efab197f8a9cd4391a602610c9a8bfe", kill_on_drop: false }` [INFO] [stdout] 8b3afacda9fa742e4f75ccc3a07d00105efab197f8a9cd4391a602610c9a8bfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b59580fcb682fdc9534cb0071413554e53a5cbb440099420a6f4620c41419f4 [INFO] running `Command { std: "docker" "start" "-a" "6b59580fcb682fdc9534cb0071413554e53a5cbb440099420a6f4620c41419f4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.75 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.75 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.75 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.75 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking js-sys v0.3.52 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Checking web-sys v0.3.52 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.25 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-console v0.1.0 [INFO] [stderr] Checking gloo-storage v0.1.0 [INFO] [stderr] Checking gloo-dialogs v0.1.0 [INFO] [stderr] Checking gloo-render v0.1.0 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking gloo v0.3.0 [INFO] [stderr] Checking feuernes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `instructions::*` [INFO] [stdout] --> src/cpu/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trace` [INFO] [stdout] --> src/render/web_renderer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::trace; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/trace.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cpu/instructions/common.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPUStatus` [INFO] [stdout] --> src/cpu/instructions/common.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use crate::cpu::CPUStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::With` [INFO] [stdout] --> src/cpu/instructions/common.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use crate::cpu::With; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cpu/instructions/jump.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPUStatus` [INFO] [stdout] --> src/cpu/instructions/jump.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use crate::cpu::CPUStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::With` [INFO] [stdout] --> src/cpu/instructions/jump.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::cpu::With; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cpu/instructions/memory.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPUStatus` [INFO] [stdout] --> src/cpu/instructions/memory.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::cpu::CPUStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::With` [INFO] [stdout] --> src/cpu/instructions/memory.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::cpu::With; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cpu/instructions/stack.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPUStatus` [INFO] [stdout] --> src/cpu/instructions/stack.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::cpu::CPUStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::With` [INFO] [stdout] --> src/cpu/instructions/stack.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::cpu::With; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/cpu/instructions/status.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPUStatus` [INFO] [stdout] --> src/cpu/instructions/status.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::cpu::CPUStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::With` [INFO] [stdout] --> src/cpu/instructions/status.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use crate::cpu::With; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::CPUStatus` [INFO] [stdout] --> src/cpu/instructions/transfer.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::cpu::CPUStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instructions::*` [INFO] [stdout] --> src/cpu/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use instructions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trace` [INFO] [stdout] --> src/render/web_renderer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::trace; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/trace.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_of_prg_ram_in_8k` [INFO] [stdout] --> src/cartridge.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let size_of_prg_ram_in_8k = raw[8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_of_prg_ram_in_8k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reserved` [INFO] [stdout] --> src/cartridge.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let reserved = raw[9]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_battery_backed_ram` [INFO] [stdout] --> src/cartridge.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let has_battery_backed_ram = ctrl_byte_one & 0b0000_0010 != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_battery_backed_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_of_prg_ram_in_8k` [INFO] [stdout] --> src/cartridge.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let size_of_prg_ram_in_8k = raw[8]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_of_prg_ram_in_8k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reserved` [INFO] [stdout] --> src/cartridge.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let reserved = raw[9]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reserved` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_battery_backed_ram` [INFO] [stdout] --> src/cartridge.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let has_battery_backed_ram = ctrl_byte_one & 0b0000_0010 != 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_battery_backed_ram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/ppu/registers/mod.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn update_bits(&mut self, bits: u8) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_mirror` [INFO] [stdout] --> src/ppu/mod.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let add_mirror = addr - 0x10; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/render/web_renderer.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let frame = self.frame; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ZeroPage` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::ZeroPage` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ZeroPageX` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::ZeroPageX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ZeroPageY` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::ZeroPageY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Absolute` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::Absolute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `AbsoluteX` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::AbsoluteX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `AbsoluteY` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::AbsoluteY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `IndirectX` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::IndirectX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `IndirectY` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::IndirectY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `NoneAddressing` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::NoneAddressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/trace.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (addr, value) = match instruction.mode { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/trace.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | let (addr, value) = match instruction.mode { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ZeroPage` [INFO] [stdout] --> src/trace.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ZeroPage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ZeroPageX` [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ZeroPageX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ZeroPageY` [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ZeroPageY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Absolute` [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Absolute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AbsoluteX` [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AbsoluteX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AbsoluteY` [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AbsoluteY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IndirectX` [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IndirectX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IndirectY` [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IndirectY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NoneAddressing` [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NoneAddressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapper` is never read [INFO] [stdout] --> src/cartridge.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Cartridge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history` and `codes` are never read [INFO] [stdout] --> src/cpu/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | codes: HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with` is never used [INFO] [stdout] --> src/cpu/mod.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub trait With { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 100 | fn with(value: T) -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run` and `interprect` are never used [INFO] [stdout] --> src/cpu/mod.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl CPU { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn interprect(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brk` is never used [INFO] [stdout] --> src/cpu/instructions/jump.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn brk(cpu: &mut CPU) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/opcode.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Opcode { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub op: u8, [INFO] [stdout] 7 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `oam`, `mirroring_type`, and `data_register` are never read [INFO] [stdout] --> src/ppu/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub oam: [u8; 256], [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub mirroring_type: MirroringType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub data_register: PPUDATA, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mirror_vram_addr` is never used [INFO] [stdout] --> src/ppu/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl PPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_mirror_vram_addr(&self, mut addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bits` is never used [INFO] [stdout] --> src/ppu/registers/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait BitwiseRegister { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 25 | fn update_bits(&mut self, bits: u8) {} [INFO] [stdout] 26 | fn get_bits(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_latch` is never used [INFO] [stdout] --> src/ppu/registers/address.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PPUADDR { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn reset_latch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_nametable_address`, `get_sprite_pattern_table_address`, `get_background_pattern_table_address`, `get_sprite_size`, and `get_master_slave_select` are never used [INFO] [stdout] --> src/ppu/registers/controller.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl PPUCTRL { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_nametable_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_sprite_pattern_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_background_pattern_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_sprite_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_master_slave_select(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/ppu/registers/data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PPUDATA { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | data: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_data` and `read_data` are never used [INFO] [stdout] --> src/ppu/registers/data.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl PPUDATA { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn write_data(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn read_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ppu/registers/mask.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PPUMASK { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_grey_scale(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_show_background_in_leftmost(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_show_sprites_in_leftmost(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_show_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_show_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_emphasize_red(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_emphasize_green(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_emphasize_blue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_latch` is never used [INFO] [stdout] --> src/ppu/registers/scroll.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PPUSCROLL { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn reset_latch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_sprite_overflow` and `get_vertical_blank` are never used [INFO] [stdout] --> src/ppu/registers/status.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PPUSTATUS { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_sprite_overflow(&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_vertical_blank(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_shader`, `fragment_shader`, and `u_screen_tex` are never read [INFO] [stdout] --> src/render/web_renderer.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ScreenProgramData { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 35 | program: Option, [INFO] [stdout] 36 | vertex_shader: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | fragment_shader: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | u_screen_tex: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraceInfo` is never constructed [INFO] [stdout] --> src/trace.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TraceInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `dump` are never used [INFO] [stdout] --> src/trace.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TraceInfo { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(frame: u32, cpu: &mut cpu::CPU) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn dump(self: Self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/trace.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn trace(cpu: &mut cpu::CPU, frame: &u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bitflags::core::num::::wrapping_add` that must be used [INFO] [stdout] --> src/ppu/registers/address.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | self.vram_addr.wrapping_add(inc as u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = self.vram_addr.wrapping_add(inc as u16); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ZeroPage` should have a snake case name [INFO] [stdout] --> src/trace.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `zero_page` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ZeroPageX` should have a snake case name [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `zero_page_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ZeroPageY` should have a snake case name [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `zero_page_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Absolute` should have a snake case name [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `absolute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AbsoluteX` should have a snake case name [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `absolute_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AbsoluteY` should have a snake case name [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `absolute_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IndirectX` should have a snake case name [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `indirect_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IndirectY` should have a snake case name [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `indirect_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NoneAddressing` should have a snake case name [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `none_addressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bits` [INFO] [stdout] --> src/ppu/registers/mod.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn update_bits(&mut self, bits: u8) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `add_mirror` [INFO] [stdout] --> src/ppu/mod.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let add_mirror = addr - 0x10; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feuernes` (bin "feuernes") due to 10 previous errors; 58 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/render/web_renderer.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 360 | let frame = self.frame; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ZeroPage` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::ZeroPage` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ZeroPageX` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::ZeroPageX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `ZeroPageY` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::ZeroPageY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Absolute` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::Absolute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `AbsoluteX` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::AbsoluteX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `AbsoluteY` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::AbsoluteY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `IndirectX` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::IndirectX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `IndirectY` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::IndirectY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `NoneAddressing` is named the same as one of the variants of the type `cpu::AddressMode` [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: to match on the variant, qualify the path: `cpu::AddressMode::NoneAddressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 67 | AddressMode::Immediate => {} [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/trace.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (addr, value) = match instruction.mode { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/trace.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | let (addr, value) = match instruction.mode { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ZeroPage` [INFO] [stdout] --> src/trace.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ZeroPage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ZeroPageX` [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ZeroPageX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ZeroPageY` [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ZeroPageY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Absolute` [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Absolute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AbsoluteX` [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AbsoluteX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `AbsoluteY` [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_AbsoluteY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IndirectX` [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IndirectX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `IndirectY` [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IndirectY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NoneAddressing` [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NoneAddressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mapper` is never read [INFO] [stdout] --> src/cartridge.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Cartridge { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history` and `codes` are never read [INFO] [stdout] --> src/cpu/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct CPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 77 | history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 78 | codes: HashSet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `brk` is never used [INFO] [stdout] --> src/cpu/instructions/jump.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn brk(cpu: &mut CPU) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/opcode.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Opcode { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 6 | pub op: u8, [INFO] [stdout] 7 | pub name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opcode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `oam`, `mirroring_type`, and `data_register` are never read [INFO] [stdout] --> src/ppu/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PPU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub oam: [u8; 256], [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub mirroring_type: MirroringType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub data_register: PPUDATA, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_mirror_vram_addr` is never used [INFO] [stdout] --> src/ppu/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl PPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_mirror_vram_addr(&self, mut addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_bits` is never used [INFO] [stdout] --> src/ppu/registers/mod.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait BitwiseRegister { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 25 | fn update_bits(&mut self, bits: u8) {} [INFO] [stdout] 26 | fn get_bits(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_latch` is never used [INFO] [stdout] --> src/ppu/registers/address.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PPUADDR { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn reset_latch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_nametable_address`, `get_sprite_pattern_table_address`, `get_background_pattern_table_address`, `get_sprite_size`, and `get_master_slave_select` are never used [INFO] [stdout] --> src/ppu/registers/controller.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl PPUCTRL { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_nametable_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn get_sprite_pattern_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_background_pattern_table_address(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_sprite_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_master_slave_select(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/ppu/registers/data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PPUDATA { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | data: u8, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_data` and `read_data` are never used [INFO] [stdout] --> src/ppu/registers/data.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl PPUDATA { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn write_data(&mut self, data: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn read_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/ppu/registers/mask.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl PPUMASK { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_grey_scale(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_show_background_in_leftmost(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_show_sprites_in_leftmost(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_show_background(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_show_sprites(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_emphasize_red(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_emphasize_green(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_emphasize_blue(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset_latch` is never used [INFO] [stdout] --> src/ppu/registers/scroll.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PPUSCROLL { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn reset_latch(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_sprite_overflow` and `get_vertical_blank` are never used [INFO] [stdout] --> src/ppu/registers/status.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl PPUSTATUS { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn set_sprite_overflow(&mut self, flag: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn get_vertical_blank(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_shader`, `fragment_shader`, and `u_screen_tex` are never read [INFO] [stdout] --> src/render/web_renderer.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ScreenProgramData { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 35 | program: Option, [INFO] [stdout] 36 | vertex_shader: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | fragment_shader: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | u_screen_tex: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraceInfo` is never constructed [INFO] [stdout] --> src/trace.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TraceInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `dump` are never used [INFO] [stdout] --> src/trace.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TraceInfo { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new(frame: u32, cpu: &mut cpu::CPU) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn dump(self: Self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/trace.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn trace(cpu: &mut cpu::CPU, frame: &u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `bitflags::core::num::::wrapping_add` that must be used [INFO] [stdout] --> src/ppu/registers/address.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | self.vram_addr.wrapping_add(inc as u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the result of the operation, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = self.vram_addr.wrapping_add(inc as u16); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ZeroPage` should have a snake case name [INFO] [stdout] --> src/trace.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | ZeroPage => {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `zero_page` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ZeroPageX` should have a snake case name [INFO] [stdout] --> src/trace.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | ZeroPageX => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `zero_page_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ZeroPageY` should have a snake case name [INFO] [stdout] --> src/trace.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ZeroPageY => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `zero_page_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Absolute` should have a snake case name [INFO] [stdout] --> src/trace.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Absolute => {} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `absolute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AbsoluteX` should have a snake case name [INFO] [stdout] --> src/trace.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | AbsoluteX => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `absolute_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AbsoluteY` should have a snake case name [INFO] [stdout] --> src/trace.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | AbsoluteY => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `absolute_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IndirectX` should have a snake case name [INFO] [stdout] --> src/trace.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | IndirectX => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `indirect_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IndirectY` should have a snake case name [INFO] [stdout] --> src/trace.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | IndirectY => {} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `indirect_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NoneAddressing` should have a snake case name [INFO] [stdout] --> src/trace.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | NoneAddressing => {} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `none_addressing` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `feuernes` (bin "feuernes" test) due to 10 previous errors; 72 warnings emitted [INFO] [stdout] error: aborting due to 9 previous errors; 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6b59580fcb682fdc9534cb0071413554e53a5cbb440099420a6f4620c41419f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b59580fcb682fdc9534cb0071413554e53a5cbb440099420a6f4620c41419f4", kill_on_drop: false }` [INFO] [stdout] 6b59580fcb682fdc9534cb0071413554e53a5cbb440099420a6f4620c41419f4