[INFO] cloning repository https://github.com/Dhhoyt/ZephyerNES [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dhhoyt/ZephyerNES" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhhoyt%2FZephyerNES", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhhoyt%2FZephyerNES'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a9c36778604e73bb4ef561fb587ed0bbabdac6d [INFO] building Dhhoyt/ZephyerNES against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhhoyt%2FZephyerNES" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dhhoyt/ZephyerNES on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Dhhoyt/ZephyerNES [INFO] finished tweaking git repo https://github.com/Dhhoyt/ZephyerNES [INFO] tweaked toml for git repo https://github.com/Dhhoyt/ZephyerNES written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Dhhoyt/ZephyerNES already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float_next_after v1.0.0 [INFO] [stderr] Downloaded coreaudio-sys v0.2.13 [INFO] [stderr] Downloaded rodio v0.17.3 [INFO] [stderr] Downloaded gilrs-core v0.5.7 [INFO] [stderr] Downloaded coreaudio-rs v0.11.3 [INFO] [stderr] Downloaded lyon_tessellation v1.0.11 [INFO] [stderr] Downloaded ggez v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54ab1753d50e47bc7edb621f39652aa15c292ceaac2c34c166d9744a9f7b56c4 [INFO] running `Command { std: "docker" "start" "-a" "54ab1753d50e47bc7edb621f39652aa15c292ceaac2c34c166d9744a9f7b56c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54ab1753d50e47bc7edb621f39652aa15c292ceaac2c34c166d9744a9f7b56c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ab1753d50e47bc7edb621f39652aa15c292ceaac2c34c166d9744a9f7b56c4", kill_on_drop: false }` [INFO] [stdout] 54ab1753d50e47bc7edb621f39652aa15c292ceaac2c34c166d9744a9f7b56c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59c39ffee33ad5c7edc27e48363b4be5e6dfc1c2dd1d89c400291c2ba6544ffa [INFO] running `Command { std: "docker" "start" "-a" "59c39ffee33ad5c7edc27e48363b4be5e6dfc1c2dd1d89c400291c2ba6544ffa", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling ahash v0.8.6 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling zerocopy v0.7.25 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling euclid v0.22.9 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling fdeflate v0.3.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling lyon_geom v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling symphonia-core v0.5.3 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling symphonia-metadata v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.4 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling lyon_path v1.0.4 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling profiling v1.0.11 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling renderdoc-sys v1.0.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling alsa v0.7.1 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling gilrs v0.10.2 [INFO] [stderr] Compiling uuid v1.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling lyon_tessellation v1.0.11 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling gilrs-core v0.5.7 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling symphonia v0.5.3 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Compiling lyon_algorithms v1.0.3 [INFO] [stderr] Compiling ordered-float v4.1.1 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling glyph_brush v0.7.8 [INFO] [stderr] Compiling lyon v1.0.1 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling crevice v0.13.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling glam v0.24.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling zephyrnes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/mos6502/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{self, Canvas, Color, DrawParam}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crossed_page` [INFO] [stdout] --> src/mos6502/mod.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let (operand, crossed_page) = self.get_operand(memory, addressing_mode); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crossed_page` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_cell_alive`, `kill_cell`, and `switch_cell` are never used [INFO] [stdout] --> src/main.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl GOL { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn make_cell_alive(&mut self, xy: (u32, u32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn kill_cell(&mut self, xy: (u32, u32)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn switch_cell(&mut self, xy: (u32, u32)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CpuMemory` is never constructed [INFO] [stdout] --> src/cpu_memory.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct CpuMemory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/cpu_memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CpuMemory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 7 | #[inline] [INFO] [stdout] 8 | pub fn read(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn write(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mos6502` is never constructed [INFO] [stdout] --> src/mos6502/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Mos6502 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_instruction`, `get_operand`, and `move_program_counter` are never used [INFO] [stdout] --> src/mos6502/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Mos6502 { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 29 | // Returns the number of cycles this instruction took [INFO] [stdout] 30 | fn run_instruction(&mut self, memory: &mut CpuMemory) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn get_operand(&self, memory: &CpuMemory, mode: AddressingMode) -> (Operand, bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn move_program_counter(&mut self, mode: AddressingMode) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operand` is never used [INFO] [stdout] --> src/mos6502/mod.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | enum Operand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/mos6502/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl Operand { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 139 | pub fn read(&self, memory: &CpuMemory) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/mos6502/addressingmodes.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AddressingMode { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 24 | Absolute, // Second and third byte form the address of the opperand. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | AbsoluteX, // Second and third bytes of instruction form an address to which the X register is added. The sum is the address of the o... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | AbsoluteY, // Second and third bytes of instruction form an address to which the Y register is added. The sum is the address of the o... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | AbsoluteIndirect, // Second and third bytes of instruction form an address to a pointer. Program Counter is set to this pointer [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Immediate, // Operand is the second byte [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | Implied, // A single bye instruction, no operands [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | Relative, // An offset in the second byte of the instruction is added to the program counter if the branch statement is true. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | ZeroPage, // Addresses the zero page with the second byte of the instruction. Essentially the Absolute addressing equivalent. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | ZeroPageIndexedIndirectX, // The X register is added to the second byte to form an address of a pointer. Operand is the data at this ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | ZeroPageX, // The X Register is added to the second byte to form the address of the operand. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | ZeroPageY, // The Y Register is added to the second byte to form the address of the operand. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | ZeroPageIndirectIndexedY, // Retreives an address from the zero page. The Y address is then added to this address. The resulting addr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDRESSING_MODES` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ADDRESSING_MODES: [AddressingMode; 256] = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_one` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | const fn group_one(opcode: u8) -> AddressingMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_two` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | const fn group_two(opcode: u8) -> AddressingMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_three` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | const fn group_three(opcode: u8) -> AddressingMode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_four` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | const fn group_four(opcode: u8) -> AddressingMode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/mos6502/instruction_table.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 3 | ADC, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | AHX, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | ALR, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | ALS, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | ANC, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | AND, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | ARR, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | ASL, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | AXS, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | BCC, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | BCS, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | BEQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | BIT, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | BMI, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | BNE, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | BPL, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | BRK, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | BVC, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | BVS, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | CLC, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | CLD, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | CLI, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | CLV, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | CMP, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | CPX, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | CPY, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | DCD, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | DCP, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | DEC, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | DEX, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | DEY, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | EOR, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | INC, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | INX, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | INY, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | ISC, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | JMP, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | JSR, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | LAS, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | LAX, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | LDA, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | LDX, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | LDY, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | LSR, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | ORA, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | PHA, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | PHP, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | PLA, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | PLP, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | RLA, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | ROL, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | ROR, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | RRA, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | RTI, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | RTS, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | SAX, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | SBC, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | SEC, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | SED, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | SEI, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | SHX, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | SHY, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | SLO, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | SRE, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | STA, [INFO] [stdout] | ^^^ [INFO] [stdout] 69 | STP, [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | STX, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | STY, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | TAS, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | TAX, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | TAY, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | TSX, [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | TXA, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | TXS, [INFO] [stdout] | ^^^ [INFO] [stdout] 78 | TYA, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | XAA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTIONS` is never used [INFO] [stdout] --> src/mos6502/instruction_table.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const INSTRUCTIONS: [Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `adc`, `and`, and `asl` are never used [INFO] [stdout] --> src/mos6502/instructions.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl super::Mos6502 { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 8 | pub fn adc(&mut self, memory: &mut CpuMemory, operand: Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn and(&mut self, memory: &mut CpuMemory, operand: Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn asl(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_timing` is never used [INFO] [stdout] --> src/mos6502/timing.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_timing(mode: AddressingMode, instruction: Instruction, crossed_page: bool) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rwr` is never used [INFO] [stdout] --> src/mos6502/timing.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 81 | fn rwr(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "59c39ffee33ad5c7edc27e48363b4be5e6dfc1c2dd1d89c400291c2ba6544ffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59c39ffee33ad5c7edc27e48363b4be5e6dfc1c2dd1d89c400291c2ba6544ffa", kill_on_drop: false }` [INFO] [stdout] 59c39ffee33ad5c7edc27e48363b4be5e6dfc1c2dd1d89c400291c2ba6544ffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ae234fb45893417498f94529d0577d19f44f2382864175156b531b98d96cb08 [INFO] running `Command { std: "docker" "start" "-a" "0ae234fb45893417498f94529d0577d19f44f2382864175156b531b98d96cb08", kill_on_drop: false }` [INFO] [stderr] Compiling zephyrnes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/mos6502/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::graphics::{self, Canvas, Color, DrawParam}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `crossed_page` [INFO] [stdout] --> src/mos6502/mod.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let (operand, crossed_page) = self.get_operand(memory, addressing_mode); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_crossed_page` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_cell_alive`, `kill_cell`, and `switch_cell` are never used [INFO] [stdout] --> src/main.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl GOL { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn make_cell_alive(&mut self, xy: (u32, u32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn kill_cell(&mut self, xy: (u32, u32)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn switch_cell(&mut self, xy: (u32, u32)) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CpuMemory` is never constructed [INFO] [stdout] --> src/cpu_memory.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct CpuMemory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `write` are never used [INFO] [stdout] --> src/cpu_memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl CpuMemory { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 7 | #[inline] [INFO] [stdout] 8 | pub fn read(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn write(&mut self, address: u16, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mos6502` is never constructed [INFO] [stdout] --> src/mos6502/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Mos6502 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_instruction`, `get_operand`, and `move_program_counter` are never used [INFO] [stdout] --> src/mos6502/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl Mos6502 { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 29 | // Returns the number of cycles this instruction took [INFO] [stdout] 30 | fn run_instruction(&mut self, memory: &mut CpuMemory) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn get_operand(&self, memory: &CpuMemory, mode: AddressingMode) -> (Operand, bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn move_program_counter(&mut self, mode: AddressingMode) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operand` is never used [INFO] [stdout] --> src/mos6502/mod.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | enum Operand { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read` is never used [INFO] [stdout] --> src/mos6502/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl Operand { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 139 | pub fn read(&self, memory: &CpuMemory) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/mos6502/addressingmodes.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum AddressingMode { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 24 | Absolute, // Second and third byte form the address of the opperand. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | AbsoluteX, // Second and third bytes of instruction form an address to which the X register is added. The sum is the address of the o... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | AbsoluteY, // Second and third bytes of instruction form an address to which the Y register is added. The sum is the address of the o... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | AbsoluteIndirect, // Second and third bytes of instruction form an address to a pointer. Program Counter is set to this pointer [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | Immediate, // Operand is the second byte [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | Implied, // A single bye instruction, no operands [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | Relative, // An offset in the second byte of the instruction is added to the program counter if the branch statement is true. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | ZeroPage, // Addresses the zero page with the second byte of the instruction. Essentially the Absolute addressing equivalent. [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | ZeroPageIndexedIndirectX, // The X register is added to the second byte to form an address of a pointer. Operand is the data at this ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | ZeroPageX, // The X Register is added to the second byte to form the address of the operand. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | ZeroPageY, // The Y Register is added to the second byte to form the address of the operand. [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | ZeroPageIndirectIndexedY, // Retreives an address from the zero page. The Y address is then added to this address. The resulting addr... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AddressingMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDRESSING_MODES` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const ADDRESSING_MODES: [AddressingMode; 256] = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_one` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | const fn group_one(opcode: u8) -> AddressingMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_two` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | const fn group_two(opcode: u8) -> AddressingMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_three` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | const fn group_three(opcode: u8) -> AddressingMode { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_four` is never used [INFO] [stdout] --> src/mos6502/addressingmodes.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | const fn group_four(opcode: u8) -> AddressingMode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/mos6502/instruction_table.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 3 | ADC, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | AHX, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | ALR, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | ALS, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | ANC, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | AND, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | ARR, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | ASL, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | AXS, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | BCC, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | BCS, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | BEQ, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | BIT, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | BMI, [INFO] [stdout] | ^^^ [INFO] [stdout] 17 | BNE, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | BPL, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | BRK, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | BVC, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | BVS, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | CLC, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | CLD, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | CLI, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | CLV, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | CMP, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | CPX, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | CPY, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | DCD, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | DCP, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | DEC, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | DEX, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | DEY, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | EOR, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | INC, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | INX, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | INY, [INFO] [stdout] | ^^^ [INFO] [stdout] 38 | ISC, [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | JMP, [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | JSR, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | LAS, [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | LAX, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | LDA, [INFO] [stdout] | ^^^ [INFO] [stdout] 44 | LDX, [INFO] [stdout] | ^^^ [INFO] [stdout] 45 | LDY, [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | LSR, [INFO] [stdout] | ^^^ [INFO] [stdout] 47 | NOP, [INFO] [stdout] | ^^^ [INFO] [stdout] 48 | ORA, [INFO] [stdout] | ^^^ [INFO] [stdout] 49 | PHA, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | PHP, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | PLA, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | PLP, [INFO] [stdout] | ^^^ [INFO] [stdout] 53 | RLA, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | ROL, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | ROR, [INFO] [stdout] | ^^^ [INFO] [stdout] 56 | RRA, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | RTI, [INFO] [stdout] | ^^^ [INFO] [stdout] 58 | RTS, [INFO] [stdout] | ^^^ [INFO] [stdout] 59 | SAX, [INFO] [stdout] | ^^^ [INFO] [stdout] 60 | SBC, [INFO] [stdout] | ^^^ [INFO] [stdout] 61 | SEC, [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | SED, [INFO] [stdout] | ^^^ [INFO] [stdout] 63 | SEI, [INFO] [stdout] | ^^^ [INFO] [stdout] 64 | SHX, [INFO] [stdout] | ^^^ [INFO] [stdout] 65 | SHY, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | SLO, [INFO] [stdout] | ^^^ [INFO] [stdout] 67 | SRE, [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | STA, [INFO] [stdout] | ^^^ [INFO] [stdout] 69 | STP, [INFO] [stdout] | ^^^ [INFO] [stdout] 70 | STX, [INFO] [stdout] | ^^^ [INFO] [stdout] 71 | STY, [INFO] [stdout] | ^^^ [INFO] [stdout] 72 | TAS, [INFO] [stdout] | ^^^ [INFO] [stdout] 73 | TAX, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | TAY, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | TSX, [INFO] [stdout] | ^^^ [INFO] [stdout] 76 | TXA, [INFO] [stdout] | ^^^ [INFO] [stdout] 77 | TXS, [INFO] [stdout] | ^^^ [INFO] [stdout] 78 | TYA, [INFO] [stdout] | ^^^ [INFO] [stdout] 79 | XAA, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSTRUCTIONS` is never used [INFO] [stdout] --> src/mos6502/instruction_table.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const INSTRUCTIONS: [Instruction; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `adc`, `and`, and `asl` are never used [INFO] [stdout] --> src/mos6502/instructions.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl super::Mos6502 { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 8 | pub fn adc(&mut self, memory: &mut CpuMemory, operand: Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn and(&mut self, memory: &mut CpuMemory, operand: Operand) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn asl(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_timing` is never used [INFO] [stdout] --> src/mos6502/timing.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_timing(mode: AddressingMode, instruction: Instruction, crossed_page: bool) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rwr` is never used [INFO] [stdout] --> src/mos6502/timing.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 80 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 81 | fn rwr(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `Command { std: "docker" "inspect" "0ae234fb45893417498f94529d0577d19f44f2382864175156b531b98d96cb08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae234fb45893417498f94529d0577d19f44f2382864175156b531b98d96cb08", kill_on_drop: false }` [INFO] [stdout] 0ae234fb45893417498f94529d0577d19f44f2382864175156b531b98d96cb08