[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] 50f5efb2a68bfad18211fb6621d9413c1be1ab14 [INFO] checking Ioloboss/moonlight against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-1 [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 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfda99fcb1c5c8e09294d18373db31260e5d6c74e6f68d5b45716cb17927d220 [INFO] running `Command { std: "docker" "start" "-a" "dfda99fcb1c5c8e09294d18373db31260e5d6c74e6f68d5b45716cb17927d220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfda99fcb1c5c8e09294d18373db31260e5d6c74e6f68d5b45716cb17927d220", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfda99fcb1c5c8e09294d18373db31260e5d6c74e6f68d5b45716cb17927d220", kill_on_drop: false }` [INFO] [stdout] dfda99fcb1c5c8e09294d18373db31260e5d6c74e6f68d5b45716cb17927d220 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c60c6d0a3e8bf057949af2163a060ce5d10f273addfbf6e5bec1b04720b96538 [INFO] running `Command { std: "docker" "start" "-a" "c60c6d0a3e8bf057949af2163a060ce5d10f273addfbf6e5bec1b04720b96538", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking naga v26.0.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking wgpu-hal v26.0.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking wgpu-core v26.0.1 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Checking wgpu v26.0.1 [INFO] [stderr] Checking moonlight v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Element` [INFO] [stdout] --> src/renderer.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::element::{Colour, Dimensions, Element, Position}; [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:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use wgpu::{rwh::{HasDisplayHandle, HasWindowHandle}, util::{DeviceExt, RenderEncoder}, SurfaceTarget}; [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Element` [INFO] [stdout] --> src/renderer.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::element::{Colour, Dimensions, Element, Position}; [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:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | 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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | application::ApplicationHandler, error::EventLoopError, event::*, event_loop::{ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event_loop::EventLoopProxy` [INFO] [stdout] --> src/internal_loop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event_loop::EventLoopProxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElementRectangle` [INFO] [stdout] --> src/internal_loop.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::renderer::{ElementRectangle, RendererState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageFromMainThread` [INFO] [stdout] --> src/internal_loop.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::window::{open_window, MessageFromMainThread, Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/internal_loop.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | 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 imports: `Colour`, `Element`, and `Position` [INFO] [stdout] --> src/window.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::element::{Colour, Dimensions, Element, Position}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::EventLoopError` [INFO] [stdout] --> src/window.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | application::ApplicationHandler, error::EventLoopError, event::*, event_loop::{ActiveEventLoop, EventLoop}, keyboard::{KeyCode, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dimension` and `Position` [INFO] [stdout] --> src/lib.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::element::{Alignment, Alignments, Colour, Dimension, Direction, Element, Position, Size}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::platform::wayland::EventLoopBuilderExtWayland` [INFO] [stdout] --> src/renderer.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | application::ApplicationHandler, error::EventLoopError, event::*, event_loop::{ActiveEventLoop, EventLoop}, keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event_loop::EventLoopProxy` [INFO] [stdout] --> src/internal_loop.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event_loop::EventLoopProxy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElementRectangle` [INFO] [stdout] --> src/internal_loop.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::renderer::{ElementRectangle, RendererState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageFromMainThread` [INFO] [stdout] --> src/internal_loop.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::window::{open_window, MessageFromMainThread, Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/internal_loop.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | 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 imports: `Colour`, `Element`, and `Position` [INFO] [stdout] --> src/window.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::element::{Colour, Dimensions, Element, Position}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::EventLoopError` [INFO] [stdout] --> src/window.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | application::ApplicationHandler, error::EventLoopError, event::*, event_loop::{ActiveEventLoop, EventLoop}, keyboard::{KeyCode, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderEncoder` [INFO] [stdout] --> src/renderer.rs:7:72 [INFO] [stdout] | [INFO] [stdout] 7 | 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:7:72 [INFO] [stdout] | [INFO] [stdout] 7 | 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:575:7 [INFO] [stdout] | [INFO] [stdout] 575 | 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:575:7 [INFO] [stdout] | [INFO] [stdout] 575 | 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:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | _ => 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:131:6 [INFO] [stdout] | [INFO] [stdout] 108 | InternalMessage::Window(window) => panic!("InternalMessage::Window should only be sent once."), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 109 | InternalMessage::Resumed => panic!("InternalMessage::Resumed should only be sent once."), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 110 | InternalMessage::Resized(size) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | InternalMessage::RedrawRequested => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 131 | _ => todo!("MoonlightApplication::Run reached InternalMessage not implemented yet.") [INFO] [stdout] | ^ ...and 1 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:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | 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:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | _ => 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:131:6 [INFO] [stdout] | [INFO] [stdout] 108 | InternalMessage::Window(window) => panic!("InternalMessage::Window should only be sent once."), [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 109 | InternalMessage::Resumed => panic!("InternalMessage::Resumed should only be sent once."), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 110 | InternalMessage::Resized(size) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 115 | InternalMessage::RedrawRequested => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 131 | _ => todo!("MoonlightApplication::Run reached InternalMessage not implemented yet.") [INFO] [stdout] | ^ ...and 1 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:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | 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:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | 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: `window_id` [INFO] [stdout] --> src/window.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | 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: trait `AssembleFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MoonlightApplication> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `MoonlightApplication` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `AssembleFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssembleFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl> MoonlightApplication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `MoonlightApplication` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `AssembleFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/element.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dimension` is never used [INFO] [stdout] --> src/element.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Dimension { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `opposite` is never used [INFO] [stdout] --> src/element.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl Dimension { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 18 | pub fn opposite(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dimensions` is never constructed [INFO] [stdout] --> src/element.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `set` are never used [INFO] [stdout] --> src/element.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | impl Dimensions { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] 42 | fn get(&self, dimension: Dimension) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn set(&mut self, dimension: Dimension, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssembleFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MoonlightApplication> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `MoonlightApplication` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `AssembleFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssembleFn` is more private than the item `MoonlightApplication` [INFO] [stdout] --> src/internal_loop.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl> MoonlightApplication { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `MoonlightApplication` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `AssembleFn` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/internal_loop.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `none` and `unwrap_contents` are never used [INFO] [stdout] --> src/element.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl Dimensions> { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 58 | pub fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn unwrap_contents(self) -> Dimensions { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Axis` is never used [INFO] [stdout] --> src/element.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Position` is never constructed [INFO] [stdout] --> src/element.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Position { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get`, `set`, and `none` are never used [INFO] [stdout] --> src/element.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | impl Position { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 98 | fn get(&self, axis: Axis) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn set(&mut self, axis: Axis, value: Option) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Alignments` is never used [INFO] [stdout] --> src/element.rs:118:10 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum Alignments { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Alignment` is never constructed [INFO] [stdout] --> src/element.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct Alignment { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Fit` is never constructed [INFO] [stdout] --> src/element.rs:142:2 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum Size { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 141 | Fixed( u64 ), [INFO] [stdout] 142 | Fit{ minimum: Option, maximum: Option }, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Size` 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] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/element.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | impl Alignment { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 131 | pub fn get(&self, axis: Axis) -> Alignments { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Size` is never used [INFO] [stdout] --> src/element.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum Size { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SizeError` is never used [INFO] [stdout] --> src/element.rs:148:10 [INFO] [stdout] | [INFO] [stdout] 148 | pub enum SizeError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Colour` is never constructed [INFO] [stdout] --> src/element.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Colour { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/element.rs:149:21 [INFO] [stdout] | [INFO] [stdout] 149 | CantShrinkChildren(u64), [INFO] [stdout] | ------------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SizeError` 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] 149 - CantShrinkChildren(u64), [INFO] [stdout] 149 + CantShrinkChildren(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `black`, `red`, `green`, and `blue` are never used [INFO] [stdout] --> src/element.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 160 | impl Colour { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 161 | pub fn black() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn red() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn blue() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CantGrow` is never constructed [INFO] [stdout] --> src/element.rs:150:2 [INFO] [stdout] | [INFO] [stdout] 148 | pub enum SizeError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 149 | CantShrinkChildren(u64), [INFO] [stdout] 150 | CantGrow(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SizeError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `on_click` is never read [INFO] [stdout] --> src/element.rs:184:2 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct Element { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 184 | on_click: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on_click` and `id` are never used [INFO] [stdout] --> src/element.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 197 | impl Element { [INFO] [stdout] | -------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn on_click(mut self, on_click: UserMessage) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn id(mut self, id: u64) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_tree` is never used [INFO] [stdout] --> src/element.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 623 | impl Element { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 624 | pub fn print_tree(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 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] 16 - RequestAdapterError(wgpu::RequestAdapterError), [INFO] [stdout] 16 + RequestAdapterError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/renderer.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 17 - RequestDeviceError(wgpu::RequestDeviceError), [INFO] [stdout] 17 + RequestDeviceError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `element_rectangles` is never read [INFO] [stdout] --> src/renderer.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct RendererState { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | pub element_rectangles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Update` is never used [INFO] [stdout] --> src/internal_loop.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Test` is never constructed [INFO] [stdout] --> src/lib.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 13 | enum UserMessageTest { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 14 | Test, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Element` is never constructed [INFO] [stdout] --> src/element.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub struct Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/element.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | impl Element { [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] 198 | pub fn new(direction: Direction, width: Size, height: Size, colour: Colour, children: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn text(mut self, text: String) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn on_click(mut self, on_click: UserMessage) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn child_gaps(mut self, child_gaps: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn indentation(mut self, top: u64, right: u64, bottom: u64, left: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn alignment(mut self, alignment: Alignment) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn id(mut self, id: u64) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn calculate_text_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn calculate_text_height(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | fn get_minimum_size(&self, dimension: Dimension) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | fn get_maximum_size(&self, dimension: Dimension) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | fn calculate_fit_size_along_axis(&mut self, dimension: Dimension) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | fn calculate_fit_size_across_axis(&mut self, dimension: Dimension) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn calculate_fit_size(&mut self, dimension: Dimension) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 355 | fn calculate_final_size_along_axis(&mut self, dimension: Dimension) -> Result<(), SizeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | fn calculate_final_size_across_axis(&mut self, dimension: Dimension) -> Result<(), SizeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | pub fn calculate_final_size(&mut self, dimension: Dimension) -> Result<(), SizeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | fn calculate_children_position_dimensioned(&mut self, position: Position, dimension: Dimension) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn calculate_children_position(&mut self, position: Position) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | pub fn to_rectangles(&self, element_rectangles: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_tree` is never used [INFO] [stdout] --> src/element.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 623 | impl Element { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 624 | pub fn print_tree(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NewRendererStateError` is never used [INFO] [stdout] --> src/renderer.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum NewRendererStateError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `desc` is never used [INFO] [stdout] --> src/renderer.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | impl Vertex { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 39 | fn desc() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElementRectangle` is never constructed [INFO] [stdout] --> src/renderer.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ElementRectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_raw` is never used [INFO] [stdout] --> src/renderer.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | impl ElementRectangle { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 61 | fn to_raw(&self, screen_size: Dimensions) -> ElementRectangleRaw { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dec` is never used [INFO] [stdout] --> src/renderer.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | impl ElementRectangleRaw { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 82 | fn dec() -> wgpu::VertexBufferLayout<'static> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ELEMENT_RECTANGLE_VERTICES` is never used [INFO] [stdout] --> src/renderer.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | const ELEMENT_RECTANGLE_VERTICES: &[Vertex] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ELEMENT_RECTANGLE_INDICES` is never used [INFO] [stdout] --> src/renderer.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | const ELEMENT_RECTANGLE_INDICES: &[u16] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RendererState` is never constructed [INFO] [stdout] --> src/renderer.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct RendererState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `resize`, `update_element_rectangles_buffer`, and `render` are never used [INFO] [stdout] --> src/renderer.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 135 | impl RendererState { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 136 | pub async fn new(window: Arc) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn resize(&mut self, size: Dimensions) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn update_element_rectangles_buffer(&mut self, element_rectangles: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn render(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `InternalMessage` is never used [INFO] [stdout] --> src/internal_loop.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum InternalMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Update` is never used [INFO] [stdout] --> src/internal_loop.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait Update { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssembleFn` is never used [INFO] [stdout] --> src/internal_loop.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | trait AssembleFn { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoonlightApplication` is never constructed [INFO] [stdout] --> src/internal_loop.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MoonlightApplication> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `recalculate`, and `run` are never used [INFO] [stdout] --> src/internal_loop.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | impl> MoonlightApplication { [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] 52 | pub fn new(user_state: UserState, assemble: Assemble) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn recalculate(&mut self) -> Result<(), SizeError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn run(mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Window` is never constructed [INFO] [stdout] --> src/window.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Window { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inner_size`, `pre_present_notify`, and `close` are never used [INFO] [stdout] --> src/window.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl Window { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 19 | pub fn inner_size(&self) -> Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn pre_present_notify(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageFromMainThread` is never used [INFO] [stdout] --> src/window.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum MessageFromMainThread { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `App` is never constructed [INFO] [stdout] --> src/window.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct App { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 54 | pub fn new(transmitter: mpsc::Sender, event_loop_proxy: EventLoopProxy) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_window` is never used [INFO] [stdout] --> src/window.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn open_window(transmitter: mpsc::Sender) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/internal_loop.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | self.renderer_state.render(); [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] 113 | let _ = self.renderer_state.render(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/window.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | 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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | 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/internal_loop.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | self.renderer_state.render(); [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] 113 | let _ = self.renderer_state.render(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/window.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | 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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | 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 46.52s [INFO] running `Command { std: "docker" "inspect" "c60c6d0a3e8bf057949af2163a060ce5d10f273addfbf6e5bec1b04720b96538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c60c6d0a3e8bf057949af2163a060ce5d10f273addfbf6e5bec1b04720b96538", kill_on_drop: false }` [INFO] [stdout] c60c6d0a3e8bf057949af2163a060ce5d10f273addfbf6e5bec1b04720b96538