[INFO] cloning repository https://github.com/EnyCode/egb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EnyCode/egb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnyCode%2Fegb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnyCode%2Fegb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37b0378d3b2d5799da6ac7f73678f0bf87fa659f [INFO] checking EnyCode/egb/37b0378d3b2d5799da6ac7f73678f0bf87fa659f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnyCode%2Fegb" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EnyCode/egb on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/EnyCode/egb [INFO] finished tweaking git repo https://github.com/EnyCode/egb [INFO] tweaked toml for git repo https://github.com/EnyCode/egb written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EnyCode/egb 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded st7735-lcd v0.9.0 [INFO] [stderr] Downloaded usbd-hid-macros v0.6.0 [INFO] [stderr] Downloaded usbd-hid v0.7.0 [INFO] [stderr] Downloaded usbd-hid-descriptors v0.1.2 [INFO] [stderr] Downloaded panic-halt v0.2.0 [INFO] [stderr] Downloaded debug-helper v0.3.13 [INFO] [stderr] Downloaded defmt-rtt v0.4.1 [INFO] [stderr] Downloaded linked_list_allocator v0.10.5 [INFO] [stderr] Downloaded pio v0.2.1 [INFO] [stderr] Downloaded rp2040-boot2 v0.3.0 [INFO] [stderr] Downloaded embedded-alloc v0.5.1 [INFO] [stderr] Downloaded tinytga v0.5.0 [INFO] [stderr] Downloaded embedded-graphics-framebuf v0.5.0 [INFO] [stderr] Downloaded bitfield v0.14.0 [INFO] [stderr] Downloaded usb-device v0.3.2 [INFO] [stderr] Downloaded usbd-serial v0.2.2 [INFO] [stderr] Downloaded rp2040-hal-macros v0.1.0 [INFO] [stderr] Downloaded ssmarshal v1.0.0 [INFO] [stderr] Downloaded rp2040-hal v0.10.2 [INFO] [stderr] Downloaded rp2040-pac v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d97f23f54e08cc6d8e0adbfbf4d0988062ceab3ea3866f08c27656875261785 [INFO] running `Command { std: "docker" "start" "-a" "1d97f23f54e08cc6d8e0adbfbf4d0988062ceab3ea3866f08c27656875261785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d97f23f54e08cc6d8e0adbfbf4d0988062ceab3ea3866f08c27656875261785", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d97f23f54e08cc6d8e0adbfbf4d0988062ceab3ea3866f08c27656875261785", kill_on_drop: false }` [INFO] [stdout] 1d97f23f54e08cc6d8e0adbfbf4d0988062ceab3ea3866f08c27656875261785 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4490876efa0bdc4241b88f155e038adbf67fae007b77b2615d78dbb5c6976ad8 [INFO] running `Command { std: "docker" "start" "-a" "4490876efa0bdc4241b88f155e038adbf67fae007b77b2615d78dbb5c6976ad8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling cortex-m-rt v0.7.3 [INFO] [stderr] Checking micromath v2.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Compiling defmt-macros v0.3.9 [INFO] [stderr] Compiling defmt v0.3.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Compiling crc-any v2.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling rp2040-pac v0.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling usbd-hid-descriptors v0.1.2 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Checking usb-device v0.3.2 [INFO] [stderr] Checking embedded-graphics-core v0.4.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking aliasable v0.1.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling defmt-rtt v0.4.1 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking embedded-graphics v0.8.1 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking linked_list_allocator v0.10.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking embedded-alloc v0.5.1 [INFO] [stderr] Checking usbd-serial v0.2.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking st7735-lcd v0.9.0 [INFO] [stderr] Checking embedded-graphics-framebuf v0.5.0 [INFO] [stderr] Checking tinytga v0.5.0 [INFO] [stderr] Checking ssmarshal v1.0.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling defmt-parser v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling usbd-hid-macros v0.6.0 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Checking usbd-hid v0.7.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking pio v0.2.1 [INFO] [stderr] Checking ouroboros v0.17.2 [INFO] [stderr] Checking embedded-graphics-simulator v0.6.0 [INFO] [stderr] Checking rp2040-hal v0.10.2 [INFO] [stderr] Checking egb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::Gui` [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use gui::{core::Gui, screens::games::GamesScreen}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Drawable`, `Rgb565`, `RgbColor`, `geometry::Point`, and `image::Image` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | geometry::Point, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | image::Image, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | pixelcolor::{Rgb565, RgbColor}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] 34 | Drawable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::draw_target::DrawTarget` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use embedded_graphics::draw_target::DrawTarget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `buffer::Buffer` and `self` [INFO] [stdout] --> src/device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | buffer::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | gui::screen::Screen, [INFO] [stdout] 7 | input::{self, InputStatus}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputSettings` [INFO] [stdout] --> src/simulator.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | BinaryColorTheme, OutputSettings, OutputSettingsBuilder, SimulatorDisplay, Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> src/simulator.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{println, thread}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dimensions`, `Point`, and `primitives::Rectangle` [INFO] [stdout] --> src/buffer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | geometry::{Dimensions, OriginDimensions, Point, Size}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | pixelcolor::{Rgb565, RgbColor}, [INFO] [stdout] 5 | primitives::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Pointer` [INFO] [stdout] --> src/gui/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GREY_CHAR` [INFO] [stdout] --> src/gui/screens/games.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | draw_inputs, BACKGROUND, BLACK_CHAR, CENTERED_TEXT, GREY_CHAR, INNER_BORDER, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/gui/screens/settings.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Image` [INFO] [stdout] --> src/gui/screens/settings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | image::Image, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tinytga::Tga` [INFO] [stdout] --> src/gui/screens/settings.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tinytga::Tga; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `GREY_CHAR`, `GameConsole`, `device::Device`, `draw_inputs`, and `rp2040::Sprig` [INFO] [stdout] --> src/gui/screens/settings.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | device::Device, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | events::Event, [INFO] [stdout] 18 | games::{Game, GameConsole}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | draw_inputs, BACKGROUND, BLACK_CHAR, CENTERED_TEXT, GREY_CHAR, INNER_BORDER, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | input::{Button, InputStatus}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | rp2040::Sprig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simulator` [INFO] [stdout] --> src/input.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simulator` [INFO] [stdout] --> src/input.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std_x86_64` [INFO] [stdout] --> src/nes/bus.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(all(target_arch = "x86_64", feature = "std_x86_64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std_x86_64` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std_x86_64` [INFO] [stdout] --> src/nes/bus.rs:65:51 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(all(target_arch = "x86_64", feature = "std_x86_64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std_x86_64` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FOUR_SCREEN` should have an upper camel case name [INFO] [stdout] --> src/nes/cartridge.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | FOUR_SCREEN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourScreen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dimensions` [INFO] [stdout] --> src/nes/emu.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_graphics::geometry::{Dimensions, Point}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::Buffer` [INFO] [stdout] --> src/nes/emu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::Gui` [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use gui::{core::Gui, screens::games::GamesScreen}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Drawable`, `Rgb565`, `RgbColor`, `geometry::Point`, and `image::Image` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | geometry::Point, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | image::Image, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | pixelcolor::{Rgb565, RgbColor}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] 34 | Drawable, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_graphics::draw_target::DrawTarget` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use embedded_graphics::draw_target::DrawTarget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `buffer::Buffer` and `self` [INFO] [stdout] --> src/device.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | buffer::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | gui::screen::Screen, [INFO] [stdout] 7 | input::{self, InputStatus}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputSettings` [INFO] [stdout] --> src/simulator.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | BinaryColorTheme, OutputSettings, OutputSettingsBuilder, SimulatorDisplay, Window, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println` [INFO] [stdout] --> src/simulator.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | use std::{println, thread}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dimensions`, `Point`, and `primitives::Rectangle` [INFO] [stdout] --> src/buffer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | geometry::{Dimensions, OriginDimensions, Point, Size}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | pixelcolor::{Rgb565, RgbColor}, [INFO] [stdout] 5 | primitives::Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Pointer` [INFO] [stdout] --> src/gui/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GREY_CHAR` [INFO] [stdout] --> src/gui/screens/games.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | draw_inputs, BACKGROUND, BLACK_CHAR, CENTERED_TEXT, GREY_CHAR, INNER_BORDER, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/gui/screens/settings.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use core::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Image` [INFO] [stdout] --> src/gui/screens/settings.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | image::Image, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tinytga::Tga` [INFO] [stdout] --> src/gui/screens/settings.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tinytga::Tga; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Button`, `GREY_CHAR`, `GameConsole`, `device::Device`, `draw_inputs`, and `rp2040::Sprig` [INFO] [stdout] --> src/gui/screens/settings.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | device::Device, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | events::Event, [INFO] [stdout] 18 | games::{Game, GameConsole}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | draw_inputs, BACKGROUND, BLACK_CHAR, CENTERED_TEXT, GREY_CHAR, INNER_BORDER, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | input::{Button, InputStatus}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | rp2040::Sprig, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simulator` [INFO] [stdout] --> src/input.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(feature = "simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simulator` [INFO] [stdout] --> src/input.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[cfg(feature = "simulator")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simulator` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std_x86_64` [INFO] [stdout] --> src/nes/bus.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(all(target_arch = "x86_64", feature = "std_x86_64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std_x86_64` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std_x86_64` [INFO] [stdout] --> src/nes/bus.rs:65:51 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(all(target_arch = "x86_64", feature = "std_x86_64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std_x86_64` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FOUR_SCREEN` should have an upper camel case name [INFO] [stdout] --> src/nes/cartridge.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | FOUR_SCREEN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FourScreen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Dimensions` [INFO] [stdout] --> src/nes/emu.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_graphics::geometry::{Dimensions, Point}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::Buffer` [INFO] [stdout] --> src/nes/emu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std_x86_64` [INFO] [stdout] --> src/nes/trace.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | #[cfg(all(target_arch = "x86_64", feature = "std_x86_64"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std_x86_64` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbColor` [INFO] [stdout] --> src/gui/screens/settings.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pixelcolor::{Rgb565, RgbColor}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbColor` [INFO] [stdout] --> src/gui/screens/games.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pixelcolor::{Rgb565, RgbColor}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `console` [INFO] [stdout] --> src/simulator.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | fn launch(&mut self, console: GameConsole) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_console` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui/screens/settings.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut prev = self.selection.clone(); [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: unused import: `RgbColor` [INFO] [stdout] --> src/gui/screens/settings.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pixelcolor::{Rgb565, RgbColor}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbColor` [INFO] [stdout] --> src/gui/screens/games.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | pixelcolor::{Rgb565, RgbColor}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `console` [INFO] [stdout] --> src/simulator.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | fn launch(&mut self, console: GameConsole) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_console` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcodes` [INFO] [stdout] --> src/nes/cpu.rs:711:17 [INFO] [stdout] | [INFO] [stdout] 711 | let ref opcodes: HashMap = *opcodes::OPCODES_MAP; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disp` [INFO] [stdout] --> src/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let disp = device.display(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_disp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_backlight`, `set_led_l`, `set_led_r`, `delay_ms`, and `delay_us` are never used [INFO] [stdout] --> src/device.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Device { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn set_backlight(&mut self, brightness: u16); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn set_led_l(&mut self, brightness: u16); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | fn set_led_r(&mut self, brightness: u16); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | fn delay_ms(&mut self, ms: u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | fn delay_us(&mut self, us: u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_static` is never used [INFO] [stdout] --> src/simulator.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl Simulator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn show_static(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `data` are never used [INFO] [stdout] --> src/buffer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Buffer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn data(&self) -> [Rgb565; 160 * 128] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | BacklightBrightness(u16), [INFO] [stdout] | ------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | BacklightBrightness(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LedL` and `LedR` are never constructed [INFO] [stdout] --> src/events.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 4 | BacklightBrightness(u16), [INFO] [stdout] 5 | LedL(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | LedR(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA` is never used [INFO] [stdout] --> src/font.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DATA: &[u8] = &[ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_font` is never used [INFO] [stdout] --> src/font.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_font() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GameBoyColor` and `Sprig` are never constructed [INFO] [stdout] --> src/games.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GameConsole { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 9 | GameBoy, [INFO] [stdout] 10 | GameBoyColor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Sprig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameConsole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_gameboy_color`, `new_sprig`, and `get_title` are never used [INFO] [stdout] --> src/games.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn new_gameboy_color(title: &'static str, image: Tga<'static, Rgb565>) -> Game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn new_sprig(title: &'static str, image: Tga<'static, Rgb565>) -> Game { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_title(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui/screens/settings.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | let mut prev = self.selection.clone(); [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: constant `GREY_CHAR` is never used [INFO] [stdout] --> src/gui/core.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const GREY_CHAR: MonoTextStyle = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/gui/core.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Gui [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub input: InputStatus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOTAL_FRAMES` is never used [INFO] [stdout] --> src/gui/screens/settings.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const TOTAL_FRAMES: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, `Right`, `Start`, and `Select` are never constructed [INFO] [stdout] --> src/input.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Button { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 7 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Button` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `select` are never read [INFO] [stdout] --> src/input.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct InputStatus { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub start: ButtonStatus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub select: ButtonStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chr_rom`, `mapper`, and `screen_mirroring` are never read [INFO] [stdout] --> src/nes/cartridge.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Rom { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | pub prg_rom: Vec, [INFO] [stdout] 19 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub screen_mirroring: Mirroring, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestRom` is never constructed [INFO] [stdout] --> src/nes/cartridge.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | struct TestRom { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_rom` is never used [INFO] [stdout] --> src/nes/cartridge.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn create_rom(rom: TestRom) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_rom` is never used [INFO] [stdout] --> src/nes/cartridge.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn test_rom() -> Rom { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bus`, `get_absolute_address`, `load_and_run`, `run`, and `run_with_callback` are never used [INFO] [stdout] --> src/nes/cpu.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn from_bus(bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_absolute_address(&self, mode: &AddressingMode, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn load_and_run(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 707 | pub fn run_with_callback(&mut self, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LAZY_STATIC` is never used [INFO] [stdout] --> src/nes/opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static LAZY_STATIC: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mnemonic` and `cycles` are never read [INFO] [stdout] --> src/nes/opcodes.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct OpCode { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | pub code: u8, [INFO] [stdout] 16 | pub mnemonic: &'static str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub len: u8, [INFO] [stdout] 18 | pub cycles: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/nes/trace.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn trace(cpu: &CPU) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simulator.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | self.display.clear(Rgb565::BLACK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = self.display.clear(Rgb565::BLACK); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nes/emu.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | display.clear(Rgb565::RED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = display.clear(Rgb565::RED); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nes/emu.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | display.clear(Rgb565::GREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = display.clear(Rgb565::GREEN); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcodes` [INFO] [stdout] --> src/nes/cpu.rs:711:17 [INFO] [stdout] | [INFO] [stdout] 711 | let ref opcodes: HashMap = *opcodes::OPCODES_MAP; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `disp` [INFO] [stdout] --> src/main.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let disp = device.display(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_disp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_backlight`, `set_led_l`, `set_led_r`, `delay_ms`, and `delay_us` are never used [INFO] [stdout] --> src/device.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Device { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn set_backlight(&mut self, brightness: u16); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn set_led_l(&mut self, brightness: u16); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | fn set_led_r(&mut self, brightness: u16); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | fn delay_ms(&mut self, ms: u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | fn delay_us(&mut self, us: u32); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show_static` is never used [INFO] [stdout] --> src/simulator.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl Simulator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn show_static(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `data` are never used [INFO] [stdout] --> src/buffer.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Buffer { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn data(&self) -> [Rgb565; 160 * 128] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/events.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | BacklightBrightness(u16), [INFO] [stdout] | ------------------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 | BacklightBrightness(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LedL` and `LedR` are never constructed [INFO] [stdout] --> src/events.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Event { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 4 | BacklightBrightness(u16), [INFO] [stdout] 5 | LedL(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | LedR(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA` is never used [INFO] [stdout] --> src/font.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DATA: &[u8] = &[ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_font` is never used [INFO] [stdout] --> src/font.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_font() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GameBoyColor` and `Sprig` are never constructed [INFO] [stdout] --> src/games.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum GameConsole { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 9 | GameBoy, [INFO] [stdout] 10 | GameBoyColor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Sprig, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameConsole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_gameboy_color`, `new_sprig`, and `get_title` are never used [INFO] [stdout] --> src/games.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn new_gameboy_color(title: &'static str, image: Tga<'static, Rgb565>) -> Game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn new_sprig(title: &'static str, image: Tga<'static, Rgb565>) -> Game { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_title(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREY_CHAR` is never used [INFO] [stdout] --> src/gui/core.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const GREY_CHAR: MonoTextStyle = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input` is never read [INFO] [stdout] --> src/gui/core.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Gui [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub input: InputStatus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOTAL_FRAMES` is never used [INFO] [stdout] --> src/gui/screens/settings.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const TOTAL_FRAMES: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Up`, `Down`, `Left`, `Right`, `Start`, and `Select` are never constructed [INFO] [stdout] --> src/input.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Button { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 7 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Left, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Right, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Button` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `select` are never read [INFO] [stdout] --> src/input.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct InputStatus { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub start: ButtonStatus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 99 | pub select: ButtonStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chr_rom`, `mapper`, and `screen_mirroring` are never read [INFO] [stdout] --> src/nes/cartridge.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Rom { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | pub prg_rom: Vec, [INFO] [stdout] 19 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub screen_mirroring: Mirroring, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestRom` is never constructed [INFO] [stdout] --> src/nes/cartridge.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | struct TestRom { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_rom` is never used [INFO] [stdout] --> src/nes/cartridge.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn create_rom(rom: TestRom) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_rom` is never used [INFO] [stdout] --> src/nes/cartridge.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn test_rom() -> Rom { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_bus`, `get_absolute_address`, `load_and_run`, `run`, and `run_with_callback` are never used [INFO] [stdout] --> src/nes/cpu.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn from_bus(bus: Bus) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn get_absolute_address(&self, mode: &AddressingMode, addr: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn load_and_run(&mut self, program: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 703 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 707 | pub fn run_with_callback(&mut self, mut callback: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LAZY_STATIC` is never used [INFO] [stdout] --> src/nes/opcodes.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | static LAZY_STATIC: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mnemonic` and `cycles` are never read [INFO] [stdout] --> src/nes/opcodes.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct OpCode { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 15 | pub code: u8, [INFO] [stdout] 16 | pub mnemonic: &'static str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub len: u8, [INFO] [stdout] 18 | pub cycles: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/nes/trace.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn trace(cpu: &CPU) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/simulator.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | self.display.clear(Rgb565::BLACK); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 140 | let _ = self.display.clear(Rgb565::BLACK); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nes/emu.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | display.clear(Rgb565::RED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = display.clear(Rgb565::RED); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/nes/emu.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | display.clear(Rgb565::GREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = display.clear(Rgb565::GREEN); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 33.30s [INFO] running `Command { std: "docker" "inspect" "4490876efa0bdc4241b88f155e038adbf67fae007b77b2615d78dbb5c6976ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4490876efa0bdc4241b88f155e038adbf67fae007b77b2615d78dbb5c6976ad8", kill_on_drop: false }` [INFO] [stdout] 4490876efa0bdc4241b88f155e038adbf67fae007b77b2615d78dbb5c6976ad8