[INFO] cloning repository https://github.com/shmuelamit/Nust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shmuelamit/Nust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmuelamit%2FNust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmuelamit%2FNust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f202d0aa4dcc7919cce1a055b2d11c1a78317527 [INFO] testing shmuelamit/Nust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshmuelamit%2FNust" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shmuelamit/Nust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shmuelamit/Nust [INFO] finished tweaking git repo https://github.com/shmuelamit/Nust [INFO] tweaked toml for git repo https://github.com/shmuelamit/Nust written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/shmuelamit/Nust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pixels v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6db0136a014261405fe037cbef69247e766b89c575c05845de458506c5a46bc8 [INFO] running `Command { std: "docker" "start" "-a" "6db0136a014261405fe037cbef69247e766b89c575c05845de458506c5a46bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6db0136a014261405fe037cbef69247e766b89c575c05845de458506c5a46bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db0136a014261405fe037cbef69247e766b89c575c05845de458506c5a46bc8", kill_on_drop: false }` [INFO] [stdout] 6db0136a014261405fe037cbef69247e766b89c575c05845de458506c5a46bc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 406a2296eb0f1073cd72820bc32e731eceee97e09b099a3a55a0e6ae081ad39b [INFO] running `Command { std: "docker" "start" "-a" "406a2296eb0f1073cd72820bc32e731eceee97e09b099a3a55a0e6ae081ad39b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling drm-fourcc v2.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling glow v0.9.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling profiling v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling wgpu-types v0.9.0 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-core v0.9.2 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ash v0.32.1 [INFO] [stderr] Compiling gfx-renderdoc v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling gpu-alloc v0.4.7 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling wide v0.6.5 [INFO] [stderr] Compiling gpu-descriptor v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling ultraviolet v0.8.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rose_tree v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling naga v0.5.0 [INFO] [stderr] Compiling external-memory v0.0.1 [INFO] [stderr] Compiling gfx-hal v0.9.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.9.0 [INFO] [stderr] Compiling gfx-backend-gl v0.9.0 [INFO] [stderr] Compiling gfx-backend-empty v0.9.0 [INFO] [stderr] Compiling wgpu v0.9.0 [INFO] [stderr] Compiling pixels v0.5.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit_input_helper v0.10.0 [INFO] [stderr] Compiling nust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `Pixels`, `SurfaceTexture` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use pixels::{Error, Pixels, SurfaceTexture}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::dpi::LogicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLoop` [INFO] [stdout] --> src/main.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::WindowBuilder` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::window::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bus.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut scale = window.scale_factor(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_plp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn cpu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn ppu_map_read(&self, addr: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [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/bus/mappers/mapper_0.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn ppu_map_read(&self, addr: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [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/bus/mappers/mapper_3.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/screen.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut pixels = Pixels::new( [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut scale = window.scale_factor(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STACK_START_ADDR` [INFO] [stdout] --> src/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const STACK_START_ADDR: u16 = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode_table` [INFO] [stdout] --> src/cpu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | opcode_table: [Opcode; 256], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bit` [INFO] [stdout] --> src/cpu.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_bit(&self, flag: Self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_next` [INFO] [stdout] --> src/cpu.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push` [INFO] [stdout] --> src/cpu.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn stack_push(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push_word` [INFO] [stdout] --> src/cpu.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn stack_push_word(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop` [INFO] [stdout] --> src/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn stack_pop(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop_word` [INFO] [stdout] --> src/cpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn stack_pop_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_opcode_table(&self) -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_bus` [INFO] [stdout] --> src/cpu.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_from_bus(bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/nes_parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/nes_parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FourWay` [INFO] [stdout] --> src/nes_parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | FourWay, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sign_parse` [INFO] [stdout] --> src/nes_parser.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sign_parse(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mapper_flags_parse` [INFO] [stdout] --> src/nes_parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn mapper_flags_parse(input: &[u8]) -> IResult<&[u8], (u8, InesFlags6, InesFlags7)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_header` [INFO] [stdout] --> src/nes_parser.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_ines_header(input: &[u8]) -> IResult<&[u8], InesHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_bytes` [INFO] [stdout] --> src/nes_parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn parse_ines_bytes(input: &[u8]) -> IResult<&[u8], InesFile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file_as_byte_vec` [INFO] [stdout] --> src/nes_parser.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ines_to_cartridge` [INFO] [stdout] --> src/nes_parser.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn ines_to_cartridge(ines: InesFile) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_cartridge_from_file` [INFO] [stdout] --> src/nes_parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_cartridge_from_file(filename: &str) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/bus.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | cycles: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_word` [INFO] [stdout] --> src/bus.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn cpu_read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_zp_word` [INFO] [stdout] --> src/bus.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cpu_read_zp_word(&self, addr: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write` [INFO] [stdout] --> src/bus.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn cpu_write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_word` [INFO] [stdout] --> src/bus.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn cpu_write_word(&mut self, addr: u16, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_zp_word` [INFO] [stdout] --> src/bus.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn cpu_write_zp_word(&mut self, addr: u8, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/bus.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn cycle(&mut self, cycles: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cycles` [INFO] [stdout] --> src/bus.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_crt` [INFO] [stdout] --> src/bus.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn create_from_crt(crt: Cartridge) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ppu` [INFO] [stdout] --> src/ppu.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Ppu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPG` [INFO] [stdout] --> src/cpu/instructions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ZPG, // Zero page [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPX` [INFO] [stdout] --> src/cpu/instructions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ZPX, // Zero page, X [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPY` [INFO] [stdout] --> src/cpu/instructions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ZPY, // Zero page, Y [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABS` [INFO] [stdout] --> src/cpu/instructions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ABS, // Absolute [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABX` [INFO] [stdout] --> src/cpu/instructions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ABX, // Absolute, X [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABY` [INFO] [stdout] --> src/cpu/instructions.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ABY, // Absolute, Y [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IND` [INFO] [stdout] --> src/cpu/instructions.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IND, // Indirect [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMP` [INFO] [stdout] --> src/cpu/instructions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | IMP, // Implied [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/cpu/instructions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ACC, // Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMM` [INFO] [stdout] --> src/cpu/instructions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | IMM, // Immediate [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REL` [INFO] [stdout] --> src/cpu/instructions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | REL, // Relative [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDX` [INFO] [stdout] --> src/cpu/instructions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | IDX, // (Indirect, X) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDY` [INFO] [stdout] --> src/cpu/instructions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | IDY, // (Indirect), Y [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `addr_to_instr` [INFO] [stdout] --> src/cpu/instructions.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn addr_to_instr(cpu: &Cpu, addr: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump_current_instruction` [INFO] [stdout] --> src/cpu/instructions.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn dump_current_instruction(cpu: &mut Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_input_address` [INFO] [stdout] --> src/cpu/instructions.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn is_input_address(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_opcode` [INFO] [stdout] --> src/cpu/instructions.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn make_opcode( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu/instructions.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_opcode_table() -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapper` [INFO] [stdout] --> src/bus/mappers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_mapper(ines: &InesFile) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_value(cpu: &mut Cpu, mode: AddresingMode, input: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_nz_flags` [INFO] [stdout] --> src/cpu/instructions/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_nz_flags(cpu: &mut Cpu, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `does_current_instr_need_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn does_current_instr_need_cross(cpu: &mut Cpu) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_chk_page_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn add_chk_page_cross(cpu: &mut Cpu, addr: u16, offset: u16) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/cpu/instructions/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_input(cpu: &mut Cpu, addresing_mode: AddresingMode) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instr_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read_instr_value(cpu: &mut Cpu, mode: AddresingMode) -> (u16, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `branch` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn branch(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn instr_bcs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_bcc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_beq` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_beq(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bne` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_bne(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bmi` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_bmi(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bpl` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn instr_bpl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_bvs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn instr_bvc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sei` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn instr_sei(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sed` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn instr_sed(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sec` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn instr_sec(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clc` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_clc(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cld` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_cld(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cli` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn instr_cli(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clv` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_clv(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_nop` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_nop(_cpu: &mut Cpu, _mode: AddresingMode) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn instr_inx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dex` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn instr_dex(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_iny` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_iny(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dey` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn instr_dey(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tax` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn instr_tax(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tay` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn instr_tay(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tsx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn instr_tsx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txs` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn instr_txs(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txa` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn instr_txa(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tya` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn instr_tya(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lda` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn instr_lda(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_ldx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_ldy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cmp` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn instr_cmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_and` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_and(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_eor` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn instr_eor(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ora` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn instr_ora(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bit` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_bit(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_adc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn instr_adc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sbc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn instr_sbc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instr_cpx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn instr_cpy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `general_shift` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn general_shift( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_asl` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn instr_asl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lsr` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn instr_lsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rol` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn instr_rol(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ror` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_ror(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inc` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn instr_inc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dec` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn instr_dec(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pha` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn instr_pha(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_php` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_php(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pla` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_pla(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_plp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_plp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jmp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn instr_jmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_brk` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_brk(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rti` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_rti(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jsr` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn instr_jsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rts` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn instr_rts(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sta` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_sta(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sty` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_sty(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_stx` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_stx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 133 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.92s [INFO] running `Command { std: "docker" "inspect" "406a2296eb0f1073cd72820bc32e731eceee97e09b099a3a55a0e6ae081ad39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406a2296eb0f1073cd72820bc32e731eceee97e09b099a3a55a0e6ae081ad39b", kill_on_drop: false }` [INFO] [stdout] 406a2296eb0f1073cd72820bc32e731eceee97e09b099a3a55a0e6ae081ad39b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62674d9da00cf0d7b6badbbf9129a96f335fbf1fdd2fa4d944a1a3534ef6e8a0 [INFO] running `Command { std: "docker" "start" "-a" "62674d9da00cf0d7b6badbbf9129a96f335fbf1fdd2fa4d944a1a3534ef6e8a0", kill_on_drop: false }` [INFO] [stderr] Compiling nust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error`, `Pixels`, `SurfaceTexture` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use pixels::{Error, Pixels, SurfaceTexture}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winit::dpi::LogicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLoop` [INFO] [stdout] --> src/main.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::window::WindowBuilder` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::window::WindowBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bus.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let mut scale = window.scale_factor(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_plp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn cpu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn ppu_map_read(&self, addr: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [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/bus/mappers/mapper_0.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn ppu_map_read(&self, addr: u16) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [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/bus/mappers/mapper_3.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/screen.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut pixels = Pixels::new( [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut scale = window.scale_factor(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STACK_START_ADDR` [INFO] [stdout] --> src/cpu.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const STACK_START_ADDR: u16 = 0x100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `opcode_table` [INFO] [stdout] --> src/cpu.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | opcode_table: [Opcode; 256], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bit` [INFO] [stdout] --> src/cpu.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn get_bit(&self, flag: Self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_next` [INFO] [stdout] --> src/cpu.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn execute_next(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push` [INFO] [stdout] --> src/cpu.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn stack_push(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_push_word` [INFO] [stdout] --> src/cpu.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn stack_push_word(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop` [INFO] [stdout] --> src/cpu.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn stack_pop(&mut self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stack_pop_word` [INFO] [stdout] --> src/cpu.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn stack_pop_word(&mut self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_opcode_table(&self) -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_bus` [INFO] [stdout] --> src/cpu.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_from_bus(bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/nes_parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/nes_parser.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FourWay` [INFO] [stdout] --> src/nes_parser.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | FourWay, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sign_parse` [INFO] [stdout] --> src/nes_parser.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn sign_parse(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mapper_flags_parse` [INFO] [stdout] --> src/nes_parser.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn mapper_flags_parse(input: &[u8]) -> IResult<&[u8], (u8, InesFlags6, InesFlags7)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_header` [INFO] [stdout] --> src/nes_parser.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_ines_header(input: &[u8]) -> IResult<&[u8], InesHeader> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ines_bytes` [INFO] [stdout] --> src/nes_parser.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn parse_ines_bytes(input: &[u8]) -> IResult<&[u8], InesFile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_file_as_byte_vec` [INFO] [stdout] --> src/nes_parser.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ines_to_cartridge` [INFO] [stdout] --> src/nes_parser.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn ines_to_cartridge(ines: InesFile) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_cartridge_from_file` [INFO] [stdout] --> src/nes_parser.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn get_cartridge_from_file(filename: &str) -> Cartridge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cycles` [INFO] [stdout] --> src/bus.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | cycles: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_word` [INFO] [stdout] --> src/bus.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn cpu_read_word(&self, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_read_zp_word` [INFO] [stdout] --> src/bus.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn cpu_read_zp_word(&self, addr: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write` [INFO] [stdout] --> src/bus.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn cpu_write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_word` [INFO] [stdout] --> src/bus.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn cpu_write_word(&mut self, addr: u16, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cpu_write_zp_word` [INFO] [stdout] --> src/bus.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn cpu_write_zp_word(&mut self, addr: u8, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/bus.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn cycle(&mut self, cycles: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cycles` [INFO] [stdout] --> src/bus.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_cycles(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_from_crt` [INFO] [stdout] --> src/bus.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn create_from_crt(crt: Cartridge) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Ppu` [INFO] [stdout] --> src/ppu.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) struct Ppu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPG` [INFO] [stdout] --> src/cpu/instructions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | ZPG, // Zero page [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPX` [INFO] [stdout] --> src/cpu/instructions.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | ZPX, // Zero page, X [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ZPY` [INFO] [stdout] --> src/cpu/instructions.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ZPY, // Zero page, Y [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABS` [INFO] [stdout] --> src/cpu/instructions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ABS, // Absolute [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABX` [INFO] [stdout] --> src/cpu/instructions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ABX, // Absolute, X [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ABY` [INFO] [stdout] --> src/cpu/instructions.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | ABY, // Absolute, Y [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IND` [INFO] [stdout] --> src/cpu/instructions.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | IND, // Indirect [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMP` [INFO] [stdout] --> src/cpu/instructions.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | IMP, // Implied [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ACC` [INFO] [stdout] --> src/cpu/instructions.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ACC, // Accumulator [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IMM` [INFO] [stdout] --> src/cpu/instructions.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | IMM, // Immediate [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `REL` [INFO] [stdout] --> src/cpu/instructions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | REL, // Relative [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDX` [INFO] [stdout] --> src/cpu/instructions.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | IDX, // (Indirect, X) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IDY` [INFO] [stdout] --> src/cpu/instructions.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | IDY, // (Indirect), Y [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cpu/instructions.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `addr_to_instr` [INFO] [stdout] --> src/cpu/instructions.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn addr_to_instr(cpu: &Cpu, addr: u16) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dump_current_instruction` [INFO] [stdout] --> src/cpu/instructions.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn dump_current_instruction(cpu: &mut Cpu) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_input_address` [INFO] [stdout] --> src/cpu/instructions.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn is_input_address(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_length` [INFO] [stdout] --> src/cpu/instructions.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn get_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_opcode` [INFO] [stdout] --> src/cpu/instructions.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn make_opcode( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_opcode_table` [INFO] [stdout] --> src/cpu/instructions.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn get_opcode_table() -> [Opcode; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_mapper` [INFO] [stdout] --> src/bus/mappers.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_mapper(ines: &InesFile) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn get_value(cpu: &mut Cpu, mode: AddresingMode, input: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_nz_flags` [INFO] [stdout] --> src/cpu/instructions/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn set_nz_flags(cpu: &mut Cpu, result: u8) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `does_current_instr_need_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn does_current_instr_need_cross(cpu: &mut Cpu) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_chk_page_cross` [INFO] [stdout] --> src/cpu/instructions/utils.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn add_chk_page_cross(cpu: &mut Cpu, addr: u16, offset: u16) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_input` [INFO] [stdout] --> src/cpu/instructions/utils.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_input(cpu: &mut Cpu, addresing_mode: AddresingMode) -> (u16, bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_instr_value` [INFO] [stdout] --> src/cpu/instructions/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read_instr_value(cpu: &mut Cpu, mode: AddresingMode) -> (u16, u8, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `branch` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn branch(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn instr_bcs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bcc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_bcc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_beq` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_beq(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bne` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_bne(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bmi` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_bmi(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bpl` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn instr_bpl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvs` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_bvs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bvc` [INFO] [stdout] --> src/cpu/instructions/branch_opcodes.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn instr_bvc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sei` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn instr_sei(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sed` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn instr_sed(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sec` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn instr_sec(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clc` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_clc(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cld` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn instr_cld(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cli` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn instr_cli(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_clv` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_clv(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_nop` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instr_nop(_cpu: &mut Cpu, _mode: AddresingMode) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn instr_inx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dex` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn instr_dex(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_iny` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_iny(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dey` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn instr_dey(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tax` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn instr_tax(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tay` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn instr_tay(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tsx` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn instr_tsx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txs` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn instr_txs(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_txa` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn instr_txa(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_tya` [INFO] [stdout] --> src/cpu/instructions/imp_opcodes.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn instr_tya(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lda` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn instr_lda(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_ldx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ldy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn instr_ldy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cmp` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn instr_cmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_and` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn instr_and(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_eor` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn instr_eor(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ora` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn instr_ora(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_bit` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn instr_bit(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_adc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn instr_adc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sbc` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn instr_sbc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpx` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn instr_cpx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_cpy` [INFO] [stdout] --> src/cpu/instructions/read_opcodes.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn instr_cpy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `general_shift` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn general_shift( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_asl` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn instr_asl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_lsr` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn instr_lsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rol` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn instr_rol(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_ror` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn instr_ror(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_inc` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn instr_inc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_dec` [INFO] [stdout] --> src/cpu/instructions/rmw_opcodes.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn instr_dec(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pha` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn instr_pha(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_php` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_php(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_pla` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_pla(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_plp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_plp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jmp` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn instr_jmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_brk` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn instr_brk(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rti` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn instr_rti(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_jsr` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn instr_jsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_rts` [INFO] [stdout] --> src/cpu/instructions/routine_opcodes.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn instr_rts(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sta` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn instr_sta(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_sty` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn instr_sty(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `instr_stx` [INFO] [stdout] --> src/cpu/instructions/write_opcodes.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn instr_stx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_0.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `chr_banks` [INFO] [stdout] --> src/bus/mappers/mapper_3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub chr_banks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 133 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "62674d9da00cf0d7b6badbbf9129a96f335fbf1fdd2fa4d944a1a3534ef6e8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62674d9da00cf0d7b6badbbf9129a96f335fbf1fdd2fa4d944a1a3534ef6e8a0", kill_on_drop: false }` [INFO] [stdout] 62674d9da00cf0d7b6badbbf9129a96f335fbf1fdd2fa4d944a1a3534ef6e8a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f828517c75fa085bb190314b291cdd668a9f9aa46081d77ee38bcfcea8b0a349 [INFO] running `Command { std: "docker" "start" "-a" "f828517c75fa085bb190314b291cdd668a9f9aa46081d77ee38bcfcea8b0a349", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Error`, `Pixels`, `SurfaceTexture` [INFO] [stderr] --> src/main.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | use pixels::{Error, Pixels, SurfaceTexture}; [INFO] [stderr] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use winit::dpi::LogicalSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EventLoop` [INFO] [stderr] --> src/main.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | use winit::event_loop::{ControlFlow, EventLoop}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winit::window::WindowBuilder` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use winit::window::WindowBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/bus.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | _ => { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scale` [INFO] [stderr] --> src/main.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | let mut scale = window.scale_factor(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mode` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn instr_plp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/bus/mappers/mapper_0.rs:17:44 [INFO] [stderr] | [INFO] [stderr] 17 | fn cpu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/bus/mappers/mapper_0.rs:25:28 [INFO] [stderr] | [INFO] [stderr] 25 | fn ppu_map_read(&self, addr: u16) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/bus/mappers/mapper_0.rs:29:33 [INFO] [stderr] | [INFO] [stderr] 29 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/bus/mappers/mapper_0.rs:29:44 [INFO] [stderr] | [INFO] [stderr] 29 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/bus/mappers/mapper_3.rs:31:28 [INFO] [stderr] | [INFO] [stderr] 31 | fn ppu_map_read(&self, addr: u16) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/bus/mappers/mapper_3.rs:35:33 [INFO] [stderr] | [INFO] [stderr] 35 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/bus/mappers/mapper_3.rs:35:44 [INFO] [stderr] | [INFO] [stderr] 35 | fn ppu_map_write(&mut self, addr: u16, value: u8) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/screen.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let mut pixels = Pixels::new( [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let mut scale = window.scale_factor(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `STACK_START_ADDR` [INFO] [stderr] --> src/cpu.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | const STACK_START_ADDR: u16 = 0x100; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `opcode_table` [INFO] [stderr] --> src/cpu.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | opcode_table: [Opcode; 256], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_bit` [INFO] [stderr] --> src/cpu.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn get_bit(&self, flag: Self) -> u8 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `execute_next` [INFO] [stderr] --> src/cpu.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn execute_next(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `stack_push` [INFO] [stderr] --> src/cpu.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn stack_push(&mut self, value: u8) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `stack_push_word` [INFO] [stderr] --> src/cpu.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn stack_push_word(&mut self, value: u16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `stack_pop` [INFO] [stderr] --> src/cpu.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn stack_pop(&mut self) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `stack_pop_word` [INFO] [stderr] --> src/cpu.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn stack_pop_word(&mut self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_opcode_table` [INFO] [stderr] --> src/cpu.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn get_opcode_table(&self) -> [Opcode; 256] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create_from_bus` [INFO] [stderr] --> src/cpu.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn create_from_bus(bus: Bus) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Vertical` [INFO] [stderr] --> src/nes_parser.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | Vertical, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Horizontal` [INFO] [stderr] --> src/nes_parser.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | Horizontal, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `FourWay` [INFO] [stderr] --> src/nes_parser.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | FourWay, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `sign_parse` [INFO] [stderr] --> src/nes_parser.rs:76:4 [INFO] [stderr] | [INFO] [stderr] 76 | fn sign_parse(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `mapper_flags_parse` [INFO] [stderr] --> src/nes_parser.rs:80:4 [INFO] [stderr] | [INFO] [stderr] 80 | fn mapper_flags_parse(input: &[u8]) -> IResult<&[u8], (u8, InesFlags6, InesFlags7)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_ines_header` [INFO] [stderr] --> src/nes_parser.rs:94:4 [INFO] [stderr] | [INFO] [stderr] 94 | fn parse_ines_header(input: &[u8]) -> IResult<&[u8], InesHeader> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_ines_bytes` [INFO] [stderr] --> src/nes_parser.rs:113:4 [INFO] [stderr] | [INFO] [stderr] 113 | fn parse_ines_bytes(input: &[u8]) -> IResult<&[u8], InesFile> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_file_as_byte_vec` [INFO] [stderr] --> src/nes_parser.rs:146:4 [INFO] [stderr] | [INFO] [stderr] 146 | fn get_file_as_byte_vec(filename: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ines_to_cartridge` [INFO] [stderr] --> src/nes_parser.rs:155:4 [INFO] [stderr] | [INFO] [stderr] 155 | fn ines_to_cartridge(ines: InesFile) -> Cartridge { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_cartridge_from_file` [INFO] [stderr] --> src/nes_parser.rs:177:8 [INFO] [stderr] | [INFO] [stderr] 177 | pub fn get_cartridge_from_file(filename: &str) -> Cartridge { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cycles` [INFO] [stderr] --> src/bus.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | cycles: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cpu_read_word` [INFO] [stderr] --> src/bus.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn cpu_read_word(&self, addr: u16) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cpu_read_zp_word` [INFO] [stderr] --> src/bus.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn cpu_read_zp_word(&self, addr: u8) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cpu_write` [INFO] [stderr] --> src/bus.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn cpu_write(&mut self, addr: u16, value: u8) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cpu_write_word` [INFO] [stderr] --> src/bus.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn cpu_write_word(&mut self, addr: u16, value: u16) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cpu_write_zp_word` [INFO] [stderr] --> src/bus.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn cpu_write_zp_word(&mut self, addr: u8, value: u16) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cycle` [INFO] [stderr] --> src/bus.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn cycle(&mut self, cycles: u8) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_cycles` [INFO] [stderr] --> src/bus.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn get_cycles(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `create_from_crt` [INFO] [stderr] --> src/bus.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn create_from_crt(crt: Cartridge) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Ppu` [INFO] [stderr] --> src/ppu.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | pub(crate) struct Ppu { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ZPG` [INFO] [stderr] --> src/cpu/instructions.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | ZPG, // Zero page [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ZPX` [INFO] [stderr] --> src/cpu/instructions.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | ZPX, // Zero page, X [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ZPY` [INFO] [stderr] --> src/cpu/instructions.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | ZPY, // Zero page, Y [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ABS` [INFO] [stderr] --> src/cpu/instructions.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | ABS, // Absolute [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ABX` [INFO] [stderr] --> src/cpu/instructions.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | ABX, // Absolute, X [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ABY` [INFO] [stderr] --> src/cpu/instructions.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | ABY, // Absolute, Y [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IND` [INFO] [stderr] --> src/cpu/instructions.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | IND, // Indirect [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IMP` [INFO] [stderr] --> src/cpu/instructions.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | IMP, // Implied [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ACC` [INFO] [stderr] --> src/cpu/instructions.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | ACC, // Accumulator [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IMM` [INFO] [stderr] --> src/cpu/instructions.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | IMM, // Immediate [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `REL` [INFO] [stderr] --> src/cpu/instructions.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | REL, // Relative [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IDX` [INFO] [stderr] --> src/cpu/instructions.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | IDX, // (Indirect, X) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IDY` [INFO] [stderr] --> src/cpu/instructions.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | IDY, // (Indirect), Y [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `AddresingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cpu/instructions.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Clone, Copy)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_length` [INFO] [stderr] --> src/cpu/instructions.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn get_length(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `addr_to_instr` [INFO] [stderr] --> src/cpu/instructions.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn addr_to_instr(cpu: &Cpu, addr: u16) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `dump_current_instruction` [INFO] [stderr] --> src/cpu/instructions.rs:148:8 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn dump_current_instruction(cpu: &mut Cpu) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_input_address` [INFO] [stderr] --> src/cpu/instructions.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 175 | fn is_input_address(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_length` [INFO] [stderr] --> src/cpu/instructions.rs:187:12 [INFO] [stderr] | [INFO] [stderr] 187 | pub fn get_length(&self) -> u16 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `make_opcode` [INFO] [stderr] --> src/cpu/instructions.rs:202:4 [INFO] [stderr] | [INFO] [stderr] 202 | fn make_opcode( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_opcode_table` [INFO] [stderr] --> src/cpu/instructions.rs:215:8 [INFO] [stderr] | [INFO] [stderr] 215 | pub fn get_opcode_table() -> [Opcode; 256] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_mapper` [INFO] [stderr] --> src/bus/mappers.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn get_mapper(ines: &InesFile) -> Option> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_value` [INFO] [stderr] --> src/cpu/instructions/utils.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn get_value(cpu: &mut Cpu, mode: AddresingMode, input: u16) -> u8 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_nz_flags` [INFO] [stderr] --> src/cpu/instructions/utils.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn set_nz_flags(cpu: &mut Cpu, result: u8) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `does_current_instr_need_cross` [INFO] [stderr] --> src/cpu/instructions/utils.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn does_current_instr_need_cross(cpu: &mut Cpu) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `add_chk_page_cross` [INFO] [stderr] --> src/cpu/instructions/utils.rs:28:4 [INFO] [stderr] | [INFO] [stderr] 28 | fn add_chk_page_cross(cpu: &mut Cpu, addr: u16, offset: u16) -> (u16, bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_input` [INFO] [stderr] --> src/cpu/instructions/utils.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn get_input(cpu: &mut Cpu, addresing_mode: AddresingMode) -> (u16, bool) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_instr_value` [INFO] [stderr] --> src/cpu/instructions/utils.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn read_instr_value(cpu: &mut Cpu, mode: AddresingMode) -> (u16, u8, bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `branch` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:4:4 [INFO] [stderr] | [INFO] [stderr] 4 | fn branch(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_bcs` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn instr_bcs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_bcc` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn instr_bcc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_beq` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn instr_beq(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_bne` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn instr_bne(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_bmi` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn instr_bmi(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_bpl` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:48:8 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn instr_bpl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_bvs` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn instr_bvs(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_bvc` [INFO] [stderr] --> src/cpu/instructions/branch_opcodes.rs:60:8 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn instr_bvc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_sei` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn instr_sei(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_sed` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn instr_sed(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_sec` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn instr_sec(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_clc` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn instr_clc(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_cld` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn instr_cld(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_cli` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn instr_cli(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_clv` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn instr_clv(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_nop` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn instr_nop(_cpu: &mut Cpu, _mode: AddresingMode) {} [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_inx` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn instr_inx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_dex` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn instr_dex(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_iny` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn instr_iny(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_dey` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:55:8 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn instr_dey(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_tax` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn instr_tax(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_tay` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn instr_tay(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_tsx` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:72:8 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn instr_tsx(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_txs` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn instr_txs(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_txa` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:81:8 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn instr_txa(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_tya` [INFO] [stderr] --> src/cpu/instructions/imp_opcodes.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn instr_tya(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_lda` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn instr_lda(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_ldx` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn instr_ldx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_ldy` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn instr_ldy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_cmp` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:26:8 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn instr_cmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_and` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn instr_and(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_eor` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn instr_eor(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_ora` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn instr_ora(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_bit` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn instr_bit(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_adc` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn instr_adc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_sbc` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:74:8 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn instr_sbc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_cpx` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:79:8 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn instr_cpx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_cpy` [INFO] [stderr] --> src/cpu/instructions/read_opcodes.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn instr_cpy(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `general_shift` [INFO] [stderr] --> src/cpu/instructions/rmw_opcodes.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | fn general_shift( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_asl` [INFO] [stderr] --> src/cpu/instructions/rmw_opcodes.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn instr_asl(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_lsr` [INFO] [stderr] --> src/cpu/instructions/rmw_opcodes.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn instr_lsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_rol` [INFO] [stderr] --> src/cpu/instructions/rmw_opcodes.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn instr_rol(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_ror` [INFO] [stderr] --> src/cpu/instructions/rmw_opcodes.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn instr_ror(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_inc` [INFO] [stderr] --> src/cpu/instructions/rmw_opcodes.rs:73:8 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn instr_inc(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_dec` [INFO] [stderr] --> src/cpu/instructions/rmw_opcodes.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn instr_dec(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_pha` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn instr_pha(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_php` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn instr_php(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_pla` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn instr_pla(cpu: &mut Cpu, _mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_plp` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn instr_plp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_jmp` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn instr_jmp(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_brk` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn instr_brk(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_rti` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn instr_rti(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_jsr` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn instr_jsr(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_rts` [INFO] [stderr] --> src/cpu/instructions/routine_opcodes.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn instr_rts(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_sta` [INFO] [stderr] --> src/cpu/instructions/write_opcodes.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn instr_sta(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_sty` [INFO] [stderr] --> src/cpu/instructions/write_opcodes.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn instr_sty(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `instr_stx` [INFO] [stderr] --> src/cpu/instructions/write_opcodes.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn instr_stx(cpu: &mut Cpu, mode: AddresingMode) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `chr_banks` [INFO] [stderr] --> src/bus/mappers/mapper_0.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub chr_banks: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `chr_banks` [INFO] [stderr] --> src/bus/mappers/mapper_3.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub chr_banks: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nust` (bin "nust" test) generated 133 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nust-5d8eef0ddd284d5d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f828517c75fa085bb190314b291cdd668a9f9aa46081d77ee38bcfcea8b0a349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f828517c75fa085bb190314b291cdd668a9f9aa46081d77ee38bcfcea8b0a349", kill_on_drop: false }` [INFO] [stdout] f828517c75fa085bb190314b291cdd668a9f9aa46081d77ee38bcfcea8b0a349