[INFO] cloning repository https://github.com/jomag/rustboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jomag/rustboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjomag%2Frustboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjomag%2Frustboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d2e3909b65e177997bdf1c866e7311ecbc60e31 [INFO] checking jomag/rustboy against try#506dff8de9f54f528028a7e4497ea925a4f3e19e for pr-94295 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjomag%2Frustboy" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jomag/rustboy on toolchain 506dff8de9f54f528028a7e4497ea925a4f3e19e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+506dff8de9f54f528028a7e4497ea925a4f3e19e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jomag/rustboy [INFO] finished tweaking git repo https://github.com/jomag/rustboy [INFO] tweaked toml for git repo https://github.com/jomag/rustboy written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/jomag/rustboy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+506dff8de9f54f528028a7e4497ea925a4f3e19e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui_wgpu_backend v0.16.0 [INFO] [stderr] Downloaded ctrlc v3.1.6 [INFO] [stderr] Downloaded egui_winit_platform v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+506dff8de9f54f528028a7e4497ea925a4f3e19e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 792bca9ed114437d2cc1d7fe2188d8186ae86435c4c3bf16b57216aff7241585 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "792bca9ed114437d2cc1d7fe2188d8186ae86435c4c3bf16b57216aff7241585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "792bca9ed114437d2cc1d7fe2188d8186ae86435c4c3bf16b57216aff7241585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "792bca9ed114437d2cc1d7fe2188d8186ae86435c4c3bf16b57216aff7241585", kill_on_drop: false }` [INFO] [stdout] 792bca9ed114437d2cc1d7fe2188d8186ae86435c4c3bf16b57216aff7241585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+506dff8de9f54f528028a7e4497ea925a4f3e19e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c503b79ec9a59717e8fa81155341a5cc92fab368e0806ede22c32b215ca531b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c503b79ec9a59717e8fa81155341a5cc92fab368e0806ede22c32b215ca531b2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking emath v0.16.0 [INFO] [stderr] Checking atomic_refcell v0.1.8 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking unicode_names2 v0.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking libloading v0.7.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling wgpu-core v0.12.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking ringbuf v0.2.6 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking ash v0.34.0+1.2.203 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking wgpu-types v0.12.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking gpu-alloc v0.5.2 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking khronos-egl v4.1.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking nix v0.20.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking epaint v0.16.0 [INFO] [stderr] Checking gpu-descriptor v0.2.2 [INFO] [stderr] Checking egui v0.16.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-map-derive v0.6.0 [INFO] [stderr] Checking enum-map v1.1.1 [INFO] [stderr] Checking alsa v0.5.0 [INFO] [stderr] Checking ctrlc v3.1.6 [INFO] [stderr] Checking epi v0.16.0 [INFO] [stderr] Checking egui_demo_lib v0.16.0 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking x11-clipboard v0.5.3 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking naga v0.8.1 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking wgpu-hal v0.12.1 [INFO] [stderr] Checking smithay-clipboard v0.6.5 [INFO] [stderr] Checking copypasta v0.7.1 [INFO] [stderr] Checking egui-winit v0.16.0 [INFO] [stderr] Checking egui_winit_platform v0.13.0 [INFO] [stderr] Checking wgpu v0.12.0 [INFO] [stderr] Checking egui_wgpu_backend v0.16.0 [INFO] [stderr] Checking rustboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/cartridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::Debug` [INFO] [stdout] --> src/mmu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::debug::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format_mnemonic` [INFO] [stdout] --> src/test_runner.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | debug::{format_mnemonic, Debug}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | mod test_runner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpecDesired` [INFO] [stdout] --> src/ui/audio.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | use sdl2::audio::{AudioCallback, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::Sdl` [INFO] [stdout] --> src/ui/audio.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use sdl2::Sdl; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::FPS` [INFO] [stdout] --> src/ui/audio.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::ui::FPS; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color32`, `Pos2`, `style` [INFO] [stdout] --> src/ui/audio_window.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | emath, epaint, pos2, style, vec2, Color32, CtxRef, Pos2, Rect, Sense, Shape, Stroke, Ui, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color32`, `TextEdit` [INFO] [stdout] --> src/ui/breakpoints_window.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Button, Color32, CtxRef, TextEdit}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color32`, `Pos2`, `Rect`, `Sense`, `Shape`, `Stroke`, `emath`, `epaint`, `pos2`, `style`, `vec2` [INFO] [stdout] --> src/ui/debug_window.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | emath, epaint, pos2, style, vec2, Color32, CtxRef, Label, Pos2, Rect, RichText, Sense, Shape, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 25 | Stroke, TextStyle, Ui, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::sleep` [INFO] [stdout] --> src/ui/full.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::BufWriter, iter, thread::sleep, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CLOCK_SPEED` [INFO] [stdout] --> src/ui/full.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | APPNAME, CLOCK_SPEED, CYCLES_PER_FRAME, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StartCause` [INFO] [stdout] --> src/ui/full.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | event::{Event::*, StartCause}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/cartridge.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::Debug` [INFO] [stdout] --> src/mmu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::debug::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format_mnemonic` [INFO] [stdout] --> src/test_runner.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | debug::{format_mnemonic, Debug}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | mod test_runner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AudioSpecDesired` [INFO] [stdout] --> src/ui/audio.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | use sdl2::audio::{AudioCallback, AudioSpecDesired}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::Sdl` [INFO] [stdout] --> src/ui/audio.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use sdl2::Sdl; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui::FPS` [INFO] [stdout] --> src/ui/audio.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::ui::FPS; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color32`, `Pos2`, `style` [INFO] [stdout] --> src/ui/audio_window.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | emath, epaint, pos2, style, vec2, Color32, CtxRef, Pos2, Rect, Sense, Shape, Stroke, Ui, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color32`, `TextEdit` [INFO] [stdout] --> src/ui/breakpoints_window.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Button, Color32, CtxRef, TextEdit}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color32`, `Pos2`, `Rect`, `Sense`, `Shape`, `Stroke`, `emath`, `epaint`, `pos2`, `style`, `vec2` [INFO] [stdout] --> src/ui/debug_window.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | emath, epaint, pos2, style, vec2, Color32, CtxRef, Label, Pos2, Rect, RichText, Sense, Shape, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^ ^^^^^ ^^^^ ^^^^^^^ ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 25 | Stroke, TextStyle, Ui, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread::sleep` [INFO] [stdout] --> src/ui/full.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs::File, io::BufWriter, iter, thread::sleep, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CLOCK_SPEED` [INFO] [stdout] --> src/ui/full.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | APPNAME, CLOCK_SPEED, CYCLES_PER_FRAME, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StartCause` [INFO] [stdout] --> src/ui/full.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | event::{Event::*, StartCause}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `break_at_address` [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let break_at_address: Option = parse_optional(matches.value_of("break")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_at_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `break_at_cycle` [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let break_at_cycle: Option = parse_optional(matches.value_of("break-cycle")); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_at_cycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exit_at_frame` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let exit_at_frame: Option = parse_optional(matches.value_of("exit-frame")); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exit_at_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capture_at_frame` [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let capture_at_frame: Option = parse_optional(matches.value_of("capture")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capture_at_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capture_filename` [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let capture_filename: &str = matches [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capture_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emu` [INFO] [stdout] --> src/debug.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn evaluate(&self, emu: &Emu) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_emu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/test_runner.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn test_runner_expect(expect: &str, emu: &mut Emu, debug: &mut Debug) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `break_at_address` [INFO] [stdout] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let break_at_address: Option = parse_optional(matches.value_of("break")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_at_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `break_at_cycle` [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | let break_at_cycle: Option = parse_optional(matches.value_of("break-cycle")); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_break_at_cycle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exit_at_frame` [INFO] [stdout] --> src/main.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let exit_at_frame: Option = parse_optional(matches.value_of("exit-frame")); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exit_at_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capture_at_frame` [INFO] [stdout] --> src/main.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let capture_at_frame: Option = parse_optional(matches.value_of("capture")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capture_at_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `capture_filename` [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let capture_filename: &str = matches [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_capture_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emu` [INFO] [stdout] --> src/debug.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn evaluate(&self, emu: &Emu) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_emu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emu` [INFO] [stdout] --> src/ui/breakpoints_window.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn render(&mut self, ctx: &CtxRef, emu: &mut Emu, debug: &mut Debug) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_emu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui/debug_window.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn render(&mut self, ctx: &CtxRef, ui: &mut Ui, emu: &Emu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recorder` [INFO] [stdout] --> src/ui/full.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let recorder = WaveAudioRecorder { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recorder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debug` [INFO] [stdout] --> src/test_runner.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn test_runner_expect(expect: &str, emu: &mut Emu, debug: &mut Debug) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emu` [INFO] [stdout] --> src/ui/breakpoints_window.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn render(&mut self, ctx: &CtxRef, emu: &mut Emu, debug: &mut Debug) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_emu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/ui/debug_window.rs:187:30 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn render(&mut self, ctx: &CtxRef, ui: &mut Ui, emu: &Emu) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recorder` [INFO] [stdout] --> src/ui/full.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let recorder = WaveAudioRecorder { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recorder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> src/ui/full.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let sample_rate = config.sample_rate.0 as f32; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_rate` [INFO] [stdout] --> src/ui/full.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let sample_rate = config.sample_rate.0 as f32; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cartridge.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let mut ram = vec![0x00; 0x8000].into_boxed_slice(); [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/cartridge.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | let mut ram = vec![0x00; 0x8000].into_boxed_slice(); [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 is never used: `CLOCK_SPEED` [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const CLOCK_SPEED: u32 = 4194304; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `capture_frame` [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn capture_frame(filename: &str, frame: u32, lcd: &LCD) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_name` [INFO] [stdout] --> src/apu.rs:1368:4 [INFO] [stdout] | [INFO] [stdout] 1368 | fn reg_name(address: u16) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/cartridge.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/cartridge.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | pub size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finalize` [INFO] [stdout] --> src/debug.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn finalize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_stack` [INFO] [stdout] --> src/debug.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn print_stack(mmu: &MMU, sp: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_sprite` [INFO] [stdout] --> src/debug.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn print_sprite(mmu: &MMU, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_sprites` [INFO] [stdout] --> src/debug.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn print_sprites(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_bit` [INFO] [stdout] --> src/debug.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn get_bit(bitmap: u8, bit: u8) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_lcdc` [INFO] [stdout] --> src/debug.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn print_lcdc(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_apu` [INFO] [stdout] --> src/debug.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn print_apu(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_registers` [INFO] [stdout] --> src/debug.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn print_registers(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_interrupt_state` [INFO] [stdout] --> src/debug.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn print_interrupt_state(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_timer_state` [INFO] [stdout] --> src/debug.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn print_timer_state(timer: &Timer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_listing` [INFO] [stdout] --> src/debug.rs:797:8 [INFO] [stdout] | [INFO] [stdout] 797 | pub fn print_listing(mmu: &MMU, addr: u16, line_count: i32) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GameBoyMGB` [INFO] [stdout] --> src/emu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | GameBoyMGB, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Machine` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/emu.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GameBoySGB` [INFO] [stdout] --> src/emu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | GameBoySGB, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Machine` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/emu.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_WIDTH` [INFO] [stdout] --> src/ui/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_WIDTH: u32 = 800; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_HEIGHT` [INFO] [stdout] --> src/ui/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const DEFAULT_HEIGHT: u32 = 600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FPS` [INFO] [stdout] --> src/ui/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const FPS: f64 = 60.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ensure_visible` [INFO] [stdout] --> src/ui/debug_window.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn ensure_visible(&mut self, address: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WINDOW_WIDTH` [INFO] [stdout] --> src/ui/minimal.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const WINDOW_WIDTH: u32 = (SCREEN_WIDTH * 2) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WINDOW_HEIGHT` [INFO] [stdout] --> src/ui/minimal.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const WINDOW_HEIGHT: u32 = (SCREEN_HEIGHT * 2) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_sdl_gl_driver` [INFO] [stdout] --> src/ui/minimal.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn find_sdl_gl_driver() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_with_minimal_ui` [INFO] [stdout] --> src/ui/minimal.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_with_minimal_ui( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mean_frame_time` [INFO] [stdout] --> src/ui/render_stats.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mean_frame_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/debug.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | f.sync_all(); [INFO] [stdout] | ^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | wr.write_sample(sample); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | wr.write_sample(sample); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | wr.write_sample(sample); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | wr.flush(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | wr.flush(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | wr.flush(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLOCK_SPEED` [INFO] [stdout] --> src/main.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const CLOCK_SPEED: u32 = 4194304; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `capture_frame` [INFO] [stdout] --> src/main.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn capture_frame(filename: &str, frame: u32, lcd: &LCD) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reg_name` [INFO] [stdout] --> src/apu.rs:1368:4 [INFO] [stdout] | [INFO] [stdout] 1368 | fn reg_name(address: u16) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/cartridge.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/cartridge.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | pub size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `finalize` [INFO] [stdout] --> src/debug.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn finalize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_stack` [INFO] [stdout] --> src/debug.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn print_stack(mmu: &MMU, sp: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_sprite` [INFO] [stdout] --> src/debug.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub fn print_sprite(mmu: &MMU, i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_sprites` [INFO] [stdout] --> src/debug.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn print_sprites(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_bit` [INFO] [stdout] --> src/debug.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn get_bit(bitmap: u8, bit: u8) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_lcdc` [INFO] [stdout] --> src/debug.rs:251:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn print_lcdc(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_apu` [INFO] [stdout] --> src/debug.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn print_apu(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_registers` [INFO] [stdout] --> src/debug.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn print_registers(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_interrupt_state` [INFO] [stdout] --> src/debug.rs:351:8 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn print_interrupt_state(mmu: &MMU) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_timer_state` [INFO] [stdout] --> src/debug.rs:360:8 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn print_timer_state(timer: &Timer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_listing` [INFO] [stdout] --> src/debug.rs:797:8 [INFO] [stdout] | [INFO] [stdout] 797 | pub fn print_listing(mmu: &MMU, addr: u16, line_count: i32) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GameBoyMGB` [INFO] [stdout] --> src/emu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | GameBoyMGB, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Machine` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/emu.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GameBoySGB` [INFO] [stdout] --> src/emu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | GameBoySGB, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Machine` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/emu.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_WIDTH` [INFO] [stdout] --> src/ui/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_WIDTH: u32 = 800; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_HEIGHT` [INFO] [stdout] --> src/ui/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const DEFAULT_HEIGHT: u32 = 600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FPS` [INFO] [stdout] --> src/ui/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const FPS: f64 = 60.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ensure_visible` [INFO] [stdout] --> src/ui/debug_window.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn ensure_visible(&mut self, address: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WINDOW_WIDTH` [INFO] [stdout] --> src/ui/minimal.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const WINDOW_WIDTH: u32 = (SCREEN_WIDTH * 2) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WINDOW_HEIGHT` [INFO] [stdout] --> src/ui/minimal.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const WINDOW_HEIGHT: u32 = (SCREEN_HEIGHT * 2) as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_sdl_gl_driver` [INFO] [stdout] --> src/ui/minimal.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn find_sdl_gl_driver() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_with_minimal_ui` [INFO] [stdout] --> src/ui/minimal.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn run_with_minimal_ui( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mean_frame_time` [INFO] [stdout] --> src/ui/render_stats.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mean_frame_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/debug.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | f.sync_all(); [INFO] [stdout] | ^^^^^^^^^^^^^ [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] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | wr.write_sample(sample); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | wr.write_sample(sample); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | wr.write_sample(sample); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | wr.flush(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | wr.flush(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ui/full.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | wr.flush(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "c503b79ec9a59717e8fa81155341a5cc92fab368e0806ede22c32b215ca531b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c503b79ec9a59717e8fa81155341a5cc92fab368e0806ede22c32b215ca531b2", kill_on_drop: false }` [INFO] [stdout] c503b79ec9a59717e8fa81155341a5cc92fab368e0806ede22c32b215ca531b2