[INFO] cloning repository https://github.com/SireBeef/RustBoy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SireBeef/RustBoy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSireBeef%2FRustBoy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSireBeef%2FRustBoy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7915d3241aef6185f91c9ae2614ddd1db60b26f5 [INFO] testing SireBeef/RustBoy against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSireBeef%2FRustBoy" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SireBeef/RustBoy [INFO] finished tweaking git repo https://github.com/SireBeef/RustBoy [INFO] tweaked toml for git repo https://github.com/SireBeef/RustBoy written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SireBeef/RustBoy on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SireBeef/RustBoy already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.41 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.54 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded memmap2 v0.9.8 [INFO] [stderr] Downloaded toml_edit v0.23.7 [INFO] [stderr] Downloaded pixels v0.15.0 [INFO] [stderr] Downloaded pollster v0.3.0 [INFO] [stderr] Downloaded xml-rs v0.8.27 [INFO] [stderr] Downloaded ultraviolet v0.9.2 [INFO] [stderr] Downloaded syn v2.0.107 [INFO] [stderr] Downloaded wgpu-hal v0.19.5 [INFO] [stderr] Downloaded orbclient v0.3.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca [INFO] running `Command { std: "docker" "start" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-types v0.19.2 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling smol_str v0.2.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling emulator-core v0.1.0 (/opt/rustwide/workdir/emulator-core) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> emulator-core/src/cpu/mod.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | ((most_significant_byte << 8) | least_significant_byte) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - ((most_significant_byte << 8) | least_significant_byte) [INFO] [stdout] 338 + (most_significant_byte << 8) | least_significant_byte [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> emulator-core/src/cpu/mod.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | _ => panic!("Unknown destination register"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> emulator-core/src/cpu/mod.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 426 | DestinationRegister::A => self.registers.a = work(self, value), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 427 | DestinationRegister::B => self.registers.b = work(self, value), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 428 | DestinationRegister::C => self.registers.c = work(self, value), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 429 | DestinationRegister::D => self.registers.d = work(self, value), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 433 | _ => panic!("Unknown destination register"), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BCIndirect`, `DEIndirect`, `HLIndirectPlus`, `WordIndirect`, and `LastByteIndirect` are never constructed [INFO] [stdout] --> emulator-core/src/cpu/instruction/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Indirect { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 47 | BCIndirect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | DEIndirect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | HLIndirectMinus, [INFO] [stdout] 50 | HLIndirectPlus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 51 | WordIndirect, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | LastByteIndirect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling ultraviolet v0.9.2 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling naga v0.19.2 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling pixels v0.15.0 [INFO] [stderr] Compiling emulator-bin v0.1.0 (/opt/rustwide/workdir/emulator-bin) [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stdout] --> emulator-bin/src/main.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | let window = Arc::new(event_loop.create_window(window_attributes).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> emulator-bin/src/main.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn resumed(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> emulator-bin/src/main.rs:47:62 [INFO] [stdout] | [INFO] [stdout] 47 | fn window_event(&mut self, event_loop: &ActiveEventLoop, id: WindowId, event: WindowEvent) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> emulator-core/src/cpu/mod.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | ((most_significant_byte << 8) | least_significant_byte) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 338 - ((most_significant_byte << 8) | least_significant_byte) [INFO] [stdout] 338 + (most_significant_byte << 8) | least_significant_byte [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> emulator-core/src/cpu/mod.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | _ => panic!("Unknown destination register"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> emulator-core/src/cpu/mod.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 426 | DestinationRegister::A => self.registers.a = work(self, value), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 427 | DestinationRegister::B => self.registers.b = work(self, value), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 428 | DestinationRegister::C => self.registers.c = work(self, value), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 429 | DestinationRegister::D => self.registers.d = work(self, value), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 433 | _ => panic!("Unknown destination register"), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BCIndirect`, `DEIndirect`, `HLIndirectPlus`, `WordIndirect`, and `LastByteIndirect` are never constructed [INFO] [stdout] --> emulator-core/src/cpu/instruction/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Indirect { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 47 | BCIndirect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | DEIndirect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 49 | HLIndirectMinus, [INFO] [stdout] 50 | HLIndirectPlus, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 51 | WordIndirect, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | LastByteIndirect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling emulator-bin v0.1.0 (/opt/rustwide/workdir/emulator-bin) [INFO] [stdout] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stdout] --> emulator-bin/src/main.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | let window = Arc::new(event_loop.create_window(window_attributes).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> emulator-bin/src/main.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn resumed(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> emulator-bin/src/main.rs:47:62 [INFO] [stdout] | [INFO] [stdout] 47 | fn window_event(&mut self, event_loop: &ActiveEventLoop, id: WindowId, event: WindowEvent) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> emulator-core/src/cpu/mod.rs:338:9 [INFO] [stderr] | [INFO] [stderr] 338 | ((most_significant_byte << 8) | least_significant_byte) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 338 - ((most_significant_byte << 8) | least_significant_byte) [INFO] [stderr] 338 + (most_significant_byte << 8) | least_significant_byte [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> emulator-core/src/cpu/mod.rs:433:13 [INFO] [stderr] | [INFO] [stderr] 433 | _ => panic!("Unknown destination register"), [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> emulator-core/src/cpu/mod.rs:433:13 [INFO] [stderr] | [INFO] [stderr] 426 | DestinationRegister::A => self.registers.a = work(self, value), [INFO] [stderr] | ---------------------- matches some of the same values [INFO] [stderr] 427 | DestinationRegister::B => self.registers.b = work(self, value), [INFO] [stderr] | ---------------------- matches some of the same values [INFO] [stderr] 428 | DestinationRegister::C => self.registers.c = work(self, value), [INFO] [stderr] | ---------------------- matches some of the same values [INFO] [stderr] 429 | DestinationRegister::D => self.registers.d = work(self, value), [INFO] [stderr] | ---------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 433 | _ => panic!("Unknown destination register"), [INFO] [stderr] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `BCIndirect`, `DEIndirect`, `HLIndirectPlus`, `WordIndirect`, and `LastByteIndirect` are never constructed [INFO] [stderr] --> emulator-core/src/cpu/instruction/mod.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 46 | pub enum Indirect { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 47 | BCIndirect, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 48 | DEIndirect, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 49 | HLIndirectMinus, [INFO] [stderr] 50 | HLIndirectPlus, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 51 | WordIndirect, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 52 | LastByteIndirect, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `emulator-core` (lib) generated 3 warnings (run `cargo fix --lib -p emulator-core` to apply 1 suggestion) [INFO] [stderr] warning: use of deprecated method `winit::event_loop::EventLoop::::create_window`: use `ActiveEventLoop::create_window` instead [INFO] [stderr] --> emulator-bin/src/main.rs:125:38 [INFO] [stderr] | [INFO] [stderr] 125 | let window = Arc::new(event_loop.create_window(window_attributes).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_loop` [INFO] [stderr] --> emulator-bin/src/main.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | fn resumed(&mut self, event_loop: &ActiveEventLoop) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> emulator-bin/src/main.rs:47:62 [INFO] [stderr] | [INFO] [stderr] 47 | fn window_event(&mut self, event_loop: &ActiveEventLoop, id: WindowId, event: WindowEvent) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: `emulator-bin` (bin "emulator-bin" test) generated 3 warnings (run `cargo fix --bin "emulator-bin" -p emulator-bin --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/emulator_bin-504a168eac7ed1aa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca", kill_on_drop: false }` [INFO] [stdout] b9802fb8ac8acbb430c7e06bec18894dde598b5447b99a1a7c81f0beae9285ca