[INFO] cloning repository https://github.com/KIJEMORI/rust_GUI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KIJEMORI/rust_GUI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKIJEMORI%2Frust_GUI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKIJEMORI%2Frust_GUI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85dcad0e0604a599f1a3e35bab9ae9c40aa2f761 [INFO] checking KIJEMORI/rust_GUI against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKIJEMORI%2Frust_GUI" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KIJEMORI/rust_GUI [INFO] finished tweaking git repo https://github.com/KIJEMORI/rust_GUI [INFO] tweaked toml for git repo https://github.com/KIJEMORI/rust_GUI written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KIJEMORI/rust_GUI on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/KIJEMORI/rust_GUI 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-scanner v0.31.9 [INFO] [stderr] Downloaded wayland-cursor v0.31.13 [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v26.0.0 [INFO] [stderr] Downloaded wayland-client v0.31.13 [INFO] [stderr] Downloaded mimalloc v0.1.48 [INFO] [stderr] Downloaded wayland-backend v0.3.14 [INFO] [stderr] Downloaded wayland-sys v0.31.10 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.11 [INFO] [stderr] Downloaded wayland-protocols-plasma v0.3.11 [INFO] [stderr] Downloaded wayland-protocols v0.32.11 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7760f9c7979bf1018275e36e6785c84fb144503947f7afe9d77ea6fd494cc69 [INFO] running `Command { std: "docker" "start" "-a" "a7760f9c7979bf1018275e36e6785c84fb144503947f7afe9d77ea6fd494cc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7760f9c7979bf1018275e36e6785c84fb144503947f7afe9d77ea6fd494cc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7760f9c7979bf1018275e36e6785c84fb144503947f7afe9d77ea6fd494cc69", kill_on_drop: false }` [INFO] [stdout] a7760f9c7979bf1018275e36e6785c84fb144503947f7afe9d77ea6fd494cc69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cac52759224861b83c93f2b2672db7083072199525acca288cd97d395bda8e7 [INFO] running `Command { std: "docker" "start" "-a" "2cac52759224861b83c93f2b2672db7083072199525acca288cd97d395bda8e7", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling wayland-sys v0.31.10 [INFO] [stderr] Compiling wayland-backend v0.3.14 [INFO] [stderr] Compiling wayland-client v0.31.13 [INFO] [stderr] Compiling wayland-scanner v0.31.9 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.40 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling wgpu-hal v26.0.6 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Compiling libmimalloc-sys v0.1.44 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking rgb v0.8.53 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking av-scenechange v0.14.1 [INFO] [stderr] Checking zerocopy v0.8.40 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking mimalloc v0.1.48 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking rav1e v0.8.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.11 [INFO] [stderr] Checking wayland-cursor v0.31.13 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.11 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.11 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking winit v0.30.13 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking kj-light v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `wgpu::RenderPassColorAttachment` [INFO] [stdout] --> src/window/app_winit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use wgpu::RenderPassColorAttachment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/window/component/base/gpu_render_context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4` and `Vec3` [INFO] [stdout] --> src/window/component/base/gpu_render_context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use glam::{Mat4, Vec3}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::DerefMut` and `option` [INFO] [stdout] --> src/window/component/base/ui_command.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::Cell, ops::DerefMut, option, rc::Rc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BRICK_RES` and `GRID_RES` [INFO] [stdout] --> src/window/component/block_3d/model/sdf_command.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | managers::brick_3d_manager::{BRICK_RES, GRID_RES}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Mat4` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::Mat4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::component::base::component_type::SharedDrawable` [INFO] [stdout] --> src/window/component/interface/drawable.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::window::component::base::component_type::SharedDrawable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::component::base::scroll::Scroll` [INFO] [stdout] --> src/window/component/interface/drawable.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::window::component::base::scroll::Scroll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::iter::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModifiersKeyState` [INFO] [stdout] --> src/window/component/managers/edit_label_manager.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | keyboard::{Key, ModifiersKeyState, NamedKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstBaseLayout` [INFO] [stdout] --> src/window/component/panel.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::window::component::layout::const_base_layout::{ConstBaseLayout, Direction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/window/component/scroll_panel.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | let slider_x1 = (free_space * scroll_progress); [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] 194 - let slider_x1 = (free_space * scroll_progress); [INFO] [stdout] 194 + let slider_x1 = free_space * scroll_progress ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/window/component/scroll_panel.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | let slider_x1 = (free_space * scroll_progress); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - let slider_x1 = (free_space * scroll_progress); [INFO] [stdout] 320 + let slider_x1 = free_space * scroll_progress ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/window/wgpu/shape_vertex.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Queue` [INFO] [stdout] --> src/window/wgpu/shape_vertex.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | use wgpu::{BindGroupLayout, Buffer, Device, Queue, SurfaceConfiguration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpuCommand`, `GpuRenderContext`, `draw_args::DrawIndexedIndirectArgs`, and `uber_resourse_manager::UberResourceManager` [INFO] [stdout] --> src/window/wgpu/shape_vertex.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | component::base::gpu_render_context::{GpuCommand, GpuRenderContext}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | wgpu::{draw_args::DrawIndexedIndirectArgs, uber_resourse_manager::UberResourceManager}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instance::GPUInstance3DData` [INFO] [stdout] --> src/window/wgpu/wgpu_state.rs:2:68 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::window::wgpu::block_3d::{brick_uniform::GPUBrickRender, instance::GPUInstance3DData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderPass` [INFO] [stdout] --> src/window/wgpu/wgpu_state.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | Device, Queue, RenderPass, RenderPassColorAttachment, Surface as WgpuSurface, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::component::block_3d::model::cube::Cube` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::window::component::block_3d::model::cube::Cube; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::component::block_3d::model::tor::Tor` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::window::component::block_3d::model::tor::Tor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::RenderPassColorAttachment` [INFO] [stdout] --> src/window/app_winit.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use wgpu::RenderPassColorAttachment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/window/component/base/gpu_render_context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4` and `Vec3` [INFO] [stdout] --> src/window/component/base/gpu_render_context.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use glam::{Mat4, Vec3}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::DerefMut` and `option` [INFO] [stdout] --> src/window/component/base/ui_command.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::Cell, ops::DerefMut, option, rc::Rc, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BRICK_RES` and `GRID_RES` [INFO] [stdout] --> src/window/component/block_3d/model/sdf_command.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | managers::brick_3d_manager::{BRICK_RES, GRID_RES}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glam::Mat4` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::Mat4; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::component::base::component_type::SharedDrawable` [INFO] [stdout] --> src/window/component/interface/drawable.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::window::component::base::component_type::SharedDrawable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::component::base::scroll::Scroll` [INFO] [stdout] --> src/window/component/interface/drawable.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::window::component::base::scroll::Scroll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoParallelRefIterator` [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::iter::{IntoParallelIterator, IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModifiersKeyState` [INFO] [stdout] --> src/window/component/managers/edit_label_manager.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | keyboard::{Key, ModifiersKeyState, NamedKey}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConstBaseLayout` [INFO] [stdout] --> src/window/component/panel.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::window::component::layout::const_base_layout::{ConstBaseLayout, Direction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/window/component/scroll_panel.rs:194:37 [INFO] [stdout] | [INFO] [stdout] 194 | let slider_x1 = (free_space * scroll_progress); [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] 194 - let slider_x1 = (free_space * scroll_progress); [INFO] [stdout] 194 + let slider_x1 = free_space * scroll_progress ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/window/component/scroll_panel.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | let slider_x1 = (free_space * scroll_progress); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 320 - let slider_x1 = (free_space * scroll_progress); [INFO] [stdout] 320 + let slider_x1 = free_space * scroll_progress ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/window/wgpu/shape_vertex.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Queue` [INFO] [stdout] --> src/window/wgpu/shape_vertex.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | use wgpu::{BindGroupLayout, Buffer, Device, Queue, SurfaceConfiguration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpuCommand`, `GpuRenderContext`, `draw_args::DrawIndexedIndirectArgs`, and `uber_resourse_manager::UberResourceManager` [INFO] [stdout] --> src/window/wgpu/shape_vertex.rs:50:43 [INFO] [stdout] | [INFO] [stdout] 50 | component::base::gpu_render_context::{GpuCommand, GpuRenderContext}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | wgpu::{draw_args::DrawIndexedIndirectArgs, uber_resourse_manager::UberResourceManager}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instance::GPUInstance3DData` [INFO] [stdout] --> src/window/wgpu/wgpu_state.rs:2:68 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::window::wgpu::block_3d::{brick_uniform::GPUBrickRender, instance::GPUInstance3DData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderPass` [INFO] [stdout] --> src/window/wgpu/wgpu_state.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | Device, Queue, RenderPass, RenderPassColorAttachment, Surface as WgpuSurface, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::component::block_3d::model::cube::Cube` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::window::component::block_3d::model::cube::Cube; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::component::block_3d::model::tor::Tor` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::window::component::block_3d::model::tor::Tor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_offset` [INFO] [stdout] --> src/disk/manager.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some((file_offset, count)) = self.index.get(&id) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParallelIterator` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:2:44 [INFO] [stdout] | [INFO] [stdout] 2 | use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_offset` [INFO] [stdout] --> src/disk/manager.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some((file_offset, count)) = self.index.get(&id) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/window/component/base/scroll_slider.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let id = self.as_base().id; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/window/component/base/ui_3d_command.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 30 | Ui3DCommand::RotateCamera(_, x, y) | Ui3DCommand::ChangeDistanceCamera(_, x, y) => { [INFO] [stdout] | ------------------------------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 34 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/window/component/base/ui_3d_command.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 39 | / Ui3DCommand::RotateCamera(target, _, _) [INFO] [stdout] 40 | | | Ui3DCommand::ChangeDistanceCamera(target, _, _) => { [INFO] [stdout] | |_____________________________________________________________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 45 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/window/component/base/ui_3d_command.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 53 | Ui3DCommand::RotateCamera(id, _, _) | Ui3DCommand::ChangeDistanceCamera(id, _, _) => { [INFO] [stdout] | --------------------------------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 70 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 340 | fn set_offset(&mut self, x: f32, y: f32, area: &Area) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:340:38 [INFO] [stdout] | [INFO] [stdout] 340 | fn set_offset(&mut self, x: f32, y: f32, area: &Area) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:340:46 [INFO] [stdout] | [INFO] [stdout] 340 | fn set_offset(&mut self, x: f32, y: f32, area: &Area) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/window/component/interface/drawable.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | fn resize_one(&mut self, ctx: &LayoutContext) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/window/component/base/scroll_slider.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let id = self.as_base().id; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `family_name` [INFO] [stdout] --> src/window/component/label.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | fn set_font(&mut self, family_name: &'static str) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_family_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/window/component/base/ui_3d_command.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 30 | Ui3DCommand::RotateCamera(_, x, y) | Ui3DCommand::ChangeDistanceCamera(_, x, y) => { [INFO] [stdout] | ------------------------------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 34 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/window/component/base/ui_3d_command.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 39 | / Ui3DCommand::RotateCamera(target, _, _) [INFO] [stdout] 40 | | | Ui3DCommand::ChangeDistanceCamera(target, _, _) => { [INFO] [stdout] | |_____________________________________________________________- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 45 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/window/component/base/ui_3d_command.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 53 | Ui3DCommand::RotateCamera(id, _, _) | Ui3DCommand::ChangeDistanceCamera(id, _, _) => { [INFO] [stdout] | --------------------------------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 70 | _ => (), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/window/component/managers/animation_manager.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update(&mut self, tx: &Sender, id_manager: &IDManager) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 340 | fn set_offset(&mut self, x: f32, y: f32, area: &Area) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:340:38 [INFO] [stdout] | [INFO] [stdout] 340 | fn set_offset(&mut self, x: f32, y: f32, area: &Area) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/window/component/block_3d/viewport.rs:340:46 [INFO] [stdout] | [INFO] [stdout] 340 | fn set_offset(&mut self, x: f32, y: f32, area: &Area) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/window/component/interface/drawable.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | fn resize_one(&mut self, ctx: &LayoutContext) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `family_name` [INFO] [stdout] --> src/window/component/label.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | fn set_font(&mut self, family_name: &'static str) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_family_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/window/component/panel.rs:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | fn set_offset(&mut self, x: f32, y: f32, area: &Area) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/window/component/panel.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let mut command_to_send = cmd.clone(); [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: `tx` [INFO] [stdout] --> src/window/component/managers/animation_manager.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn update(&mut self, tx: &Sender, id_manager: &IDManager) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/window/component/scroll_panel.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let offset = scroll.get_offset(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush_data` [INFO] [stdout] --> src/window/wgpu/block_3d/brush_uniforms.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let brush_data = BrushUniform { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brush_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_data` [INFO] [stdout] --> src/window/wgpu/block_3d/brush_uniforms.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let area_data = BrickAreaUniform { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dx` [INFO] [stdout] --> src/window/wgpu/block_3d/camera_uniform.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn change_distance(&mut self, dx: f32, dy: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/window/component/panel.rs:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | fn set_offset(&mut self, x: f32, y: f32, area: &Area) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/window/component/panel.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | let mut command_to_send = cmd.clone(); [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: `offset` [INFO] [stdout] --> src/window/component/scroll_panel.rs:139:21 [INFO] [stdout] | [INFO] [stdout] 139 | let offset = scroll.get_offset(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_1` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn main_1() { [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 `DiskManager` is never constructed [INFO] [stdout] --> src/disk/manager.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DiskManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_model` and `load_model_to_gpu` are never used [INFO] [stdout] --> src/disk/manager.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DiskManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 15 | pub fn save_model(&mut self, id: u32, commands: &[SDFCommandRaw]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn load_model_to_gpu( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_drawable` and `get_tx` are never used [INFO] [stdout] --> src/window/app.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn as_drawable(&mut self) -> &SharedDrawable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_tx(&mut self) -> Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tx` is never used [INFO] [stdout] --> src/window/app_winit.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl AppWinit { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_tx(&self) -> Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window/component/base/area.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Size [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T: Copy, [INFO] [stdout] | |____________- associated function in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn new(w: T, h: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/window/component/base/area.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub trait AreaMath { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 73 | fn contains(&self, x: T, y: T) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_line` is never used [INFO] [stdout] --> src/window/component/base/gpu_render_context.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl GpuRenderContext { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn push_line( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderContext` is never constructed [INFO] [stdout] --> src/window/component/base/render_context.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RenderContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resize` and `set_offset` are never used [INFO] [stdout] --> src/window/component/base/scroll.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Scroll { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn resize(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_offset(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font_id` is never read [INFO] [stdout] --> src/window/component/base/settings.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub background_color: u32, [INFO] [stdout] 8 | pub font_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_font` is never used [INFO] [stdout] --> src/window/component/base/settings.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Settings { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_font(&mut self, font_id: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/window/component/base/ui_command.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum UiCommand { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | SetPosition(Cell>, Cell, Cell), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | ChangeColor(Cell>, u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | SetText(Cell>, String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Custom(Cell>, Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | SetScale(Cell>, u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | EditLabel(Cell>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | RequestRedrawWithoutResize(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | RequestRedrawWithTimer(Duration), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | SetOnClick(Cell>, Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | SetOnMouseEnter(Cell>, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | SetOnMouseLeave(Cell>, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | SetAnimation(Cell>, Rc>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | AddAnimation(Cell>, Rc), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | AddAnimationBatch(Cell>, Rc>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | StartAnimation(Cell>), [INFO] [stdout] 34 | None(), [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | Batch(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Other(Rc), [INFO] [stdout] 37 | DragItem(Cell>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UiCommand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/window/component/block_3d/model/cube.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cube {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window/component/block_3d/model/cube.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Cube { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(size: f32, position: [f32; 3]) -> SDFCommandExt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHAPE_TORUS` is never used [INFO] [stdout] --> src/window/component/block_3d/model/model.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const SHAPE_TORUS: f32 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHAPE_CILINDER` is never used [INFO] [stdout] --> src/window/component/block_3d/model/model.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const SHAPE_CILINDER: f32 = 4.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tor` is never constructed [INFO] [stdout] --> src/window/component/block_3d/model/tor.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Tor {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window/component/block_3d/model/tor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Tor { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(size1: f32, size2: f32, position: [f32; 3]) -> SDFCommandExt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_inv_matrix` and `to_inv_matrix_voxel` are never used [INFO] [stdout] --> src/window/component/block_3d/transform.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Transform { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn to_inv_matrix(&self) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn to_inv_matrix_voxel(&self) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_sdf_command_screen_rect` is never used [INFO] [stdout] --> src/window/component/block_3d/transform.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn calculate_sdf_command_screen_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_group_screen_rect` is never used [INFO] [stdout] --> src/window/component/block_3d/transform.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn calculate_group_screen_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window/component/edit_label.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl EditLabel { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 34 | pub fn new(text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_clickable` is never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait ClickableDrawable { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 31 | fn is_clickable(&self) -> bool; [INFO] [stdout] 32 | fn remove_clickable(&mut self) -> &mut dyn ClickableDrawable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_offset` is never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait ScrollableDrawable { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 55 | fn set_offset(&mut self, x: f32, y: f32, area: &Area); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `have_animation` is never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait AnimationDrawable { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 60 | fn have_animation(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_padding`, `set_margin`, and `get_padding` are never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait LayoutDrawable { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 78 | fn set_padding(&mut self, direction: Direction) -> &mut dyn LayoutDrawable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | fn set_margin(&mut self, direction: Direction) -> &mut dyn LayoutDrawable; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | fn get_padding(&self) -> &Direction; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_on_drag` and `set_on_drop` are never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DragableDrawable { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 95 | fn set_on_drag(&mut self, command: UiCommand) -> &mut dyn DragableDrawable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | fn set_in_drag(&mut self, command: UiCommand) -> &mut dyn DragableDrawable; [INFO] [stdout] 97 | fn set_on_drop(&mut self, command: UiCommand) -> &mut dyn DragableDrawable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/window/component/label.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Label { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn from_str(text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRID_RES` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GRID_RES: u32 = 32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRICK_RES` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const BRICK_RES: u32 = 8; // Разрешение одного кирпича [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATLAS_WIDTH` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const ATLAS_WIDTH: u32 = 4096; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATLAS_HEIGHT` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const ATLAS_HEIGHT: u32 = 4096; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_id` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl BrickManager { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_id(x: u32, y: u32, z: u32) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modifiers` is never read [INFO] [stdout] --> src/window/component/managers/edit_label_manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EditLabelManager { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 11 | edit_label: Option, [INFO] [stdout] 12 | modifiers: Modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_editing` is never used [INFO] [stdout] --> src/window/component/managers/edit_label_manager.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl EditLabelManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 25 | pub fn is_editing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_by_id` and `cleanup` are never used [INFO] [stdout] --> src/window/component/managers/id_manager.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl IDManager { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_by_id(&self, id: &u32) -> Option<&WeakSharedDrawable> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn cleanup(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `brush_data` [INFO] [stdout] --> src/window/wgpu/block_3d/brush_uniforms.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let brush_data = BrushUniform { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_brush_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_data` [INFO] [stdout] --> src/window/wgpu/block_3d/brush_uniforms.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let area_data = BrickAreaUniform { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_color`, `set_width`, and `set_radius` are never used [INFO] [stdout] --> src/window/component/theme/border.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Border { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 18 | pub fn set_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn set_width(&mut self, width: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn set_radius(&mut self, radius: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `atlas_texture` is never read [INFO] [stdout] --> src/window/wgpu/block_3d/brick_uniform.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GPUBrickRender { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub atlas_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sculpt_brick` is never used [INFO] [stdout] --> src/window/wgpu/block_3d/brush_uniforms.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn sculpt_brick( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GPUInstance3DData` is never constructed [INFO] [stdout] --> src/window/wgpu/block_3d/instance.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GPUInstance3DData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `recreate_bind_group` are never used [INFO] [stdout] --> src/window/wgpu/block_3d/instance.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl GPUInstance3DData { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn recreate_bind_group(&mut self, device: &Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHAPE_LINE` is never used [INFO] [stdout] --> src/window/wgpu/shape_vertex.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SHAPE_LINE: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dx` [INFO] [stdout] --> src/window/wgpu/block_3d/camera_uniform.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn change_distance(&mut self, dx: f32, dy: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_1` is never used [INFO] [stdout] --> src/main.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn main_1() { [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 `DiskManager` is never constructed [INFO] [stdout] --> src/disk/manager.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DiskManager { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save_model` and `load_model_to_gpu` are never used [INFO] [stdout] --> src/disk/manager.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl DiskManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 15 | pub fn save_model(&mut self, id: u32, commands: &[SDFCommandRaw]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn load_model_to_gpu( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_drawable` and `get_tx` are never used [INFO] [stdout] --> src/window/app.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn as_drawable(&mut self) -> &SharedDrawable { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_tx(&mut self) -> Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tx` is never used [INFO] [stdout] --> src/window/app_winit.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl AppWinit { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_tx(&self) -> Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window/component/base/area.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 11 | / impl Size [INFO] [stdout] 12 | | where [INFO] [stdout] 13 | | T: Copy, [INFO] [stdout] | |____________- associated function in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn new(w: T, h: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> src/window/component/base/area.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub trait AreaMath { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 73 | fn contains(&self, x: T, y: T) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_line` is never used [INFO] [stdout] --> src/window/component/base/gpu_render_context.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl GpuRenderContext { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn push_line( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderContext` is never constructed [INFO] [stdout] --> src/window/component/base/render_context.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RenderContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resize` and `set_offset` are never used [INFO] [stdout] --> src/window/component/base/scroll.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Scroll { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn resize(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn set_offset(&mut self, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `font_id` is never read [INFO] [stdout] --> src/window/component/base/settings.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub background_color: u32, [INFO] [stdout] 8 | pub font_id: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_font` is never used [INFO] [stdout] --> src/window/component/base/settings.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Settings { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set_font(&mut self, font_id: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/window/component/base/ui_command.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum UiCommand { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | SetPosition(Cell>, Cell, Cell), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | ChangeColor(Cell>, u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | SetText(Cell>, String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | Custom(Cell>, Rc), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | SetScale(Cell>, u16), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | EditLabel(Cell>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | RequestRedrawWithoutResize(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | RequestRedrawWithTimer(Duration), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | SetOnClick(Cell>, Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | SetOnMouseEnter(Cell>, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | SetOnMouseLeave(Cell>, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | SetAnimation(Cell>, Rc>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | AddAnimation(Cell>, Rc), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | AddAnimationBatch(Cell>, Rc>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | StartAnimation(Cell>), [INFO] [stdout] 34 | None(), [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | Batch(Vec), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 36 | Other(Rc), [INFO] [stdout] 37 | DragItem(Cell>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UiCommand` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cube` is never constructed [INFO] [stdout] --> src/window/component/block_3d/model/cube.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cube {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window/component/block_3d/model/cube.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Cube { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(size: f32, position: [f32; 3]) -> SDFCommandExt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHAPE_TORUS` is never used [INFO] [stdout] --> src/window/component/block_3d/model/model.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const SHAPE_TORUS: f32 = 3.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHAPE_CILINDER` is never used [INFO] [stdout] --> src/window/component/block_3d/model/model.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const SHAPE_CILINDER: f32 = 4.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tor` is never constructed [INFO] [stdout] --> src/window/component/block_3d/model/tor.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Tor {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window/component/block_3d/model/tor.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Tor { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(size1: f32, size2: f32, position: [f32; 3]) -> SDFCommandExt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_inv_matrix` and `to_inv_matrix_voxel` are never used [INFO] [stdout] --> src/window/component/block_3d/transform.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Transform { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn to_inv_matrix(&self) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn to_inv_matrix_voxel(&self) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_sdf_command_screen_rect` is never used [INFO] [stdout] --> src/window/component/block_3d/transform.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn calculate_sdf_command_screen_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_group_screen_rect` is never used [INFO] [stdout] --> src/window/component/block_3d/transform.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn calculate_group_screen_rect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/window/component/edit_label.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl EditLabel { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 34 | pub fn new(text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_clickable` is never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait ClickableDrawable { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 31 | fn is_clickable(&self) -> bool; [INFO] [stdout] 32 | fn remove_clickable(&mut self) -> &mut dyn ClickableDrawable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_offset` is never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait ScrollableDrawable { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 55 | fn set_offset(&mut self, x: f32, y: f32, area: &Area); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `have_animation` is never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait AnimationDrawable { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 60 | fn have_animation(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_padding`, `set_margin`, and `get_padding` are never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub trait LayoutDrawable { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 78 | fn set_padding(&mut self, direction: Direction) -> &mut dyn LayoutDrawable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | fn set_margin(&mut self, direction: Direction) -> &mut dyn LayoutDrawable; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 80 | fn get_padding(&self) -> &Direction; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_on_drag` and `set_on_drop` are never used [INFO] [stdout] --> src/window/component/interface/drawable.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub trait DragableDrawable { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 95 | fn set_on_drag(&mut self, command: UiCommand) -> &mut dyn DragableDrawable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 96 | fn set_in_drag(&mut self, command: UiCommand) -> &mut dyn DragableDrawable; [INFO] [stdout] 97 | fn set_on_drop(&mut self, command: UiCommand) -> &mut dyn DragableDrawable; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/window/component/label.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Label { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn from_str(text: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRID_RES` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GRID_RES: u32 = 32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BRICK_RES` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const BRICK_RES: u32 = 8; // Разрешение одного кирпича [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATLAS_WIDTH` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const ATLAS_WIDTH: u32 = 4096; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ATLAS_HEIGHT` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const ATLAS_HEIGHT: u32 = 4096; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_id` is never used [INFO] [stdout] --> src/window/component/managers/brick_3d_manager.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl BrickManager { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 125 | fn get_id(x: u32, y: u32, z: u32) -> u32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modifiers` is never read [INFO] [stdout] --> src/window/component/managers/edit_label_manager.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EditLabelManager { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 11 | edit_label: Option, [INFO] [stdout] 12 | modifiers: Modifiers, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_editing` is never used [INFO] [stdout] --> src/window/component/managers/edit_label_manager.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl EditLabelManager { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 25 | pub fn is_editing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_by_id` and `cleanup` are never used [INFO] [stdout] --> src/window/component/managers/id_manager.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl IDManager { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_by_id(&self, id: &u32) -> Option<&WeakSharedDrawable> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn cleanup(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_color`, `set_width`, and `set_radius` are never used [INFO] [stdout] --> src/window/component/theme/border.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Border { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 18 | pub fn set_color(&mut self, color: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn set_width(&mut self, width: f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn set_radius(&mut self, radius: f32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `atlas_texture` is never read [INFO] [stdout] --> src/window/wgpu/block_3d/brick_uniform.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GPUBrickRender { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub atlas_texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sculpt_brick` is never used [INFO] [stdout] --> src/window/wgpu/block_3d/brush_uniforms.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn sculpt_brick( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GPUInstance3DData` is never constructed [INFO] [stdout] --> src/window/wgpu/block_3d/instance.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GPUInstance3DData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `recreate_bind_group` are never used [INFO] [stdout] --> src/window/wgpu/block_3d/instance.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl GPUInstance3DData { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn recreate_bind_group(&mut self, device: &Device) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHAPE_LINE` is never used [INFO] [stdout] --> src/window/wgpu/shape_vertex.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SHAPE_LINE: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "2cac52759224861b83c93f2b2672db7083072199525acca288cd97d395bda8e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cac52759224861b83c93f2b2672db7083072199525acca288cd97d395bda8e7", kill_on_drop: false }` [INFO] [stdout] 2cac52759224861b83c93f2b2672db7083072199525acca288cd97d395bda8e7