[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] 1982c165d2199c68bef69e1ae7cc60d8cbc2e7da [INFO] checking qoidnaufal/learn_wgpu against master#683dd08db5808c41baceef49368fc82a6c4767bb for pr-149137 [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 683dd08db5808c41baceef49368fc82a6c4767bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "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" "+683dd08db5808c41baceef49368fc82a6c4767bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.53 [INFO] [stderr] Downloaded ab_glyph v0.2.31 [INFO] [stderr] Downloaded moxcms v0.7.5 [INFO] [stderr] Downloaded wgpu-hal v27.0.1 [INFO] [stderr] Downloaded web-sys v0.3.80 [INFO] [stderr] Downloaded pxfm v0.1.24 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c249c0c7d1fdad651bb724655b2ed1161b5d61eec4c1efbc421f3c8f56b54075 [INFO] running `Command { std: "docker" "start" "-a" "c249c0c7d1fdad651bb724655b2ed1161b5d61eec4c1efbc421f3c8f56b54075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c249c0c7d1fdad651bb724655b2ed1161b5d61eec4c1efbc421f3c8f56b54075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c249c0c7d1fdad651bb724655b2ed1161b5d61eec4c1efbc421f3c8f56b54075", kill_on_drop: false }` [INFO] [stdout] c249c0c7d1fdad651bb724655b2ed1161b5d61eec4c1efbc421f3c8f56b54075 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+683dd08db5808c41baceef49368fc82a6c4767bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abcd39b9cbbfee446a0c6c4deaac83707a6dfa651f13dbd4c9a7fdf89f279706 [INFO] running `Command { std: "docker" "start" "-a" "abcd39b9cbbfee446a0c6c4deaac83707a6dfa651f13dbd4c9a7fdf89f279706", kill_on_drop: false }` [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling naga v27.0.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking aplite_types v0.1.0 (/opt/rustwide/workdir/crates/aplite_types) [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling wgpu-hal v27.0.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking aplite_storage v0.1.0 (/opt/rustwide/workdir/crates/aplite_storage) [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Compiling wgpu-core v27.0.1 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stdout] warning: field `ptr` is never read [INFO] [stdout] --> crates/aplite_storage/src/data/query.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Query<'a, Q: QueryData<'a>> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub(crate) ptr: &'a [SparseSetIndex], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryIter` is never constructed [INFO] [stdout] --> crates/aplite_storage/src/data/query.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct QueryIter<'a, Q: QueryData<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_query` is never used [INFO] [stdout] --> crates/aplite_storage/src/data/query.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn map_query<'a, Q: Queryable<'a>>(cell: &'a UnsafeCell) -> Q::Output { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FnMapQuery` is never used [INFO] [stdout] --> crates/aplite_storage/src/data/query.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) type FnMapQuery<'a, Q> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling wgpu v27.0.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking aplite_future v0.1.0 (/opt/rustwide/workdir/crates/aplite_future) [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking aplite_layout v0.1.0 (/opt/rustwide/workdir/crates/aplite_layout) [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> crates/aplite_layout/src/tree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LayoutNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | size: Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> crates/aplite_layout/src/tree.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tree { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | nodes: IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aplite_stats v0.1.0 (/opt/rustwide/workdir/crates/aplite_stats) [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> crates/aplite_layout/src/tree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LayoutNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | size: Size, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nodes` is never read [INFO] [stdout] --> crates/aplite_layout/src/tree.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Tree { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | nodes: IndexMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aplite_reactive v0.1.0 (/opt/rustwide/workdir/crates/aplite_reactive) [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stdout] warning: field `ptr` is never read [INFO] [stdout] --> crates/aplite_storage/src/data/query.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Query<'a, Q: QueryData<'a>> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 8 | pub(crate) ptr: &'a [SparseSetIndex], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryIter` is never constructed [INFO] [stdout] --> crates/aplite_storage/src/data/query.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct QueryIter<'a, Q: QueryData<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_query` is never used [INFO] [stdout] --> crates/aplite_storage/src/data/query.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn map_query<'a, Q: Queryable<'a>>(cell: &'a UnsafeCell) -> Q::Output { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FnMapQuery` is never used [INFO] [stdout] --> crates/aplite_storage/src/data/query.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) type FnMapQuery<'a, Q> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking moxcms v0.7.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wgpu-types v27.0.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [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 image v0.25.8 [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: `Entity` [INFO] [stdout] --> src/layout.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Entity, [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: `aplite_renderer::Shape` [INFO] [stdout] --> src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aplite_renderer::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CornerRadius`, `Matrix3x2`, `Rect`, `Rgba`, and `Unit` [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Matrix3x2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | Rect, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | // Size, [INFO] [stdout] 7 | CornerRadius, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | Paint, [INFO] [stdout] 9 | Rgba, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Unit, [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] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aplite_renderer::Shape` [INFO] [stdout] --> src/state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use aplite_renderer::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CornerRadius`, `Matrix3x2`, `Rect`, `Rgba`, and `Unit` [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Matrix3x2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | Rect, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | // Size, [INFO] [stdout] 7 | CornerRadius, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 8 | Paint, [INFO] [stdout] 9 | Rgba, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Unit, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/context.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | action: impl Into, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/context.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | 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:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn from_radius(val: Unit) -> 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/layout.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | fn calculate_layout(&mut self, cx: &mut LayoutCx) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/layout.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | fn calculate_size(&self, parent: Option<&dyn Widget>) -> Size { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/context.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | action: impl Into, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/context.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | 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: `cx` [INFO] [stdout] --> src/widget.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | fn layout(&mut 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:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | 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: `val` [INFO] [stdout] --> src/layout.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn from_radius(val: Unit) -> 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/layout.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | fn calculate_layout(&mut self, cx: &mut LayoutCx) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/layout.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | fn calculate_size(&self, parent: Option<&dyn Widget>) -> Size { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `current` and `rect` are never read [INFO] [stdout] --> src/context.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) current: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub(crate) rect: Rect, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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:75:19 [INFO] [stdout] | [INFO] [stdout] 56 | impl Padding { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn vertical(&self) -> u8 { self.top + self.bottom } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | [INFO] [stdout] 77 | 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:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct LayoutCx<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/layout.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> LayoutCx<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 93 | 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: fields `padding`, `orientation`, `align_h`, `align_v`, and `spacing` are never read [INFO] [stdout] --> src/layout.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct LayoutRules { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 104 | pub(crate) padding: Padding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 105 | pub(crate) orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 106 | pub(crate) align_h: AlignH, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 107 | pub(crate) align_v: AlignV, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | pub(crate) spacing: u8, [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:112:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl LayoutRules { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 112 | fn offset_x(&self, rect: &Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn offset_y(&self, rect: &Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | 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:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct LayoutNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_radius` is never used [INFO] [stdout] --> src/layout.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl LayoutNode { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 175 | pub fn from_radius(val: Unit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layout` is never constructed [INFO] [stdout] --> src/layout.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | 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:187:19 [INFO] [stdout] | [INFO] [stdout] 186 | impl Layout { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 187 | pub(crate) fn new(window_rect: Rect) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub(crate) fn with_capacity(window_rect: Rect, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LayoutTrait` is never used [INFO] [stdout] --> src/layout.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | pub(crate) trait LayoutTrait: Widget + 'static { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flag` is never constructed [INFO] [stdout] --> src/state.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Flag { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Border` is never constructed [INFO] [stdout] --> src/state.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Border { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/state.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> src/view.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 177 | impl AnyView { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | pub(crate) fn as_mut(&mut self) -> &mut dyn Widget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window` is never used [INFO] [stdout] --> src/widget.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn window(size: Size) -> WindowWidget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowWidget` is never constructed [INFO] [stdout] --> src/widget.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct WindowWidget { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/widget.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 66 | impl WindowWidget { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 67 | pub(crate) fn new(size: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `radius`, `background`, `border_color`, and `border_width` are never read [INFO] [stdout] --> src/widget.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct CircleWidget { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 93 | radius: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | background: Rgba, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | border_color: Rgba, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 96 | border_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `background`, `border_color`, and `border_width` are never read [INFO] [stdout] --> src/widget/button.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Button { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | width: Unit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | height: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | background: Rgba, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | border_color: Rgba, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | border_width: f32, [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:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 29 | width: Unit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | height: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | aspect_ratio: AspectRatio, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | data: ImageData, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/widget/stack.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VStack { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | width: Unit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | height: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | min_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | min_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | max_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | max_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | background: Rgba, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | border_color: Rgba, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | border_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | layout_rules: LayoutRules, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/widget/stack.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct HStack { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 63 | width: Unit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | height: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | min_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | min_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | max_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | max_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | background: Rgba, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | border: Rgba, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | border_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | layout_rules: LayoutRules, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/widget.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | fn layout(&mut 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:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | 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: fields `current` and `rect` are never read [INFO] [stdout] --> src/context.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) current: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | pub(crate) rect: Rect, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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:75:19 [INFO] [stdout] | [INFO] [stdout] 56 | impl Padding { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn vertical(&self) -> u8 { self.top + self.bottom } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 76 | [INFO] [stdout] 77 | 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:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct LayoutCx<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/layout.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> LayoutCx<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 93 | 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: fields `padding`, `orientation`, `align_h`, `align_v`, and `spacing` are never read [INFO] [stdout] --> src/layout.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct LayoutRules { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 104 | pub(crate) padding: Padding, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 105 | pub(crate) orientation: Orientation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 106 | pub(crate) align_h: AlignH, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 107 | pub(crate) align_v: AlignV, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | pub(crate) spacing: u8, [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:112:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl LayoutRules { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 112 | fn offset_x(&self, rect: &Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn offset_y(&self, rect: &Rect) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | 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:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct LayoutNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_radius` is never used [INFO] [stdout] --> src/layout.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl LayoutNode { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 175 | pub fn from_radius(val: Unit) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Layout` is never constructed [INFO] [stdout] --> src/layout.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | 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:187:19 [INFO] [stdout] | [INFO] [stdout] 186 | impl Layout { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 187 | pub(crate) fn new(window_rect: Rect) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub(crate) fn with_capacity(window_rect: Rect, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LayoutTrait` is never used [INFO] [stdout] --> src/layout.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | pub(crate) trait LayoutTrait: Widget + 'static { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flag` is never constructed [INFO] [stdout] --> src/state.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Flag { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Border` is never constructed [INFO] [stdout] --> src/state.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Border { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/state.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut` is never used [INFO] [stdout] --> src/view.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 177 | impl AnyView { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 186 | pub(crate) fn as_mut(&mut self) -> &mut dyn Widget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `window` is never used [INFO] [stdout] --> src/widget.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn window(size: Size) -> WindowWidget { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowWidget` is never constructed [INFO] [stdout] --> src/widget.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | pub(crate) struct WindowWidget { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/widget.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 66 | impl WindowWidget { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 67 | pub(crate) fn new(size: Size) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `radius`, `background`, `border_color`, and `border_width` are never read [INFO] [stdout] --> src/widget.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct CircleWidget { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 93 | radius: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 94 | background: Rgba, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 95 | border_color: Rgba, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 96 | border_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `background`, `border_color`, and `border_width` are never read [INFO] [stdout] --> src/widget/button.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Button { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | width: Unit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | height: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | background: Rgba, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | border_color: Rgba, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | border_width: f32, [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:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 29 | width: Unit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | height: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | aspect_ratio: AspectRatio, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | data: ImageData, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/widget/stack.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct VStack { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | width: Unit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | height: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | min_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | min_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | max_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | max_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | background: Rgba, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | border_color: Rgba, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | border_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | layout_rules: LayoutRules, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/widget/stack.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct HStack { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 63 | width: Unit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | height: Unit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | min_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 66 | min_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | max_width: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 68 | max_height: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 69 | background: Rgba, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | border: Rgba, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 71 | border_width: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | layout_rules: LayoutRules, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.66s [INFO] running `Command { std: "docker" "inspect" "abcd39b9cbbfee446a0c6c4deaac83707a6dfa651f13dbd4c9a7fdf89f279706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abcd39b9cbbfee446a0c6c4deaac83707a6dfa651f13dbd4c9a7fdf89f279706", kill_on_drop: false }` [INFO] [stdout] abcd39b9cbbfee446a0c6c4deaac83707a6dfa651f13dbd4c9a7fdf89f279706