[INFO] cloning repository https://github.com/Beritens/SplineGrind [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Beritens/SplineGrind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeritens%2FSplineGrind", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeritens%2FSplineGrind'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3dc06681eef1b12bbeec574f6d02343c67c1a065 [INFO] checking Beritens/SplineGrind against master#6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeritens%2FSplineGrind" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Beritens/SplineGrind [INFO] finished tweaking git repo https://github.com/Beritens/SplineGrind [INFO] tweaked toml for git repo https://github.com/Beritens/SplineGrind written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Beritens/SplineGrind on toolchain 6f34f4ee074ce0affc7bbf4e2c835f66cd576f13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Beritens/SplineGrind 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" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded roots v0.0.8 [INFO] [stderr] Downloaded async-fs v2.1.3 [INFO] [stderr] Downloaded bevy_asset_loader_derive v0.23.0 [INFO] [stderr] Downloaded const_panic v0.2.13 [INFO] [stderr] Downloaded rangemap v1.6.0 [INFO] [stderr] Downloaded mach2 v0.4.3 [INFO] [stderr] Downloaded bevy_dev_tools v0.16.1 [INFO] [stderr] Downloaded polling v3.10.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded bevy_asset_loader v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c4ebbf71b671918f391bcdc0ba991ccb488445b4a381eb18811493ad98e6df6 [INFO] running `Command { std: "docker" "start" "-a" "0c4ebbf71b671918f391bcdc0ba991ccb488445b4a381eb18811493ad98e6df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c4ebbf71b671918f391bcdc0ba991ccb488445b4a381eb18811493ad98e6df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4ebbf71b671918f391bcdc0ba991ccb488445b4a381eb18811493ad98e6df6", kill_on_drop: false }` [INFO] [stdout] 0c4ebbf71b671918f391bcdc0ba991ccb488445b4a381eb18811493ad98e6df6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+6f34f4ee074ce0affc7bbf4e2c835f66cd576f13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7b3ca529bb9aac34b01bbf7d618f796902be4476a3486bc47cf329a44f0eb5d [INFO] running `Command { std: "docker" "start" "-a" "c7b3ca529bb9aac34b01bbf7d618f796902be4476a3486bc47cf329a44f0eb5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bevy_ptr v0.16.1 [INFO] [stderr] Checking downcast-rs v2.0.1 [INFO] [stderr] Checking disqualified v1.0.0 [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 bumpalo v3.19.0 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bevy_macro_utils v0.16.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling encase_derive_impl v0.10.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking async-fs v2.1.3 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking atomicow v1.1.0 [INFO] [stderr] Checking stackfuture v0.3.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking const_panic v0.2.13 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Compiling wgpu-hal v24.0.4 [INFO] [stderr] Checking twox-hash v2.1.1 [INFO] [stderr] Checking svg_fmt v0.4.5 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking ruzstd v0.8.1 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling wgpu-core v24.0.5 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling litrs v0.4.2 [INFO] [stderr] Compiling wgpu v24.0.5 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking sysinfo v0.34.2 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking offset-allocator v0.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking fontconfig-parser v0.5.8 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking yazi v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking accesskit v0.18.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking zeno v0.3.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking rangemap v1.6.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking grid v0.15.0 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking taffy v0.7.7 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking path-slash v0.2.1 [INFO] [stderr] Checking roots v0.0.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.10.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Compiling assert_type_match v0.1.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.16.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.16.1 [INFO] [stderr] Compiling bevy_derive v0.16.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling encase_derive v0.10.0 [INFO] [stderr] Compiling bevy_asset_macros v0.16.1 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Compiling bevy_render_macros v0.16.1 [INFO] [stderr] Compiling bevy_encase_derive v0.16.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking font-types v0.9.0 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking read-fonts v0.29.3 [INFO] [stderr] Compiling bevy_state_macros v0.16.1 [INFO] [stderr] Compiling bevy_gizmos_macros v0.16.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking bevy_platform v0.16.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking bevy_utils v0.16.1 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking bevy_tasks v0.16.1 [INFO] [stderr] Checking wgpu-types v24.0.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking skrifa v0.31.3 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking bevy_reflect v0.16.1 [INFO] [stderr] Checking encase v0.10.0 [INFO] [stderr] Checking bevy_mikktspace v0.16.1 [INFO] [stderr] Checking hexasphere v15.1.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking swash v0.2.5 [INFO] [stderr] Checking gilrs-core v0.6.4 [INFO] [stderr] Checking rodio v0.20.1 [INFO] [stderr] Checking polling v3.10.0 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling bevy_asset_loader_derive v0.23.0 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking bevy_ecs v0.16.1 [INFO] [stderr] Checking bevy_math v0.16.1 [INFO] [stderr] Checking cosmic-text v0.13.2 [INFO] [stderr] Checking naga_oil v0.17.1 [INFO] [stderr] Checking accesskit_winit v0.25.0 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking bevy_color v0.16.2 [INFO] [stderr] Checking bevy_app v0.16.1 [INFO] [stderr] Checking bevy_input v0.16.1 [INFO] [stderr] Checking bevy_asset v0.16.1 [INFO] [stderr] Checking bevy_log v0.16.1 [INFO] [stderr] Checking bevy_time v0.16.1 [INFO] [stderr] Checking bevy_a11y v0.16.1 [INFO] [stderr] Checking bevy_state v0.16.1 [INFO] [stderr] Checking bevy_transform v0.16.1 [INFO] [stderr] Checking bevy_diagnostic v0.16.1 [INFO] [stderr] Checking bevy_window v0.16.1 [INFO] [stderr] Checking bevy_gilrs v0.16.1 [INFO] [stderr] Checking bevy_image v0.16.1 [INFO] [stderr] Checking bevy_audio v0.16.1 [INFO] [stderr] Checking bevy_input_focus v0.16.1 [INFO] [stderr] Checking bevy_mesh v0.16.1 [INFO] [stderr] Checking bevy_winit v0.16.1 [INFO] [stderr] Checking bevy_render v0.16.1 [INFO] [stderr] Checking bevy_core_pipeline v0.16.1 [INFO] [stderr] Checking bevy_picking v0.16.1 [INFO] [stderr] Checking bevy_animation v0.16.1 [INFO] [stderr] Checking bevy_scene v0.16.1 [INFO] [stderr] Checking bevy_sprite v0.16.1 [INFO] [stderr] Checking bevy_pbr v0.16.1 [INFO] [stderr] Checking bevy_text v0.16.1 [INFO] [stderr] Checking bevy_ui v0.16.1 [INFO] [stderr] Checking bevy_dev_tools v0.16.1 [INFO] [stderr] Checking bevy_gltf v0.16.1 [INFO] [stderr] Checking bevy_gizmos v0.16.1 [INFO] [stderr] Checking bevy_internal v0.16.1 [INFO] [stderr] Checking bevy v0.16.1 [INFO] [stderr] Checking bevy_asset_loader v0.23.0 [INFO] [stderr] Checking SplineGrind v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FpsOverlayConfig`, `FpsOverlayPlugin`, and `text::FontSmoothing` [INFO] [stdout] --> src/spines_plugin.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | dev_tools::fps_overlay::{FpsOverlayConfig, FpsOverlayPlugin}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | prelude::*, [INFO] [stdout] 5 | text::FontSmoothing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector3` and `Vector` [INFO] [stdout] --> src/spines_plugin.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use nalgebra::{Vector, Vector2, Vector3}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SimpleConvergency` and `find_root_newton_raphson` [INFO] [stdout] --> src/spines_plugin.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use roots::{find_root_newton_raphson, SimpleConvergency}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhySched` and `SplineMemory` [INFO] [stdout] --> src/spines_plugin.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::physics_plugin::{PhySched, SplineColliderInfo, SplineMemory, VerletObject}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/spines_plugin.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | app.add_systems(PostUpdate, (follow_mouse.after(TransformSystem::TransformPropagate))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - app.add_systems(PostUpdate, (follow_mouse.after(TransformSystem::TransformPropagate))); [INFO] [stdout] 22 + app.add_systems(PostUpdate, follow_mouse.after(TransformSystem::TransformPropagate) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | if(norm <= 190.0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if(norm <= 190.0){ [INFO] [stdout] 106 + if norm <= 190.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/spines_plugin.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | return ( [INFO] [stdout] | ______________^ [INFO] [stdout] 219 | | ((ti1 - ti4)*(ti2 - ti4)*(ti3 - u)*((ti2 - ti5)*(ti3 - u)*(di2*(-ti6 + u) + di3*(ti3 - u)) + (ti3 - ti6)*(-ti5 + u)*(di1*(-ti5 + u) + di2*(ti2 - u))) + (ti3 - ti5)*(ti3 - ti6)*(-ti4 + u)*((ti1 - ti4)*(ti2 - u)*(di1*(-ti5 + u) + di2*(ti2 - u)) + (ti2 - ti5)*(-ti4 + u)*(di*(-ti4 + u) + di1*(ti1 - u))))/((ti1 - ti4)*(ti2 - ti4)*(ti2 - ti5)*(ti3 - ti4)*(ti3 - ti5)*(ti3 - ti6)) [INFO] [stdout] | | ________^_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | ||________| [INFO] [stdout] | | [INFO] [stdout] 220 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - return ( [INFO] [stdout] 219 - ((ti1 - ti4)*(ti2 - ti4)*(ti3 - u)*((ti2 - ti5)*(ti3 - u)*(di2*(-ti6 + u) + di3*(ti3 - u)) + (ti3 - ti6)*(-ti5 + u)*(di1*(-ti5 + u) + di2*(ti2 - u))) + (ti3 - ti5)*(ti3 - ti6)*(-ti4 + u)*((ti1 - ti4)*(ti2 - u)*(di1*(-ti5 + u) + di2*(ti2 - u)) + (ti2 - ti5)*(-ti4 + u)*(di*(-ti4 + u) + di1*(ti1 - u))))/((ti1 - ti4)*(ti2 - ti4)*(ti2 - ti5)*(ti3 - ti4)*(ti3 - ti5)*(ti3 - ti6)) [INFO] [stdout] 218 + return ((ti1 - ti4)*(ti2 - ti4)*(ti3 - u)*((ti2 - ti5)*(ti3 - u)*(di2*(-ti6 + u) + di3*(ti3 - u)) + (ti3 - ti6)*(-ti5 + u)*(di1*(-ti5 + u) + di2*(ti2 - u))) + (ti3 - ti5)*(ti3 - ti6)*(-ti4 + u)*((ti1 - ti4)*(ti2 - u)*(di1*(-ti5 + u) + di2*(ti2 - u)) + (ti2 - ti5)*(-ti4 + u)*(di*(-ti4 + u) + di1*(ti1 - u))))/((ti1 - ti4)*(ti2 - ti4)*(ti2 - ti5)*(ti3 - ti4)*(ti3 - ti5)*(ti3 - ti6)) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/spines_plugin.rs:376:44 [INFO] [stdout] | [INFO] [stdout] 376 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 376 - mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] 376 + mut object_query: Query<&mut Position , (With)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/spines_plugin.rs:376:61 [INFO] [stdout] | [INFO] [stdout] 376 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 376 - mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] 376 + mut object_query: Query<(&mut Position), With >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/spines_plugin.rs:436:44 [INFO] [stdout] | [INFO] [stdout] 436 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 436 - mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] 436 + mut object_query: Query<&mut Position , (With)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/spines_plugin.rs:436:61 [INFO] [stdout] | [INFO] [stdout] 436 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 436 - mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] 436 + mut object_query: Query<(&mut Position), With >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/spines_plugin.rs:622:32 [INFO] [stdout] | [INFO] [stdout] 622 | return t.min(1.0).max(0.0);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:561:7 [INFO] [stdout] | [INFO] [stdout] 561 | if(dist < min_dist){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 561 - if(dist < min_dist){ [INFO] [stdout] 561 + if dist < min_dist { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:581:7 [INFO] [stdout] | [INFO] [stdout] 581 | if(dist < min_dist){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 581 - if(dist < min_dist){ [INFO] [stdout] 581 + if dist < min_dist { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:610:11 [INFO] [stdout] | [INFO] [stdout] 610 | if((f - point).norm() > 100.0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 610 - if((f - point).norm() > 100.0){ [INFO] [stdout] 610 + if (f - point).norm() > 100.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:639:7 [INFO] [stdout] | [INFO] [stdout] 639 | if(smaller.x == bigger.x){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 639 - if(smaller.x == bigger.x){ [INFO] [stdout] 639 + if smaller.x == bigger.x { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:683:11 [INFO] [stdout] | [INFO] [stdout] 683 | if(spl.start_sector == 0 && splinco.start_sector == 1 || spl.start_sector == 1 && splinco.start_sector == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 683 - if(spl.start_sector == 0 && splinco.start_sector == 1 || spl.start_sector == 1 && splinco.start_sector == 0){ [INFO] [stdout] 683 + if spl.start_sector == 0 && splinco.start_sector == 1 || spl.start_sector == 1 && splinco.start_sector == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | if(spl.end_sector == 0 && splinco.end_sector == 1 || spl.end_sector == 1 && splinco.end_sector == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 687 - if(spl.end_sector == 0 && splinco.end_sector == 1 || spl.end_sector == 1 && splinco.end_sector == 0){ [INFO] [stdout] 687 + if spl.end_sector == 0 && splinco.end_sector == 1 || spl.end_sector == 1 && splinco.end_sector == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/physics_plugin.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/physics_plugin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::math::ops::atan2` [INFO] [stdout] --> src/physics_plugin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::math::ops::atan2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::math::Quat` [INFO] [stdout] --> src/physics_plugin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bevy::math::Quat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Update` [INFO] [stdout] --> src/physics_plugin.rs:9:79 [INFO] [stdout] | [INFO] [stdout] 9 | use bevy::prelude::{Component, Entity, IntoScheduleConfigs, Query, SystemSet, Update, With, Without, World}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Normed` [INFO] [stdout] --> src/physics_plugin.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use nalgebra::{Normed, Vector2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FollowMouse`, `OldPosition`, and `SplinePlugin` [INFO] [stdout] --> src/physics_plugin.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::spines_plugin::{point_inside, ControlledBy, FollowMouse, HiddenControlledBy, OldPosition, Position, Spline, SplinePlugin, Spli... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics_plugin.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | ...te,((update_position, apply_gravity.before(update_position), collide.before(update_position),reset_collisions.before(collide)).in_set(PhySet).after(SplineSet))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - app.add_systems(FixedUpdate,((update_position, apply_gravity.before(update_position), collide.before(update_position),reset_collisions.before(collide)).in_set(PhySet).after(SplineSet))); [INFO] [stdout] 21 + app.add_systems(FixedUpdate,(update_position, apply_gravity.before(update_position), collide.before(update_position),reset_collisions.before(collide)).in_set(PhySet).after(SplineSet) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/physics_plugin.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | mut query: Query<(&mut VerletObject), With> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - mut query: Query<(&mut VerletObject), With> [INFO] [stdout] 88 + mut query: Query<&mut VerletObject , With> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/physics_plugin.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | for (mut verlet_object) in &mut query { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - for (mut verlet_object) in &mut query { [INFO] [stdout] 91 + for mut verlet_object in &mut query { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/physics_plugin.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | mut query: Query<(&mut Collider)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - mut query: Query<(&mut Collider)> [INFO] [stdout] 99 + mut query: Query<&mut Collider > [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/physics_plugin.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | for (mut collider) in &mut query { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - for (mut collider) in &mut query { [INFO] [stdout] 101 + for mut collider in &mut query { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/physics_plugin.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | position_query: Query<(&Position), Without>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - position_query: Query<(&Position), Without>, [INFO] [stdout] 130 + position_query: Query<&Position , Without>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/physics_plugin.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | if(inside) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 203 - if(inside) { [INFO] [stdout] 203 + if inside { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FixedUpdate` [INFO] [stdout] --> src/controls_plugin.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::app::{App, FixedUpdate, Plugin}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physics_plugin::PhySched` [INFO] [stdout] --> src/controls_plugin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::physics_plugin::PhySched; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlledBy`, `Position`, `Spline`, and `VisualizedBy` [INFO] [stdout] --> src/controls_plugin.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::spines_plugin::{ControlledBy, Position, Spline, VisualizedBy}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::asset::ron::Map` [INFO] [stdout] --> src/player_plugin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::asset::ron::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::transform` [INFO] [stdout] --> src/player_plugin.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bevy::transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy_asset_loader::prelude::*` [INFO] [stdout] --> src/player_plugin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy_asset_loader::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | if(!collider.collisions_old.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - if(!collider.collisions_old.is_empty()){ [INFO] [stdout] 64 + if !collider.collisions_old.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | if(collider.collisions_old.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if(collider.collisions_old.is_empty()){ [INFO] [stdout] 88 + if collider.collisions_old.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | ... let angle = if(hor_speed.norm_squared() > 0.1) {atan2(speed.y, speed.x) + cross.signum() * PI as f32/ 2.0} else {PI as f32/2.0}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - let angle = if(hor_speed.norm_squared() > 0.1) {atan2(speed.y, speed.x) + cross.signum() * PI as f32/ 2.0} else {PI as f32/2.0}; [INFO] [stdout] 89 + let angle = if hor_speed.norm_squared() > 0.1 {atan2(speed.y, speed.x) + cross.signum() * PI as f32/ 2.0} else {PI as f32/2.0}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | if(val > 0.2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if(val > 0.2){ [INFO] [stdout] 98 + if val > 0.2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | else if(val <0.1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - else if(val <0.1){ [INFO] [stdout] 102 + else if val <0.1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | if(val > 0.2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - if(val > 0.2){ [INFO] [stdout] 109 + if val > 0.2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cos` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::math::ops::{cos, sin}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use nalgebra::{Vector, Vector2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Follower` [INFO] [stdout] --> src/main.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::controls_plugin::{ControlsPlugin, Follower}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Collider`, `Gravitate`, and `VerletObject` [INFO] [stdout] --> src/main.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::physics_plugin::{Collider, Gravitate, PhysicsPlugin, VerletObject}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | splines.push(commands.spawn((crate::spines_plugin::Spline())).id()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - splines.push(commands.spawn((crate::spines_plugin::Spline())).id()); [INFO] [stdout] 84 + splines.push(commands.spawn(crate::spines_plugin::Spline() ).id()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FpsOverlayConfig`, `FpsOverlayPlugin`, and `text::FontSmoothing` [INFO] [stdout] --> src/spines_plugin.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | dev_tools::fps_overlay::{FpsOverlayConfig, FpsOverlayPlugin}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | prelude::*, [INFO] [stdout] 5 | text::FontSmoothing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vector3` and `Vector` [INFO] [stdout] --> src/spines_plugin.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use nalgebra::{Vector, Vector2, Vector3}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SimpleConvergency` and `find_root_newton_raphson` [INFO] [stdout] --> src/spines_plugin.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use roots::{find_root_newton_raphson, SimpleConvergency}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhySched` and `SplineMemory` [INFO] [stdout] --> src/spines_plugin.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::physics_plugin::{PhySched, SplineColliderInfo, SplineMemory, VerletObject}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/spines_plugin.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | app.add_systems(PostUpdate, (follow_mouse.after(TransformSystem::TransformPropagate))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - app.add_systems(PostUpdate, (follow_mouse.after(TransformSystem::TransformPropagate))); [INFO] [stdout] 22 + app.add_systems(PostUpdate, follow_mouse.after(TransformSystem::TransformPropagate) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | if(norm <= 190.0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if(norm <= 190.0){ [INFO] [stdout] 106 + if norm <= 190.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/spines_plugin.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | return ( [INFO] [stdout] | ______________^ [INFO] [stdout] 219 | | ((ti1 - ti4)*(ti2 - ti4)*(ti3 - u)*((ti2 - ti5)*(ti3 - u)*(di2*(-ti6 + u) + di3*(ti3 - u)) + (ti3 - ti6)*(-ti5 + u)*(di1*(-ti5 + u) + di2*(ti2 - u))) + (ti3 - ti5)*(ti3 - ti6)*(-ti4 + u)*((ti1 - ti4)*(ti2 - u)*(di1*(-ti5 + u) + di2*(ti2 - u)) + (ti2 - ti5)*(-ti4 + u)*(di*(-ti4 + u) + di1*(ti1 - u))))/((ti1 - ti4)*(ti2 - ti4)*(ti2 - ti5)*(ti3 - ti4)*(ti3 - ti5)*(ti3 - ti6)) [INFO] [stdout] | | ________^_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | ||________| [INFO] [stdout] | | [INFO] [stdout] 220 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 218 - return ( [INFO] [stdout] 219 - ((ti1 - ti4)*(ti2 - ti4)*(ti3 - u)*((ti2 - ti5)*(ti3 - u)*(di2*(-ti6 + u) + di3*(ti3 - u)) + (ti3 - ti6)*(-ti5 + u)*(di1*(-ti5 + u) + di2*(ti2 - u))) + (ti3 - ti5)*(ti3 - ti6)*(-ti4 + u)*((ti1 - ti4)*(ti2 - u)*(di1*(-ti5 + u) + di2*(ti2 - u)) + (ti2 - ti5)*(-ti4 + u)*(di*(-ti4 + u) + di1*(ti1 - u))))/((ti1 - ti4)*(ti2 - ti4)*(ti2 - ti5)*(ti3 - ti4)*(ti3 - ti5)*(ti3 - ti6)) [INFO] [stdout] 218 + return ((ti1 - ti4)*(ti2 - ti4)*(ti3 - u)*((ti2 - ti5)*(ti3 - u)*(di2*(-ti6 + u) + di3*(ti3 - u)) + (ti3 - ti6)*(-ti5 + u)*(di1*(-ti5 + u) + di2*(ti2 - u))) + (ti3 - ti5)*(ti3 - ti6)*(-ti4 + u)*((ti1 - ti4)*(ti2 - u)*(di1*(-ti5 + u) + di2*(ti2 - u)) + (ti2 - ti5)*(-ti4 + u)*(di*(-ti4 + u) + di1*(ti1 - u))))/((ti1 - ti4)*(ti2 - ti4)*(ti2 - ti5)*(ti3 - ti4)*(ti3 - ti5)*(ti3 - ti6)) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/spines_plugin.rs:376:44 [INFO] [stdout] | [INFO] [stdout] 376 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 376 - mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] 376 + mut object_query: Query<&mut Position , (With)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/spines_plugin.rs:376:61 [INFO] [stdout] | [INFO] [stdout] 376 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 376 - mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] 376 + mut object_query: Query<(&mut Position), With >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/spines_plugin.rs:436:44 [INFO] [stdout] | [INFO] [stdout] 436 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 436 - mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] 436 + mut object_query: Query<&mut Position , (With)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/spines_plugin.rs:436:61 [INFO] [stdout] | [INFO] [stdout] 436 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 436 - mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] 436 + mut object_query: Query<(&mut Position), With >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/spines_plugin.rs:622:32 [INFO] [stdout] | [INFO] [stdout] 622 | return t.min(1.0).max(0.0);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:561:7 [INFO] [stdout] | [INFO] [stdout] 561 | if(dist < min_dist){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 561 - if(dist < min_dist){ [INFO] [stdout] 561 + if dist < min_dist { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:581:7 [INFO] [stdout] | [INFO] [stdout] 581 | if(dist < min_dist){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 581 - if(dist < min_dist){ [INFO] [stdout] 581 + if dist < min_dist { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:610:11 [INFO] [stdout] | [INFO] [stdout] 610 | if((f - point).norm() > 100.0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 610 - if((f - point).norm() > 100.0){ [INFO] [stdout] 610 + if (f - point).norm() > 100.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:639:7 [INFO] [stdout] | [INFO] [stdout] 639 | if(smaller.x == bigger.x){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 639 - if(smaller.x == bigger.x){ [INFO] [stdout] 639 + if smaller.x == bigger.x { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:683:11 [INFO] [stdout] | [INFO] [stdout] 683 | if(spl.start_sector == 0 && splinco.start_sector == 1 || spl.start_sector == 1 && splinco.start_sector == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 683 - if(spl.start_sector == 0 && splinco.start_sector == 1 || spl.start_sector == 1 && splinco.start_sector == 0){ [INFO] [stdout] 683 + if spl.start_sector == 0 && splinco.start_sector == 1 || spl.start_sector == 1 && splinco.start_sector == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/spines_plugin.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | if(spl.end_sector == 0 && splinco.end_sector == 1 || spl.end_sector == 1 && splinco.end_sector == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 687 - if(spl.end_sector == 0 && splinco.end_sector == 1 || spl.end_sector == 1 && splinco.end_sector == 0){ [INFO] [stdout] 687 + if spl.end_sector == 0 && splinco.end_sector == 1 || spl.end_sector == 1 && splinco.end_sector == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/physics_plugin.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/physics_plugin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::math::ops::atan2` [INFO] [stdout] --> src/physics_plugin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::math::ops::atan2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::math::Quat` [INFO] [stdout] --> src/physics_plugin.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bevy::math::Quat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Update` [INFO] [stdout] --> src/physics_plugin.rs:9:79 [INFO] [stdout] | [INFO] [stdout] 9 | use bevy::prelude::{Component, Entity, IntoScheduleConfigs, Query, SystemSet, Update, With, Without, World}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Normed` [INFO] [stdout] --> src/physics_plugin.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use nalgebra::{Normed, Vector2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FollowMouse`, `OldPosition`, and `SplinePlugin` [INFO] [stdout] --> src/physics_plugin.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::spines_plugin::{point_inside, ControlledBy, FollowMouse, HiddenControlledBy, OldPosition, Position, Spline, SplinePlugin, Spli... [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/physics_plugin.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | ...te,((update_position, apply_gravity.before(update_position), collide.before(update_position),reset_collisions.before(collide)).in_set(PhySet).after(SplineSet))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 21 - app.add_systems(FixedUpdate,((update_position, apply_gravity.before(update_position), collide.before(update_position),reset_collisions.before(collide)).in_set(PhySet).after(SplineSet))); [INFO] [stdout] 21 + app.add_systems(FixedUpdate,(update_position, apply_gravity.before(update_position), collide.before(update_position),reset_collisions.before(collide)).in_set(PhySet).after(SplineSet) ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/physics_plugin.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | mut query: Query<(&mut VerletObject), With> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - mut query: Query<(&mut VerletObject), With> [INFO] [stdout] 88 + mut query: Query<&mut VerletObject , With> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/physics_plugin.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | for (mut verlet_object) in &mut query { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - for (mut verlet_object) in &mut query { [INFO] [stdout] 91 + for mut verlet_object in &mut query { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/physics_plugin.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | mut query: Query<(&mut Collider)> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 99 - mut query: Query<(&mut Collider)> [INFO] [stdout] 99 + mut query: Query<&mut Collider > [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/physics_plugin.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | for (mut collider) in &mut query { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - for (mut collider) in &mut query { [INFO] [stdout] 101 + for mut collider in &mut query { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/physics_plugin.rs:130:27 [INFO] [stdout] | [INFO] [stdout] 130 | position_query: Query<(&Position), Without>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - position_query: Query<(&Position), Without>, [INFO] [stdout] 130 + position_query: Query<&Position , Without>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/physics_plugin.rs:203:15 [INFO] [stdout] | [INFO] [stdout] 203 | if(inside) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 203 - if(inside) { [INFO] [stdout] 203 + if inside { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FixedUpdate` [INFO] [stdout] --> src/controls_plugin.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use bevy::app::{App, FixedUpdate, Plugin}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::physics_plugin::PhySched` [INFO] [stdout] --> src/controls_plugin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::physics_plugin::PhySched; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ControlledBy`, `Position`, `Spline`, and `VisualizedBy` [INFO] [stdout] --> src/controls_plugin.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::spines_plugin::{ControlledBy, Position, Spline, VisualizedBy}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::asset::ron::Map` [INFO] [stdout] --> src/player_plugin.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::asset::ron::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::transform` [INFO] [stdout] --> src/player_plugin.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use bevy::transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy_asset_loader::prelude::*` [INFO] [stdout] --> src/player_plugin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy_asset_loader::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | if(!collider.collisions_old.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - if(!collider.collisions_old.is_empty()){ [INFO] [stdout] 64 + if !collider.collisions_old.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | if(collider.collisions_old.is_empty()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 88 - if(collider.collisions_old.is_empty()){ [INFO] [stdout] 88 + if collider.collisions_old.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | ... let angle = if(hor_speed.norm_squared() > 0.1) {atan2(speed.y, speed.x) + cross.signum() * PI as f32/ 2.0} else {PI as f32/2.0}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - let angle = if(hor_speed.norm_squared() > 0.1) {atan2(speed.y, speed.x) + cross.signum() * PI as f32/ 2.0} else {PI as f32/2.0}; [INFO] [stdout] 89 + let angle = if hor_speed.norm_squared() > 0.1 {atan2(speed.y, speed.x) + cross.signum() * PI as f32/ 2.0} else {PI as f32/2.0}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | if(val > 0.2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - if(val > 0.2){ [INFO] [stdout] 98 + if val > 0.2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | else if(val <0.1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - else if(val <0.1){ [INFO] [stdout] 102 + else if val <0.1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player_plugin.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | if(val > 0.2){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - if(val > 0.2){ [INFO] [stdout] 109 + if val > 0.2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cos` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::math::ops::{cos, sin}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | use nalgebra::{Vector, Vector2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Follower` [INFO] [stdout] --> src/main.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::controls_plugin::{ControlsPlugin, Follower}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Collider`, `Gravitate`, and `VerletObject` [INFO] [stdout] --> src/main.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::physics_plugin::{Collider, Gravitate, PhysicsPlugin, VerletObject}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | splines.push(commands.spawn((crate::spines_plugin::Spline())).id()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 84 - splines.push(commands.spawn((crate::spines_plugin::Spline())).id()); [INFO] [stdout] 84 + splines.push(commands.spawn(crate::spines_plugin::Spline() ).id()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::render::render_resource::encase::private::RuntimeSizedArray` [INFO] [stdout] --> src/spines_plugin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::render::render_resource::encase::private::RuntimeSizedArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Normed` [INFO] [stdout] --> src/player_plugin.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use nalgebra::{Normed, Vector2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::render::render_resource::encase::private::RuntimeSizedArray` [INFO] [stdout] --> src/spines_plugin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::render::render_resource::encase::private::RuntimeSizedArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Normed` [INFO] [stdout] --> src/player_plugin.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use nalgebra::{Normed, Vector2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pusher` [INFO] [stdout] --> src/spines_plugin.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | for (push_pos, pusher) in &pusher_query{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pusher` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/spines_plugin.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | for (mut pushed_pos, mut target, mov) in &mut pushed_query{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mov` [INFO] [stdout] --> src/spines_plugin.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | for (mut pushed_pos, mut target, mov) in &mut pushed_query{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | for (mut pushed_pos, mut target, mov) in &mut pushed_query{ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_mouse` [INFO] [stdout] --> src/spines_plugin.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | for (mut pos, mut follower_mouse) in follower_query.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follower_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | for (mut pos, mut follower_mouse) in follower_query.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mov` [INFO] [stdout] --> src/spines_plugin.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | for (mut pos, mut trans, mov) in &mut position_query{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ti` [INFO] [stdout] --> src/spines_plugin.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | fn cubic_bspline(u: f32, ti: f32, ti1: f32, ti2: f32, ti3: f32, ti4: f32, ti5: f32, ti6:f32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ti` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/spines_plugin.rs:225:100 [INFO] [stdout] | [INFO] [stdout] 225 | ...32>>, t: f32, t_vec: &Vec,temp: &mut [Vector2; LEN], l: usize) -> Vector2 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pusher` [INFO] [stdout] --> src/spines_plugin.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | for (push_pos, pusher) in &pusher_query{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pusher` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/spines_plugin.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | for (mut pushed_pos, mut target, mov) in &mut pushed_query{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mov` [INFO] [stdout] --> src/spines_plugin.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | for (mut pushed_pos, mut target, mov) in &mut pushed_query{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spline` [INFO] [stdout] --> src/spines_plugin.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 330 | for (spline, controlled_by, visualized_by) in &query { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | for (mut pushed_pos, mut target, mov) in &mut pushed_query{ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `follower_mouse` [INFO] [stdout] --> src/spines_plugin.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | for (mut pos, mut follower_mouse) in follower_query.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_follower_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | for (mut pos, mut follower_mouse) in follower_query.iter_mut() { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spline` [INFO] [stdout] --> src/spines_plugin.rs:386:10 [INFO] [stdout] | [INFO] [stdout] 386 | for (spline, controlled_by, visualized_by) in &query { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/spines_plugin.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let step = 1.0 / n as f32; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mov` [INFO] [stdout] --> src/spines_plugin.rs:168:31 [INFO] [stdout] | [INFO] [stdout] 168 | for (mut pos, mut trans, mov) in &mut position_query{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:376:20 [INFO] [stdout] | [INFO] [stdout] 376 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let mut t = get_nearest_spline_point(object.0, &positions); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spline` [INFO] [stdout] --> src/spines_plugin.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | for (spline, controlled_by, visualized_by) in &query { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/spines_plugin.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let step = 1.0 / n as f32; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ti` [INFO] [stdout] --> src/spines_plugin.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | fn cubic_bspline(u: f32, ti: f32, ti1: f32, ti2: f32, ti3: f32, ti4: f32, ti5: f32, ti6:f32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ti` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/spines_plugin.rs:225:100 [INFO] [stdout] | [INFO] [stdout] 225 | ...32>>, t: f32, t_vec: &Vec,temp: &mut [Vector2; LEN], l: usize) -> Vector2 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:436:20 [INFO] [stdout] | [INFO] [stdout] 436 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | let mut t = get_nearest_spline_point(object.0, &positions); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `l` is never read [INFO] [stdout] --> src/spines_plugin.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | let mut l = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cached_ddf` is never read [INFO] [stdout] --> src/spines_plugin.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | let mut cached_ddf = Vector2::zeros(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/spines_plugin.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | let mut t :f32= 0.5; // initial guess [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/spines_plugin.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let t: f32 = rng.gen_range(0.0..1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spline` [INFO] [stdout] --> src/spines_plugin.rs:330:10 [INFO] [stdout] | [INFO] [stdout] 330 | for (spline, controlled_by, visualized_by) in &query { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spline` [INFO] [stdout] --> src/spines_plugin.rs:386:10 [INFO] [stdout] | [INFO] [stdout] 386 | for (spline, controlled_by, visualized_by) in &query { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/spines_plugin.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let step = 1.0 / n as f32; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:376:20 [INFO] [stdout] | [INFO] [stdout] 376 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let mut t = get_nearest_spline_point(object.0, &positions); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spline` [INFO] [stdout] --> src/spines_plugin.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | for (spline, controlled_by, visualized_by) in &query { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `step` [INFO] [stdout] --> src/spines_plugin.rs:458:13 [INFO] [stdout] | [INFO] [stdout] 458 | let step = 1.0 / n as f32; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:436:20 [INFO] [stdout] | [INFO] [stdout] 436 | mut object_query: Query<(&mut Position), (With)>, [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spines_plugin.rs:470:13 [INFO] [stdout] | [INFO] [stdout] 470 | let mut t = get_nearest_spline_point(object.0, &positions); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spline` [INFO] [stdout] --> src/physics_plugin.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | for (spline, controlled_by, hidden_controlled_by, entity) in &spline_query { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hidden_positions` [INFO] [stdout] --> src/physics_plugin.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let hidden_positions: Vec> = hidden_control_points [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hidden_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad` [INFO] [stdout] --> src/physics_plugin.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let grad = crate::spines_plugin::de_boors_derivative::<4>(&positions, t, &v, &mut temp_buf, l); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 173 | let _grad = crate::spines_plugin::de_boors_derivative::<4>(&positions, t, &v, &mut temp_buf, l); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `gravity` [INFO] [stdout] | [INFO] [stdout] 173 - let grad = crate::spines_plugin::de_boors_derivative::<4>(&positions, t, &v, &mut temp_buf, l); [INFO] [stdout] 173 + let physics_plugin::gravity = crate::spines_plugin::de_boors_derivative::<4>(&positions, t, &v, &mut temp_buf, l); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `underground` is assigned to, but never used [INFO] [stdout] --> src/physics_plugin.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let mut underground = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_underground` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `l` is never read [INFO] [stdout] --> src/spines_plugin.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | let mut l = 0usize; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `underground` is never read [INFO] [stdout] --> src/physics_plugin.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | underground= true; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cached_ddf` is never read [INFO] [stdout] --> src/spines_plugin.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | let mut cached_ddf = Vector2::zeros(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `t` is never read [INFO] [stdout] --> src/spines_plugin.rs:546:9 [INFO] [stdout] | [INFO] [stdout] 546 | let mut t :f32= 0.5; // initial guess [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/spines_plugin.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let t: f32 = rng.gen_range(0.0..1.0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player_plugin.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn spawn_player(mut commands: Commands, mut player_assets: Res) { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spline` [INFO] [stdout] --> src/physics_plugin.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | for (spline, controlled_by, hidden_controlled_by, entity) in &spline_query { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hidden_positions` [INFO] [stdout] --> src/physics_plugin.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let hidden_positions: Vec> = hidden_control_points [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hidden_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad` [INFO] [stdout] --> src/physics_plugin.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let grad = crate::spines_plugin::de_boors_derivative::<4>(&positions, t, &v, &mut temp_buf, l); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 173 | let _grad = crate::spines_plugin::de_boors_derivative::<4>(&positions, t, &v, &mut temp_buf, l); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `gravity` [INFO] [stdout] | [INFO] [stdout] 173 - let grad = crate::spines_plugin::de_boors_derivative::<4>(&positions, t, &v, &mut temp_buf, l); [INFO] [stdout] 173 + let physics_plugin::gravity = crate::spines_plugin::de_boors_derivative::<4>(&positions, t, &v, &mut temp_buf, l); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `underground` is assigned to, but never used [INFO] [stdout] --> src/physics_plugin.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let mut underground = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_underground` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `underground` is never read [INFO] [stdout] --> src/physics_plugin.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | underground= true; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let circle = meshes.add(Circle::new(30.0)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid_circle` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mid_circle = meshes.add(Circle::new(10.0)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mid_circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | for i in 0..1{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player_plugin.rs:24:41 [INFO] [stdout] | [INFO] [stdout] 24 | fn spawn_player(mut commands: Commands, mut player_assets: Res) { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `RED` is never used [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 24 | impl OverlayColor { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] 25 | const RED: Color = Color::srgb(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_position` is never read [INFO] [stdout] --> src/spines_plugin.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Movable{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 43 | pub default_position: Vector2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `de_casteljau` is never used [INFO] [stdout] --> src/spines_plugin.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn de_casteljau(mut control_points: Vec>, t: f32) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_bspline` is never used [INFO] [stdout] --> src/spines_plugin.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn cubic_bspline(u: f32, ti: f32, ti1: f32, ti2: f32, ti3: f32, ti4: f32, ti5: f32, ti6:f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_de_boors` is never used [INFO] [stdout] --> src/spines_plugin.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn not_de_boors(control_points: &Vec>, t: f32, t_vec: &Vec,temp: &mut [Vector2; LEN], l: usi... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_intersections` is never used [INFO] [stdout] --> src/spines_plugin.rs:374:4 [INFO] [stdout] | [INFO] [stdout] 374 | fn render_intersections(query: Query<(&Spline, &ControlledBy, &GradientVisualizedBy)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_my_schedule` is never used [INFO] [stdout] --> src/physics_plugin.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn run_my_schedule(world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mass` is never constructed [INFO] [stdout] --> src/physics_plugin.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Mass(f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `other` and `point` are never read [INFO] [stdout] --> src/physics_plugin.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Collision{ [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 58 | pub other: Entity, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | pub point: Vector2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collision` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_collision` is never used [INFO] [stdout] --> src/physics_plugin.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Collider { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn add_collision(&mut self, c: Collision) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/physics_plugin.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn setup(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/spines_plugin.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let N: usize = LEN - 1; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/spines_plugin.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let N: usize = LEN - 1; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/spines_plugin.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let N: usize = LEN - 2; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gravity` should have an upper case name [INFO] [stdout] --> src/physics_plugin.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | const gravity: Vector2 = Vector2::::new(0.0, -10.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 81 - const gravity: Vector2 = Vector2::::new(0.0, -10.0); [INFO] [stdout] 81 + const GRAVITY: Vector2 = Vector2::::new(0.0, -10.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cameraWidth` should have a snake case name [INFO] [stdout] --> src/player_plugin.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let cameraWidth = 2400.0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `camera_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `circle` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let circle = meshes.add(Circle::new(30.0)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid_circle` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mid_circle = meshes.add(Circle::new(10.0)); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mid_circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | for i in 0..1{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `RED` is never used [INFO] [stdout] --> src/main.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 24 | impl OverlayColor { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] 25 | const RED: Color = Color::srgb(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `default_position` is never read [INFO] [stdout] --> src/spines_plugin.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Movable{ [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 43 | pub default_position: Vector2 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `de_casteljau` is never used [INFO] [stdout] --> src/spines_plugin.rs:175:4 [INFO] [stdout] | [INFO] [stdout] 175 | fn de_casteljau(mut control_points: Vec>, t: f32) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cubic_bspline` is never used [INFO] [stdout] --> src/spines_plugin.rs:214:4 [INFO] [stdout] | [INFO] [stdout] 214 | fn cubic_bspline(u: f32, ti: f32, ti1: f32, ti2: f32, ti3: f32, ti4: f32, ti5: f32, ti6:f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_de_boors` is never used [INFO] [stdout] --> src/spines_plugin.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn not_de_boors(control_points: &Vec>, t: f32, t_vec: &Vec,temp: &mut [Vector2; LEN], l: usi... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_intersections` is never used [INFO] [stdout] --> src/spines_plugin.rs:374:4 [INFO] [stdout] | [INFO] [stdout] 374 | fn render_intersections(query: Query<(&Spline, &ControlledBy, &GradientVisualizedBy)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_my_schedule` is never used [INFO] [stdout] --> src/physics_plugin.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn run_my_schedule(world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mass` is never constructed [INFO] [stdout] --> src/physics_plugin.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | struct Mass(f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `other` and `point` are never read [INFO] [stdout] --> src/physics_plugin.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Collision{ [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 58 | pub other: Entity, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 59 | pub point: Vector2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Collision` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_collision` is never used [INFO] [stdout] --> src/physics_plugin.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Collider { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn add_collision(&mut self, c: Collision) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup` is never used [INFO] [stdout] --> src/physics_plugin.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn setup(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/spines_plugin.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | let N: usize = LEN - 1; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/spines_plugin.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let N: usize = LEN - 1; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/spines_plugin.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let N: usize = LEN - 2; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gravity` should have an upper case name [INFO] [stdout] --> src/physics_plugin.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | const gravity: Vector2 = Vector2::::new(0.0, -10.0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 81 - const gravity: Vector2 = Vector2::::new(0.0, -10.0); [INFO] [stdout] 81 + const GRAVITY: Vector2 = Vector2::::new(0.0, -10.0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cameraWidth` should have a snake case name [INFO] [stdout] --> src/player_plugin.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let cameraWidth = 2400.0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `camera_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 8m 46s [INFO] running `Command { std: "docker" "inspect" "c7b3ca529bb9aac34b01bbf7d618f796902be4476a3486bc47cf329a44f0eb5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7b3ca529bb9aac34b01bbf7d618f796902be4476a3486bc47cf329a44f0eb5d", kill_on_drop: false }` [INFO] [stdout] c7b3ca529bb9aac34b01bbf7d618f796902be4476a3486bc47cf329a44f0eb5d