[INFO] cloning repository https://github.com/unco999/mile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unco999/mile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funco999%2Fmile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funco999%2Fmile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 650e2b491d4958aae9259140f384c45b7b3b8324 [INFO] checking unco999/mile against master#5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funco999%2Fmile" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/unco999/mile [INFO] finished tweaking git repo https://github.com/unco999/mile [INFO] tweaked toml for git repo https://github.com/unco999/mile written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/unco999/mile on toolchain 5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/unco999/mile 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" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mlua-sys v0.8.3 [INFO] [stderr] Downloaded mlua v0.11.4 [INFO] [stderr] Downloaded redb v1.5.2 [INFO] [stderr] Downloaded lua-src v548.1.2 [INFO] [stderr] Downloaded luajit-src v210.6.3+eba91fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2db5dd1d46c3f4c82670e9c089066dd7247ee01b6b52603e8f0e34b5adfab51 [INFO] running `Command { std: "docker" "start" "-a" "b2db5dd1d46c3f4c82670e9c089066dd7247ee01b6b52603e8f0e34b5adfab51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2db5dd1d46c3f4c82670e9c089066dd7247ee01b6b52603e8f0e34b5adfab51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2db5dd1d46c3f4c82670e9c089066dd7247ee01b6b52603e8f0e34b5adfab51", kill_on_drop: false }` [INFO] [stdout] b2db5dd1d46c3f4c82670e9c089066dd7247ee01b6b52603e8f0e34b5adfab51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87835e67c36866a2eb82bee1e9483f2dfe4fe23a2a8c7422ef855d220581b103 [INFO] running `Command { std: "docker" "start" "-a" "87835e67c36866a2eb82bee1e9483f2dfe4fe23a2a8c7422ef855d220581b103", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling wgpu-hal v26.0.6 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling lua-src v548.1.2 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Compiling redb v1.5.2 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling luajit-src v210.6.3+eba91fc [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Compiling mlua-sys v0.8.3 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking zerocopy v0.8.27 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking mile_db v0.1.0 (/opt/rustwide/workdir/mile_db) [INFO] [stderr] Checking mlua v0.11.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking pxfm v0.1.25 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking rav1e v0.7.1 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling gpu_macro v0.1.0 (/opt/rustwide/workdir/mile_gpu_dsl/gpu_macro) [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stdout] warning: unused import: `proc_macro2::Span` [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::Span; [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 variable: `bytes` [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let bytes = s.as_bytes(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking moxcms v0.7.9 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let mut node = self.parse_primary()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_ident` is never used [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 185 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn expect_ident(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking glam v0.30.9 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking proc-macro2 v1.0.103 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking mile_gpu_structs v0.1.0 (/opt/rustwide/workdir/mile_gpu_structs) [INFO] [stderr] Checking quote v1.0.42 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stdout] warning: unused import: `proc_macro2::Span` [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::Span; [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 variable: `bytes` [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let bytes = s.as_bytes(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let mut node = self.parse_primary()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_ident` is never used [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 185 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn expect_ident(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proc_macro2::Span` [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::Span; [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 variable: `bytes` [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let bytes = s.as_bytes(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let mut node = self.parse_primary()?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_ident` is never used [INFO] [stdout] --> mile_gpu_dsl/gpu_macro/src/lib.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 185 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 197 | fn expect_ident(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking mile_api v0.1.0 (/opt/rustwide/workdir/mile_api) [INFO] [stdout] warning: unused imports: `cell::RefCell`, `default`, and `rc::Rc` [INFO] [stdout] --> mile_api/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | collections::HashMap, [INFO] [stdout] 7 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | rc::Rc, [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: `wgc::device::queue` [INFO] [stdout] --> mile_api/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | wgc::device::queue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut` and `Ref` [INFO] [stdout] --> mile_api/src/interface.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | cell::{Cell, Ref, RefCell, RefMut}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> mile_api/src/interface.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_api/src/interface.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | if (self.buffer.is_none()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - if (self.buffer.is_none()) { [INFO] [stdout] 163 + if self.buffer.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `default`, and `rc::Rc` [INFO] [stdout] --> mile_api/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 6 | collections::HashMap, [INFO] [stdout] 7 | default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | rc::Rc, [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: `wgc::device::queue` [INFO] [stdout] --> mile_api/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | wgc::device::queue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut` and `Ref` [INFO] [stdout] --> mile_api/src/interface.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | cell::{Cell, Ref, RefCell, RefMut}, [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::PhysicalSize` [INFO] [stdout] --> mile_api/src/interface.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winit::dpi::PhysicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_api/src/interface.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | if (self.buffer.is_none()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 163 - if (self.buffer.is_none()) { [INFO] [stdout] 163 + if self.buffer.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> mile_api/src/interface.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn print(name: &'static str, data: &GpuDebugReadCallBack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> mile_api/src/interface.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn print(name: &'static str, data: &GpuDebugReadCallBack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> mile_api/src/lib.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn print(name: &'static str, data: &GpuDebugReadCallBack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> mile_api/src/lib.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn print(name: &'static str, data: &GpuDebugReadCallBack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_variable_hash` is never used [INFO] [stdout] --> mile_api/src/lib.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_variable_hash(name: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store_variable` is never used [INFO] [stdout] --> mile_api/src/lib.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn store_variable(name: &str, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_variable` is never used [INFO] [stdout] --> mile_api/src/lib.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_variable(hash: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pre_hover_panel_id` is never read [INFO] [stdout] --> mile_api/src/lib.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct GlobalEventHub { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 264 | pre_hover_panel_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> mile_api/src/event_bus.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Subscriber { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 44 | id: u64, [INFO] [stdout] 45 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscriber` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> mile_api/src/event_bus.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 484 | struct KeyedSubscriber { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 485 | id: u64, [INFO] [stdout] 486 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyedSubscriber` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `downloadBuffer` should have a snake case name [INFO] [stdout] --> mile_api/src/lib.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | if let Ok(downloadBuffer) = e { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `download_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `downloadBuffer` should have a snake case name [INFO] [stdout] --> mile_api/src/interface.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(downloadBuffer) = e { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `download_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `downloadBuffer` should have a snake case name [INFO] [stdout] --> mile_api/src/interface.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | if let Ok(downloadBuffer) = e { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `download_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> mile_api/src/interface.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn print(name: &'static str, data: &GpuDebugReadCallBack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> mile_api/src/interface.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn print(name: &'static str, data: &GpuDebugReadCallBack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> mile_api/src/lib.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn print(name: &'static str, data: &GpuDebugReadCallBack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> mile_api/src/lib.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn print(name: &'static str, data: &GpuDebugReadCallBack) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_variable_hash` is never used [INFO] [stdout] --> mile_api/src/lib.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_variable_hash(name: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `store_variable` is never used [INFO] [stdout] --> mile_api/src/lib.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn store_variable(name: &str, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_variable` is never used [INFO] [stdout] --> mile_api/src/lib.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn get_variable(hash: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pre_hover_panel_id` is never read [INFO] [stdout] --> mile_api/src/lib.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct GlobalEventHub { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 264 | pre_hover_panel_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> mile_api/src/event_bus.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | struct Subscriber { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 44 | id: u64, [INFO] [stdout] 45 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscriber` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> mile_api/src/event_bus.rs:486:5 [INFO] [stdout] | [INFO] [stdout] 484 | struct KeyedSubscriber { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 485 | id: u64, [INFO] [stdout] 486 | label: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyedSubscriber` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `downloadBuffer` should have a snake case name [INFO] [stdout] --> mile_api/src/lib.rs:161:27 [INFO] [stdout] | [INFO] [stdout] 161 | if let Ok(downloadBuffer) = e { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `download_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `downloadBuffer` should have a snake case name [INFO] [stdout] --> mile_api/src/interface.rs:138:27 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(downloadBuffer) = e { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `download_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `downloadBuffer` should have a snake case name [INFO] [stdout] --> mile_api/src/interface.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | if let Ok(downloadBuffer) = e { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `download_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mile_graphics v0.1.0 (/opt/rustwide/workdir/mile_graphics) [INFO] [stderr] Checking mile_font v0.1.0 (/opt/rustwide/workdir/mile_font) [INFO] [stderr] Checking mile_state v0.1.0 (/opt/rustwide/workdir/mile_state) [INFO] [stdout] warning: unused imports: `btree_map::Range`, `fmt::Error`, and `marker::PhantomData` [INFO] [stdout] --> mile_font/src/gpu_struct.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | collections::{HashMap, btree_map::Range}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | fmt::Error, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | marker::PhantomData, [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 imports: `Pod` and `Zeroable` [INFO] [stdout] --> mile_font/src/gpu_struct.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use bytemuck::{Pod, Zeroable}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Face` [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use ttf_parser::{Face, GlyphId, OutlineBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GPU_CHAR_LAYOUT_LINE_BREAK_COUNT_MASK` [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | GPU_CHAR_LAYOUT_FLAG_LINE_BREAK_BEFORE, GPU_CHAR_LAYOUT_LINE_BREAK_COUNT_MASK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> mile_font/src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> mile_graphics/src/structs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderPass` and `VertexStepMode::*` [INFO] [stdout] --> mile_graphics/src/structs.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | use wgpu::{BindGroup, Buffer, DepthBiasState, RenderPass, StoreOp, VertexStepMode::*}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::BufferInitDescriptor` [INFO] [stdout] --> mile_graphics/src/structs.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | use wgpu::{ShaderSource, Surface, util::BufferInitDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventLoop` and `self` [INFO] [stdout] --> mile_graphics/src/structs.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | event_loop::{self, EventLoop}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_graphics/src/structs.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | if (*frame == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - if (*frame == 0) { [INFO] [stdout] 69 + if *frame == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_graphics/src/structs.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | if (*time == 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (*time == 0.0) { [INFO] [stdout] 78 + if *time == 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> mile_graphics/src/structs.rs:368:10 [INFO] [stdout] | [INFO] [stdout] 368 | ) -> ( [INFO] [stdout] | __________^ [INFO] [stdout] 369 | | ( [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 374 | ) [INFO] [stdout] | __________^ [INFO] [stdout] 375 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 368 ~ ) -> ( [INFO] [stdout] 369 | wgpu::RenderPipeline, [INFO] [stdout] ... [INFO] [stdout] 372 | wgpu::Buffer, [INFO] [stdout] 373 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> mile_graphics/src/structs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderPass` and `VertexStepMode::*` [INFO] [stdout] --> mile_graphics/src/structs.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | use wgpu::{BindGroup, Buffer, DepthBiasState, RenderPass, StoreOp, VertexStepMode::*}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::BufferInitDescriptor` [INFO] [stdout] --> mile_graphics/src/structs.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | use wgpu::{ShaderSource, Surface, util::BufferInitDescriptor}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventLoop` and `self` [INFO] [stdout] --> mile_graphics/src/structs.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | event_loop::{self, EventLoop}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_graphics/src/structs.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | if (*frame == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - if (*frame == 0) { [INFO] [stdout] 69 + if *frame == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_graphics/src/structs.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | if (*time == 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (*time == 0.0) { [INFO] [stdout] 78 + if *time == 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> mile_graphics/src/structs.rs:368:10 [INFO] [stdout] | [INFO] [stdout] 368 | ) -> ( [INFO] [stdout] | __________^ [INFO] [stdout] 369 | | ( [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 374 | ) [INFO] [stdout] | __________^ [INFO] [stdout] 375 | | ) { [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 368 ~ ) -> ( [INFO] [stdout] 369 | wgpu::RenderPipeline, [INFO] [stdout] ... [INFO] [stdout] 372 | wgpu::Buffer, [INFO] [stdout] 373 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `btree_map::Range`, `fmt::Error`, and `marker::PhantomData` [INFO] [stdout] --> mile_font/src/gpu_struct.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | collections::{HashMap, btree_map::Range}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | fmt::Error, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | marker::PhantomData, [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 imports: `Pod` and `Zeroable` [INFO] [stdout] --> mile_font/src/gpu_struct.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use bytemuck::{Pod, Zeroable}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Face` [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use ttf_parser::{Face, GlyphId, OutlineBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GPU_CHAR_LAYOUT_LINE_BREAK_COUNT_MASK` [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | GPU_CHAR_LAYOUT_FLAG_LINE_BREAK_BEFORE, GPU_CHAR_LAYOUT_LINE_BREAK_COUNT_MASK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> mile_font/src/lib.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bool` [INFO] [stdout] --> mile_graphics/src/structs.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let bool = match record { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_graphics/src/structs.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut config = wgpu::SurfaceConfiguration { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bind_group_layout` [INFO] [stdout] --> mile_graphics/src/structs.rs:240:31 [INFO] [stdout] | [INFO] [stdout] 240 | let (render_pipeline, bind_group_layout, bindgroup, buffer) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bind_group_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_graphics/src/structs.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut config = Arc::make_mut(&mut self.config); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bool` [INFO] [stdout] --> mile_graphics/src/structs.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | let bool = match record { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AppState` is more private than the item `WGPUContext::app_state` [INFO] [stdout] --> mile_graphics/src/structs.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub app_state: AppState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ field `WGPUContext::app_state` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AppState` is only usable at visibility `pub(self)` [INFO] [stdout] --> mile_graphics/src/structs.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | struct AppState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `windows_width` and `windows_height` are never read [INFO] [stdout] --> mile_graphics/src/structs.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RealTimeInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 34 | windows_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | windows_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RealTimeInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> mile_graphics/src/structs.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 124 | start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_time` are never used [INFO] [stdout] --> mile_graphics/src/structs.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl AppState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn update_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_graphics/src/structs.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut config = wgpu::SurfaceConfiguration { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bind_group_layout` [INFO] [stdout] --> mile_graphics/src/structs.rs:240:31 [INFO] [stdout] | [INFO] [stdout] 240 | let (render_pipeline, bind_group_layout, bindgroup, buffer) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bind_group_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_graphics/src/structs.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let mut config = Arc::make_mut(&mut self.config); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AppState` is more private than the item `WGPUContext::app_state` [INFO] [stdout] --> mile_graphics/src/structs.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub app_state: AppState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ field `WGPUContext::app_state` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `AppState` is only usable at visibility `pub(self)` [INFO] [stdout] --> mile_graphics/src/structs.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | struct AppState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `windows_width` and `windows_height` are never read [INFO] [stdout] --> mile_graphics/src/structs.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RealTimeInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 34 | windows_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | windows_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RealTimeInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> mile_graphics/src/structs.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 123 | struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 124 | start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update_time` are never used [INFO] [stdout] --> mile_graphics/src/structs.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl AppState { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn update_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mile_gpu_dsl v0.1.0 (/opt/rustwide/workdir/mile_gpu_dsl) [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:1157:24 [INFO] [stdout] | [INFO] [stdout] 1157 | fn readback(&self, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:1157:47 [INFO] [stdout] | [INFO] [stdout] 1157 | fn readback(&self, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::EPSILON` [INFO] [stdout] --> mile_gpu_dsl/src/dsl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::EPSILON; [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 imports: `IndexMut` and `Index` [INFO] [stdout] --> mile_gpu_dsl/src/dsl.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Div, Index, IndexMut, Mul, Sub}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> mile_gpu_dsl/src/dsl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::gpu_program::*` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::gpu_program::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandEncoder`, `ComputePass`, `PipelineLayout`, `ShaderModule`, and `util::DeviceExt` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | BindGroup, BindGroupLayout, Buffer, BufferDescriptor, BufferUsages, CommandEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ComputePass, ComputePipeline, Device, PipelineLayout, Queue, ShaderModule, util::DeviceExt, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_program.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::{gpu_ast::*, op::*, *}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Queue` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::{Device, Queue, util::DownloadBuffer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | op::*, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `Expr`, and `gpu_ast_compute_pipeline::*` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/mod.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | use super::prelude::{Expr, gpu_ast_compute_pipeline::*, *}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> mile_gpu_dsl/src/program_pipeline/manager.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | gpu_ast::*, gpu_ast_compute_pipeline::*, gpu_program::*, op::*, render_layer::*, *, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `gpu_ast::*`, `gpu_ast_compute_pipeline::*`, and `op::*` [INFO] [stdout] --> mile_gpu_dsl/src/program_pipeline/render_layer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gpu_ast::*, gpu_ast_compute_pipeline::*, gpu_program::*, manager::*, op::*, *, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `gpu_ast_compute_pipeline::*`, and `gpu_program::*` [INFO] [stdout] --> mile_gpu_dsl/src/program_pipeline/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use super::prelude::{gpu_ast_compute_pipeline::*, gpu_program::*, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `char_with_texture`, `texture_x`, and `texture_y` are never read [INFO] [stdout] --> mile_font/src/gpu_struct.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct SdfInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 89 | char_with_texture: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | texture_x: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 91 | texture_y: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SdfInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_buffer` and `index_buffer` are never read [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RenderBufferCache { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 37 | vertex_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | index_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `animation_compute_pipe` and `batch_queue_compute_pipe` are never read [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FontComputeCache { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 42 | animation_compute_pipe: wgpu::ComputePipeline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | batch_queue_compute_pipe: wgpu::ComputePipeline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FontInstance { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 58 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `panel_capacity` is never read [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1346 | struct MiniRender { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1358 | panel_capacity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `batch_enqueue_compute` is never used [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:1730:8 [INFO] [stdout] | [INFO] [stdout] 1447 | impl MiniFontRuntime { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1730 | fn batch_enqueue_compute(&self, device: &wgpu::Device, queue: &wgpu::Queue, glyph_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `quad` should have an upper case name [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 471 | const quad: [UiVertex; 4] = [ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 471 - const quad: [UiVertex; 4] = [ [INFO] [stdout] 471 + const QUAD: [UiVertex; 4] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::EPSILON` [INFO] [stdout] --> mile_gpu_dsl/src/dsl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::EPSILON; [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 imports: `IndexMut` and `Index` [INFO] [stdout] --> mile_gpu_dsl/src/dsl.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{Add, Div, Index, IndexMut, Mul, Sub}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> mile_gpu_dsl/src/dsl.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::gpu_program::*` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::prelude::gpu_program::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandEncoder`, `ComputePass`, `PipelineLayout`, `ShaderModule`, and `util::DeviceExt` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:6:73 [INFO] [stdout] | [INFO] [stdout] 6 | BindGroup, BindGroupLayout, Buffer, BufferDescriptor, BufferUsages, CommandEncoder, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | ComputePass, ComputePipeline, Device, PipelineLayout, Queue, ShaderModule, util::DeviceExt, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_program.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::prelude::{gpu_ast::*, op::*, *}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::Arc` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Queue` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::{Device, Queue, util::DownloadBuffer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | op::*, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `Expr`, and `gpu_ast_compute_pipeline::*` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/mod.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | use super::prelude::{Expr, gpu_ast_compute_pipeline::*, *}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `op::*` [INFO] [stdout] --> mile_gpu_dsl/src/program_pipeline/manager.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | gpu_ast::*, gpu_ast_compute_pipeline::*, gpu_program::*, op::*, render_layer::*, *, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `gpu_ast::*`, `gpu_ast_compute_pipeline::*`, and `op::*` [INFO] [stdout] --> mile_gpu_dsl/src/program_pipeline/render_layer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | gpu_ast::*, gpu_ast_compute_pipeline::*, gpu_program::*, manager::*, op::*, *, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `gpu_ast_compute_pipeline::*`, and `gpu_program::*` [INFO] [stdout] --> mile_gpu_dsl/src/program_pipeline/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use super::prelude::{gpu_ast_compute_pipeline::*, gpu_program::*, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:1157:24 [INFO] [stdout] | [INFO] [stdout] 1157 | fn readback(&self, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:1157:47 [INFO] [stdout] | [INFO] [stdout] 1157 | fn readback(&self, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `char_with_texture`, `texture_x`, and `texture_y` are never read [INFO] [stdout] --> mile_font/src/gpu_struct.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct SdfInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 89 | char_with_texture: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | texture_x: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 91 | texture_y: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SdfInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_buffer` and `index_buffer` are never read [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RenderBufferCache { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 37 | vertex_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | index_buffer: wgpu::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `animation_compute_pipe` and `batch_queue_compute_pipe` are never read [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct FontComputeCache { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 42 | animation_compute_pipe: wgpu::ComputePipeline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | batch_queue_compute_pipe: wgpu::ComputePipeline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct FontInstance { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 58 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `panel_capacity` is never read [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1346 | struct MiniRender { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1358 | panel_capacity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `batch_enqueue_compute` is never used [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:1730:8 [INFO] [stdout] | [INFO] [stdout] 1447 | impl MiniFontRuntime { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1730 | fn batch_enqueue_compute(&self, device: &wgpu::Device, queue: &wgpu::Queue, glyph_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `quad` should have an upper case name [INFO] [stdout] --> mile_font/src/minimal_runtime.rs:471:15 [INFO] [stdout] | [INFO] [stdout] 471 | const quad: [UiVertex; 4] = [ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 471 - const quad: [UiVertex; 4] = [ [INFO] [stdout] 471 + const QUAD: [UiVertex; 4] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | for (i, node) in self.nodes.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:998:10 [INFO] [stdout] | [INFO] [stdout] 998 | for (i, node) in graph.nodes.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_v_len` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1102:40 [INFO] [stdout] | [INFO] [stdout] 1102 | fn get_op_output_nodes(mat_op: &MatOp, final_v_len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_v_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_index` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1117:10 [INFO] [stdout] | [INFO] [stdout] 1117 | for (op_index, mat_op) in plan.ops.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_name` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1247:31 [INFO] [stdout] | [INFO] [stdout] 1247 | let (import_type, import_name, mask) = match &import_info.import_type { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_mat` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1282:17 [INFO] [stdout] | [INFO] [stdout] 1282 | left_mat, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `left_mat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_mat` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1283:17 [INFO] [stdout] | [INFO] [stdout] 1283 | right_mat, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `right_mat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | mat, [INFO] [stdout] | ^^^ help: try ignoring the field: `mat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | queue: &Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | device: &wgpu::Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | device: &wgpu::Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | fn read_results(&self, graph: &GpuAstGraph) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_buffer` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | import_buffer: &Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_program.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | _ => Err(ProgramBuildError::RenderStageExpression( [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_program.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 474 | Expr::Constant(value) => Ok(self.push_render_expr_node(RenderExprNode { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 482 | Expr::RenderImport(name) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 501 | Expr::BinaryOp(BinaryOp::Index, left, right) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 507 | Expr::Vec4(vec) => match lane { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 679 | _ => Err(ProgramBuildError::RenderStageExpression( [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_id` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let panel_id = event.idx; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:304:29 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn reset(&mut self, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | let cols = rows_mat[0].len(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_rows` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:732:23 [INFO] [stdout] | [INFO] [stdout] 732 | rows: op_rows, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_rows` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:743:23 [INFO] [stdout] | [INFO] [stdout] 743 | rows: op_rows, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_rows` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:754:23 [INFO] [stdout] | [INFO] [stdout] 754 | rows: op_rows, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_op` is never used [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:950:4 [INFO] [stdout] | [INFO] [stdout] 950 | fn format_op(op: GpuOp) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_connections` is never used [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1277:4 [INFO] [stdout] | [INFO] [stdout] 1277 | fn build_connections(graph: &mut GpuAstGraph, plan: &MatrixPlan, node_indices: &[u32]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bind_group_layout` is never read [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GpuComputePipeline { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | bind_group_layout: BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_results` is never used [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl GpuComputePipeline { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | fn read_results(&self, graph: &GpuAstGraph) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_compute_term` is never used [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_program.rs:769:8 [INFO] [stdout] | [INFO] [stdout] 246 | impl<'a> GpuProgramBuilder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 769 | fn extract_compute_term( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rows` is never read [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:781:5 [INFO] [stdout] | [INFO] [stdout] 778 | struct GenericMatOp { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 781 | rows: usize, // 操作的行数 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | fn mat_mul(A: &Matrix, B: &Mat2D) -> Mat2D { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:536:24 [INFO] [stdout] | [INFO] [stdout] 536 | fn mat_mul(A: &Matrix, B: &Mat2D) -> Mat2D { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | let mut C: Mat2D = vec![vec![0.0; cols]; rows]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_rows_to_V` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:690:4 [INFO] [stdout] | [INFO] [stdout] 690 | fn write_rows_to_V(V: &mut Mat2D, rows_mat: &Mat2D, out_start: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `write_rows_to_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:690:20 [INFO] [stdout] | [INFO] [stdout] 690 | fn write_rows_to_V(V: &mut Mat2D, rows_mat: &Mat2D, out_start: usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:710:13 [INFO] [stdout] | [INFO] [stdout] 710 | let mut V: Mat2D = vec![vec![0.0; cols]; rows]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | let mut V: Mat2D = vec![vec![0.0; cols]; rows]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:422:14 [INFO] [stdout] | [INFO] [stdout] 422 | for (i, node) in self.nodes.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:998:10 [INFO] [stdout] | [INFO] [stdout] 998 | for (i, node) in graph.nodes.iter_mut().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_v_len` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1102:40 [INFO] [stdout] | [INFO] [stdout] 1102 | fn get_op_output_nodes(mat_op: &MatOp, final_v_len: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_v_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_index` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1117:10 [INFO] [stdout] | [INFO] [stdout] 1117 | for (op_index, mat_op) in plan.ops.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_name` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1247:31 [INFO] [stdout] | [INFO] [stdout] 1247 | let (import_type, import_name, mask) = match &import_info.import_type { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_mat` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1282:17 [INFO] [stdout] | [INFO] [stdout] 1282 | left_mat, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `left_mat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_mat` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1283:17 [INFO] [stdout] | [INFO] [stdout] 1283 | right_mat, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `right_mat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mat` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1303:17 [INFO] [stdout] | [INFO] [stdout] 1303 | mat, [INFO] [stdout] | ^^^ help: try ignoring the field: `mat: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | queue: &Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | device: &wgpu::Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | device: &wgpu::Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | fn read_results(&self, graph: &GpuAstGraph) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `import_buffer` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | import_buffer: &Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_import_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mile_ui v0.1.0 (/opt/rustwide/workdir/mile_ui) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_program.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | _ => Err(ProgramBuildError::RenderStageExpression( [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_program.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 474 | Expr::Constant(value) => Ok(self.push_render_expr_node(RenderExprNode { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 482 | Expr::RenderImport(name) => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 501 | Expr::BinaryOp(BinaryOp::Index, left, right) => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 507 | Expr::Vec4(vec) => match lane { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 679 | _ => Err(ProgramBuildError::RenderStageExpression( [INFO] [stdout] | ^ ...and 7 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_id` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let panel_id = event.idx; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/kennel.rs:304:29 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn reset(&mut self, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | let cols = rows_mat[0].len(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_rows` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:732:23 [INFO] [stdout] | [INFO] [stdout] 732 | rows: op_rows, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_rows` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:743:23 [INFO] [stdout] | [INFO] [stdout] 743 | rows: op_rows, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_rows` [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:754:23 [INFO] [stdout] | [INFO] [stdout] 754 | rows: op_rows, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_op_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_op` is never used [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:950:4 [INFO] [stdout] | [INFO] [stdout] 950 | fn format_op(op: GpuOp) -> &'static str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_connections` is never used [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast.rs:1277:4 [INFO] [stdout] | [INFO] [stdout] 1277 | fn build_connections(graph: &mut GpuAstGraph, plan: &MatrixPlan, node_indices: &[u32]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bind_group_layout` is never read [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GpuComputePipeline { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | bind_group_layout: BindGroupLayout, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_results` is never used [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_ast_compute_pipeline.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl GpuComputePipeline { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | fn read_results(&self, graph: &GpuAstGraph) {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract_compute_term` is never used [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/gpu_program.rs:769:8 [INFO] [stdout] | [INFO] [stdout] 246 | impl<'a> GpuProgramBuilder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 769 | fn extract_compute_term( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rows` is never read [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:781:5 [INFO] [stdout] | [INFO] [stdout] 778 | struct GenericMatOp { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 781 | rows: usize, // 操作的行数 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | fn mat_mul(A: &Matrix, B: &Mat2D) -> Mat2D { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:536:24 [INFO] [stdout] | [INFO] [stdout] 536 | fn mat_mul(A: &Matrix, B: &Mat2D) -> Mat2D { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | let mut C: Mat2D = vec![vec![0.0; cols]; rows]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_rows_to_V` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:690:4 [INFO] [stdout] | [INFO] [stdout] 690 | fn write_rows_to_V(V: &mut Mat2D, rows_mat: &Mat2D, out_start: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `write_rows_to_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:690:20 [INFO] [stdout] | [INFO] [stdout] 690 | fn write_rows_to_V(V: &mut Mat2D, rows_mat: &Mat2D, out_start: usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:710:13 [INFO] [stdout] | [INFO] [stdout] 710 | let mut V: Mat2D = vec![vec![0.0; cols]; rows]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `V` should have a snake case name [INFO] [stdout] --> mile_gpu_dsl/src/gpu_ast_core/op.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | let mut V: Mat2D = vec![vec![0.0; cols]; rows]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panel_field` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | RelSpace, RelViewKey, panel_field, [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: `vec3` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | use glam::{Vec2, Vec3, Vec4, vec2, vec3, vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IF`, `modulo`, `sqrt`, `wvec2`, and `wvec3` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | dsl::{IF, modulo, sin, sqrt, wvec2, wvec3, wvec4}, [INFO] [stdout] | ^^ ^^^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3440:24 [INFO] [stdout] | [INFO] [stdout] 3440 | if (flow.payload_ref().lock_state) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3440 - if (flow.payload_ref().lock_state) { [INFO] [stdout] 3440 + if flow.payload_ref().lock_state { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3484:24 [INFO] [stdout] | [INFO] [stdout] 3484 | if (target.lock) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3484 - if (target.lock) { [INFO] [stdout] 3484 + if target.lock { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3513:24 [INFO] [stdout] | [INFO] [stdout] 3513 | if (target.lock == false) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3513 - if (target.lock == false) { [INFO] [stdout] 3513 + if target.lock == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3535:28 [INFO] [stdout] | [INFO] [stdout] 3535 | .size(vec2((x_max - x_min), 36.0)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3535 - .size(vec2((x_max - x_min), 36.0)) [INFO] [stdout] 3535 + .size(vec2(x_max - x_min , 36.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> mile_ui/src/mui_style.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cast_slice` [INFO] [stdout] --> mile_ui/src/runtime/buffers.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use bytemuck::{bytes_of, cast_slice}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes_of` [INFO] [stdout] --> mile_ui/src/runtime/compute.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use bytemuck::{bytes_of, cast_slice}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgc::device::queue` [INFO] [stdout] --> mile_ui/src/runtime/compute.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use wgpu::{util::DownloadBuffer, wgc::device::queue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GpuDebugReadCallBack` [INFO] [stdout] --> mile_ui/src/runtime/compute.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use mile_api::{GpuDebugReadCallBack, interface::GpuDebug}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PanelStateChanged` and `UiPanelData` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:35:81 [INFO] [stdout] | [INFO] [stdout] 35 | self, PanelBinding, PanelKey, PanelPayload, PanelRecord, PanelSnapshot, PanelStateChanged, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | PanelStateOverrides, ShaderStage, UiPanelData, UiState, install_runtime_event_bridge, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GpuDebugReadCallBack` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | prelude::{CpuGlobalUniform, GpuDebug, GpuDebugReadCallBack, Renderable}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DownloadBuffer` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | util::{BufferInitDescriptor, DeviceExt, DownloadBuffer}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::runtime::_ty::PanelAnimDelta` [INFO] [stdout] --> mile_ui/src/runtime/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use crate::runtime::_ty::PanelAnimDelta; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pod` and `Zeroable` [INFO] [stdout] --> mile_ui/src/structs.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use bytemuck::{Pod, Zeroable}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImageView`, `GenericImage`, `ImageReader`, and `RgbaImage` [INFO] [stdout] --> mile_ui/src/structs.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, GenericImage, GenericImageView, ImageReader, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `path::Path` [INFO] [stdout] --> mile_ui/src/structs.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferAddress`, `TextureFormat`, and `util::DeviceExt` [INFO] [stdout] --> mile_ui/src/structs.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::{BufferAddress, TextureFormat, util::DeviceExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `panel_field` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | RelSpace, RelViewKey, panel_field, [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: `vec3` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | use glam::{Vec2, Vec3, Vec4, vec2, vec3, vec4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IF`, `modulo`, `sqrt`, `wvec2`, and `wvec3` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | dsl::{IF, modulo, sin, sqrt, wvec2, wvec3, wvec4}, [INFO] [stdout] | ^^ ^^^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3440:24 [INFO] [stdout] | [INFO] [stdout] 3440 | if (flow.payload_ref().lock_state) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3440 - if (flow.payload_ref().lock_state) { [INFO] [stdout] 3440 + if flow.payload_ref().lock_state { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3484:24 [INFO] [stdout] | [INFO] [stdout] 3484 | if (target.lock) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3484 - if (target.lock) { [INFO] [stdout] 3484 + if target.lock { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3513:24 [INFO] [stdout] | [INFO] [stdout] 3513 | if (target.lock == false) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3513 - if (target.lock == false) { [INFO] [stdout] 3513 + if target.lock == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3535:28 [INFO] [stdout] | [INFO] [stdout] 3535 | .size(vec2((x_max - x_min), 36.0)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3535 - .size(vec2((x_max - x_min), 36.0)) [INFO] [stdout] 3535 + .size(vec2(x_max - x_min , 36.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> mile_ui/src/mui_style.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cast_slice` [INFO] [stdout] --> mile_ui/src/runtime/buffers.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use bytemuck::{bytes_of, cast_slice}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes_of` [INFO] [stdout] --> mile_ui/src/runtime/compute.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use bytemuck::{bytes_of, cast_slice}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgc::device::queue` [INFO] [stdout] --> mile_ui/src/runtime/compute.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use wgpu::{util::DownloadBuffer, wgc::device::queue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GpuDebugReadCallBack` [INFO] [stdout] --> mile_ui/src/runtime/compute.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use mile_api::{GpuDebugReadCallBack, interface::GpuDebug}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PanelStateChanged` and `UiPanelData` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:35:81 [INFO] [stdout] | [INFO] [stdout] 35 | self, PanelBinding, PanelKey, PanelPayload, PanelRecord, PanelSnapshot, PanelStateChanged, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | PanelStateOverrides, ShaderStage, UiPanelData, UiState, install_runtime_event_bridge, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GpuDebugReadCallBack` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | prelude::{CpuGlobalUniform, GpuDebug, GpuDebugReadCallBack, Renderable}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use serde::de; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DownloadBuffer` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:61:45 [INFO] [stdout] | [INFO] [stdout] 61 | util::{BufferInitDescriptor, DeviceExt, DownloadBuffer}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pod` and `Zeroable` [INFO] [stdout] --> mile_ui/src/structs.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use bytemuck::{Pod, Zeroable}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DynamicImage`, `GenericImageView`, `GenericImage`, `ImageReader`, and `RgbaImage` [INFO] [stdout] --> mile_ui/src/structs.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{DynamicImage, GenericImage, GenericImageView, ImageReader, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `path::Path` [INFO] [stdout] --> mile_ui/src/structs.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{collections::HashMap, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufferAddress`, `TextureFormat`, and `util::DeviceExt` [INFO] [stdout] --> mile_ui/src/structs.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use wgpu::{BufferAddress, TextureFormat, util::DeviceExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:1565:17 [INFO] [stdout] | [INFO] [stdout] 1565 | pub fn push(mut self, flow: &mut EventFlow<'_, TPayload>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:1659:17 [INFO] [stdout] | [INFO] [stdout] 1659 | pub fn push(mut self, flow: &mut EventFlow<'_, TPayload>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:2174:45 [INFO] [stdout] | [INFO] [stdout] 2174 | pub fn observe_type(mut self, handler: Handler) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:2182:47 [INFO] [stdout] | [INFO] [stdout] 2182 | let cb: ErasedTypeCb = Arc::new(move |source, any_payload| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:2478:28 [INFO] [stdout] | [INFO] [stdout] 2478 | pub fn container_style(mut self) -> ContainerStyleBuilder { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3251:25 [INFO] [stdout] | [INFO] [stdout] 3251 | let mut data_test = flow.payload(); //这里是取出DataTest的可变引用 [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3247:35 [INFO] [stdout] | [INFO] [stdout] 3247 | .fragment_shader(|e| frag_template(1.0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3276:13 [INFO] [stdout] | [INFO] [stdout] 3276 | let panel = Mui::::new(Box::leak(uuid.into_boxed_str()))? [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_panel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_uuid` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3323:5 [INFO] [stdout] | [INFO] [stdout] 3323 | panel_uuid: &'static str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_position` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3329:13 [INFO] [stdout] | [INFO] [stdout] 3329 | let slot_position = vec2( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3493:25 [INFO] [stdout] | [INFO] [stdout] 3493 | let t = ((pos.x - x_min) / len).clamp(0.0, 1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_index_init` [INFO] [stdout] --> mile_ui/src/runtime/buffers.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let panel_index_init = vec![u32::MAX; panel_index_stride]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_index_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | device: &wgpu::Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | queue: &wgpu::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_view` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | frame_view: &wgpu::TextureView, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | device: &wgpu::Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | let mut state = RuntimeState::default(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:809:41 [INFO] [stdout] | [INFO] [stdout] 809 | ... let mut ov = &mut new_state.overrides; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_interact` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1014:13 [INFO] [stdout] | [INFO] [stdout] 1014 | let off_interact = offset_of!(Panel, interaction) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_interact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_event_mask` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | let off_event_mask = offset_of!(Panel, event_mask) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_event_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_state_mask` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1016:13 [INFO] [stdout] | [INFO] [stdout] 1016 | let off_state_mask = offset_of!(Panel, state_mask) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_state_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_tex` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1018:13 [INFO] [stdout] | [INFO] [stdout] 1018 | let off_tex = offset_of!(Panel, texture_id) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_count` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1290:13 [INFO] [stdout] | [INFO] [stdout] 1290 | let u_count = ultra_ids.len() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal_end` is never read [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1231:30 [INFO] [stdout] | [INFO] [stdout] 1231 | let mut normal_end = 0usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `multi_end` is never read [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1232:29 [INFO] [stdout] | [INFO] [stdout] 1232 | let mut multi_end = 0usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ultra_end` is never read [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1233:29 [INFO] [stdout] | [INFO] [stdout] 1233 | let mut ultra_end = 0usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1358:16 [INFO] [stdout] | [INFO] [stdout] 1358 | if let crate::runtime::state::StateOpenCall::Interaction(mask) = call.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:2415:13 [INFO] [stdout] | [INFO] [stdout] 2415 | let mut unitfrom_struct = self.global_uniform.cpu_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:2440:13 [INFO] [stdout] | [INFO] [stdout] 2440 | let mut unitfrom_struct = self.global_uniform.cpu_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:2564:47 [INFO] [stdout] | [INFO] [stdout] 2564 | pub fn interaction_cpu_trigger(&mut self, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:2564:70 [INFO] [stdout] | [INFO] [stdout] 2564 | pub fn interaction_cpu_trigger(&mut self, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let total = enters.clone().count(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `containers` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let containers = enters.filter(|item| item.is_container).count(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_containers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_id` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:465:38 [INFO] [stdout] | [INFO] [stdout] 465 | fn log_parser_diagnostics(&self, panel_id: u32, state: UiState, graph: &RelParsedGraph) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | fn log_parser_diagnostics(&self, panel_id: u32, state: UiState, graph: &RelParsedGraph) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `warning` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | for warning in &graph.diagnostics.warnings {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conflict` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | for conflict in &graph.diagnostics.conflicts {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conflict` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_id` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:470:36 [INFO] [stdout] | [INFO] [stdout] 470 | fn warn_unknown_targets(&self, panel_id: u32, state: UiState, graph: &RelParsedGraph) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:470:51 [INFO] [stdout] | [INFO] [stdout] 470 | fn warn_unknown_targets(&self, panel_id: u32, state: UiState, graph: &RelParsedGraph) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | let scope = node.key.scope.as_deref().unwrap_or(""); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kinds` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | let kinds = summarize_relation_kinds(node); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kinds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:1565:17 [INFO] [stdout] | [INFO] [stdout] 1565 | pub fn push(mut self, flow: &mut EventFlow<'_, TPayload>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:1659:17 [INFO] [stdout] | [INFO] [stdout] 1659 | pub fn push(mut self, flow: &mut EventFlow<'_, TPayload>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:2174:45 [INFO] [stdout] | [INFO] [stdout] 2174 | pub fn observe_type(mut self, handler: Handler) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:2182:47 [INFO] [stdout] | [INFO] [stdout] 2182 | let cb: ErasedTypeCb = Arc::new(move |source, any_payload| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:2478:28 [INFO] [stdout] | [INFO] [stdout] 2478 | pub fn container_style(mut self) -> ContainerStyleBuilder { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3251:25 [INFO] [stdout] | [INFO] [stdout] 3251 | let mut data_test = flow.payload(); //这里是取出DataTest的可变引用 [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3247:35 [INFO] [stdout] | [INFO] [stdout] 3247 | .fragment_shader(|e| frag_template(1.0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3276:13 [INFO] [stdout] | [INFO] [stdout] 3276 | let panel = Mui::::new(Box::leak(uuid.into_boxed_str()))? [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_panel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_uuid` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3323:5 [INFO] [stdout] | [INFO] [stdout] 3323 | panel_uuid: &'static str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slot_position` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3329:13 [INFO] [stdout] | [INFO] [stdout] 3329 | let slot_position = vec2( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slot_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3493:25 [INFO] [stdout] | [INFO] [stdout] 3493 | let t = ((pos.x - x_min) / len).clamp(0.0, 1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_index_init` [INFO] [stdout] --> mile_ui/src/runtime/buffers.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let panel_index_init = vec![u32::MAX; panel_index_stride]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_index_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_rel.rs:772:62 [INFO] [stdout] | [INFO] [stdout] 772 | fn modify_container_link(&mut self, key: &RelViewKey, mut apply: F) -> bool [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> mile_ui/src/util/texture_atlas_store.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | index: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | device: &wgpu::Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | queue: &wgpu::Queue, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_view` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | frame_view: &wgpu::TextureView, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_view` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | device: &wgpu::Device, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | let mut state = RuntimeState::default(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:809:41 [INFO] [stdout] | [INFO] [stdout] 809 | ... let mut ov = &mut new_state.overrides; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `frag_template` is never used [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3141:4 [INFO] [stdout] | [INFO] [stdout] 3141 | fn frag_template(intensity: f32) -> Expr { [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 `DataTest` is never constructed [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3210:8 [INFO] [stdout] | [INFO] [stdout] 3210 | struct DataTest { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `demo_panel` is never used [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3219:4 [INFO] [stdout] | [INFO] [stdout] 3219 | fn demo_panel() -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_demo_panel_with_uuid` is never used [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3322:4 [INFO] [stdout] | [INFO] [stdout] 3322 | fn build_demo_panel_with_uuid( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_interact` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1014:13 [INFO] [stdout] | [INFO] [stdout] 1014 | let off_interact = offset_of!(Panel, interaction) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_interact` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_event_mask` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1015:13 [INFO] [stdout] | [INFO] [stdout] 1015 | let off_event_mask = offset_of!(Panel, event_mask) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_event_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_state_mask` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1016:13 [INFO] [stdout] | [INFO] [stdout] 1016 | let off_state_mask = offset_of!(Panel, state_mask) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_state_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off_tex` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1018:13 [INFO] [stdout] | [INFO] [stdout] 1018 | let off_tex = offset_of!(Panel, texture_id) as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_off_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_count` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1290:13 [INFO] [stdout] | [INFO] [stdout] 1290 | let u_count = ultra_ids.len() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `normal_end` is never read [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1231:30 [INFO] [stdout] | [INFO] [stdout] 1231 | let mut normal_end = 0usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `multi_end` is never read [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1232:29 [INFO] [stdout] | [INFO] [stdout] 1232 | let mut multi_end = 0usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ultra_end` is never read [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1233:29 [INFO] [stdout] | [INFO] [stdout] 1233 | let mut ultra_end = 0usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:1358:16 [INFO] [stdout] | [INFO] [stdout] 1358 | if let crate::runtime::state::StateOpenCall::Interaction(mask) = call.clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:2415:13 [INFO] [stdout] | [INFO] [stdout] 2415 | let mut unitfrom_struct = self.global_uniform.cpu_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:2440:13 [INFO] [stdout] | [INFO] [stdout] 2440 | let mut unitfrom_struct = self.global_uniform.cpu_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:2564:47 [INFO] [stdout] | [INFO] [stdout] 2564 | pub fn interaction_cpu_trigger(&mut self, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> mile_ui/src/runtime/entry.rs:2564:70 [INFO] [stdout] | [INFO] [stdout] 2564 | pub fn interaction_cpu_trigger(&mut self, device: &wgpu::Device, queue: &wgpu::Queue) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let total = enters.clone().count(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `containers` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let containers = enters.filter(|item| item.is_container).count(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_containers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_id` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:465:38 [INFO] [stdout] | [INFO] [stdout] 465 | fn log_parser_diagnostics(&self, panel_id: u32, state: UiState, graph: &RelParsedGraph) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:465:53 [INFO] [stdout] | [INFO] [stdout] 465 | fn log_parser_diagnostics(&self, panel_id: u32, state: UiState, graph: &RelParsedGraph) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `warning` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | for warning in &graph.diagnostics.warnings {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_warning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conflict` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | for conflict in &graph.diagnostics.conflicts {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conflict` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel_id` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:470:36 [INFO] [stdout] | [INFO] [stdout] 470 | fn warn_unknown_targets(&self, panel_id: u32, state: UiState, graph: &RelParsedGraph) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_panel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:470:51 [INFO] [stdout] | [INFO] [stdout] 470 | fn warn_unknown_targets(&self, panel_id: u32, state: UiState, graph: &RelParsedGraph) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:480:17 [INFO] [stdout] | [INFO] [stdout] 480 | let scope = node.key.scope.as_deref().unwrap_or(""); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kinds` [INFO] [stdout] --> mile_ui/src/runtime/relations.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | let kinds = summarize_relation_kinds(node); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kinds` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mile_lua v0.1.0 (/opt/rustwide/workdir/mile_lua) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_ui/src/mui_rel.rs:772:62 [INFO] [stdout] | [INFO] [stdout] 772 | fn modify_container_link(&mut self, key: &RelViewKey, mut apply: F) -> bool [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> mile_ui/src/util/texture_atlas_store.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | index: u32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataTest` is never constructed [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3210:8 [INFO] [stdout] | [INFO] [stdout] 3210 | struct DataTest { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `demo_panel` is never used [INFO] [stdout] --> mile_ui/src/mui_prototype.rs:3219:4 [INFO] [stdout] | [INFO] [stdout] 3219 | fn demo_panel() -> Result<(), DbError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_out_dir` [INFO] [stdout] --> mile_lua/src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(has_out_dir)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_out_dir)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_out_dir)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_out_dir` [INFO] [stdout] --> mile_lua/src/lib.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(has_out_dir)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_out_dir)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_out_dir)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_out_dir` [INFO] [stdout] --> mile_lua/src/lib.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(has_out_dir))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_out_dir)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_out_dir)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_out_dir` [INFO] [stdout] --> mile_lua/src/lib.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(not(has_out_dir))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_out_dir)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_out_dir)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> mile_lua/src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | AnyUserData, Error, Function, Lua, RegistryKey, Result as LuaResult, Table, UserData, [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: `json` [INFO] [stdout] --> mile_lua/src/lib.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | use serde_json::{Value as JsonValue, json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lua_registered_types::*` [INFO] [stdout] --> mile_lua/src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub use lua_registered_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_out_dir` [INFO] [stdout] --> mile_lua/src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[cfg(has_out_dir)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_out_dir)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_out_dir)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_out_dir` [INFO] [stdout] --> mile_lua/src/lib.rs:72:7 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(has_out_dir)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_out_dir)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_out_dir)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_out_dir` [INFO] [stdout] --> mile_lua/src/lib.rs:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | #[cfg(not(has_out_dir))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_out_dir)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_out_dir)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_out_dir` [INFO] [stdout] --> mile_lua/src/lib.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(not(has_out_dir))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_out_dir)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_out_dir)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> mile_lua/src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | AnyUserData, Error, Function, Lua, RegistryKey, Result as LuaResult, Table, UserData, [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: `json` [INFO] [stdout] --> mile_lua/src/lib.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | use serde_json::{Value as JsonValue, json}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lua_registered_types::*` [INFO] [stdout] --> mile_lua/src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub use lua_registered_types::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_lua/src/watch.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | mut on_reload: F, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_lua/src/lib.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | fn inject_data_ty(mut json: JsonValue, ty: &str) -> JsonValue { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_lua/src/watch.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | mut on_reload: F, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> mile_lua/src/lib.rs:1042:32 [INFO] [stdout] | [INFO] [stdout] 1042 | fn extract_db_index_from_value(lua: &Lua, value: Value) -> LuaResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> mile_lua/src/lib.rs:1130:28 [INFO] [stdout] | [INFO] [stdout] 1130 | fn parse_builder_text_spec(lua: &Lua, value: Value) -> LuaResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_lua/src/lib.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | fn inject_data_ty(mut json: JsonValue, ty: &str) -> JsonValue { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> mile_lua/src/lib.rs:992:5 [INFO] [stdout] | [INFO] [stdout] 992 | table.set_metatable(Some(mt)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 992 | let _ = table.set_metatable(Some(mt)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> mile_lua/src/lib.rs:1042:32 [INFO] [stdout] | [INFO] [stdout] 1042 | fn extract_db_index_from_value(lua: &Lua, value: Value) -> LuaResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> mile_lua/src/lib.rs:1130:28 [INFO] [stdout] | [INFO] [stdout] 1130 | fn parse_builder_text_spec(lua: &Lua, value: Value) -> LuaResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> mile_lua/src/lib.rs:992:5 [INFO] [stdout] | [INFO] [stdout] 992 | table.set_metatable(Some(mt)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 992 | let _ = table.set_metatable(Some(mt)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mile_core v0.1.0 (/opt/rustwide/workdir/mile_core) [INFO] [stdout] warning: unused imports: `Computeable` and `_ty::PanelId` [INFO] [stdout] --> mile_core/src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | _ty::PanelId, Computeable, CpuGlobalUniform, GlobalUniform, Renderable, global_event_bus, [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 imports: `BatchFontEntry`, `BatchRenderFont`, and `prelude::FontStyle` [INFO] [stdout] --> mile_core/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | event::{BatchFontEntry, BatchRenderFont}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | minimal_runtime::MiniFontRuntime, [INFO] [stdout] 10 | prelude::FontStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> mile_core/src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | kennel::{self, Kennel, KennelConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn_lua_watch` [INFO] [stdout] --> mile_core/src/lib.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | watch::{LuaDeployEvent, LuaDeployStatus, spawn_lua_watch}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `build_demo_panel` [INFO] [stdout] --> mile_core/src/lib.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | mui_prototype::{PanelRuntimeHandle, build_demo_panel}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> mile_core/src/lib.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SurfaceError` and `TextureFormat` [INFO] [stdout] --> mile_core/src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | use wgpu::{SurfaceError, TextureFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode`, `KeyEvent`, and `PhysicalKey` [INFO] [stdout] --> mile_core/src/lib.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | event::{ElementState, KeyEvent, WindowEvent}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | event_loop::{EventLoop, EventLoopProxy}, [INFO] [stdout] 43 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Computeable` and `_ty::PanelId` [INFO] [stdout] --> mile_core/src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | _ty::PanelId, Computeable, CpuGlobalUniform, GlobalUniform, Renderable, global_event_bus, [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 imports: `BatchFontEntry`, `BatchRenderFont`, and `prelude::FontStyle` [INFO] [stdout] --> mile_core/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | event::{BatchFontEntry, BatchRenderFont}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | minimal_runtime::MiniFontRuntime, [INFO] [stdout] 10 | prelude::FontStyle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> mile_core/src/lib.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | kennel::{self, Kennel, KennelConfig}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn_lua_watch` [INFO] [stdout] --> mile_core/src/lib.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | watch::{LuaDeployEvent, LuaDeployStatus, spawn_lua_watch}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `build_demo_panel` [INFO] [stdout] --> mile_core/src/lib.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | mui_prototype::{PanelRuntimeHandle, build_demo_panel}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> mile_core/src/lib.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SurfaceError` and `TextureFormat` [INFO] [stdout] --> mile_core/src/lib.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | use wgpu::{SurfaceError, TextureFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode`, `KeyEvent`, and `PhysicalKey` [INFO] [stdout] --> mile_core/src/lib.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | event::{ElementState, KeyEvent, WindowEvent}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 42 | event_loop::{EventLoop, EventLoopProxy}, [INFO] [stdout] 43 | keyboard::{KeyCode, PhysicalKey}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_core/src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut app = App::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_core/src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut app = App::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mile_font` [INFO] [stdout] --> mile_core/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | let (ctx, runtime_cell, mile_font) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mile_font` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_core/src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut font = font.borrow_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_core/src/lib.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | let mut mui_runtime = self.mui_runtime.as_ref().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font` [INFO] [stdout] --> mile_core/src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut font = font.borrow_mut(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> mile_core/src/lib.rs:597:42 [INFO] [stdout] | [INFO] [stdout] 597 | WindowEvent::KeyboardInput { event, .. } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cursor_to_normalized` is never used [INFO] [stdout] --> mile_core/src/lib.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | fn cursor_to_normalized(window: &Window, position: PhysicalPosition) -> [f32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `App` should have a snake case name [INFO] [stdout] --> mile_core/src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | App: App, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> mile_core/src/lib.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | kennel.compute(&ctx.device, &ctx.queue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 355 | let _ = kennel.compute(&ctx.device, &ctx.queue); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_core/src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut app = App::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_core/src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let mut app = App::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mile_font` [INFO] [stdout] --> mile_core/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | let (ctx, runtime_cell, mile_font) = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mile_font` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_core/src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut font = font.borrow_mut(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mile_core/src/lib.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | let mut mui_runtime = self.mui_runtime.as_ref().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `font` [INFO] [stdout] --> mile_core/src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut font = font.borrow_mut(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_font` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> mile_core/src/lib.rs:597:42 [INFO] [stdout] | [INFO] [stdout] 597 | WindowEvent::KeyboardInput { event, .. } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `event: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cursor_to_normalized` is never used [INFO] [stdout] --> mile_core/src/lib.rs:456:4 [INFO] [stdout] | [INFO] [stdout] 456 | fn cursor_to_normalized(window: &Window, position: PhysicalPosition) -> [f32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `App` should have a snake case name [INFO] [stdout] --> mile_core/src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | App: App, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> mile_core/src/lib.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | kennel.compute(&ctx.device, &ctx.queue); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 355 | let _ = kennel.compute(&ctx.device, &ctx.queue); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShaderStage` [INFO] [stdout] --> example/src/showcase_ast_shader.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use mile_ui::mui_prototype::{Mui, ShaderStage, UiEventKind, UiPanelData, UiState}; [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 imports: `PanelPayload` and `UiPanelData` [INFO] [stdout] --> example/src/showcase_basic_layout.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | BorderStyle, Mui, PanelPayload, StateStageBuilder, UiEventKind, UiPanelData, UiState, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mile_ui::mui_anim::Easing` [INFO] [stdout] --> example/src/showcase_responsive.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mile_ui::mui_anim::Easing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorderStyle` [INFO] [stdout] --> example/src/showcase_responsive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | BorderStyle, Mui, StateStageBuilder, UiEventData, UiEventKind, UiPanelData, UiState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RelLayoutKind` and `RelSpace` [INFO] [stdout] --> example/src/showcase_responsive.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use mile_ui::mui_rel::{RelLayoutKind, RelSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> example/src/showcase_responsive.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | if (flow.payload_ref().lock_state) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - if (flow.payload_ref().lock_state) { [INFO] [stdout] 51 + if flow.payload_ref().lock_state { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> example/src/showcase_responsive.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | if (target.lock) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - if (target.lock) { [INFO] [stdout] 95 + if target.lock { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> example/src/showcase_responsive.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | if (target.lock == false) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - if (target.lock == false) { [INFO] [stdout] 127 + if target.lock == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> example/src/showcase_responsive.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | .size(vec2((x_max - x_min), 36.0)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - .size(vec2((x_max - x_min), 36.0)) [INFO] [stdout] 148 + .size(vec2(x_max - x_min , 36.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UiPanelData` [INFO] [stdout] --> example/src/showcase_test.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | mui_prototype::{Mui, UiEventKind, UiPanelData, UiState}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppEvent` and `App` [INFO] [stdout] --> example/src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use mile_core::{App, AppEvent}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event_loop::EventLoop` [INFO] [stdout] --> example/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use winit::event_loop::EventLoop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShaderStage` [INFO] [stdout] --> example/src/showcase_ast_shader.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use mile_ui::mui_prototype::{Mui, ShaderStage, UiEventKind, UiPanelData, UiState}; [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 imports: `PanelPayload` and `UiPanelData` [INFO] [stdout] --> example/src/showcase_basic_layout.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | BorderStyle, Mui, PanelPayload, StateStageBuilder, UiEventKind, UiPanelData, UiState, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mile_ui::mui_anim::Easing` [INFO] [stdout] --> example/src/showcase_responsive.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mile_ui::mui_anim::Easing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorderStyle` [INFO] [stdout] --> example/src/showcase_responsive.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | BorderStyle, Mui, StateStageBuilder, UiEventData, UiEventKind, UiPanelData, UiState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RelLayoutKind` and `RelSpace` [INFO] [stdout] --> example/src/showcase_responsive.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use mile_ui::mui_rel::{RelLayoutKind, RelSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> example/src/showcase_responsive.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | if (flow.payload_ref().lock_state) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - if (flow.payload_ref().lock_state) { [INFO] [stdout] 51 + if flow.payload_ref().lock_state { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> example/src/showcase_responsive.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | if (target.lock) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - if (target.lock) { [INFO] [stdout] 95 + if target.lock { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> example/src/showcase_responsive.rs:127:24 [INFO] [stdout] | [INFO] [stdout] 127 | if (target.lock == false) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 127 - if (target.lock == false) { [INFO] [stdout] 127 + if target.lock == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> example/src/showcase_responsive.rs:148:28 [INFO] [stdout] | [INFO] [stdout] 148 | .size(vec2((x_max - x_min), 36.0)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - .size(vec2((x_max - x_min), 36.0)) [INFO] [stdout] 148 + .size(vec2(x_max - x_min , 36.0)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UiPanelData` [INFO] [stdout] --> example/src/showcase_test.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | mui_prototype::{Mui, UiEventKind, UiPanelData, UiState}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> example/src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | mod showcase_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AppEvent` and `App` [INFO] [stdout] --> example/src/lib.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use mile_core::{App, AppEvent}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event_loop::EventLoop` [INFO] [stdout] --> example/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use winit::event_loop::EventLoop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> example/src/showcase_basic_layout.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | let mut data_test = flow.payload(); //这里是取出DataTest的可变引用 [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel` [INFO] [stdout] --> example/src/showcase_basic_layout.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let panel = Mui::::new(Box::leak(uuid.into_boxed_str()))? [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_panel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> example/src/showcase_basic_layout.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | let mut data_test = flow.payload(); //这里是取出DataTest的可变引用 [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `panel` [INFO] [stdout] --> example/src/showcase_basic_layout.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let panel = Mui::::new(Box::leak(uuid.into_boxed_str()))? [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_panel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> example/src/showcase_responsive.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | let t = ((pos.x - x_min) / len).clamp(0.0, 1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_panel` [INFO] [stdout] --> example/src/showcase_responsive.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let color_panel = Mui::::new("demo_color_target")? [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_panel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slider_thumb` [INFO] [stdout] --> example/src/showcase_responsive.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let slider_thumb = Mui::::new("demo_slider_thumb")? [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slider_thumb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slider_track` [INFO] [stdout] --> example/src/showcase_responsive.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let slider_track = Mui::::new("demo_slider_track")? [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slider_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_button` [INFO] [stdout] --> example/src/showcase_responsive.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let update_button = Mui::::new("demo_update_button")? [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> example/src/showcase_test.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | .target_drag_drop::(|flow, target_flow| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_flow` [INFO] [stdout] --> example/src/showcase_test.rs:83:57 [INFO] [stdout] | [INFO] [stdout] 83 | .target_drag_drop::(|flow, target_flow| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> example/src/showcase_test.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | .on_event(UiEventKind::Hover, |flow| {}) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> example/src/showcase_test.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | .on_event(UiEventKind::TargetDragDrop, |flow| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> example/src/showcase_test.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | .on_event(UiEventKind::Hover, |flow| {}) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataTest` is never constructed [INFO] [stdout] --> example/src/showcase_responsive.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct DataTest { [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 `TestCustomData` is never constructed [INFO] [stdout] --> example/src/showcase_responsive.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TestCustomData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> example/src/showcase_responsive.rs:106:25 [INFO] [stdout] | [INFO] [stdout] 106 | let t = ((pos.x - x_min) / len).clamp(0.0, 1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_panel` [INFO] [stdout] --> example/src/showcase_responsive.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let color_panel = Mui::::new("demo_color_target")? [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_panel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slider_thumb` [INFO] [stdout] --> example/src/showcase_responsive.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let slider_thumb = Mui::::new("demo_slider_thumb")? [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slider_thumb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slider_track` [INFO] [stdout] --> example/src/showcase_responsive.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let slider_track = Mui::::new("demo_slider_track")? [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slider_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_button` [INFO] [stdout] --> example/src/showcase_responsive.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let update_button = Mui::::new("demo_update_button")? [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> example/src/showcase_test.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | .target_drag_drop::(|flow, target_flow| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_flow` [INFO] [stdout] --> example/src/showcase_test.rs:83:57 [INFO] [stdout] | [INFO] [stdout] 83 | .target_drag_drop::(|flow, target_flow| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> example/src/showcase_test.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | .on_event(UiEventKind::Hover, |flow| {}) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> example/src/showcase_test.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 66 | .on_event(UiEventKind::TargetDragDrop, |flow| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flow` [INFO] [stdout] --> example/src/showcase_test.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | .on_event(UiEventKind::Hover, |flow| {}) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_flow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataTest` is never constructed [INFO] [stdout] --> example/src/showcase_responsive.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct DataTest { [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 `TestCustomData` is never constructed [INFO] [stdout] --> example/src/showcase_responsive.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TestCustomData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> example/src/bin/showcase_text.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_basic_layout.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_ast_shader.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_text.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_drag.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_responsive.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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 imports: `PathBuf`, `Path`, `fs`, and `io` [INFO] [stdout] --> example/src/bin/showcase_lua_basic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs, io, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [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 imports: `LuaDeployStatus` and `register_lua_api` [INFO] [stdout] --> example/src/bin/showcase_lua_basic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | register_lua_api, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | watch::{LuaDeployEvent, LuaDeployStatus, spawn_lua_watch}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Function`, `Lua`, and `Table` [INFO] [stdout] --> example/src/bin/showcase_lua_basic.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use mlua::{Function, Lua, Table}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> example/src/bin/showcase_basic_layout.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_animation.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_responsive.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_drag.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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 imports: `PathBuf`, `Path`, `fs`, and `io` [INFO] [stdout] --> example/src/bin/showcase_lua_basic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs, io, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [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 imports: `LuaDeployStatus` and `register_lua_api` [INFO] [stdout] --> example/src/bin/showcase_lua_basic.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | register_lua_api, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | watch::{LuaDeployEvent, LuaDeployStatus, spawn_lua_watch}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Function`, `Lua`, and `Table` [INFO] [stdout] --> example/src/bin/showcase_lua_basic.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | use mlua::{Function, Lua, Table}; [INFO] [stdout] | ^^^^^^^^ ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `App` [INFO] [stdout] --> example/src/bin/showcase_animation.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [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: `App` [INFO] [stdout] --> example/src/bin/showcase_ast_shader.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use mile_core::{App, Mile}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "87835e67c36866a2eb82bee1e9483f2dfe4fe23a2a8c7422ef855d220581b103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87835e67c36866a2eb82bee1e9483f2dfe4fe23a2a8c7422ef855d220581b103", kill_on_drop: false }` [INFO] [stdout] 87835e67c36866a2eb82bee1e9483f2dfe4fe23a2a8c7422ef855d220581b103