[INFO] cloning repository https://github.com/richwandell/IronNES [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richwandell/IronNES" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2FIronNES", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2FIronNES'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb15001368757c4e7383b5319112e682ab5ca600 [INFO] checking richwandell/IronNES against master#1204400ab8da9830f6f77a5e40e7ad3ea459676a for pr-94295 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2FIronNES" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richwandell/IronNES on toolchain 1204400ab8da9830f6f77a5e40e7ad3ea459676a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1204400ab8da9830f6f77a5e40e7ad3ea459676a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/richwandell/IronNES [INFO] finished tweaking git repo https://github.com/richwandell/IronNES [INFO] tweaked toml for git repo https://github.com/richwandell/IronNES written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/richwandell/IronNES already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1204400ab8da9830f6f77a5e40e7ad3ea459676a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1204400ab8da9830f6f77a5e40e7ad3ea459676a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0773148a84b6896889e61bfba65967e3a8b86a458e71c88d9e05b4434477a89f [INFO] running `Command { std: "docker" "start" "-a" "0773148a84b6896889e61bfba65967e3a8b86a458e71c88d9e05b4434477a89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0773148a84b6896889e61bfba65967e3a8b86a458e71c88d9e05b4434477a89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0773148a84b6896889e61bfba65967e3a8b86a458e71c88d9e05b4434477a89f", kill_on_drop: false }` [INFO] [stdout] 0773148a84b6896889e61bfba65967e3a8b86a458e71c88d9e05b4434477a89f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1204400ab8da9830f6f77a5e40e7ad3ea459676a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be34a8d172bf85dcde53a6c54a82ac15bd3ede95f2b42f77a45ee8ddc69bd015 [INFO] running `Command { std: "docker" "start" "-a" "be34a8d172bf85dcde53a6c54a82ac15bd3ede95f2b42f77a45ee8ddc69bd015", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking piston-graphics_api_version v1.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking x11-dl v2.19.1 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking piston-viewport v1.0.1 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking backtrace v0.3.63 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking piston2d-graphics v0.39.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.28.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking piston2d-opengl_graphics v0.76.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking pistoncore-input v1.0.1 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.25.1 [INFO] [stderr] Checking pistoncore-window v0.47.1 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-event_loop v0.52.0 [INFO] [stderr] Checking piston v0.52.1 [INFO] [stderr] Checking pistoncore-glutin_window v0.67.2 [INFO] [stderr] Checking pixel-canvas v0.2.2 [INFO] [stderr] Checking nes_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GlyphCache` [INFO] [stdout] --> src/display/display_nes.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use opengl_graphics::{GlGraphics, GlyphCache, Texture, TextureSettings}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `B`, `C`, `D`, `I`, `N`, `V`, `Z` [INFO] [stdout] --> src/cpu/tests/flags.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::cpu::Flags::{I, B, C, Z, V, N, D}; [INFO] [stdout] | ^ ^ ^ ^ ^ ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cpu::tests::create_devices` [INFO] [stdout] --> src/cpu/tests/flags.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::cpu::tests::create_devices; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/cpu/tests/flags.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `advance`, `create_system` [INFO] [stdout] --> src/cpu/tests/instructions.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{advance, create_system}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::State` [INFO] [stdout] --> src/cpu/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bus::Bus` [INFO] [stdout] --> src/ppu/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bus::Bus; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cartridge::Cartridge` [INFO] [stdout] --> src/cartridge/tests/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::cartridge::Cartridge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefMut` [INFO] [stdout] --> src/bus/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GlyphCache` [INFO] [stdout] --> src/display/display_nes.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use opengl_graphics::{GlGraphics, GlyphCache, Texture, TextureSettings}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ppu::Ppu` [INFO] [stdout] --> src/cpu/tests/flags.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::ppu::Ppu; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::State` [INFO] [stdout] --> src/cpu/mod.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::state::State; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bus::Bus` [INFO] [stdout] --> src/ppu/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::bus::Bus; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefMut` [INFO] [stdout] --> src/bus/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/cpu/tests/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/ppu/mod.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn cpu_read(state: &mut State, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/ppu/mod.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn cpu_read(state: &mut State, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/ppu/mod.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn cpu_write(state: &mut State, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ppu/mod.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn cpu_write(state: &mut State, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/bus/mod.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn cpu_read(state: &State, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ppu` [INFO] [stdout] --> src/bus/mod.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn reset(state: &mut State, ppu: &mut Ppu, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `text_color` is never read [INFO] [stdout] --> src/display/draw_debug.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut text_color = COLOR_WHITE; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/display/draw_pixels.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn draw_pixels(state: &State, d_img: &mut ImageBuffer, Vec>, texture: &mut Texture, context: Context, gl: &mut Gl... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/display/display_snake.rs:101:70 [INFO] [stdout] | [INFO] [stdout] 101 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/display/display_snake.rs:101:73 [INFO] [stdout] | [INFO] [stdout] 101 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/display/display_nes.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let cpu = self.cpu.as_ref().borrow(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/display/display_nes.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/display/display_nes.rs:71:73 [INFO] [stdout] | [INFO] [stdout] 71 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_img` [INFO] [stdout] --> src/display/display_debug.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | mut d_img: &mut ImageBuffer, Vec>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_d_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/display/display_debug.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | mut texture: &mut Texture, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/display/display_debug.rs:95:70 [INFO] [stdout] | [INFO] [stdout] 95 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/display/display_debug.rs:95:73 [INFO] [stdout] | [INFO] [stdout] 95 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/cpu/tests/math.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | fn run_test_code(code: Vec, offset: u16) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/draw_debug.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mut glyphs: &mut GlyphCache, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display_nes.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | mut d_img: &mut ImageBuffer, Vec>, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display_nes.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | mut texture: &mut Texture [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display_debug.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | mut d_img: &mut ImageBuffer, Vec>, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display_debug.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | mut texture: &mut Texture, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu/cpu_6502.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let mut state = self.state.as_ref().expect("Missing state").as_ref().borrow_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_loop` [INFO] [stdout] --> src/cpu/mod.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn cpu_loop(cpu: &mut Cpu) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `real_loop` [INFO] [stdout] --> src/cpu/mod.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | pub(crate) fn real_loop(ppu: &mut Ppu, cpu: &mut Cpu) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_read` [INFO] [stdout] --> src/ppu/mod.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn cpu_read(state: &mut State, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_write` [INFO] [stdout] --> src/ppu/mod.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn cpu_write(state: &mut State, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Header` [INFO] [stdout] --> src/cartridge/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Cartridge` [INFO] [stdout] --> src/cartridge/mod.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Cartridge { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/cartridge/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(file_path: &str) -> Cartridge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAM` [INFO] [stdout] --> src/bus/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const RAM: u16 = 0x0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAM_MIRRORS_END` [INFO] [stdout] --> src/bus/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const RAM_MIRRORS_END: u16 = 0x1FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_REGISTERS` [INFO] [stdout] --> src/bus/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const PPU_REGISTERS: u16 = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_REGISTERS_MIRRORS_END` [INFO] [stdout] --> src/bus/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const PPU_REGISTERS_MIRRORS_END: u16 = 0x3FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reset` [INFO] [stdout] --> src/bus/mod.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn reset(state: &mut State, ppu: &mut Ppu, cpu: &mut Cpu) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clock` [INFO] [stdout] --> src/bus/mod.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn clock(ppu: &mut Ppu, cpu: &mut Cpu) -> Result<(), ()>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/bus/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) state: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name_tables` [INFO] [stdout] --> src/state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) name_tables: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `palette_table` [INFO] [stdout] --> src/state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) palette_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_test_code` [INFO] [stdout] --> src/cpu/tests/math.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn run_test_code(code: Vec, offset: u16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bus/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bus/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bus/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bus/mod.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | draw_string!("Hey There", 10, 100); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | draw_string!("STATUS:", x, y, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | / draw_string!("N", x + text_size * 6, y, if cpu.status & Flags::N as u8 > 0 { [INFO] [stdout] 61 | | COLOR_GREEN [INFO] [stdout] 62 | | } else { [INFO] [stdout] 63 | | COLOR_RED [INFO] [stdout] 64 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / draw_string!("V", x + text_size * 7, y, if cpu.status & Flags::V as u8 > 0 { [INFO] [stdout] 67 | | COLOR_GREEN [INFO] [stdout] 68 | | } else { [INFO] [stdout] 69 | | COLOR_RED [INFO] [stdout] 70 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / draw_string!("-", x + text_size * 8, y, if cpu.status & Flags::U as u8 > 0 { [INFO] [stdout] 73 | | COLOR_GREEN [INFO] [stdout] 74 | | } else { [INFO] [stdout] 75 | | COLOR_RED [INFO] [stdout] 76 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | / draw_string!("B", x + text_size * 9, y, if cpu.status & Flags::B as u8 > 0 { [INFO] [stdout] 79 | | COLOR_GREEN [INFO] [stdout] 80 | | } else { [INFO] [stdout] 81 | | COLOR_RED [INFO] [stdout] 82 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | / draw_string!("D", x + text_size * 10, y, if cpu.status & Flags::D as u8 > 0 { [INFO] [stdout] 85 | | COLOR_GREEN [INFO] [stdout] 86 | | } else { [INFO] [stdout] 87 | | COLOR_RED [INFO] [stdout] 88 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / draw_string!("I", x + text_size * 11, y, if cpu.status & Flags::I as u8 > 0 { [INFO] [stdout] 91 | | COLOR_GREEN [INFO] [stdout] 92 | | } else { [INFO] [stdout] 93 | | COLOR_RED [INFO] [stdout] 94 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / draw_string!("Z", x + text_size * 12, y, if cpu.status & Flags::Z as u8 > 0 { [INFO] [stdout] 97 | | COLOR_GREEN [INFO] [stdout] 98 | | } else { [INFO] [stdout] 99 | | COLOR_RED [INFO] [stdout] 100 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | / draw_string!("C", x + text_size * 13, y, if cpu.status & Flags::C as u8 > 0 { [INFO] [stdout] 103 | | COLOR_GREEN [INFO] [stdout] 104 | | } else { [INFO] [stdout] 105 | | COLOR_RED [INFO] [stdout] 106 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | draw_string!(&format!("PC: ${}", pc_string), x, y + text_size, COLOR_WHITE); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | draw_string!(&format!("A: ${} [{}]", a_reg_string, a_string), x, y + text_size * 2, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | draw_string!(&format!("X: ${} [{}]", x_reg_string, x_string), x, y + text_size * 3, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | draw_string!(&format!("Y: ${} [{}]", y_reg_string, y_string), x, y + text_size * 4, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | draw_string!(&format!("Stack P: ${}", stack_string), x, y + text_size * 5, COLOR_WHITE); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | draw_string!(&dis_inst, x, y, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | draw_string!(&write_string, x, y, COLOR_WHITE); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/cpu/tests/math.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/ppu/mod.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn cpu_read(state: &mut State, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/ppu/mod.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn cpu_read(state: &mut State, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/ppu/mod.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn cpu_write(state: &mut State, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/ppu/mod.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn cpu_write(state: &mut State, addr: u16, data: u8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `read_only` [INFO] [stdout] --> src/bus/mod.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) fn cpu_read(state: &State, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_read_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ppu` [INFO] [stdout] --> src/bus/mod.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn reset(state: &mut State, ppu: &mut Ppu, cpu: &mut Cpu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `text_color` is never read [INFO] [stdout] --> src/display/draw_debug.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut text_color = COLOR_WHITE; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/display/draw_pixels.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn draw_pixels(state: &State, d_img: &mut ImageBuffer, Vec>, texture: &mut Texture, context: Context, gl: &mut Gl... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/display/display_snake.rs:101:70 [INFO] [stdout] | [INFO] [stdout] 101 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/display/display_snake.rs:101:73 [INFO] [stdout] | [INFO] [stdout] 101 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/display/display_nes.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let cpu = self.cpu.as_ref().borrow(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/display/display_nes.rs:71:70 [INFO] [stdout] | [INFO] [stdout] 71 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/display/display_nes.rs:71:73 [INFO] [stdout] | [INFO] [stdout] 71 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d_img` [INFO] [stdout] --> src/display/display_debug.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | mut d_img: &mut ImageBuffer, Vec>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_d_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture` [INFO] [stdout] --> src/display/display_debug.rs:69:19 [INFO] [stdout] | [INFO] [stdout] 69 | mut texture: &mut Texture, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/display/display_debug.rs:95:70 [INFO] [stdout] | [INFO] [stdout] 95 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/display/display_debug.rs:95:73 [INFO] [stdout] | [INFO] [stdout] 95 | let mut d_img = ImageBuffer::from_fn(EMU_WIDTH, EMU_HEIGHT, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cart` [INFO] [stdout] --> src/cartridge/tests/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let cart = Cartridge::new("assets/nestest.nes"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ppu` [INFO] [stdout] --> src/cpu/tests/flags.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | create_devices!(ppu, cpu); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ppu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/cpu/tests/math.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | fn run_test_code(code: Vec, offset: u16) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/draw_debug.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | mut glyphs: &mut GlyphCache, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display_nes.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | mut d_img: &mut ImageBuffer, Vec>, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display_nes.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | mut texture: &mut Texture [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display_debug.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | mut d_img: &mut ImageBuffer, Vec>, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/display/display_debug.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | mut texture: &mut Texture, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu/cpu_6502.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let mut state = self.state.as_ref().expect("Missing state").as_ref().borrow_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::EventSettings` [INFO] [stdout] --> src/bin/nestest.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::EventSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nes_emulator::display::display_debug::NesDebug` [INFO] [stdout] --> src/bin/nestest.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use nes_emulator::display::display_debug::NesDebug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston::EventSettings` [INFO] [stdout] --> src/bin/nestest.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use piston::EventSettings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nes_emulator::display::display_debug::NesDebug` [INFO] [stdout] --> src/bin/nestest.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use nes_emulator::display::display_debug::NesDebug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu/tests/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut $var1 = ppu_ref.as_ref().borrow_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/cpu/tests/flags.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | create_devices!(ppu, cpu); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_devices` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_loop` [INFO] [stdout] --> src/cpu/mod.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | pub(crate) fn cpu_loop(cpu: &mut Cpu) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_read` [INFO] [stdout] --> src/ppu/mod.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn cpu_read(state: &mut State, addr: u16, read_only: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cpu_write` [INFO] [stdout] --> src/ppu/mod.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn cpu_write(state: &mut State, addr: u16, data: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cartridge/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_ram_size` [INFO] [stdout] --> src/cartridge/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | prg_ram_size: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_system1` [INFO] [stdout] --> src/cartridge/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tv_system1: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv_system2` [INFO] [stdout] --> src/cartridge/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | tv_system2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `unused` [INFO] [stdout] --> src/cartridge/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | unused: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `header` [INFO] [stdout] --> src/cartridge/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | header: Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_mapper_id` [INFO] [stdout] --> src/cartridge/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | n_mapper_id: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_prgbanks` [INFO] [stdout] --> src/cartridge/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | n_prgbanks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n_chrbanks` [INFO] [stdout] --> src/cartridge/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | n_chrbanks: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v_prg_memory` [INFO] [stdout] --> src/cartridge/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | v_prg_memory: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v_chr_memory` [INFO] [stdout] --> src/cartridge/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | v_chr_memory: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAM` [INFO] [stdout] --> src/bus/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | const RAM: u16 = 0x0000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RAM_MIRRORS_END` [INFO] [stdout] --> src/bus/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | const RAM_MIRRORS_END: u16 = 0x1FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_REGISTERS` [INFO] [stdout] --> src/bus/mod.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | const PPU_REGISTERS: u16 = 0x2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PPU_REGISTERS_MIRRORS_END` [INFO] [stdout] --> src/bus/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const PPU_REGISTERS_MIRRORS_END: u16 = 0x3FFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reset` [INFO] [stdout] --> src/bus/mod.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) fn reset(state: &mut State, ppu: &mut Ppu, cpu: &mut Cpu) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/bus/mod.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) state: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name_tables` [INFO] [stdout] --> src/state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) name_tables: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `palette_table` [INFO] [stdout] --> src/state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) palette_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bus/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bus/mod.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bus/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/bus/mod.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | if addr >= 0x0000 && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | draw_string!("Hey There", 10, 100); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | draw_string!("STATUS:", x, y, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | / draw_string!("N", x + text_size * 6, y, if cpu.status & Flags::N as u8 > 0 { [INFO] [stdout] 61 | | COLOR_GREEN [INFO] [stdout] 62 | | } else { [INFO] [stdout] 63 | | COLOR_RED [INFO] [stdout] 64 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / draw_string!("V", x + text_size * 7, y, if cpu.status & Flags::V as u8 > 0 { [INFO] [stdout] 67 | | COLOR_GREEN [INFO] [stdout] 68 | | } else { [INFO] [stdout] 69 | | COLOR_RED [INFO] [stdout] 70 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / draw_string!("-", x + text_size * 8, y, if cpu.status & Flags::U as u8 > 0 { [INFO] [stdout] 73 | | COLOR_GREEN [INFO] [stdout] 74 | | } else { [INFO] [stdout] 75 | | COLOR_RED [INFO] [stdout] 76 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | / draw_string!("B", x + text_size * 9, y, if cpu.status & Flags::B as u8 > 0 { [INFO] [stdout] 79 | | COLOR_GREEN [INFO] [stdout] 80 | | } else { [INFO] [stdout] 81 | | COLOR_RED [INFO] [stdout] 82 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | / draw_string!("D", x + text_size * 10, y, if cpu.status & Flags::D as u8 > 0 { [INFO] [stdout] 85 | | COLOR_GREEN [INFO] [stdout] 86 | | } else { [INFO] [stdout] 87 | | COLOR_RED [INFO] [stdout] 88 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | / draw_string!("I", x + text_size * 11, y, if cpu.status & Flags::I as u8 > 0 { [INFO] [stdout] 91 | | COLOR_GREEN [INFO] [stdout] 92 | | } else { [INFO] [stdout] 93 | | COLOR_RED [INFO] [stdout] 94 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | / draw_string!("Z", x + text_size * 12, y, if cpu.status & Flags::Z as u8 > 0 { [INFO] [stdout] 97 | | COLOR_GREEN [INFO] [stdout] 98 | | } else { [INFO] [stdout] 99 | | COLOR_RED [INFO] [stdout] 100 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | / draw_string!("C", x + text_size * 13, y, if cpu.status & Flags::C as u8 > 0 { [INFO] [stdout] 103 | | COLOR_GREEN [INFO] [stdout] 104 | | } else { [INFO] [stdout] 105 | | COLOR_RED [INFO] [stdout] 106 | | }); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | draw_string!(&format!("PC: ${}", pc_string), x, y + text_size, COLOR_WHITE); [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | draw_string!(&format!("A: ${} [{}]", a_reg_string, a_string), x, y + text_size * 2, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | draw_string!(&format!("X: ${} [{}]", x_reg_string, x_string), x, y + text_size * 3, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | draw_string!(&format!("Y: ${} [{}]", y_reg_string, y_string), x, y + text_size * 4, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | draw_string!(&format!("Stack P: ${}", stack_string), x, y + text_size * 5, COLOR_WHITE); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | draw_string!(&dis_inst, x, y, COLOR_WHITE); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/display/draw_debug.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | text(color, (text_size as f64 * average_scaler) as u32, $text, glyphs, transform, gl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | draw_string!(&write_string, x, y, COLOR_WHITE); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `draw_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.40s [INFO] running `Command { std: "docker" "inspect" "be34a8d172bf85dcde53a6c54a82ac15bd3ede95f2b42f77a45ee8ddc69bd015", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be34a8d172bf85dcde53a6c54a82ac15bd3ede95f2b42f77a45ee8ddc69bd015", kill_on_drop: false }` [INFO] [stdout] be34a8d172bf85dcde53a6c54a82ac15bd3ede95f2b42f77a45ee8ddc69bd015