[INFO] cloning repository https://github.com/PatrickChodowski/bevy_pg_nav [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PatrickChodowski/bevy_pg_nav" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatrickChodowski%2Fbevy_pg_nav", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatrickChodowski%2Fbevy_pg_nav'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8df8f08f1456bbc3874f79513423a9e9074f1e4c [INFO] checking PatrickChodowski/bevy_pg_nav against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatrickChodowski%2Fbevy_pg_nav" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/PatrickChodowski/bevy_pg_nav [INFO] finished tweaking git repo https://github.com/PatrickChodowski/bevy_pg_nav [INFO] tweaked toml for git repo https://github.com/PatrickChodowski/bevy_pg_nav written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PatrickChodowski/bevy_pg_nav on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PatrickChodowski/bevy_pg_nav 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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af1c4375996ebb49619342110e94fa1139de2a8c6cadce6392019d731cccc5f5 [INFO] running `Command { std: "docker" "start" "-a" "af1c4375996ebb49619342110e94fa1139de2a8c6cadce6392019d731cccc5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af1c4375996ebb49619342110e94fa1139de2a8c6cadce6392019d731cccc5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af1c4375996ebb49619342110e94fa1139de2a8c6cadce6392019d731cccc5f5", kill_on_drop: false }` [INFO] [stdout] af1c4375996ebb49619342110e94fa1139de2a8c6cadce6392019d731cccc5f5 [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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d5db78fb4bb2d6285d8ff3eec34f2eadfe1ac7b351617f42753073d93beb3b6 [INFO] running `Command { std: "docker" "start" "-a" "3d5db78fb4bb2d6285d8ff3eec34f2eadfe1ac7b351617f42753073d93beb3b6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking spin v0.10.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Checking disqualified v1.0.0 [INFO] [stderr] Checking inventory v0.3.21 [INFO] [stderr] Checking downcast-rs v2.0.2 [INFO] [stderr] Checking bevy_ptr v0.17.2 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking unicode-ident v1.0.19 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking typewit v1.14.2 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking async-fs v2.2.0 [INFO] [stderr] Checking const_panic v0.2.15 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking atomicow v1.1.0 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Checking stackfuture v0.3.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling wgpu-hal v26.0.4 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Checking bevy_mikktspace v0.17.0-dev [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking offset-allocator v0.2.0 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Checking accesskit v0.21.1 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking pxfm v0.1.24 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking toml v0.9.7 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking moxcms v0.7.6 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Compiling bevy_macro_utils v0.17.2 [INFO] [stderr] Compiling encase_derive_impl v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling assert_type_match v0.1.1 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Compiling bevy_reflect_derive v0.17.2 [INFO] [stderr] Compiling bevy_ecs_macros v0.17.2 [INFO] [stderr] Compiling bevy_derive v0.17.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling bevy_asset_macros v0.17.2 [INFO] [stderr] Compiling encase_derive v0.11.2 [INFO] [stderr] Compiling bevy_render_macros v0.17.2 [INFO] [stderr] Compiling bevy_encase_derive v0.17.2 [INFO] [stderr] Compiling bevy_gizmos_macros v0.17.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking glam v0.30.8 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking ron v0.10.1 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking bevy_platform v0.17.2 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking bevy_utils v0.17.2 [INFO] [stderr] Checking bevy_tasks v0.17.2 [INFO] [stderr] Checking ctrlc v3.5.0 [INFO] [stderr] Checking bevy_reflect v0.17.2 [INFO] [stderr] Checking encase v0.11.2 [INFO] [stderr] Checking hexasphere v16.0.0 [INFO] [stderr] Checking naga_oil v0.19.1 [INFO] [stderr] Checking bevy_ecs v0.17.2 [INFO] [stderr] Checking bevy_math v0.17.2 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking bevy_color v0.17.2 [INFO] [stderr] Checking bevy_app v0.17.2 [INFO] [stderr] Checking bevy_asset v0.17.2 [INFO] [stderr] Checking bevy_log v0.17.2 [INFO] [stderr] Checking bevy_input v0.17.2 [INFO] [stderr] Checking bevy_time v0.17.2 [INFO] [stderr] Checking bevy_a11y v0.17.2 [INFO] [stderr] Checking bevy_transform v0.17.2 [INFO] [stderr] Checking bevy_diagnostic v0.17.2 [INFO] [stderr] Checking bevy_window v0.17.2 [INFO] [stderr] Checking bevy_image v0.17.2 [INFO] [stderr] Checking bevy_shader v0.17.2 [INFO] [stderr] Checking bevy_mesh v0.17.2 [INFO] [stderr] Checking bevy_camera v0.17.2 [INFO] [stderr] Checking bevy_render v0.17.2 [INFO] [stderr] Checking bevy_light v0.17.2 [INFO] [stderr] Checking bevy_core_pipeline v0.17.2 [INFO] [stderr] Checking bevy_gizmos v0.17.2 [INFO] [stderr] Checking bevy_internal v0.17.2 [INFO] [stderr] Checking bevy v0.17.2 [INFO] [stderr] Checking bevy_common_assets v0.14.0 [INFO] [stderr] Checking bevy_pg_nav v1.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bevy::platform::collections::HashMap` [INFO] [stdout] --> src/plugin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bevy::platform::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/plugin.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::tasks::IoTaskPool` [INFO] [stdout] --> src/plugin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::tasks::IoTaskPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/plugin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter` and `Write` [INFO] [stdout] --> src/plugin.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_neighbours`, `loop_merge_quads_directional`, `merge_by_groups`, and `raycasts_rain` [INFO] [stdout] --> src/plugin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | find_neighbours, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | merge_by_groups, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | get_target_ray_meshes, [INFO] [stdout] 16 | raycasts_rain, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | loop_merge_quads_directional [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NavQuad` [INFO] [stdout] --> src/plugin.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::types::{RayTargetMesh, NavQuad, NavDebug, NavStatic}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::platform::collections::HashMap` [INFO] [stdout] --> src/plugin.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bevy::platform::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/plugin.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::tasks::IoTaskPool` [INFO] [stdout] --> src/plugin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::tasks::IoTaskPool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/plugin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter` and `Write` [INFO] [stdout] --> src/plugin.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `find_neighbours`, `loop_merge_quads_directional`, `merge_by_groups`, and `raycasts_rain` [INFO] [stdout] --> src/plugin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | find_neighbours, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | merge_by_groups, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | get_target_ray_meshes, [INFO] [stdout] 16 | raycasts_rain, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | loop_merge_quads_directional [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NavQuad` [INFO] [stdout] --> src/plugin.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::types::{RayTargetMesh, NavQuad, NavDebug, NavStatic}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugin.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut commands: Commands, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugin.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut navmesh_done: bool = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/plugin.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut commands: Commands, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `water_height` [INFO] [stdout] --> src/plugin.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let water_height: f32 = navconfig.water_height; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_water_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navmesh_done` [INFO] [stdout] --> src/plugin.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut navmesh_done: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navmesh_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trmd` [INFO] [stdout] --> src/plugin.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let trmd = TerrainRayMeshData::from_mesh(mesh, &terrain_transform.to_matrix()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_trmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_meshes` [INFO] [stdout] --> src/plugin.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let ray_meshes: Vec = get_target_ray_meshes(&mesh_query); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_meshes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/plugin.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let xs = xs_u.iter().map(|n| *n as f32).collect::>(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zs` [INFO] [stdout] --> src/plugin.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let zs = zs_u.iter().map(|n| *n as f32).collect::>(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NORMAL_EPSILON_DIFF` is never used [INFO] [stdout] --> src/functions.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NORMAL_EPSILON_DIFF: f32 = 0.000001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuadsGroupToMerge` is never constructed [INFO] [stdout] --> src/functions.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct QuadsGroupToMerge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_heterogonus` and `merge` are never used [INFO] [stdout] --> src/functions.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl QuadsGroupToMerge { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 28 | fn is_heterogonus(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn merge(&self) -> (usize, NavQuad) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_by_groups` is never used [INFO] [stdout] --> src/functions.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) fn merge_by_groups( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_neighbours` is never used [INFO] [stdout] --> src/functions.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn find_neighbours( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raycasts_rain` is never used [INFO] [stdout] --> src/functions.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | pub(crate) fn raycasts_rain( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loop_merge_quads_directional` is never used [INFO] [stdout] --> src/functions.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | pub(crate) fn loop_merge_quads_directional( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_quads_directional` is never used [INFO] [stdout] --> src/functions.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn merge_quads_directional( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_neighbours_quads` is never used [INFO] [stdout] --> src/functions.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) fn test_neighbours_quads( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines_intersection` is never used [INFO] [stdout] --> src/functions.rs:390:4 [INFO] [stdout] | [INFO] [stdout] 390 | fn lines_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTEX_SIMILARITY_THRESHOLD` is never used [INFO] [stdout] --> src/navmesh.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const VERTEX_SIMILARITY_THRESHOLD: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_hash_navquads` and `process_vertices` are never used [INFO] [stdout] --> src/navmesh.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl NavMesh { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn from_hash_navquads(navquads: &mut HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn process_vertices(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_navquad`, `convert_vertices`, `has_point_int`, `sort_vertices`, and `mindata` are never used [INFO] [stdout] --> src/navmesh.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 395 | impl Polygon { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 396 | fn from_navquad(q: &mut NavQuad) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | fn convert_vertices(&self) -> [[OrderedFloat; 3]; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | fn has_point_int(&self, loc: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | fn sort_vertices(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub(crate) fn mindata(&self) -> (NavType, usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ordered_float_distance` is never used [INFO] [stdout] --> src/navmesh.rs:558:4 [INFO] [stdout] | [INFO] [stdout] 558 | fn ordered_float_distance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test`, `positions`, and `ray_intersection` are never used [INFO] [stdout] --> src/terrain.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl TerrainRayMeshData { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn test(&self, ray: &NavRay) -> Option<(f32, usize, Vec3)>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn positions(&self, triangle_id: usize) -> [Vec3A;3] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | fn ray_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavRay` is never constructed [INFO] [stdout] --> src/tools.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NavRay { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `origin`, `direction`, and `down` are never used [INFO] [stdout] --> src/tools.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NavRay { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(origin: Vec3, direction: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn origin(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn direction(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn down(x: f32, z: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_triangle_intersection` is never used [INFO] [stdout] --> src/tools.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn ray_triangle_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RayHit` is never constructed [INFO] [stdout] --> src/tools.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct RayHit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uv_coords` and `distance` are never used [INFO] [stdout] --> src/tools.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl RayHit { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 63 | /// Get a reference to the intersection's uv coords. [INFO] [stdout] 64 | pub(crate) fn uv_coords(&self) -> &(f32, f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn distance(&self) -> &f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raycast_moller_trumbore` is never used [INFO] [stdout] --> src/tools.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn raycast_moller_trumbore( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntersectionData` is never constructed [INFO] [stdout] --> src/tools.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct IntersectionData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl IntersectionData { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 121 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | Circle((Vec3, f32)), // Loc, radius [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RayTargetMeshShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 103 - Circle((Vec3, f32)), // Loc, radius [INFO] [stdout] 103 + Circle(()), // Loc, radius [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | Rect((Vec3, Vec3, Vec2, f32)) // Loc, normal, Dimensions, Z angle [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RayTargetMeshShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 104 - Rect((Vec3, Vec3, Vec2, f32)) // Loc, normal, Dimensions, Z angle [INFO] [stdout] 104 + Rect(()) // Loc, normal, Dimensions, Z angle [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_height`, `shape`, and `typ` are never read [INFO] [stdout] --> src/types.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) struct RayTargetMesh { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 155 | pub(crate) ray_hit_height: f32, // Its top value, and its sorted by it, because to sort out multiple blockers stacked [INFO] [stdout] 156 | pub(crate) vertex_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 157 | pub(crate) shape: RayTargetMeshShape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | pub(crate) typ: NavStaticType [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RayTargetMesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test` is never used [INFO] [stdout] --> src/types.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 160 | impl RayTargetMesh { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 161 | [INFO] [stdout] 162 | pub(crate) fn test(&self, ray: &NavRay) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `insert`, `from_pairs`, `merge_into_new`, and `remove` are never used [INFO] [stdout] --> src/types.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 260 | impl Neighbours { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 261 | pub (super) fn insert(&mut self, typ: NavType, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub (super) fn from_pairs(v: &Vec<(NavType, usize)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub (super) fn merge_into_new( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub (super) fn remove(&mut self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavQuad` is never constructed [INFO] [stdout] --> src/types.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | pub(crate) struct NavQuad { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `merge_by_aabb` and `sort_vertices` are never used [INFO] [stdout] --> src/types.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 344 | impl NavQuad { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 345 | pub(crate) fn merge_by_aabb( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub(crate)fn sort_vertices(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Edge` is never used [INFO] [stdout] --> src/types.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | pub(crate) enum Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `corners_2d`, `edges_corners_2d`, `check_edge`, `merge`, `merge_many`, and `center` are never used [INFO] [stdout] --> src/types.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 440 | impl QuadAABB { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 485 | fn corners_2d(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | pub(crate) fn edges_corners_2d(&self) -> (Vec<[Vec2; 2]>, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | pub (super) fn check_edge( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | fn merge(&mut self, other: &QuadAABB){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | pub(crate) fn merge_many(aabbs: &Vec) -> QuadAABB { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 804 | pub(crate) fn center(&self) -> Vec3A { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugin.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut commands: Commands, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/plugin.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut navmesh_done: bool = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/plugin.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | mut commands: Commands, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `water_height` [INFO] [stdout] --> src/plugin.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let water_height: f32 = navconfig.water_height; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_water_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navmesh_done` [INFO] [stdout] --> src/plugin.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut navmesh_done: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navmesh_done` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trmd` [INFO] [stdout] --> src/plugin.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let trmd = TerrainRayMeshData::from_mesh(mesh, &terrain_transform.to_matrix()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_trmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_meshes` [INFO] [stdout] --> src/plugin.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let ray_meshes: Vec = get_target_ray_meshes(&mesh_query); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_meshes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/plugin.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let xs = xs_u.iter().map(|n| *n as f32).collect::>(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zs` [INFO] [stdout] --> src/plugin.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let zs = zs_u.iter().map(|n| *n as f32).collect::>(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NORMAL_EPSILON_DIFF` is never used [INFO] [stdout] --> src/functions.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NORMAL_EPSILON_DIFF: f32 = 0.000001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuadsGroupToMerge` is never constructed [INFO] [stdout] --> src/functions.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct QuadsGroupToMerge { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_heterogonus` and `merge` are never used [INFO] [stdout] --> src/functions.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl QuadsGroupToMerge { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 28 | fn is_heterogonus(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn merge(&self) -> (usize, NavQuad) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_by_groups` is never used [INFO] [stdout] --> src/functions.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) fn merge_by_groups( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_neighbours` is never used [INFO] [stdout] --> src/functions.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | pub(crate) fn find_neighbours( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raycasts_rain` is never used [INFO] [stdout] --> src/functions.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | pub(crate) fn raycasts_rain( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loop_merge_quads_directional` is never used [INFO] [stdout] --> src/functions.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | pub(crate) fn loop_merge_quads_directional( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_quads_directional` is never used [INFO] [stdout] --> src/functions.rs:285:4 [INFO] [stdout] | [INFO] [stdout] 285 | fn merge_quads_directional( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_neighbours_quads` is never used [INFO] [stdout] --> src/functions.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 359 | pub(crate) fn test_neighbours_quads( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lines_intersection` is never used [INFO] [stdout] --> src/functions.rs:390:4 [INFO] [stdout] | [INFO] [stdout] 390 | fn lines_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VERTEX_SIMILARITY_THRESHOLD` is never used [INFO] [stdout] --> src/navmesh.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const VERTEX_SIMILARITY_THRESHOLD: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_hash_navquads` and `process_vertices` are never used [INFO] [stdout] --> src/navmesh.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl NavMesh { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub(crate) fn from_hash_navquads(navquads: &mut HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn process_vertices(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_navquad`, `convert_vertices`, `has_point_int`, `sort_vertices`, and `mindata` are never used [INFO] [stdout] --> src/navmesh.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 395 | impl Polygon { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 396 | fn from_navquad(q: &mut NavQuad) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | fn convert_vertices(&self) -> [[OrderedFloat; 3]; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 443 | fn has_point_int(&self, loc: Vec2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 447 | fn sort_vertices(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub(crate) fn mindata(&self) -> (NavType, usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ordered_float_distance` is never used [INFO] [stdout] --> src/navmesh.rs:558:4 [INFO] [stdout] | [INFO] [stdout] 558 | fn ordered_float_distance( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `test`, `positions`, and `ray_intersection` are never used [INFO] [stdout] --> src/terrain.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 19 | impl TerrainRayMeshData { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn test(&self, ray: &NavRay) -> Option<(f32, usize, Vec3)>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | fn positions(&self, triangle_id: usize) -> [Vec3A;3] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | fn ray_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavRay` is never constructed [INFO] [stdout] --> src/tools.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NavRay { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `origin`, `direction`, and `down` are never used [INFO] [stdout] --> src/tools.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl NavRay { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(origin: Vec3, direction: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn origin(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn direction(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub(crate) fn down(x: f32, z: f32) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_triangle_intersection` is never used [INFO] [stdout] --> src/tools.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | pub(crate) fn ray_triangle_intersection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RayHit` is never constructed [INFO] [stdout] --> src/tools.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct RayHit { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `uv_coords` and `distance` are never used [INFO] [stdout] --> src/tools.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl RayHit { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 63 | /// Get a reference to the intersection's uv coords. [INFO] [stdout] 64 | pub(crate) fn uv_coords(&self) -> &(f32, f32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub(crate) fn distance(&self) -> &f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `raycast_moller_trumbore` is never used [INFO] [stdout] --> src/tools.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn raycast_moller_trumbore( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntersectionData` is never constructed [INFO] [stdout] --> src/tools.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub struct IntersectionData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tools.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl IntersectionData { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 121 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | Circle((Vec3, f32)), // Loc, radius [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RayTargetMeshShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 103 - Circle((Vec3, f32)), // Loc, radius [INFO] [stdout] 103 + Circle(()), // Loc, radius [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | Rect((Vec3, Vec3, Vec2, f32)) // Loc, normal, Dimensions, Z angle [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RayTargetMeshShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 104 - Rect((Vec3, Vec3, Vec2, f32)) // Loc, normal, Dimensions, Z angle [INFO] [stdout] 104 + Rect(()) // Loc, normal, Dimensions, Z angle [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vertex_height`, `shape`, and `typ` are never read [INFO] [stdout] --> src/types.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub(crate) struct RayTargetMesh { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 155 | pub(crate) ray_hit_height: f32, // Its top value, and its sorted by it, because to sort out multiple blockers stacked [INFO] [stdout] 156 | pub(crate) vertex_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 157 | pub(crate) shape: RayTargetMeshShape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 158 | pub(crate) typ: NavStaticType [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RayTargetMesh` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test` is never used [INFO] [stdout] --> src/types.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 160 | impl RayTargetMesh { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 161 | [INFO] [stdout] 162 | pub(crate) fn test(&self, ray: &NavRay) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `insert`, `from_pairs`, `merge_into_new`, and `remove` are never used [INFO] [stdout] --> src/types.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 260 | impl Neighbours { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 261 | pub (super) fn insert(&mut self, typ: NavType, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub (super) fn from_pairs(v: &Vec<(NavType, usize)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub (super) fn merge_into_new( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub (super) fn remove(&mut self, index: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NavQuad` is never constructed [INFO] [stdout] --> src/types.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 333 | pub(crate) struct NavQuad { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `merge_by_aabb` and `sort_vertices` are never used [INFO] [stdout] --> src/types.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 344 | impl NavQuad { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 345 | pub(crate) fn merge_by_aabb( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | pub(crate)fn sort_vertices(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Edge` is never used [INFO] [stdout] --> src/types.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | pub(crate) enum Edge { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `corners_2d`, `edges_corners_2d`, `check_edge`, `merge`, `merge_many`, and `center` are never used [INFO] [stdout] --> src/types.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 440 | impl QuadAABB { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 485 | fn corners_2d(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | pub(crate) fn edges_corners_2d(&self) -> (Vec<[Vec2; 2]>, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | pub (super) fn check_edge( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 750 | fn merge(&mut self, other: &QuadAABB){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | pub(crate) fn merge_many(aabbs: &Vec) -> QuadAABB { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 804 | pub(crate) fn center(&self) -> Vec3A { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "3d5db78fb4bb2d6285d8ff3eec34f2eadfe1ac7b351617f42753073d93beb3b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5db78fb4bb2d6285d8ff3eec34f2eadfe1ac7b351617f42753073d93beb3b6", kill_on_drop: false }` [INFO] [stdout] 3d5db78fb4bb2d6285d8ff3eec34f2eadfe1ac7b351617f42753073d93beb3b6