[INFO] cloning repository https://github.com/miladxandi/esht [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miladxandi/esht" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiladxandi%2Fesht", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiladxandi%2Fesht'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a68756e9737b910467d838f9aaf468947f9dcfe7 [INFO] checking miladxandi/esht against f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8 for pr-164277 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiladxandi%2Fesht" "/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/miladxandi/esht [INFO] finished tweaking git repo https://github.com/miladxandi/esht [INFO] tweaked toml for git repo https://github.com/miladxandi/esht written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/miladxandi/esht on toolchain f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/miladxandi/esht 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" "+f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded defmt v1.1.0 [INFO] [stderr] Downloaded jiff-static v0.2.29 [INFO] [stderr] Downloaded defmt-macros v1.1.0 [INFO] [stderr] Downloaded hecs v0.10.5 [INFO] [stderr] Downloaded jiff v0.2.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa [INFO] running `Command { std: "docker" "start" "b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa" "/opt/rustwide/cargo-home/bin/cargo" "+f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa" "/opt/rustwide/cargo-home/bin/cargo" "+f90a2d27c2a1e18f10f4fd84c0dcd02710c37de8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling memchr v2.8.2 [INFO] [stderr] Compiling cc v1.2.65 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Checking rustix v1.1.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.118 [INFO] [stderr] Checking wayland-sys v0.31.11 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking arrayvec v0.7.7 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking memmap2 v0.9.11 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling wgpu-hal v0.19.5 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling quick-xml v0.39.4 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rustc-hash v2.1.2 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking type-map v0.5.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking jiff v0.2.29 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking ecolor v0.27.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking emath v0.27.2 [INFO] [stderr] Checking regex v1.12.4 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking env_filter v2.0.0 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking env_logger v0.11.11 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wayland-client v0.31.14 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking epaint v0.27.2 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking hecs v0.10.5 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking wayland-protocols v0.32.13 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking egui v0.27.2 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking wayland-protocols-misc v0.3.12 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking egui-winit v0.27.2 [INFO] [stderr] Checking egui-wgpu v0.27.2 [INFO] [stderr] Checking esht-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CommandEncoder` and `TextureView` [INFO] [stdout] --> src/engine/renderer.rs:2:58 [INFO] [stdout] | [INFO] [stdout] 2 | use wgpu::{Device, Queue, Surface, SurfaceConfiguration, CommandEncoder, TextureView}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ECSWorld` is never constructed [INFO] [stdout] --> src/engine/ecs.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ECSWorld { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `spawn_entity` are never used [INFO] [stdout] --> src/engine/ecs.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl ECSWorld { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn spawn_entity(&mut self) -> hecs::Entity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameLoop` is never constructed [INFO] [stdout] --> src/engine/game_loop.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GameLoop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `tick`, and `delta_time` are never used [INFO] [stdout] --> src/engine/game_loop.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl GameLoop { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn tick(&mut self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn delta_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transform` is never constructed [INFO] [stdout] --> src/engine/scene.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matrix` is never used [INFO] [stdout] --> src/engine/scene.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Transform { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 19 | /// ماتریس model به‌صورت column-major برای WGSL [INFO] [stdout] 20 | pub fn matrix(&self) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/engine/scene.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Velocity` is never constructed [INFO] [stdout] --> src/engine/scene.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Velocity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scene` is never constructed [INFO] [stdout] --> src/engine/scene.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Scene { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn_sprite`, `move_entity`, `despawn`, and `update` are never used [INFO] [stdout] --> src/engine/scene.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Scene { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 58 | pub fn spawn_sprite(&mut self, x: f32, y: f32, texture_id: u32) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn move_entity(&mut self, e: Entity, dx: f32, dy: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn despawn(&mut self, e: Entity) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn update(&mut self, dt: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUAD` is never used [INFO] [stdout] --> src/engine/sprite.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const QUAD: &[Vertex] = &[ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/engine/sprite.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const INDICES: &[u16] = &[0, 1, 2, 0, 2, 3]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpritePipeline` is never constructed [INFO] [stdout] --> src/engine/sprite.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SpritePipeline { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw` are never used [INFO] [stdout] --> src/engine/sprite.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl SpritePipeline { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new(device: &wgpu::Device, format: wgpu::TextureFormat) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn draw<'a>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHADER` is never used [INFO] [stdout] --> src/engine/sprite.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | const SHADER: &str = r#" [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_texture` is never used [INFO] [stdout] --> src/engine/sprite.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn create_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Audio`, `Scene`, and `Unknown` are never constructed [INFO] [stdout] --> src/editor/file_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum FileType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Image, [INFO] [stdout] 7 | Audio, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Script, [INFO] [stdout] 9 | Scene, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileType` 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 function `from_name` is never used [INFO] [stdout] --> src/editor/file_manager.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl FileType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from_name(name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `data`, and `text` are never read [INFO] [stdout] --> src/editor/file_manager.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AssetFile { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | pub name: String, [INFO] [stdout] 48 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub data: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | /// محتوای متنی (برای اسکریپت‌ها و JSON) [INFO] [stdout] 53 | pub text: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetFile` 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 function `new` is never used [INFO] [stdout] --> src/editor/file_manager.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AssetFile { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(name: String, data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_pending_drop`, `get_selected_asset`, and `assets` are never used [INFO] [stdout] --> src/editor/file_manager.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl FileManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn take_pending_drop(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn get_selected_asset(&self) -> Option<&AssetFile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn assets(&self) -> &[AssetFile] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SceneCommand` is never used [INFO] [stdout] --> src/scripting/js_runtime.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum SceneCommand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsRuntime` is never constructed [INFO] [stdout] --> src/scripting/js_runtime.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct JsRuntime; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `eval`, and `apply_commands` are never used [INFO] [stdout] --> src/scripting/js_runtime.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl JsRuntime { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn eval(&self, _code: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn apply_commands(&self, _scene: &mut crate::engine::scene::Scene) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandEncoder` and `TextureView` [INFO] [stdout] --> src/engine/renderer.rs:2:58 [INFO] [stdout] | [INFO] [stdout] 2 | use wgpu::{Device, Queue, Surface, SurfaceConfiguration, CommandEncoder, TextureView}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ECSWorld` is never constructed [INFO] [stdout] --> src/engine/ecs.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ECSWorld { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `spawn_entity` are never used [INFO] [stdout] --> src/engine/ecs.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl ECSWorld { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn spawn_entity(&mut self) -> hecs::Entity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameLoop` is never constructed [INFO] [stdout] --> src/engine/game_loop.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GameLoop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `tick`, and `delta_time` are never used [INFO] [stdout] --> src/engine/game_loop.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl GameLoop { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn tick(&mut self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn delta_time(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transform` is never constructed [INFO] [stdout] --> src/engine/scene.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Transform { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matrix` is never used [INFO] [stdout] --> src/engine/scene.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Transform { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 19 | /// ماتریس model به‌صورت column-major برای WGSL [INFO] [stdout] 20 | pub fn matrix(&self) -> [[f32; 4]; 4] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/engine/scene.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Sprite { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Velocity` is never constructed [INFO] [stdout] --> src/engine/scene.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Velocity { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scene` is never constructed [INFO] [stdout] --> src/engine/scene.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Scene { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn_sprite`, `move_entity`, `despawn`, and `update` are never used [INFO] [stdout] --> src/engine/scene.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Scene { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 58 | pub fn spawn_sprite(&mut self, x: f32, y: f32, texture_id: u32) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn move_entity(&mut self, e: Entity, dx: f32, dy: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn despawn(&mut self, e: Entity) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn update(&mut self, dt: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUAD` is never used [INFO] [stdout] --> src/engine/sprite.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const QUAD: &[Vertex] = &[ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDICES` is never used [INFO] [stdout] --> src/engine/sprite.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const INDICES: &[u16] = &[0, 1, 2, 0, 2, 3]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpritePipeline` is never constructed [INFO] [stdout] --> src/engine/sprite.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SpritePipeline { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `draw` are never used [INFO] [stdout] --> src/engine/sprite.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl SpritePipeline { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new(device: &wgpu::Device, format: wgpu::TextureFormat) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn draw<'a>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHADER` is never used [INFO] [stdout] --> src/engine/sprite.rs:158:7 [INFO] [stdout] | [INFO] [stdout] 158 | const SHADER: &str = r#" [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_texture` is never used [INFO] [stdout] --> src/engine/sprite.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn create_texture( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Audio`, `Scene`, and `Unknown` are never constructed [INFO] [stdout] --> src/editor/file_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum FileType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 6 | Image, [INFO] [stdout] 7 | Audio, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Script, [INFO] [stdout] 9 | Scene, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileType` 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 function `from_name` is never used [INFO] [stdout] --> src/editor/file_manager.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl FileType { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 14 | pub fn from_name(name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `data`, and `text` are never read [INFO] [stdout] --> src/editor/file_manager.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct AssetFile { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | pub name: String, [INFO] [stdout] 48 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub data: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | /// محتوای متنی (برای اسکریپت‌ها و JSON) [INFO] [stdout] 53 | pub text: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetFile` 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 function `new` is never used [INFO] [stdout] --> src/editor/file_manager.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AssetFile { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 57 | pub fn new(name: String, data: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_pending_drop`, `get_selected_asset`, and `assets` are never used [INFO] [stdout] --> src/editor/file_manager.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 90 | impl FileManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn take_pending_drop(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn get_selected_asset(&self) -> Option<&AssetFile> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn assets(&self) -> &[AssetFile] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SceneCommand` is never used [INFO] [stdout] --> src/scripting/js_runtime.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum SceneCommand { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsRuntime` is never constructed [INFO] [stdout] --> src/scripting/js_runtime.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct JsRuntime; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `eval`, and `apply_commands` are never used [INFO] [stdout] --> src/scripting/js_runtime.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl JsRuntime { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn eval(&self, _code: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn apply_commands(&self, _scene: &mut crate::engine::scene::Scene) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `env_logger` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | env_logger = "0.11" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `env_logger` [INFO] [stderr] warning: unused dependency `web-time` [INFO] [stderr] --> Cargo.toml:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | web-time = "1.1" [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `web-time` [INFO] [stderr] warning: `esht-engine` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa", kill_on_drop: false }` [INFO] [stdout] b98be44b3d770d251ec9eccd1a16e818487183c7f4f3799846477572051b62aa