[INFO] cloning repository https://github.com/Ioloboss/moonlight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ioloboss/moonlight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoloboss%2Fmoonlight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoloboss%2Fmoonlight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a6f45ea19d45a02e4bf8125a07bf29b54bf9830 [INFO] checking Ioloboss/moonlight against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoloboss%2Fmoonlight" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ioloboss/moonlight [INFO] finished tweaking git repo https://github.com/Ioloboss/moonlight [INFO] tweaked toml for git repo https://github.com/Ioloboss/moonlight written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ioloboss/moonlight on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ioloboss/moonlight 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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/ioloboss/mircalla_types` [INFO] [stderr] Updating git repository `https://github.com/ioloboss/tapestry` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest Rust 1.95.0-nightly compatible versions [INFO] [stderr] Adding mircalla_types v0.1.0 (https://github.com/ioloboss/mircalla_types#f33600da) [INFO] [stderr] Adding tapestry v0.1.0 (https://github.com/ioloboss/tapestry#d8291518) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb30485d6880a31a98841d36f1efc19767ccc47539aa3a064cfde4cd6a1712a6 [INFO] running `Command { std: "docker" "start" "-a" "bb30485d6880a31a98841d36f1efc19767ccc47539aa3a064cfde4cd6a1712a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb30485d6880a31a98841d36f1efc19767ccc47539aa3a064cfde4cd6a1712a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb30485d6880a31a98841d36f1efc19767ccc47539aa3a064cfde4cd6a1712a6", kill_on_drop: false }` [INFO] [stdout] bb30485d6880a31a98841d36f1efc19767ccc47539aa3a064cfde4cd6a1712a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55b8df7938d885bd669855701b81a6a877c09318533fe32831649f2eb080d056 [INFO] running `Command { std: "docker" "start" "-a" "55b8df7938d885bd669855701b81a6a877c09318533fe32831649f2eb080d056", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling naga v27.0.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling wgpu-hal v27.0.4 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling quick-xml v0.38.4 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling wgpu-core v27.0.3 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Compiling wgpu v27.0.1 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking jiff v0.2.20 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking mircalla_types v0.1.0 (https://github.com/ioloboss/mircalla_types#f33600da) [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_filter v1.0.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking env_logger v0.11.9 [INFO] [stderr] Checking wgpu-types v27.0.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.10 [INFO] [stderr] Checking wayland-cursor v0.31.12 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.10 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.10 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v27.0.0 [INFO] [stderr] Checking tapestry v0.1.0 (https://github.com/ioloboss/tapestry#d8291518) [INFO] [stderr] Checking moonlight v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/element.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [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: `Font` [INFO] [stdout] --> src/element.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use tapestry::font::{Font, font_renderer::TextBox}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `mpsc` [INFO] [stdout] --> src/renderer.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::element::Element` [INFO] [stdout] --> src/renderer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::element::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InternalMessage` [INFO] [stdout] --> src/renderer.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::internal_loop::{InternalMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HasDisplayHandle`, `HasWindowHandle`, and `SurfaceTarget` [INFO] [stdout] --> src/renderer.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use wgpu::{rwh::{HasDisplayHandle, HasWindowHandle}, util::{DeviceExt, RenderEncoder}, SurfaceTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::platform::wayland::EventLoopBuilderExtWayland` [INFO] [stdout] --> src/renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::platform::wayland::EventLoopBuilderExtWayland; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActiveEventLoop`, `EventLoop`, `KeyCode`, `PhysicalKey`, `application::ApplicationHandler`, `error::EventLoopError`, and `event::*` [INFO] [stdout] --> src/renderer.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | application::ApplicationHandler, error::EventLoopError, event::*, event_loop::{ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Font` [INFO] [stdout] --> src/internal_loop.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tapestry::font::{Font}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FontRenderer` and `TextBox` [INFO] [stdout] --> src/internal_loop.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use tapestry::font::font_renderer::{FontRenderer, TextBox}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event_loop::EventLoopProxy` [INFO] [stdout] --> src/internal_loop.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::event_loop::EventLoopProxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key` and `SmolStr` [INFO] [stdout] --> src/internal_loop.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use winit::keyboard::{Key, SmolStr}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElementRectangle` [INFO] [stdout] --> src/internal_loop.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::renderer::{ElementRectangle, RendererState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageFromMainThread` [INFO] [stdout] --> src/internal_loop.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::window::{open_window, MessageFromMainThread, Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/internal_loop.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/internal_loop.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{sync::{mpsc::{self, Receiver}, Arc, Mutex}, thread}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/window.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Element` [INFO] [stdout] --> src/window.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::element::{Element}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode`, `PhysicalKey`, and `error::EventLoopError` [INFO] [stdout] --> src/window.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | ...onHandler, error::EventLoopError, event::*, event_loop::{ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/element.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [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: `Font` [INFO] [stdout] --> src/element.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use tapestry::font::{Font, font_renderer::TextBox}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `mpsc` [INFO] [stdout] --> src/renderer.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::element::Element` [INFO] [stdout] --> src/renderer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::element::Element; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InternalMessage` [INFO] [stdout] --> src/renderer.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::internal_loop::{InternalMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HasDisplayHandle`, `HasWindowHandle`, and `SurfaceTarget` [INFO] [stdout] --> src/renderer.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use wgpu::{rwh::{HasDisplayHandle, HasWindowHandle}, util::{DeviceExt, RenderEncoder}, SurfaceTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::platform::wayland::EventLoopBuilderExtWayland` [INFO] [stdout] --> src/renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::platform::wayland::EventLoopBuilderExtWayland; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActiveEventLoop`, `EventLoop`, `KeyCode`, `PhysicalKey`, `application::ApplicationHandler`, `error::EventLoopError`, and `event::*` [INFO] [stdout] --> src/renderer.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | application::ApplicationHandler, error::EventLoopError, event::*, event_loop::{ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Font` [INFO] [stdout] --> src/internal_loop.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use tapestry::font::{Font}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FontRenderer` and `TextBox` [INFO] [stdout] --> src/internal_loop.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use tapestry::font::font_renderer::{FontRenderer, TextBox}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event_loop::EventLoopProxy` [INFO] [stdout] --> src/internal_loop.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winit::event_loop::EventLoopProxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Key` and `SmolStr` [INFO] [stdout] --> src/internal_loop.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use winit::keyboard::{Key, SmolStr}; [INFO] [stdout] | ^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElementRectangle` [INFO] [stdout] --> src/internal_loop.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::renderer::{ElementRectangle, RendererState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageFromMainThread` [INFO] [stdout] --> src/internal_loop.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::window::{open_window, MessageFromMainThread, Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/internal_loop.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/internal_loop.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use std::{sync::{mpsc::{self, Receiver}, Arc, Mutex}, thread}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/window.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Element` [INFO] [stdout] --> src/window.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::element::{Element}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode`, `PhysicalKey`, and `error::EventLoopError` [INFO] [stdout] --> src/window.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | ...onHandler, error::EventLoopError, event::*, event_loop::{ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 195 | ... let mut font_renderer = pollster::block_on(FontRenderer::new(Arc::clone(&(window.internal)), Arc::clone(&device), &config)).u... [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/renderer.rs:195:7 [INFO] [stdout] | [INFO] [stdout] 195 | ... let mut font_renderer = pollster::block_on(FontRenderer::new(Arc::clone(&(window.internal)), Arc::clone(&device), &config)).u... [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderEncoder` [INFO] [stdout] --> src/renderer.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 10 | use wgpu::{rwh::{HasDisplayHandle, HasWindowHandle}, util::{DeviceExt, RenderEncoder}, SurfaceTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderEncoder` [INFO] [stdout] --> src/renderer.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 10 | use wgpu::{rwh::{HasDisplayHandle, HasWindowHandle}, util::{DeviceExt, RenderEncoder}, SurfaceTarget}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `along_end_indentation` [INFO] [stdout] --> src/element.rs:494:7 [INFO] [stdout] | [INFO] [stdout] 494 | let along_end_indentation = match dimension { Dimension::Width => left, Dimension::Height => bottom }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_along_end_indentation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `along_end_indentation` [INFO] [stdout] --> src/element.rs:494:7 [INFO] [stdout] | [INFO] [stdout] 494 | let along_end_indentation = match dimension { Dimension::Width => left, Dimension::Height => bottom }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_along_end_indentation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/internal_loop.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | _ => todo!("MoonlightApplication::Run reached InternalMessage not implemented yet.") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/internal_loop.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 178 | InternalMessage::Window(window) => panic!("InternalMessage::Window should only be sent once."), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 179 | InternalMessage::Resumed => panic!("InternalMessage::Resumed should only be sent once."), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 180 | InternalMessage::Resized(size) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 186 | InternalMessage::RedrawRequested => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 255 | _ => todo!("MoonlightApplication::Run reached InternalMessage not implemented yet.") [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: unused variable: `window` [INFO] [stdout] --> src/internal_loop.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | InternalMessage::Window(window) => panic!("InternalMessage::Window should only be sent once."), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/internal_loop.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 255 | _ => todo!("MoonlightApplication::Run reached InternalMessage not implemented yet.") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/internal_loop.rs:255:6 [INFO] [stdout] | [INFO] [stdout] 178 | InternalMessage::Window(window) => panic!("InternalMessage::Window should only be sent once."), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 179 | InternalMessage::Resumed => panic!("InternalMessage::Resumed should only be sent once."), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 180 | InternalMessage::Resized(size) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 186 | InternalMessage::RedrawRequested => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 255 | _ => todo!("MoonlightApplication::Run reached InternalMessage not implemented yet.") [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: unused variable: `window` [INFO] [stdout] --> src/internal_loop.rs:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | InternalMessage::Window(window) => panic!("InternalMessage::Window should only be sent once."), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/window.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/window.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | WindowEvent::MouseInput { device_id, state, button } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/window.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | WindowEvent::CursorMoved { device_id, position } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/window.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | window_id: winit::window::WindowId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/window.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | WindowEvent::MouseInput { device_id, state, button } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssembleFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct MoonlightApplication [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `MoonlightApplication` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `AssembleFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/window.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | WindowEvent::CursorMoved { device_id, position } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UpdateFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct MoonlightApplication [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `MoonlightApplication` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `UpdateFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | trait UpdateFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssembleFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | impl, Update: UpdateFn> MoonlightApplication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `MoonlightApplication` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `AssembleFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UpdateFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | impl, Update: UpdateFn> MoonlightApplication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `MoonlightApplication` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `UpdateFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | trait UpdateFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KeyboardInputFn` is more private than the item `MoonlightApplication::::set_keyboard_input` [INFO] [stdout] --> src/internal_loop.rs:262:2 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn set_keyboard_input + 'static>(&mut self, keyboard_input: NewKeyboardInput) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `MoonlightApplication::::set_keyboard_input` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `KeyboardInputFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | trait KeyboardInputFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | RequestAdapterError(wgpu::RequestAdapterError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NewRendererStateError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - RequestAdapterError(wgpu::RequestAdapterError), [INFO] [stdout] 19 + RequestAdapterError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NewRendererStateError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] 20 + RequestDeviceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `element_rectangles` is never read [INFO] [stdout] --> src/renderer.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct RendererState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 131 | pub element_rectangles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Update` is never used [INFO] [stdout] --> src/internal_loop.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | trait Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssembleFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct MoonlightApplication [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `MoonlightApplication` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `AssembleFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UpdateFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct MoonlightApplication [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `MoonlightApplication` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `UpdateFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | trait UpdateFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssembleFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | impl, Update: UpdateFn> MoonlightApplication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `MoonlightApplication` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `AssembleFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UpdateFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | impl, Update: UpdateFn> MoonlightApplication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `MoonlightApplication` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `UpdateFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | trait UpdateFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `KeyboardInputFn` is more private than the item `MoonlightApplication::::set_keyboard_input` [INFO] [stdout] --> src/internal_loop.rs:262:2 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn set_keyboard_input + 'static>(&mut self, keyboard_input: NewKeyboardInput) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `MoonlightApplication::::set_keyboard_input` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `KeyboardInputFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | trait KeyboardInputFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | RequestAdapterError(wgpu::RequestAdapterError), [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NewRendererStateError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - RequestAdapterError(wgpu::RequestAdapterError), [INFO] [stdout] 19 + RequestAdapterError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `NewRendererStateError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 - RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] 20 + RequestDeviceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `element_rectangles` is never read [INFO] [stdout] --> src/renderer.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct RendererState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 131 | pub element_rectangles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Update` is never used [INFO] [stdout] --> src/internal_loop.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | trait Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/window.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | self.event_loop_proxy.send_event(MessageFromMainThread::Close); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = self.event_loop_proxy.send_event(MessageFromMainThread::Close); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/window.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | self.event_loop_proxy.send_event(MessageFromMainThread::Close); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = self.event_loop_proxy.send_event(MessageFromMainThread::Close); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.73s [INFO] running `Command { std: "docker" "inspect" "55b8df7938d885bd669855701b81a6a877c09318533fe32831649f2eb080d056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b8df7938d885bd669855701b81a6a877c09318533fe32831649f2eb080d056", kill_on_drop: false }` [INFO] [stdout] 55b8df7938d885bd669855701b81a6a877c09318533fe32831649f2eb080d056