[INFO] cloning repository https://github.com/MikkelBergstrand/nes_emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MikkelBergstrand/nes_emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikkelBergstrand%2Fnes_emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikkelBergstrand%2Fnes_emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3dbbde7a2ad33808fd176f337fccaf6395540715 [INFO] checking MikkelBergstrand/nes_emulator against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMikkelBergstrand%2Fnes_emulator" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MikkelBergstrand/nes_emulator [INFO] finished tweaking git repo https://github.com/MikkelBergstrand/nes_emulator [INFO] tweaked toml for git repo https://github.com/MikkelBergstrand/nes_emulator written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MikkelBergstrand/nes_emulator on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MikkelBergstrand/nes_emulator 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v28.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-apple v28.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-windows-linux-android v28.0.0 [INFO] [stderr] Downloaded wgpu-core-deps-wasm v28.0.0 [INFO] [stderr] Downloaded console_log v1.0.0 [INFO] [stderr] Downloaded wgpu-types v28.0.0 [INFO] [stderr] Downloaded wgpu v28.0.0 [INFO] [stderr] Downloaded wgpu-core v28.0.1 [INFO] [stderr] Downloaded wgpu-hal v28.0.1 [INFO] [stderr] Downloaded naga v28.0.0 [INFO] [stderr] Downloaded metal v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 138445c3474cc3ea720f463ed526ec37cbca96410a7ca6e182130e829ab767a0 [INFO] running `Command { std: "docker" "start" "-a" "138445c3474cc3ea720f463ed526ec37cbca96410a7ca6e182130e829ab767a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138445c3474cc3ea720f463ed526ec37cbca96410a7ca6e182130e829ab767a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138445c3474cc3ea720f463ed526ec37cbca96410a7ca6e182130e829ab767a0", kill_on_drop: false }` [INFO] [stdout] 138445c3474cc3ea720f463ed526ec37cbca96410a7ca6e182130e829ab767a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65dadeb264ddb9f177edf766e4221515af79a54d5a8206a9436e2347d9e56528 [INFO] running `Command { std: "docker" "start" "-a" "65dadeb264ddb9f177edf766e4221515af79a54d5a8206a9436e2347d9e56528", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling naga v28.0.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Compiling wgpu-hal v28.0.1 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking presser v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling wgpu-core v28.0.1 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Compiling wgpu v28.0.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking ordered-float v5.3.0 [INFO] [stderr] Checking wayland-client v0.31.14 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wgpu-types v28.0.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking gpu-allocator v0.28.0 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v28.0.0 [INFO] [stderr] Checking nes_emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GenericImage`, `ImageBuffer`, and `ImageFormat` [INFO] [stdout] --> src/texture.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, ImageFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageFormat` [INFO] [stdout] --> src/app.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, ImageFormat}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage`, `ImageBuffer`, and `ImageFormat` [INFO] [stdout] --> src/texture.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, ImageFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | application::ApplicationHandler, event::*, event_loop::{self, ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, wind... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageFormat` [INFO] [stdout] --> src/app.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, ImageFormat}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | application::ApplicationHandler, event::*, event_loop::{self, ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, wind... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/vertex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/vertex.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/vertex.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const INDICES: &[u16] = &[ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/texture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESOLUTION` is never used [INFO] [stdout] --> src/app.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const RESOLUTION: (u32, u32) = (320, 240); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/app.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resize`, `handle_key`, `update`, and `render` are never used [INFO] [stdout] --> src/app.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn new(window: Arc) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn handle_key(&self, event_loop: &ActiveEventLoop, code: KeyCode, is_pressed: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn render(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/app.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 362 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 363 | pub fn new(#[cfg(target_arch = "wasm32")] event_loop: &EventLoop) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/app.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn run() -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/vertex.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 11 | pub fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTICES` is never used [INFO] [stdout] --> src/vertex.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/vertex.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const INDICES: &[u16] = &[ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Texture` is never constructed [INFO] [stdout] --> src/texture.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Texture { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bytes` and `from_image` are never used [INFO] [stdout] --> src/texture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Texture { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn from_image( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESOLUTION` is never used [INFO] [stdout] --> src/app.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const RESOLUTION: (u32, u32) = (320, 240); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/app.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resize`, `handle_key`, `update`, and `render` are never used [INFO] [stdout] --> src/app.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 38 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn new(window: Arc) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn resize(&mut self, width: u32, height: u32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn handle_key(&self, event_loop: &ActiveEventLoop, code: KeyCode, is_pressed: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn render(&mut self) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/app.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/app.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 362 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 363 | pub fn new(#[cfg(target_arch = "wasm32")] event_loop: &EventLoop) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/app.rs:474:8 [INFO] [stdout] | [INFO] [stdout] 474 | pub fn run() -> anyhow::Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage`, `ImageBuffer`, and `ImageFormat` [INFO] [stdout] --> src/texture.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, ImageFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageFormat` [INFO] [stdout] --> src/app.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, ImageFormat}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | application::ApplicationHandler, event::*, event_loop::{self, ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, wind... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage`, `ImageBuffer`, and `ImageFormat` [INFO] [stdout] --> src/texture.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImage, GenericImageView, ImageBuffer, ImageFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageFormat` [INFO] [stdout] --> src/app.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, ImageFormat}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | application::ApplicationHandler, event::*, event_loop::{self, ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, wind... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/texture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Texture { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESOLUTION` is never used [INFO] [stdout] --> src/app.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const RESOLUTION: (u32, u32) = (320, 240); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_vertices` is never read [INFO] [stdout] --> src/app.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | num_vertices: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddressingMode` is never used [INFO] [stdout] --> src/opcodes.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AddressingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `resolve_value_from_addressmode` and `to_address` are never used [INFO] [stdout] --> src/opcodes.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl AddressingMode { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 21 | pub fn resolve_value_from_addressmode(mode: AddressingMode, arg: Option, cpu: &CPU, memory: &mut Memory) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn to_address(mode: AddressingMode, address: u16, cpu: &CPU, memory: &mut Memory) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionData` is never constructed [INFO] [stdout] --> src/opcodes.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct InstructionData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `invalid` and `make_instruction_table` are never used [INFO] [stdout] --> src/opcodes.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 78 | impl InstructionData { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 79 | const fn invalid() -> InstructionData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub const fn make_instruction_table() -> [InstructionData; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `flag_as_u8`, and `set_flag` are never used [INFO] [stdout] --> src/cpu.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 28 | [INFO] [stdout] 29 | pub fn new() -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn flag_as_u8(&self, status: CPUFlags) -> u8 { self.flags.contains(status) as u8 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | pub fn set_flag(&mut self, status: CPUFlags, cond: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/instruction.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 11 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NES` is never constructed [INFO] [stdout] --> src/nes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NES { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tick` are never used [INFO] [stdout] --> src/nes.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl NES { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/texture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Texture { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn from_bytes( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESOLUTION` is never used [INFO] [stdout] --> src/app.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const RESOLUTION: (u32, u32) = (320, 240); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_vertices` is never read [INFO] [stdout] --> src/app.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | num_vertices: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AddressingMode` is never used [INFO] [stdout] --> src/opcodes.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AddressingMode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `resolve_value_from_addressmode` and `to_address` are never used [INFO] [stdout] --> src/opcodes.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl AddressingMode { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 21 | pub fn resolve_value_from_addressmode(mode: AddressingMode, arg: Option, cpu: &CPU, memory: &mut Memory) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn to_address(mode: AddressingMode, address: u16, cpu: &CPU, memory: &mut Memory) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionData` is never constructed [INFO] [stdout] --> src/opcodes.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct InstructionData { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `invalid` and `make_instruction_table` are never used [INFO] [stdout] --> src/opcodes.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 78 | impl InstructionData { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 79 | const fn invalid() -> InstructionData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub const fn make_instruction_table() -> [InstructionData; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Memory` is never constructed [INFO] [stdout] --> src/memory.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Memory { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/memory.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Memory { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Memory { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn write(&mut self, addr: u16, value: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `flag_as_u8`, and `set_flag` are never used [INFO] [stdout] --> src/cpu.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 28 | [INFO] [stdout] 29 | pub fn new() -> CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn flag_as_u8(&self, status: CPUFlags) -> u8 { self.flags.contains(status) as u8 } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | pub fn set_flag(&mut self, status: CPUFlags, cond: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instruction.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/instruction.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Instruction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 11 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NES` is never constructed [INFO] [stdout] --> src/nes.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NES { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `tick` are never used [INFO] [stdout] --> src/nes.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl NES { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn tick(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.55s [INFO] running `Command { std: "docker" "inspect" "65dadeb264ddb9f177edf766e4221515af79a54d5a8206a9436e2347d9e56528", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65dadeb264ddb9f177edf766e4221515af79a54d5a8206a9436e2347d9e56528", kill_on_drop: false }` [INFO] [stdout] 65dadeb264ddb9f177edf766e4221515af79a54d5a8206a9436e2347d9e56528