[INFO] cloning repository https://github.com/Barca545/asset_modifer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Barca545/asset_modifer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBarca545%2Fasset_modifer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBarca545%2Fasset_modifer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84edf901b39c0ed1825d223b0cbeb50fef0c5634 [INFO] checking Barca545/asset_modifer/84edf901b39c0ed1825d223b0cbeb50fef0c5634 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBarca545%2Fasset_modifer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Barca545/asset_modifer on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Barca545/asset_modifer [INFO] finished tweaking git repo https://github.com/Barca545/asset_modifer [INFO] tweaked toml for git repo https://github.com/Barca545/asset_modifer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Barca545/asset_modifer 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d90a30de541787ce0e4e829719cf1667107afaec3d051b3c2cc0f9649a42ffa3 [INFO] running `Command { std: "docker" "start" "-a" "d90a30de541787ce0e4e829719cf1667107afaec3d051b3c2cc0f9649a42ffa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d90a30de541787ce0e4e829719cf1667107afaec3d051b3c2cc0f9649a42ffa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d90a30de541787ce0e4e829719cf1667107afaec3d051b3c2cc0f9649a42ffa3", kill_on_drop: false }` [INFO] [stdout] d90a30de541787ce0e4e829719cf1667107afaec3d051b3c2cc0f9649a42ffa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78332adc7df454cbfc9f91343b437c021f34c6777ca58ee6c627fc1ba51cd88a [INFO] running `Command { std: "docker" "start" "-a" "78332adc7df454cbfc9f91343b437c021f34c6777ca58ee6c627fc1ba51cd88a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling cfg-expr v0.15.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling eyre v0.3.10 [INFO] [stderr] Checking robust v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Compiling rfd v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling gl v0.1.0 (/opt/rustwide/workdir/gl) [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking indenter v0.1.3 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking glfw v0.53.0 [INFO] [stderr] Checking spade v2.5.1 [INFO] [stderr] Checking tobj v4.0.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking polygon_clipping v0.1.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling gtk-sys v0.18.0 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking nalgebra-glm v0.18.0 [INFO] [stderr] Checking parry2d v0.13.5 [INFO] [stderr] Checking asset_manager v0.1.0 (/opt/rustwide/workdir/asset_manager) [INFO] [stdout] warning: unused imports: `LINE_LOOP`, `LINE_STRIP`, and `POINTS` [INFO] [stdout] --> asset_manager/src/render/render_mesh.rs:1:79 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{Gl, TRIANGLES, UNSIGNED_INT, types::{GLsizei, GLvoid, GLint}, LINES, POINTS, LINE_STRIP, LINE_LOOP}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_object` [INFO] [stdout] --> asset_manager/src/polygons/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | grid::{Grid, map_object, map_object_with_material, Terrain} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> asset_manager/src/math/mod.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | aliases::{Mat4,Vec2,Vec3,Vec4, inverse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_object` [INFO] [stdout] --> asset_manager/src/filesystem/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | load_object, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> asset_manager/src/ecs/component_lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_entity::QueryEntity` [INFO] [stdout] --> asset_manager/src/ecs/query/mod.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::{query::Query, query_entity::QueryEntity}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutlineMesh` [INFO] [stdout] --> asset_manager/src/ecs/systems/render.rs:5:111 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ecs::{World, world_resources::{ShaderPrograms, ShouldRender, ProgramType}, component_lib::{Asset, OutlineMesh, Position, Norm... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `systems::render` [INFO] [stdout] --> asset_manager/src/ecs/mod.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | systems::render [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `camera_input::CameraInput` [INFO] [stdout] --> asset_manager/src/input_manager/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | camera_input::CameraInput, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LINE_LOOP`, `LINE_STRIP`, and `POINTS` [INFO] [stdout] --> asset_manager/src/render/render_mesh.rs:1:79 [INFO] [stdout] | [INFO] [stdout] 1 | use gl::{Gl, TRIANGLES, UNSIGNED_INT, types::{GLsizei, GLvoid, GLint}, LINES, POINTS, LINE_STRIP, LINE_LOOP}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `map_object` [INFO] [stdout] --> asset_manager/src/polygons/mod.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | grid::{Grid, map_object, map_object_with_material, Terrain} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec2` [INFO] [stdout] --> asset_manager/src/math/mod.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | aliases::{Mat4,Vec2,Vec3,Vec4, inverse}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_object` [INFO] [stdout] --> asset_manager/src/filesystem/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | load_object, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> asset_manager/src/ecs/component_lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query_entity::QueryEntity` [INFO] [stdout] --> asset_manager/src/ecs/query/mod.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::{query::Query, query_entity::QueryEntity}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutlineMesh` [INFO] [stdout] --> asset_manager/src/ecs/systems/render.rs:5:111 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ecs::{World, world_resources::{ShaderPrograms, ShouldRender, ProgramType}, component_lib::{Asset, OutlineMesh, Position, Norm... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `systems::render` [INFO] [stdout] --> asset_manager/src/ecs/mod.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | systems::render [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `camera_input::CameraInput` [INFO] [stdout] --> asset_manager/src/input_manager/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | camera_input::CameraInput, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ecs::query::query::Query::<'a>::run`: Query Entity method does it better [INFO] [stdout] --> asset_manager/src/ecs/query/query.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | let query_result = query.run(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn quick_hull(points:Vec){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hull` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | let hull = vec![first_point]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | let mut k = k; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | let mut current_point = first_point; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_point` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | fn nearest_points(current_point:Vec3, points:&Vec, k:u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:156:39 [INFO] [stdout] | [INFO] [stdout] 156 | fn nearest_points(current_point:Vec3, points:&Vec, k:u32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:156:58 [INFO] [stdout] | [INFO] [stdout] 156 | fn nearest_points(current_point:Vec3, points:&Vec, k:u32) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_point` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | fn sort_by_angle(current_point:Vec3, points:&mut Vec, previous_angle:&mut f32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | fn sort_by_angle(current_point:Vec3, points:&mut Vec, previous_angle:&mut f32) -> Vec{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_angle` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:161:61 [INFO] [stdout] | [INFO] [stdout] 161 | fn sort_by_angle(current_point:Vec3, points:&mut Vec, previous_angle:&mut f32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn quick_hull(points:Vec){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hull` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:78:7 [INFO] [stdout] | [INFO] [stdout] 78 | let hull = vec![first_point]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | let mut k = k; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:84:7 [INFO] [stdout] | [INFO] [stdout] 84 | let mut current_point = first_point; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_point` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | fn nearest_points(current_point:Vec3, points:&Vec, k:u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:156:39 [INFO] [stdout] | [INFO] [stdout] 156 | fn nearest_points(current_point:Vec3, points:&Vec, k:u32) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:156:58 [INFO] [stdout] | [INFO] [stdout] 156 | fn nearest_points(current_point:Vec3, points:&Vec, k:u32) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_point` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | fn sort_by_angle(current_point:Vec3, points:&mut Vec, previous_angle:&mut f32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `points` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:161:38 [INFO] [stdout] | [INFO] [stdout] 161 | fn sort_by_angle(current_point:Vec3, points:&mut Vec, previous_angle:&mut f32) -> Vec{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_angle` [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:161:61 [INFO] [stdout] | [INFO] [stdout] 161 | fn sort_by_angle(current_point:Vec3, points:&mut Vec, previous_angle:&mut f32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_angle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> asset_manager/src/ecs/systems/input.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | if let Mode::Drawing(mode) = &input_manager.mode { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> asset_manager/src/render/vertex.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const RED:[f32;4] = [1.0,0.0,0.0,1.0]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertices`, `vbo`, and `ebo` are never read [INFO] [stdout] --> asset_manager/src/render/mesh.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub vertices:Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub vbo:ArrayBuffer, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub ebo:ElementArrayBuffer [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vbo` is never read [INFO] [stdout] --> asset_manager/src/render/mesh.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct LineMesh{ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 167 | pub vbo:ArrayBuffer, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unbind` is never used [INFO] [stdout] --> asset_manager/src/render/texture.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Texture { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn unbind(&self, gl:&Gl) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConvexPolygon` is never constructed [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConvexPolygon{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl ConvexPolygon { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 11 | pub fn new(object_position:Point, vertices:Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_hull` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn quick_hull(points:Vec){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pseudo_dist` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn pseudo_dist(a:Point, b:Point, p:Point) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `orientation` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn orientation(a:Point, b:Point, p:Point) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concave_hull` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn concave_hull(points:Vec, k:u32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_x` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn min_x(points:&Vec) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_y` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn min_y(points:&Vec) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nearest_points` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn nearest_points(current_point:Vec3, points:&Vec, k:u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_angle` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn sort_by_angle(current_point:Vec3, points:&mut Vec, previous_angle:&mut f32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_object` is never used [INFO] [stdout] --> asset_manager/src/polygons/grid.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn map_object(gl:&Gl, object_vertices:&Vec, object_indices:&Vec, grid:&mut Grid, grid_mesh:&mut GridMesh){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> asset_manager/src/math/point.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Point{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | pub x:f32, [INFO] [stdout] | ^ [INFO] [stdout] 7 | pub y:f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub z:f32 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> asset_manager/src/math/point.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 21 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(x:f32, y:f32, z:f32 ) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vec2` is never used [INFO] [stdout] --> asset_manager/src/math/aliases.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Vec2 = TVec2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inverse_direction` is never read [INFO] [stdout] --> asset_manager/src/math/ray.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RayCast { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub(crate) inverse_direction:Vec3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RayCast` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ray_plane_intersection` is never used [INFO] [stdout] --> asset_manager/src/math/ray.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl RayCast { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn ray_plane_intersection(&self, plane_normal:Vec3, plane_origin:Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IllegalTextureFormat` is never constructed [INFO] [stdout] --> asset_manager/src/errors/filesystem_errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FilesystemErrors { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | IllegalTextureFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilesystemErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GL_INVALID_VALUE` and `GL_INVALID_OPERATION` are never constructed [INFO] [stdout] --> asset_manager/src/errors/shader_errors.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ShaderErrors { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 6 | #[error("Shader is not a value generated by OpenGL or maxLength is less than 0.")] [INFO] [stdout] 7 | GL_INVALID_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | #[error("Shader is not a value generated by OpenGL.")] [INFO] [stdout] 9 | GL_INVALID_OPERATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EntityDoesNotExist`, `DowncastToWrongType`, `NoResourceAtPath`, and `ExeResourceRegistrationFailed` are never constructed [INFO] [stdout] --> asset_manager/src/errors/ecs_errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum EcsErrors { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | EntityDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | DowncastToWrongType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("No resource found at given path")] [INFO] [stdout] 16 | NoResourceAtPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Unable to read the exe at the given path")] [INFO] [stdout] 18 | ExeResourceRegistrationFailed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcsErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_object` is never used [INFO] [stdout] --> asset_manager/src/filesystem/loading.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn load_object(name:&str) -> Result<(Vec,Vec)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name_to_path_string` is never used [INFO] [stdout] --> asset_manager/src/filesystem/loading.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn name_to_path_string(name:&str, extension:&str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file_dialog` is never used [INFO] [stdout] --> asset_manager/src/filesystem/saving.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn save_file_dialog(){} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_grid` is never used [INFO] [stdout] --> asset_manager/src/filesystem/saving.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn save_grid(grid:&Grid, path:&str) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> asset_manager/src/ecs/component_lib.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct OutlineMesh(pub Mesh); [INFO] [stdout] | ----------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> asset_manager/src/ecs/component_lib.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 46 | impl OutlineMesh{ [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 47 | pub fn new(gl:&Gl, vertices:Vec, indices:Vec, texture_name:&str) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_component_by_entity_id`, `add_component_by_entity_id`, and `delete_entity` are never used [INFO] [stdout] --> asset_manager/src/ecs/entities.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 39 | impl Entities { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn delete_component_by_entity_id(&mut self, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn add_component_by_entity_id(&mut self, data:impl Any, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn delete_entity(&mut self, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QueryIndices` is never used [INFO] [stdout] --> asset_manager/src/ecs/query/query.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type QueryIndices = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QueryComponents` is never used [INFO] [stdout] --> asset_manager/src/ecs/query/query.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type QueryComponents = Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> asset_manager/src/ecs/query/query.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> Query<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn run(&self) -> (QueryIndices, QueryComponents) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> asset_manager/src/ecs/resources.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 12 | impl Resource { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn remove(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> asset_manager/src/ecs/systems/input.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | if let Mode::Drawing(mode) = &input_manager.mode { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_asset` is never used [INFO] [stdout] --> asset_manager/src/ecs/systems/render.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn render_asset(){} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_outline` is never used [INFO] [stdout] --> asset_manager/src/ecs/systems/render.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_outline(){} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `immut_get_component_by_entity_id`, `mut_get_component_by_entity_id`, `remove_resource`, `delete_component_by_entity_id`, `add_component_to_entity_by_id`, and `delete_entity` are never used [INFO] [stdout] --> asset_manager/src/ecs/world/world.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 50 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn immut_get_component_by_entity_id(&self, id:usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn mut_get_component_by_entity_id(&self, id:usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn remove_resource(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn delete_component_by_entity_id(&mut self, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn add_component_to_entity_by_id(&mut self, data:impl Any, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn delete_entity(&mut self, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Selected` is never used [INFO] [stdout] --> asset_manager/src/ecs/world/world_resources.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Selected { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Selected` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> asset_manager/src/ecs/world/world_resources.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ShouldRender{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 92 | pub asset:bool, [INFO] [stdout] 93 | pub grid:bool [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/filesystem/loading.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 156 | let mut file = File::open(name_to_pathbuff(name, extension))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(unsafe { CString::from_vec_unchecked(buffer) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/entities.rs:51:80 [INFO] [stdout] | [INFO] [stdout] 51 | self.components.iter_mut().for_each(|(_key, components)| components.push(None)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/query/query_entity.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | let borrowed_component = components[self.id].as_ref().ok_or(EcsErrors::ComponentDataDoesNotExist)?.borrow(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(Ref::map(borrowed_component, |any| any.downcast_ref::().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/query/query_entity.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | let borrowed_component = components[self.id].as_ref().ok_or(EcsErrors::ComponentDataDoesNotExist)?.borrow_mut(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(RefMut::map(borrowed_component, |any| any.downcast_mut::().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/world/world.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 116 | let borrowed_component = components[id].as_ref().ok_or(EcsErrors::ComponentDataDoesNotExist)?.borrow(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | Ok(Ref::map(borrowed_component, |any| any.downcast_ref::().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/world/world.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 126 | let borrowed_component = components[id].as_ref().ok_or(EcsErrors::ComponentDataDoesNotExist)?.borrow_mut(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | Ok(RefMut::map(borrowed_component, |any| any.downcast_mut::().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> asset_manager/src/render/vertex.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const RED:[f32;4] = [1.0,0.0,0.0,1.0]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asset_manager` (bin "asset_manager") due to 7 previous errors; 59 warnings emitted [INFO] [stdout] warning: fields `vertices`, `vbo`, and `ebo` are never read [INFO] [stdout] --> asset_manager/src/render/mesh.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub vertices:Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub vbo:ArrayBuffer, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub ebo:ElementArrayBuffer [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mesh` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `vbo` is never read [INFO] [stdout] --> asset_manager/src/render/mesh.rs:167:7 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct LineMesh{ [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 167 | pub vbo:ArrayBuffer, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unbind` is never used [INFO] [stdout] --> asset_manager/src/render/texture.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl Texture { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn unbind(&self, gl:&Gl) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConvexPolygon` is never constructed [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ConvexPolygon{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl ConvexPolygon { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 11 | pub fn new(object_position:Point, vertices:Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_hull` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn quick_hull(points:Vec){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pseudo_dist` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn pseudo_dist(a:Point, b:Point, p:Point) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `orientation` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn orientation(a:Point, b:Point, p:Point) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `concave_hull` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn concave_hull(points:Vec, k:u32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_x` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn min_x(points:&Vec) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_y` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:133:4 [INFO] [stdout] | [INFO] [stdout] 133 | fn min_y(points:&Vec) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nearest_points` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:156:4 [INFO] [stdout] | [INFO] [stdout] 156 | fn nearest_points(current_point:Vec3, points:&Vec, k:u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_by_angle` is never used [INFO] [stdout] --> asset_manager/src/polygons/convex.rs:161:4 [INFO] [stdout] | [INFO] [stdout] 161 | fn sort_by_angle(current_point:Vec3, points:&mut Vec, previous_angle:&mut f32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_object` is never used [INFO] [stdout] --> asset_manager/src/polygons/grid.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn map_object(gl:&Gl, object_vertices:&Vec, object_indices:&Vec, grid:&mut Grid, grid_mesh:&mut GridMesh){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> asset_manager/src/math/point.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Point{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 6 | pub x:f32, [INFO] [stdout] | ^ [INFO] [stdout] 7 | pub y:f32, [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub z:f32 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Point` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> asset_manager/src/math/point.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 21 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 22 | pub fn new(x:f32, y:f32, z:f32 ) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Vec2` is never used [INFO] [stdout] --> asset_manager/src/math/aliases.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type Vec2 = TVec2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inverse_direction` is never read [INFO] [stdout] --> asset_manager/src/math/ray.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RayCast { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub(crate) inverse_direction:Vec3 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RayCast` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ray_plane_intersection` is never used [INFO] [stdout] --> asset_manager/src/math/ray.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl RayCast { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn ray_plane_intersection(&self, plane_normal:Vec3, plane_origin:Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IllegalTextureFormat` is never constructed [INFO] [stdout] --> asset_manager/src/errors/filesystem_errors.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FilesystemErrors { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | IllegalTextureFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FilesystemErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GL_INVALID_VALUE` and `GL_INVALID_OPERATION` are never constructed [INFO] [stdout] --> asset_manager/src/errors/shader_errors.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ShaderErrors { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 6 | #[error("Shader is not a value generated by OpenGL or maxLength is less than 0.")] [INFO] [stdout] 7 | GL_INVALID_VALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | #[error("Shader is not a value generated by OpenGL.")] [INFO] [stdout] 9 | GL_INVALID_OPERATION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShaderErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DowncastToWrongType`, `NoResourceAtPath`, and `ExeResourceRegistrationFailed` are never constructed [INFO] [stdout] --> asset_manager/src/errors/ecs_errors.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum EcsErrors { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | DowncastToWrongType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | #[error("No resource found at given path")] [INFO] [stdout] 16 | NoResourceAtPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Unable to read the exe at the given path")] [INFO] [stdout] 18 | ExeResourceRegistrationFailed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EcsErrors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_object` is never used [INFO] [stdout] --> asset_manager/src/filesystem/loading.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn load_object(name:&str) -> Result<(Vec,Vec)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name_to_path_string` is never used [INFO] [stdout] --> asset_manager/src/filesystem/loading.rs:173:4 [INFO] [stdout] | [INFO] [stdout] 173 | fn name_to_path_string(name:&str, extension:&str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_file_dialog` is never used [INFO] [stdout] --> asset_manager/src/filesystem/saving.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn save_file_dialog(){} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_grid` is never used [INFO] [stdout] --> asset_manager/src/filesystem/saving.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn save_grid(grid:&Grid, path:&str) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> asset_manager/src/ecs/component_lib.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct OutlineMesh(pub Mesh); [INFO] [stdout] | ----------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> asset_manager/src/ecs/component_lib.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 46 | impl OutlineMesh{ [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 47 | pub fn new(gl:&Gl, vertices:Vec, indices:Vec, texture_name:&str) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_asset` is never used [INFO] [stdout] --> asset_manager/src/ecs/systems/render.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn render_asset(){} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_outline` is never used [INFO] [stdout] --> asset_manager/src/ecs/systems/render.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_outline(){} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `immut_get_component_by_entity_id`, `mut_get_component_by_entity_id`, `remove_resource`, `delete_component_by_entity_id`, `add_component_to_entity_by_id`, and `delete_entity` are never used [INFO] [stdout] --> asset_manager/src/ecs/world/world.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 50 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn immut_get_component_by_entity_id(&self, id:usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn mut_get_component_by_entity_id(&self, id:usize) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn remove_resource(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn delete_component_by_entity_id(&mut self, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn add_component_to_entity_by_id(&mut self, data:impl Any, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn delete_entity(&mut self, index:usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Selected` is never used [INFO] [stdout] --> asset_manager/src/ecs/world/world_resources.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum Selected { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Selected` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> asset_manager/src/ecs/world/world_resources.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct ShouldRender{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 92 | pub asset:bool, [INFO] [stdout] 93 | pub grid:bool [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/filesystem/loading.rs:165:6 [INFO] [stdout] | [INFO] [stdout] 156 | let mut file = File::open(name_to_pathbuff(name, extension))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | Ok(unsafe { CString::from_vec_unchecked(buffer) }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/entities.rs:51:80 [INFO] [stdout] | [INFO] [stdout] 51 | self.components.iter_mut().for_each(|(_key, components)| components.push(None)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/query/query_entity.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | let borrowed_component = components[self.id].as_ref().ok_or(EcsErrors::ComponentDataDoesNotExist)?.borrow(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Ok(Ref::map(borrowed_component, |any| any.downcast_ref::().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/query/query_entity.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | let borrowed_component = components[self.id].as_ref().ok_or(EcsErrors::ComponentDataDoesNotExist)?.borrow_mut(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(RefMut::map(borrowed_component, |any| any.downcast_mut::().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/world/world.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 116 | let borrowed_component = components[id].as_ref().ok_or(EcsErrors::ComponentDataDoesNotExist)?.borrow(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | Ok(Ref::map(borrowed_component, |any| any.downcast_ref::().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> asset_manager/src/ecs/world/world.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 126 | let borrowed_component = components[id].as_ref().ok_or(EcsErrors::ComponentDataDoesNotExist)?.borrow_mut(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | [INFO] [stdout] 128 | Ok(RefMut::map(borrowed_component, |any| any.downcast_mut::().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asset_manager` (bin "asset_manager" test) due to 7 previous errors; 55 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78332adc7df454cbfc9f91343b437c021f34c6777ca58ee6c627fc1ba51cd88a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78332adc7df454cbfc9f91343b437c021f34c6777ca58ee6c627fc1ba51cd88a", kill_on_drop: false }` [INFO] [stdout] 78332adc7df454cbfc9f91343b437c021f34c6777ca58ee6c627fc1ba51cd88a