[INFO] cloning repository https://github.com/qoidnaufal/learn_wgpu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qoidnaufal/learn_wgpu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqoidnaufal%2Flearn_wgpu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqoidnaufal%2Flearn_wgpu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9475463339d7706fc0b0fe17a90dd124878c1721 [INFO] checking qoidnaufal/learn_wgpu against master#61cc47e367d7be91e13bcd01e4e96e0e233d4f6d for 2025-12-16-next-solver-global [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqoidnaufal%2Flearn_wgpu" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/qoidnaufal/learn_wgpu [INFO] finished tweaking git repo https://github.com/qoidnaufal/learn_wgpu [INFO] tweaked toml for git repo https://github.com/qoidnaufal/learn_wgpu written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qoidnaufal/learn_wgpu on toolchain 61cc47e367d7be91e13bcd01e4e96e0e233d4f6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qoidnaufal/learn_wgpu 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" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_datetime v0.7.4+spec-1.0.0 [INFO] [stderr] Downloaded toml_parser v1.0.5+spec-1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff5a532c9ca7fdfceb1751ba33c0a98e5865db36a702af52adaa95c3c48a39d6 [INFO] running `Command { std: "docker" "start" "-a" "ff5a532c9ca7fdfceb1751ba33c0a98e5865db36a702af52adaa95c3c48a39d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff5a532c9ca7fdfceb1751ba33c0a98e5865db36a702af52adaa95c3c48a39d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff5a532c9ca7fdfceb1751ba33c0a98e5865db36a702af52adaa95c3c48a39d6", kill_on_drop: false }` [INFO] [stdout] ff5a532c9ca7fdfceb1751ba33c0a98e5865db36a702af52adaa95c3c48a39d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a62583a3dc8c616aaf00ecec8709d2098ea38b6898db484d34f84d9dec91f9b [INFO] running `Command { std: "docker" "start" "-a" "1a62583a3dc8c616aaf00ecec8709d2098ea38b6898db484d34f84d9dec91f9b", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling naga v27.0.3 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling wgpu-hal v27.0.4 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Checking aplite_types v0.1.0 (/opt/rustwide/workdir/crates/aplite_types) [INFO] [stderr] Compiling wgpu-core v27.0.3 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Checking aplite_storage v0.1.0 (/opt/rustwide/workdir/crates/aplite_storage) [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu v27.0.1 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking aplite_future v0.1.0 (/opt/rustwide/workdir/crates/aplite_future) [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking zune-core v0.5.0 [INFO] [stderr] Checking zune-jpeg v0.5.7 [INFO] [stderr] Checking aplite_stats v0.1.0 (/opt/rustwide/workdir/crates/aplite_stats) [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stdout] warning: trait `ComponentTupleExt` is never used [INFO] [stdout] --> crates/aplite_storage/src/data/component.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) trait ComponentTupleExt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BitSetMap` is never used [INFO] [stdout] --> crates/aplite_storage/src/map/hash.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub type BitSetMap = HashMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `as_node_ref` are never used [INFO] [stdout] --> crates/aplite_storage/src/tree/node.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 14 | pub(crate) fn id(&self) -> EntityId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn as_node_ref(&self) -> NodeRef<'_> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> crates/aplite_storage/src/tree/node.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl NodeRef<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 43 | pub(crate) fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aplite_reactive v0.1.0 (/opt/rustwide/workdir/crates/aplite_reactive) [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stdout] warning: trait `ComponentTupleExt` is never used [INFO] [stdout] --> crates/aplite_storage/src/data/component.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) trait ComponentTupleExt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BitSetMap` is never used [INFO] [stdout] --> crates/aplite_storage/src/map/hash.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | pub type BitSetMap = HashMap; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `as_node_ref` are never used [INFO] [stdout] --> crates/aplite_storage/src/tree/node.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 13 | impl Node { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 14 | pub(crate) fn id(&self) -> EntityId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn as_node_ref(&self) -> NodeRef<'_> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `index` is never used [INFO] [stdout] --> crates/aplite_storage/src/tree/node.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl NodeRef<'_> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 43 | pub(crate) fn index(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking zerocopy v0.8.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking wgpu-types v27.0.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [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 tiny-skia v0.11.4 [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 half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking image v0.25.9 [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 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 aplite_renderer v0.1.0 (/opt/rustwide/workdir/crates/aplite_renderer) [INFO] [stderr] Checking aplite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LogicalSize` [INFO] [stdout] --> src/app.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::dpi::{PhysicalPosition, PhysicalSize, LogicalSize}; [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: `std::marker::PhantomData` [INFO] [stdout] --> src/callback.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/callback.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use aplite_storage::{Component, ComponentStorage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityId` [INFO] [stdout] --> src/context.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | use aplite_storage::{ComponentStorage, ComponentTuple, Entity, EntityId, EntityManager}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyView` [INFO] [stdout] --> src/context.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::view::{IntoView, View, AnyView}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Size` [INFO] [stdout] --> src/layout.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/layout.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::Widget` [INFO] [stdout] --> src/layout.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::widget::Widget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix3x2` and `Rgba` [INFO] [stdout] --> src/widget.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use aplite_types::{Matrix3x2, Rgba}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnyView` and `View` [INFO] [stdout] --> src/widget.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::view::{AnyView, IntoView, View}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aplite_storage::ComponentTuple` [INFO] [stdout] --> src/widget/stack.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aplite_storage::ComponentTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rgba` and `Size` [INFO] [stdout] --> src/widget/stack.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use aplite_types::{Rgba, Size}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayoutRules` [INFO] [stdout] --> src/widget/stack.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::layout::{LayoutRules, Orientation}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LogicalSize` [INFO] [stdout] --> src/app.rs:4:50 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::dpi::{PhysicalPosition, PhysicalSize, LogicalSize}; [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: `std::marker::PhantomData` [INFO] [stdout] --> src/callback.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Component` [INFO] [stdout] --> src/callback.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use aplite_storage::{Component, ComponentStorage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::TypeId` [INFO] [stdout] --> src/context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::TypeId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityId` [INFO] [stdout] --> src/context.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | use aplite_storage::{ComponentStorage, ComponentTuple, Entity, EntityId, EntityManager}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AnyView` [INFO] [stdout] --> src/context.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::view::{IntoView, View, AnyView}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Size` [INFO] [stdout] --> src/layout.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Entity` [INFO] [stdout] --> src/layout.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::widget::Widget` [INFO] [stdout] --> src/layout.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::widget::Widget; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix3x2` and `Rgba` [INFO] [stdout] --> src/widget.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use aplite_types::{Matrix3x2, Rgba}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnyView` and `View` [INFO] [stdout] --> src/widget.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::view::{AnyView, IntoView, View}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aplite_storage::ComponentTuple` [INFO] [stdout] --> src/widget/stack.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aplite_storage::ComponentTuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rgba` and `Size` [INFO] [stdout] --> src/widget/stack.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use aplite_types::{Rgba, Size}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayoutRules` [INFO] [stdout] --> src/widget/stack.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::layout::{LayoutRules, Orientation}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/callback.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | fn on(self, cx: &mut Context, f: F) -> Self [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/callback.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | fn on(self, cx: &mut Context, f: F) -> Self [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> src/context.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let view = widget.into_view(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/context.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let entity = self.id_manager.create(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/context.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let query = self.storage.query::<(&Vec2f, &Size)>(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/context.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | action: impl Into, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/context.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | button: impl Into [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/layout.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn from_radius(val: Length) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/callback.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | fn on(self, cx: &mut Context, f: F) -> Self [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/callback.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | fn on(self, cx: &mut Context, f: F) -> Self [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view` [INFO] [stdout] --> src/context.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let view = widget.into_view(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/context.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let entity = self.id_manager.create(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/context.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let query = self.storage.query::<(&Vec2f, &Size)>(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/context.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | action: impl Into, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/context.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | button: impl Into [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/layout.rs:176:24 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn from_radius(val: Length) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget/button.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | fn layout(&self, cx: &mut Context) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/widget/button.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | fn draw(&self, scene: &mut Scene) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget/button.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn build(self, cx: &mut Context) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget/image.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | fn build(self, cx: &mut Context) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget/image.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn layout(&self, cx: &mut Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/widget/image.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn draw(&self, scene: &mut Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | fn layout(&self, cx: &mut Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/widget.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw(&self, scene: &mut Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | fn build(self, cx: &mut Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowHandle` is never constructed [INFO] [stdout] --> src/app.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct WindowHandle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WidgetEventType` is never used [INFO] [stdout] --> src/callback.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait WidgetEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InteractiveWidget` is never used [INFO] [stdout] --> src/callback.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait InteractiveWidget: Widget + Sized + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `callbacks` is never read [INFO] [stdout] --> src/context.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) callbacks: CallbackStorage, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `calculate_layout` are never used [INFO] [stdout] --> src/context.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn register(&mut self, component_tuple: C) -> Entity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub(crate) fn calculate_layout(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `curr` is never read [INFO] [stdout] --> src/cursor.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct MouseHover { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 52 | pub(crate) pos: Vec2f, [INFO] [stdout] 53 | pub(crate) curr: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseHover` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `captured` are never read [INFO] [stdout] --> src/cursor.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct MouseClick { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 58 | pub(crate) pos: Vec2f, [INFO] [stdout] 59 | pub(crate) offset: Vec2f, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub(crate) captured: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseClick` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_dragging` is never read [INFO] [stdout] --> src/cursor.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Cursor { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) is_dragging: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cursor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmittedClickEvent` is never used [INFO] [stdout] --> src/cursor.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum EmittedClickEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_state`, `process_click_event`, `is_dragging`, and `is_left_clicking` are never used [INFO] [stdout] --> src/cursor.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Cursor { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn set_state(&mut self, action: MouseAction, button: MouseButton) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn process_click_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub(crate) fn is_dragging(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) fn is_left_clicking(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vertical` and `horizontal` are never used [INFO] [stdout] --> src/layout.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl Padding { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn vertical(&self) -> u8 { self.top + self.bottom } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | [INFO] [stdout] 78 | pub(crate) fn horizontal(&self) -> u8 { self.left + self.right } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutCx` is never constructed [INFO] [stdout] --> src/layout.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct LayoutCx<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/layout.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> LayoutCx<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 94 | pub fn new(rules: &'a LayoutRules, rect: &'a Rect, child_size: f32, child_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutRules` is never constructed [INFO] [stdout] --> src/layout.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct LayoutRules { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `offset_x`, `offset_y`, and `start_pos` are never used [INFO] [stdout] --> src/layout.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl LayoutRules { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 113 | fn offset_x(&self, rect: &Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn offset_y(&self, rect: &Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn start_pos(&self, rect: &Rect, child_total_size: f32, len: f32) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutNode` is never constructed [INFO] [stdout] --> src/layout.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct LayoutNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_radius` is never used [INFO] [stdout] --> src/layout.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl LayoutNode { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 176 | pub fn from_radius(val: Length) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layout` is never constructed [INFO] [stdout] --> src/layout.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Layout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_capacity` are never used [INFO] [stdout] --> src/layout.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 187 | impl Layout { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 188 | pub(crate) fn new(window_rect: Rect) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub(crate) fn with_capacity(window_rect: Rect, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flag` is never constructed [INFO] [stdout] --> src/state.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Flag(u8); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/state.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | impl Flag { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | pub(crate) const VISIBLE: u8 = 1 << 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub(crate) const FOCUSED: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub(crate) const NEEDS_LAYOUT: u8 = 1 << 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub(crate) const NEEDS_REDRAW: u8 = 1 << 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | const DEFAULT: u8 = Self::VISIBLE | Self::NEEDS_LAYOUT | Self::NEEDS_REDRAW; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub const fn is_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn is_focused(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub const fn needs_layout(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub const fn needs_redraw(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub const fn set_visible(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub const fn set_focused(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub const fn set_needs_layout(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub const fn set_needs_redraw(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub const fn set_hidden(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub const fn set_unfocused(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub const fn set_finished_layout(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub const fn set_finished_redraw(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Border` is never constructed [INFO] [stdout] --> src/state.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Border { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Background` is never constructed [INFO] [stdout] --> src/state.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Background(Paint); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spacing` is never constructed [INFO] [stdout] --> src/state.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Spacing(u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DefaultRenderComponent` is never used [INFO] [stdout] --> src/state.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub type DefaultRenderComponent = (Rect, Matrix3x2, Background, Border, Shape, CornerRadius); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContainerComponent` is never used [INFO] [stdout] --> src/state.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub type ContainerComponent = (Rect, Orientation, AlignH, AlignV, Padding, Spacing); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> src/view.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 75 | impl AnyView { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn as_mut<'a>(&'a mut self) -> &'a mut dyn Widget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `aspect_ratio`, and `data` are never read [INFO] [stdout] --> src/widget/image.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 38 | width: Length, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | height: Length, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | aspect_ratio: AspectRatio, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | data: ImageData, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget/button.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | fn layout(&self, cx: &mut Context) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/widget/button.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | fn draw(&self, scene: &mut Scene) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget/button.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn build(self, cx: &mut Context) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget/image.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | fn build(self, cx: &mut Context) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget/image.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | fn layout(&self, cx: &mut Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/widget/image.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | fn draw(&self, scene: &mut Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | fn layout(&self, cx: &mut Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/widget.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw(&self, scene: &mut Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | fn build(self, cx: &mut Context) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowHandle` is never constructed [INFO] [stdout] --> src/app.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct WindowHandle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `WidgetEventType` is never used [INFO] [stdout] --> src/callback.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) trait WidgetEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `InteractiveWidget` is never used [INFO] [stdout] --> src/callback.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub trait InteractiveWidget: Widget + Sized + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `callbacks` is never read [INFO] [stdout] --> src/context.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub(crate) callbacks: CallbackStorage, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `register` and `calculate_layout` are never used [INFO] [stdout] --> src/context.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn register(&mut self, component_tuple: C) -> Entity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub(crate) fn calculate_layout(&mut self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `curr` is never read [INFO] [stdout] --> src/cursor.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct MouseHover { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 52 | pub(crate) pos: Vec2f, [INFO] [stdout] 53 | pub(crate) curr: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseHover` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offset` and `captured` are never read [INFO] [stdout] --> src/cursor.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct MouseClick { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 58 | pub(crate) pos: Vec2f, [INFO] [stdout] 59 | pub(crate) offset: Vec2f, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub(crate) captured: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MouseClick` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_dragging` is never read [INFO] [stdout] --> src/cursor.rs:68:16 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Cursor { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub(crate) is_dragging: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cursor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmittedClickEvent` is never used [INFO] [stdout] --> src/cursor.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | pub enum EmittedClickEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_state`, `process_click_event`, `is_dragging`, and `is_left_clicking` are never used [INFO] [stdout] --> src/cursor.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Cursor { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn set_state(&mut self, action: MouseAction, button: MouseButton) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn process_click_event( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub(crate) fn is_dragging(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub(crate) fn is_left_clicking(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `vertical` and `horizontal` are never used [INFO] [stdout] --> src/layout.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 57 | impl Padding { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub(crate) fn vertical(&self) -> u8 { self.top + self.bottom } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 77 | [INFO] [stdout] 78 | pub(crate) fn horizontal(&self) -> u8 { self.left + self.right } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutCx` is never constructed [INFO] [stdout] --> src/layout.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct LayoutCx<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/layout.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a> LayoutCx<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 94 | pub fn new(rules: &'a LayoutRules, rect: &'a Rect, child_size: f32, child_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutRules` is never constructed [INFO] [stdout] --> src/layout.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct LayoutRules { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `offset_x`, `offset_y`, and `start_pos` are never used [INFO] [stdout] --> src/layout.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl LayoutRules { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 113 | fn offset_x(&self, rect: &Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn offset_y(&self, rect: &Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn start_pos(&self, rect: &Rect, child_total_size: f32, len: f32) -> Vec2f { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LayoutNode` is never constructed [INFO] [stdout] --> src/layout.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct LayoutNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_radius` is never used [INFO] [stdout] --> src/layout.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 175 | impl LayoutNode { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 176 | pub fn from_radius(val: Length) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layout` is never constructed [INFO] [stdout] --> src/layout.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub struct Layout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_capacity` are never used [INFO] [stdout] --> src/layout.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 187 | impl Layout { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 188 | pub(crate) fn new(window_rect: Rect) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub(crate) fn with_capacity(window_rect: Rect, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flag` is never constructed [INFO] [stdout] --> src/state.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Flag(u8); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/state.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 10 | impl Flag { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | pub(crate) const VISIBLE: u8 = 1 << 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub(crate) const FOCUSED: u8 = 1 << 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub(crate) const NEEDS_LAYOUT: u8 = 1 << 2; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | pub(crate) const NEEDS_REDRAW: u8 = 1 << 3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | const DEFAULT: u8 = Self::VISIBLE | Self::NEEDS_LAYOUT | Self::NEEDS_REDRAW; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub const fn is_visible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub const fn is_focused(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub const fn needs_layout(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub const fn needs_redraw(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub const fn set_visible(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub const fn set_focused(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub const fn set_needs_layout(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub const fn set_needs_redraw(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub const fn set_hidden(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub const fn set_unfocused(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub const fn set_finished_layout(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub const fn set_finished_redraw(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Border` is never constructed [INFO] [stdout] --> src/state.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Border { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Background` is never constructed [INFO] [stdout] --> src/state.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Background(Paint); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spacing` is never constructed [INFO] [stdout] --> src/state.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct Spacing(u8); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DefaultRenderComponent` is never used [INFO] [stdout] --> src/state.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub type DefaultRenderComponent = (Rect, Matrix3x2, Background, Border, Shape, CornerRadius); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContainerComponent` is never used [INFO] [stdout] --> src/state.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | pub type ContainerComponent = (Rect, Orientation, AlignH, AlignV, Padding, Spacing); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> src/view.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 75 | impl AnyView { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | pub(crate) fn as_mut<'a>(&'a mut self) -> &'a mut dyn Widget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `aspect_ratio`, and `data` are never read [INFO] [stdout] --> src/widget/image.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 38 | width: Length, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | height: Length, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | aspect_ratio: AspectRatio, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | data: ImageData, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.77s [INFO] running `Command { std: "docker" "inspect" "1a62583a3dc8c616aaf00ecec8709d2098ea38b6898db484d34f84d9dec91f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a62583a3dc8c616aaf00ecec8709d2098ea38b6898db484d34f84d9dec91f9b", kill_on_drop: false }` [INFO] [stdout] 1a62583a3dc8c616aaf00ecec8709d2098ea38b6898db484d34f84d9dec91f9b