[INFO] cloning repository https://github.com/LunaLeTuna/Kitsune-Engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LunaLeTuna/Kitsune-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunaLeTuna%2FKitsune-Engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunaLeTuna%2FKitsune-Engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a20220a04680469cba52e67ee08538e0c8ab059 [INFO] checking LunaLeTuna/Kitsune-Engine against master#8e47113d71ed3922084571d70deba661f0a20001 for pr-116357 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLunaLeTuna%2FKitsune-Engine" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LunaLeTuna/Kitsune-Engine on toolchain 8e47113d71ed3922084571d70deba661f0a20001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e47113d71ed3922084571d70deba661f0a20001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LunaLeTuna/Kitsune-Engine [INFO] finished tweaking git repo https://github.com/LunaLeTuna/Kitsune-Engine [INFO] tweaked toml for git repo https://github.com/LunaLeTuna/Kitsune-Engine written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LunaLeTuna/Kitsune-Engine 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" "+8e47113d71ed3922084571d70deba661f0a20001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded icu_provider v1.2.0 [INFO] [stderr] Downloaded icu_properties v1.2.0 [INFO] [stderr] Downloaded icu_normalizer v1.2.0 [INFO] [stderr] Downloaded icu_provider_macros v1.2.0 [INFO] [stderr] Downloaded boa_runtime v0.17.0 [INFO] [stderr] Downloaded zerovec-derive v0.9.6 [INFO] [stderr] Downloaded boa_gc v0.17.0 [INFO] [stderr] Downloaded boa_macros v0.17.0 [INFO] [stderr] Downloaded boa_profiler v0.17.0 [INFO] [stderr] Downloaded tinystr v0.7.2 [INFO] [stderr] Downloaded icu_locid v1.2.0 [INFO] [stderr] Downloaded fast-float v0.2.0 [INFO] [stderr] Downloaded boa_ast v0.17.0 [INFO] [stderr] Downloaded rapier3d v0.17.2 [INFO] [stderr] Downloaded boa_engine v0.17.0 [INFO] [stderr] Downloaded parry3d v0.13.5 [INFO] [stderr] Downloaded boa_icu_provider v0.17.0 [INFO] [stderr] Downloaded zerovec v0.9.6 [INFO] [stderr] Downloaded boa_parser v0.17.0 [INFO] [stderr] Downloaded icu_collections v1.2.0 [INFO] [stderr] Downloaded thin-vec v0.2.12 [INFO] [stderr] Downloaded boa_interner v0.17.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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+8e47113d71ed3922084571d70deba661f0a20001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72ef18c39413981a93ae664f806c3c5394d61e7b24e5640c1ba53d5258d76421 [INFO] running `Command { std: "docker" "start" "-a" "72ef18c39413981a93ae664f806c3c5394d61e7b24e5640c1ba53d5258d76421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72ef18c39413981a93ae664f806c3c5394d61e7b24e5640c1ba53d5258d76421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72ef18c39413981a93ae664f806c3c5394d61e7b24e5640c1ba53d5258d76421", kill_on_drop: false }` [INFO] [stdout] 72ef18c39413981a93ae664f806c3c5394d61e7b24e5640c1ba53d5258d76421 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+8e47113d71ed3922084571d70deba661f0a20001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d82e4374286970179122f7ada6bb1d5b6edf0a51a18232e899d2c097a808112 [INFO] running `Command { std: "docker" "start" "-a" "9d82e4374286970179122f7ada6bb1d5b6edf0a51a18232e899d2c097a808112", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking pin-project-lite v0.2.11 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking litemap v0.7.1 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking writeable v0.5.3 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling ahash v0.8.3 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Compiling crossfont v0.5.1 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Checking thin-vec v0.2.12 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling winnow v0.5.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking boa_profiler v0.17.0 [INFO] [stderr] Checking tiny-skia-path v0.7.0 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking utf8_iter v1.0.3 [INFO] [stderr] Checking freetype-rs v0.26.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking utf16_iter v1.0.4 [INFO] [stderr] Checking wide v0.7.11 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking tiny-skia v0.7.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking regress v0.6.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling async-net v1.7.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-process v1.7.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking optional v0.5.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking robust v0.2.3 [INFO] [stderr] Checking fast-float v0.2.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking spade v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling icu_provider_macros v1.2.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling glium v0.32.1 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking ryu-js v0.2.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.3 [INFO] [stderr] Compiling yoke-derive v0.7.2 [INFO] [stderr] Compiling zerovec-derive v0.9.6 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling boa_macros v0.17.0 [INFO] [stderr] Compiling foreign-types-macros v0.2.3 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking boa_gc v0.17.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking boa_interner v0.17.0 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking boa_ast v0.17.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking smol v1.3.0 [INFO] [stderr] Checking exr v1.7.0 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking zerofrom v0.1.3 [INFO] [stderr] Checking yoke v0.7.2 [INFO] [stderr] Checking zerovec v0.9.6 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking tinystr v0.7.2 [INFO] [stderr] Checking icu_collections v1.2.0 [INFO] [stderr] Checking icu_locid v1.2.0 [INFO] [stderr] Checking sctk-adwaita v0.4.3 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Checking icu_provider v1.2.0 [INFO] [stderr] Checking winit v0.27.5 [INFO] [stderr] Checking icu_properties v1.2.0 [INFO] [stderr] Checking icu_normalizer v1.2.0 [INFO] [stderr] Checking boa_icu_provider v0.17.0 [INFO] [stderr] Checking boa_parser v0.17.0 [INFO] [stderr] Checking glutin v0.29.1 [INFO] [stderr] Checking boa_engine v0.17.0 [INFO] [stderr] Checking parry3d v0.13.5 [INFO] [stderr] Checking rapier3d v0.17.2 [INFO] [stderr] Checking boa_runtime v0.17.0 [INFO] [stderr] Checking kitsune-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `character_type` [INFO] [stdout] --> src/main.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use char_control::{Character, character_type}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix3`, `Matrix4`, `Rotation` [INFO] [stdout] --> src/main.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use nalgebra::{Vector3, Vector2, Matrix3, Matrix4, Rotation, Rotation3, Unit}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::VecDeque`, `f32::consts::PI`, `ops::Mul` [INFO] [stdout] --> src/main.rs:19:62 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{borrow::BorrowMut, time::{SystemTime, UNIX_EPOCH}, ops::Mul, f32::consts::PI, collections::VecDeque, fs}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `character_type` [INFO] [stdout] --> src/main.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use char_control::{Character, character_type}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix3`, `Matrix4`, `Rotation` [INFO] [stdout] --> src/main.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use nalgebra::{Vector3, Vector2, Matrix3, Matrix4, Rotation, Rotation3, Unit}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::VecDeque`, `f32::consts::PI`, `ops::Mul` [INFO] [stdout] --> src/main.rs:19:62 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{borrow::BorrowMut, time::{SystemTime, UNIX_EPOCH}, ops::Mul, f32::consts::PI, collections::VecDeque, fs}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `keconfig` should have an upper camel case name [INFO] [stdout] --> src/config.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct keconfig { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Keconfig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/dynamic_uniform.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::HashMap, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/lights.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Rotation3, Vector3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Mul` [INFO] [stdout] --> src/props.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, ops::Mul}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Rotation3`, `Unit` [INFO] [stdout] --> src/props.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{Rotation3, Vector3, Unit, Matrix4}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `phytype` should have an upper camel case name [INFO] [stdout] --> src/props.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum phytype { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Phytype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `physhape` should have an upper camel case name [INFO] [stdout] --> src/props.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum physhape { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Physhape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `proptype` should have an upper camel case name [INFO] [stdout] --> src/props.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum proptype { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Proptype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Legacy_Brick` should have an upper camel case name [INFO] [stdout] --> src/props.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Legacy_Brick, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LegacyBrick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Model_static` should have an upper camel case name [INFO] [stdout] --> src/props.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Model_static, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ModelStatic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/kbf.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::HashMap, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/kbf.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec3`, `textures::Texture` [INFO] [stdout] --> src/kbf.rs:9:85 [INFO] [stdout] | [INFO] [stdout] 9 | ...::grab, ke_units::{Vec3, parsef, radians, parse, parsei}, shaders::ShadvType, lights::PointLight, textures::Texture}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ke_units::Vec3` [INFO] [stdout] --> src/physic_props.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{props::{Prop, phytype}, ke_units::Vec3, models::Model}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Depth`, `DrawParameters`, `Program`, `Surface`, `VertexBuffer` [INFO] [stdout] --> src/char_control.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use glium::{Depth, Display, DrawParameters, Program, Surface, VertexBuffer}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VirtualKeyCode`, `dpi::Position` [INFO] [stdout] --> src/char_control.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{event::{VirtualKeyCode, KeyboardInput}, dpi::Position}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `character_type` should have an upper camel case name [INFO] [stdout] --> src/char_control.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum character_type { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CharacterType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | if(np.proptype == proptype::Model_static){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - if(np.proptype == proptype::Model_static){ [INFO] [stdout] 177 + if np.proptype == proptype::Model_static { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | if(np.shader_non_defalt){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - if(np.shader_non_defalt){ [INFO] [stdout] 181 + if np.shader_non_defalt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | if(np.transparency != 1.0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if(np.transparency != 1.0){ [INFO] [stdout] 185 + if np.transparency != 1.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | propz.insert((propz.len() as i32), womp); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - propz.insert((propz.len() as i32), womp); [INFO] [stdout] 205 + propz.insert(propz.len() as i32, womp); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | propz.insert((propz.len() as i32), womp); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 215 - propz.insert((propz.len() as i32), womp); [INFO] [stdout] 215 + propz.insert(propz.len() as i32, womp); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | if(metadataF.modified().unwrap() != sh.time_changed_f || metadataV.modified().unwrap() != sh.time_changed_v) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if(metadataF.modified().unwrap() != sh.time_changed_f || metadataV.modified().unwrap() != sh.time_changed_v) { [INFO] [stdout] 347 + if metadataF.modified().unwrap() != sh.time_changed_f || metadataV.modified().unwrap() != sh.time_changed_v { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:396:19 [INFO] [stdout] | [INFO] [stdout] 396 | if(main_cam.position.z src/config.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct keconfig { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Keconfig` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/dynamic_uniform.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{collections::HashMap, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/lights.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{Rotation3, Vector3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Mul` [INFO] [stdout] --> src/props.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, ops::Mul}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Rotation3`, `Unit` [INFO] [stdout] --> src/props.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{Rotation3, Vector3, Unit, Matrix4}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `phytype` should have an upper camel case name [INFO] [stdout] --> src/props.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum phytype { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Phytype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `physhape` should have an upper camel case name [INFO] [stdout] --> src/props.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum physhape { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Physhape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `proptype` should have an upper camel case name [INFO] [stdout] --> src/props.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum proptype { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Proptype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Legacy_Brick` should have an upper camel case name [INFO] [stdout] --> src/props.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Legacy_Brick, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LegacyBrick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Model_static` should have an upper camel case name [INFO] [stdout] --> src/props.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Model_static, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ModelStatic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string` [INFO] [stdout] --> src/kbf.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{collections::HashMap, string}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation3` [INFO] [stdout] --> src/kbf.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{Vector3, Rotation3}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec3`, `textures::Texture` [INFO] [stdout] --> src/kbf.rs:9:85 [INFO] [stdout] | [INFO] [stdout] 9 | ...::grab, ke_units::{Vec3, parsef, radians, parse, parsei}, shaders::ShadvType, lights::PointLight, textures::Texture}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ke_units::Vec3` [INFO] [stdout] --> src/physic_props.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{props::{Prop, phytype}, ke_units::Vec3, models::Model}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Depth`, `DrawParameters`, `Program`, `Surface`, `VertexBuffer` [INFO] [stdout] --> src/char_control.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use glium::{Depth, Display, DrawParameters, Program, Surface, VertexBuffer}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VirtualKeyCode`, `dpi::Position` [INFO] [stdout] --> src/char_control.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use winit::{event::{VirtualKeyCode, KeyboardInput}, dpi::Position}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `character_type` should have an upper camel case name [INFO] [stdout] --> src/char_control.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum character_type { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CharacterType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | if(np.proptype == proptype::Model_static){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - if(np.proptype == proptype::Model_static){ [INFO] [stdout] 177 + if np.proptype == proptype::Model_static { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | if(np.shader_non_defalt){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 181 - if(np.shader_non_defalt){ [INFO] [stdout] 181 + if np.shader_non_defalt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 185 | if(np.transparency != 1.0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if(np.transparency != 1.0){ [INFO] [stdout] 185 + if np.transparency != 1.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | propz.insert((propz.len() as i32), womp); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 205 - propz.insert((propz.len() as i32), womp); [INFO] [stdout] 205 + propz.insert(propz.len() as i32, womp); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:215:22 [INFO] [stdout] | [INFO] [stdout] 215 | propz.insert((propz.len() as i32), womp); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 215 - propz.insert((propz.len() as i32), womp); [INFO] [stdout] 215 + propz.insert(propz.len() as i32, womp); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | if(metadataF.modified().unwrap() != sh.time_changed_f || metadataV.modified().unwrap() != sh.time_changed_v) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if(metadataF.modified().unwrap() != sh.time_changed_f || metadataV.modified().unwrap() != sh.time_changed_v) { [INFO] [stdout] 347 + if metadataF.modified().unwrap() != sh.time_changed_f || metadataV.modified().unwrap() != sh.time_changed_v { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:396:19 [INFO] [stdout] | [INFO] [stdout] 396 | if(main_cam.position.z src/kbf.rs:94:47 [INFO] [stdout] | [INFO] [stdout] 94 | [">Baseplate", size, r, g, b, trans] => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/kbf.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | [">Script", id, script_local] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/kbf.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | ["Light", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/kbf.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | ["Light", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zs` [INFO] [stdout] --> src/kbf.rs:230:44 [INFO] [stdout] | [INFO] [stdout] 230 | ["Light", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/kbf.rs:237:44 [INFO] [stdout] | [INFO] [stdout] 237 | ["Spawn_Point", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/kbf.rs:237:47 [INFO] [stdout] | [INFO] [stdout] 237 | ["Spawn_Point", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zs` [INFO] [stdout] --> src/kbf.rs:237:50 [INFO] [stdout] | [INFO] [stdout] 237 | ["Spawn_Point", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/kbf.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/kbf.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/kbf.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/kbf.rs:240:39 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/kbf.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zs` [INFO] [stdout] --> src/kbf.rs:240:45 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/kbf.rs:315:45 [INFO] [stdout] | [INFO] [stdout] 315 | [x,y,z, xs,ys,zs, r,g,b,a] => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/physic_props.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut rigid_body = RigidBodyBuilder::new(RigidBodyType::Dynamic) [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/physic_props.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut rigid_body = RigidBodyBuilder::new(RigidBodyType::Dynamic) [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modelz` [INFO] [stdout] --> src/physic_props.rs:189:51 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn create_phy(&mut self, prop: &mut Prop, modelz: &HashMap) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_modelz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/char_control.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let speed = self.speed; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phys_world` [INFO] [stdout] --> src/char_control.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn interp_key(&mut self, phys_world: &mut PhysWorld, propz: &mut HashMap, input: KeyboardInput, delta_time: f32){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phys_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `propz` [INFO] [stdout] --> src/char_control.rs:115:62 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn interp_key(&mut self, phys_world: &mut PhysWorld, propz: &mut HashMap, input: KeyboardInput, delta_time: f32){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_propz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/char_control.rs:115:116 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn interp_key(&mut self, phys_world: &mut PhysWorld, propz: &mut HashMap, input: KeyboardInput, delta_time: f32){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phys_world` [INFO] [stdout] --> src/char_control.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn interp_mouse(&mut self, phys_world: &mut PhysWorld, propz: &mut HashMap, camera_map: &mut HashMap, mou... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phys_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `propz` [INFO] [stdout] --> src/char_control.rs:160:64 [INFO] [stdout] | [INFO] [stdout] 160 | ..., phys_world: &mut PhysWorld, propz: &mut HashMap, camera_map: &mut HashMap, mouse_delta: Vector2, screen... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_propz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_size` [INFO] [stdout] --> src/char_control.rs:160:162 [INFO] [stdout] | [INFO] [stdout] 160 | ...se_delta: Vector2, screen_size: Vector2, delta_time: f32){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/script.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(res) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/script.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | Ok(res) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/script.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(res) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let light = [1.4, 0.4, 0.7f32]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 313 | WindowEvent::KeyboardInput { device_id, input, is_synthetic } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/main.rs:313:64 [INFO] [stdout] | [INFO] [stdout] 313 | WindowEvent::KeyboardInput { device_id, input, is_synthetic } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:326:34 [INFO] [stdout] | [INFO] [stdout] 326 | Event::DeviceEvent { device_id, event } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | for (index, mut sh) in shaderz.iter_mut() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut delta_time = ((current_timestamp - last_timestamp)*0.1) as f32; [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:342:25 [INFO] [stdout] | [INFO] [stdout] 342 | for (index, mut sh) in shaderz.iter_mut() { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/kbf.rs:94:47 [INFO] [stdout] | [INFO] [stdout] 94 | [">Baseplate", size, r, g, b, trans] => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/kbf.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | [">Script", id, script_local] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/kbf.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | ["Light", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/kbf.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | ["Light", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zs` [INFO] [stdout] --> src/kbf.rs:230:44 [INFO] [stdout] | [INFO] [stdout] 230 | ["Light", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/kbf.rs:237:44 [INFO] [stdout] | [INFO] [stdout] 237 | ["Spawn_Point", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/kbf.rs:237:47 [INFO] [stdout] | [INFO] [stdout] 237 | ["Spawn_Point", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zs` [INFO] [stdout] --> src/kbf.rs:237:50 [INFO] [stdout] | [INFO] [stdout] 237 | ["Spawn_Point", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/kbf.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/kbf.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/kbf.rs:240:36 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xs` [INFO] [stdout] --> src/kbf.rs:240:39 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ys` [INFO] [stdout] --> src/kbf.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zs` [INFO] [stdout] --> src/kbf.rs:240:45 [INFO] [stdout] | [INFO] [stdout] 240 | ["Prefab", x,y,z, xs,ys,zs] => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/kbf.rs:315:45 [INFO] [stdout] | [INFO] [stdout] 315 | [x,y,z, xs,ys,zs, r,g,b,a] => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut shader_vars: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | for text in &prop.textures { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delay` is never used [INFO] [stdout] --> src/script.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn delay( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_KE_MAIN_PATH` should have a snake case name [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let _KE_MAIN_PATH = "."; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_ke_main_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_KE_MAIN_DEPENDENTS` should have a snake case name [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let _KE_MAIN_DEPENDENTS = "./engine_dependent"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_ke_main_dependents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/physic_props.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let mut rigid_body = RigidBodyBuilder::new(RigidBodyType::Dynamic) [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/physic_props.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let mut rigid_body = RigidBodyBuilder::new(RigidBodyType::Dynamic) [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modelz` [INFO] [stdout] --> src/physic_props.rs:189:51 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn create_phy(&mut self, prop: &mut Prop, modelz: &HashMap) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_modelz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/char_control.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let speed = self.speed; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phys_world` [INFO] [stdout] --> src/char_control.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn interp_key(&mut self, phys_world: &mut PhysWorld, propz: &mut HashMap, input: KeyboardInput, delta_time: f32){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phys_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `propz` [INFO] [stdout] --> src/char_control.rs:115:62 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn interp_key(&mut self, phys_world: &mut PhysWorld, propz: &mut HashMap, input: KeyboardInput, delta_time: f32){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_propz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/char_control.rs:115:116 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn interp_key(&mut self, phys_world: &mut PhysWorld, propz: &mut HashMap, input: KeyboardInput, delta_time: f32){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phys_world` [INFO] [stdout] --> src/char_control.rs:160:36 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn interp_mouse(&mut self, phys_world: &mut PhysWorld, propz: &mut HashMap, camera_map: &mut HashMap, mou... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_phys_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `propz` [INFO] [stdout] --> src/char_control.rs:160:64 [INFO] [stdout] | [INFO] [stdout] 160 | ..., phys_world: &mut PhysWorld, propz: &mut HashMap, camera_map: &mut HashMap, mouse_delta: Vector2, screen... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_propz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_size` [INFO] [stdout] --> src/char_control.rs:160:162 [INFO] [stdout] | [INFO] [stdout] 160 | ...se_delta: Vector2, screen_size: Vector2, delta_time: f32){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | v.set_cursor_grab(CursorGrabMode::Locked); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = v.set_cursor_grab(CursorGrabMode::Locked); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txCount` should have a snake case name [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let txCount = (texturez.len() as i32)-1; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mdCount` should have a snake case name [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mdCount = (modelz.len() as i32)-1; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `md_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shCount` should have a snake case name [INFO] [stdout] --> src/main.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let shCount = (shaderz.len() as i32)-1; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sh_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | v.set_cursor_position(LogicalPosition::new(width/2, height/2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = v.set_cursor_position(LogicalPosition::new(width/2, height/2)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `metadataF` should have a snake case name [INFO] [stdout] --> src/main.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | let metadataF = fs::metadata(format!("{name}.frag")).expect("failed to check shader file"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `metadata_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `metadataV` should have a snake case name [INFO] [stdout] --> src/main.rs:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | let metadataV = fs::metadata(format!("{name}.vert")).expect("failed to check shader file"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `metadata_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/script.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(res) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/script.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | Ok(res) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/script.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(res) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `New` should have a snake case name [INFO] [stdout] --> src/ke_units.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn New(x:f32,y:f32) -> Vec2{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `New` should have a snake case name [INFO] [stdout] --> src/ke_units.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn New(x:f32,y:f32,z:f32) -> Vec3{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `skyColor` should have a snake case name [INFO] [stdout] --> src/kbf.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub skyColor: Vector3, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sky_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `last_ID` should have a snake case name [INFO] [stdout] --> src/physic_props.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | last_ID: i32 [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light` [INFO] [stdout] --> src/main.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let light = [1.4, 0.4, 0.7f32]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 313 | WindowEvent::KeyboardInput { device_id, input, is_synthetic } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/main.rs:313:64 [INFO] [stdout] | [INFO] [stdout] 313 | WindowEvent::KeyboardInput { device_id, input, is_synthetic } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:326:34 [INFO] [stdout] | [INFO] [stdout] 326 | Event::DeviceEvent { device_id, event } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | for (index, mut sh) in shaderz.iter_mut() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `base::norm::>::normalize` that must be used [INFO] [stdout] --> src/char_control.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | front.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: Did you mean to use normalize_mut()? [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = front.normalize(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | let mut delta_time = ((current_timestamp - last_timestamp)*0.1) as f32; [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:342:25 [INFO] [stdout] | [INFO] [stdout] 342 | for (index, mut sh) in shaderz.iter_mut() { [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:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut shader_vars: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/main.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | for text in &prop.textures { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delay` is never used [INFO] [stdout] --> src/script.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn delay( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_KE_MAIN_PATH` should have a snake case name [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let _KE_MAIN_PATH = "."; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_ke_main_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_KE_MAIN_DEPENDENTS` should have a snake case name [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let _KE_MAIN_DEPENDENTS = "./engine_dependent"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `_ke_main_dependents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | v.set_cursor_grab(CursorGrabMode::Locked); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = v.set_cursor_grab(CursorGrabMode::Locked); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `txCount` should have a snake case name [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let txCount = (texturez.len() as i32)-1; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tx_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `mdCount` should have a snake case name [INFO] [stdout] --> src/main.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mdCount = (modelz.len() as i32)-1; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `md_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `shCount` should have a snake case name [INFO] [stdout] --> src/main.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let shCount = (shaderz.len() as i32)-1; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `sh_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | v.set_cursor_position(LogicalPosition::new(width/2, height/2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 332 | let _ = v.set_cursor_position(LogicalPosition::new(width/2, height/2)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `metadataF` should have a snake case name [INFO] [stdout] --> src/main.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | let metadataF = fs::metadata(format!("{name}.frag")).expect("failed to check shader file"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `metadata_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `metadataV` should have a snake case name [INFO] [stdout] --> src/main.rs:345:21 [INFO] [stdout] | [INFO] [stdout] 345 | let metadataV = fs::metadata(format!("{name}.vert")).expect("failed to check shader file"); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `metadata_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `New` should have a snake case name [INFO] [stdout] --> src/ke_units.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn New(x:f32,y:f32) -> Vec2{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `New` should have a snake case name [INFO] [stdout] --> src/ke_units.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn New(x:f32,y:f32,z:f32) -> Vec3{ [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `skyColor` should have a snake case name [INFO] [stdout] --> src/kbf.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub skyColor: Vector3, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sky_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `last_ID` should have a snake case name [INFO] [stdout] --> src/physic_props.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | last_ID: i32 [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `last_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `base::norm::>::normalize` that must be used [INFO] [stdout] --> src/char_control.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | front.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: Did you mean to use normalize_mut()? [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = front.normalize(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.21s [INFO] running `Command { std: "docker" "inspect" "9d82e4374286970179122f7ada6bb1d5b6edf0a51a18232e899d2c097a808112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d82e4374286970179122f7ada6bb1d5b6edf0a51a18232e899d2c097a808112", kill_on_drop: false }` [INFO] [stdout] 9d82e4374286970179122f7ada6bb1d5b6edf0a51a18232e899d2c097a808112