[INFO] cloning repository https://github.com/Frisk197/GameOfLife2D [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Frisk197/GameOfLife2D" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrisk197%2FGameOfLife2D", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrisk197%2FGameOfLife2D'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b2372972b450e0062b59c8f69449990ee67c6ae [INFO] checking Frisk197/GameOfLife2D against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrisk197%2FGameOfLife2D" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Frisk197/GameOfLife2D on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Frisk197/GameOfLife2D [INFO] finished tweaking git repo https://github.com/Frisk197/GameOfLife2D [INFO] tweaked toml for git repo https://github.com/Frisk197/GameOfLife2D written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Frisk197/GameOfLife2D 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-lite v2.4.0 [INFO] [stderr] Downloaded ruzstd v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3ce8a6a1d3b34aef753e1d59c203676f1af57e490629dacdb7ba8b82b4f9a72 [INFO] running `Command { std: "docker" "start" "-a" "d3ce8a6a1d3b34aef753e1d59c203676f1af57e490629dacdb7ba8b82b4f9a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3ce8a6a1d3b34aef753e1d59c203676f1af57e490629dacdb7ba8b82b4f9a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ce8a6a1d3b34aef753e1d59c203676f1af57e490629dacdb7ba8b82b4f9a72", kill_on_drop: false }` [INFO] [stdout] d3ce8a6a1d3b34aef753e1d59c203676f1af57e490629dacdb7ba8b82b4f9a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 236778acb99a1e5b6d5102f5ea1e4697779043e13dbb53f00d5f078ecb073d40 [INFO] running `Command { std: "docker" "start" "-a" "236778acb99a1e5b6d5102f5ea1e4697779043e13dbb53f00d5f078ecb073d40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking futures-lite v2.4.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking bevy_ptr v0.14.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking bevy_tasks v0.14.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling wgpu-hal v0.21.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking accesskit v0.14.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling wgpu-core v0.21.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking fdeflate v0.3.6 [INFO] [stderr] Compiling wgpu v0.20.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking const_panic v0.2.10 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking ruzstd v0.7.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking ttf-parser v0.25.0 [INFO] [stderr] Checking svg_fmt v0.4.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking grid v0.14.0 [INFO] [stderr] Checking taffy v0.5.2 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking glyph_brush_layout v0.2.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling bevy_macro_utils v0.14.2 [INFO] [stderr] Compiling encase_derive_impl v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.14.2 [INFO] [stderr] Compiling bevy_reflect_derive v0.14.2 [INFO] [stderr] Compiling bevy_ecs_macros v0.14.2 [INFO] [stderr] Compiling bevy_derive v0.14.2 [INFO] [stderr] Compiling bevy_asset_macros v0.14.2 [INFO] [stderr] Compiling bevy_render_macros v0.14.2 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Compiling bevy_gizmos_macros v0.14.2 [INFO] [stderr] Compiling encase_derive v0.8.0 [INFO] [stderr] Compiling bevy_encase_derive v0.14.2 [INFO] [stderr] Compiling bevy_state_macros v0.14.2 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking image v0.25.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking wgpu-types v0.20.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking bevy_utils v0.14.2 [INFO] [stderr] Checking gpu-descriptor v0.3.0 [INFO] [stderr] Checking gilrs-core v0.5.15 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking rodio v0.18.1 [INFO] [stderr] Checking naga v0.20.0 [INFO] [stderr] Checking bevy_reflect v0.14.2 [INFO] [stderr] Checking encase v0.8.0 [INFO] [stderr] Checking hexasphere v12.0.0 [INFO] [stderr] Checking bevy_mikktspace v0.14.2 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking bevy_ecs v0.14.2 [INFO] [stderr] Checking bevy_math v0.14.2 [INFO] [stderr] Checking accesskit_winit v0.20.4 [INFO] [stderr] Checking naga_oil v0.14.0 [INFO] [stderr] Checking bevy_color v0.14.3 [INFO] [stderr] Checking bevy_app v0.14.2 [INFO] [stderr] Checking bevy_core v0.14.2 [INFO] [stderr] Checking bevy_a11y v0.14.2 [INFO] [stderr] Checking bevy_time v0.14.2 [INFO] [stderr] Checking bevy_asset v0.14.2 [INFO] [stderr] Checking bevy_input v0.14.2 [INFO] [stderr] Checking bevy_log v0.14.2 [INFO] [stderr] Checking bevy_window v0.14.2 [INFO] [stderr] Checking bevy_hierarchy v0.14.2 [INFO] [stderr] Checking bevy_diagnostic v0.14.2 [INFO] [stderr] Checking bevy_transform v0.14.2 [INFO] [stderr] Checking bevy_state v0.14.2 [INFO] [stderr] Checking bevy_winit v0.14.2 [INFO] [stderr] Checking bevy_gilrs v0.14.2 [INFO] [stderr] Checking bevy_render v0.14.2 [INFO] [stderr] Checking bevy_audio v0.14.2 [INFO] [stderr] Checking bevy_core_pipeline v0.14.2 [INFO] [stderr] Checking bevy_scene v0.14.2 [INFO] [stderr] Checking bevy_animation v0.14.2 [INFO] [stderr] Checking bevy_sprite v0.14.2 [INFO] [stderr] Checking bevy_pbr v0.14.2 [INFO] [stderr] Checking bevy_text v0.14.2 [INFO] [stderr] Checking bevy_ui v0.14.2 [INFO] [stderr] Checking bevy_gltf v0.14.2 [INFO] [stderr] Checking bevy_gizmos v0.14.2 [INFO] [stderr] Checking bevy_internal v0.14.2 [INFO] [stderr] Checking bevy v0.14.2 [INFO] [stderr] Checking GameOfLife2D v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/systems.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/systems.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `In` [INFO] [stdout] --> src/systems.rs:7:117 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::prelude::{default, Camera, Camera2dBundle, ColorMaterial, Commands, Entity, EventReader, GlobalTransform, In, KeyCode, Mesh, Mo... [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/systems.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use bevy::utils::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | if(mouse_input.pressed(MouseButton::Left) && !mouse_input.pressed(MouseButton::Right)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if(mouse_input.pressed(MouseButton::Left) && !mouse_input.pressed(MouseButton::Right)){ [INFO] [stdout] 106 + if mouse_input.pressed(MouseButton::Left) && !mouse_input.pressed(MouseButton::Right) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | } else if(mouse_input.pressed(MouseButton::Right) && !mouse_input.pressed(MouseButton::Left)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - } else if(mouse_input.pressed(MouseButton::Right) && !mouse_input.pressed(MouseButton::Left)){ [INFO] [stdout] 108 + } else if mouse_input.pressed(MouseButton::Right) && !mouse_input.pressed(MouseButton::Left) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | if(key == MouseButton::Left){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - if(key == MouseButton::Left){ [INFO] [stdout] 111 + if key == MouseButton::Left { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/systems.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | commands.spawn(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 183 | | TileMap{ [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 187 | } [INFO] [stdout] | __________^ [INFO] [stdout] 188 | | )); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 ~ commands.spawn(TileMap{ [INFO] [stdout] 183 | running: false, [INFO] [stdout] 184 | current_state: HashMap::new(), [INFO] [stdout] 185 | stable_current_state: HashMap::new(), [INFO] [stdout] 186 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | if(refresh_timer.timeBetweenRefresh != 0 && refresh_timer.lastRefresh + refresh_timer.timeBetweenRefresh >= time.elapsed().as_millis()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - if(refresh_timer.timeBetweenRefresh != 0 && refresh_timer.lastRefresh + refresh_timer.timeBetweenRefresh >= time.elapsed().as_millis()){ [INFO] [stdout] 214 + if refresh_timer.timeBetweenRefresh != 0 && refresh_timer.lastRefresh + refresh_timer.timeBetweenRefresh >= time.elapsed().as_millis() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | } else if(!currTile.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 240 - } else if(!currTile.is_none()){ [INFO] [stdout] 240 + } else if !currTile.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | } else if(index < tileMapSize){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 246 - } else if(index < tileMapSize){ [INFO] [stdout] 246 + } else if index < tileMapSize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | if(!currTile.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - if(!currTile.is_none()){ [INFO] [stdout] 260 + if !currTile.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | } else if(index < tileMapSize){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 266 - } else if(index < tileMapSize){ [INFO] [stdout] 266 + } else if index < tileMapSize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | if(index < tilesSize){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 284 - if(index < tilesSize){ [INFO] [stdout] 284 + if index < tilesSize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | if(!currTile.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 287 - if(!currTile.is_none()){ [INFO] [stdout] 287 + if !currTile.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | if(unusedPercentage > 20 && (((tilesSize-index) / tilesSize) * 100) > 80){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 289 - if(unusedPercentage > 20 && (((tilesSize-index) / tilesSize) * 100) > 80){ [INFO] [stdout] 289 + if unusedPercentage > 20 && (((tilesSize-index) / tilesSize) * 100) > 80 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:313:11 [INFO] [stdout] | [INFO] [stdout] 313 | if(transform.translation.x == 1.0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 313 - if(transform.translation.x == 1.0){ [INFO] [stdout] 313 + if transform.translation.x == 1.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | if(keyboard_input.just_pressed(KeyCode::Space)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 339 - if(keyboard_input.just_pressed(KeyCode::Space)){ [INFO] [stdout] 339 + if keyboard_input.just_pressed(KeyCode::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | if(tileMap.running){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 341 - if(tileMap.running){ [INFO] [stdout] 341 + if tileMap.running { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 347 | if(tileMap.running){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if(tileMap.running){ [INFO] [stdout] 347 + if tileMap.running { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:374:15 [INFO] [stdout] | [INFO] [stdout] 374 | ... if(!tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) && !stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0))){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - if(!tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) && !stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0))){ [INFO] [stdout] 374 + if !tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) && !stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | ... if(!(k==0 && l==0) && (tileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0))... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 379 - if(!(k==0 && l==0) && (tileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0)))){ [INFO] [stdout] 379 + if !(k==0 && l==0) && (tileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0))) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | if(countArround == 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 386 - if(countArround == 3){ [INFO] [stdout] 386 + if countArround == 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | ... if(!(i==0 && j==0) && (tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0))... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 404 - if(!(i==0 && j==0) && (tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)))){ [INFO] [stdout] 404 + if !(i==0 && j==0) && (tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0))) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | if(count < 2 || count > 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 410 - if(count < 2 || count > 3){ [INFO] [stdout] 410 + if count < 2 || count > 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:412:11 [INFO] [stdout] | [INFO] [stdout] 412 | if(!ent.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 412 - if(!ent.is_none()){ [INFO] [stdout] 412 + if !ent.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | if(*updateStep <= 1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 429 - if(*updateStep <= 1){ [INFO] [stdout] 429 + if *updateStep <= 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:446:7 [INFO] [stdout] | [INFO] [stdout] 446 | if(keyboard_input.just_pressed(KeyCode::KeyB)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 - if(keyboard_input.just_pressed(KeyCode::KeyB)){ [INFO] [stdout] 446 + if keyboard_input.just_pressed(KeyCode::KeyB) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:484:19 [INFO] [stdout] | [INFO] [stdout] 484 | if(benchmark[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0)))){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 484 - if(benchmark[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0)))){ [INFO] [stdout] 484 + if benchmark[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0))) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:496:7 [INFO] [stdout] | [INFO] [stdout] 496 | if(keyboard_input.just_pressed(KeyCode::KeyG)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 496 - if(keyboard_input.just_pressed(KeyCode::KeyG)){ [INFO] [stdout] 496 + if keyboard_input.just_pressed(KeyCode::KeyG) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:507:19 [INFO] [stdout] | [INFO] [stdout] 507 | if(glider[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0)))){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 507 - if(glider[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0)))){ [INFO] [stdout] 507 + if glider[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0))) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:519:7 [INFO] [stdout] | [INFO] [stdout] 519 | if(keyboard_input.just_pressed(KeyCode::Backspace)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 519 - if(keyboard_input.just_pressed(KeyCode::Backspace)){ [INFO] [stdout] 519 + if keyboard_input.just_pressed(KeyCode::Backspace) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uVec3` should have an upper camel case name [INFO] [stdout] --> src/uVec3.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct uVec3{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `UVec3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extent3d`, `PrimaryWindow`, `TextureDescriptor`, `TextureDimension`, `TextureFormat`, `TextureUsages`, `WindowResized`, `camera::RenderTarget`, `sprite::MaterialMesh2dBundle`, and `view::RenderLayers` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | camera::RenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | render_resource::{ [INFO] [stdout] 10 | Extent3d, TextureDescriptor, TextureDimension, TextureFormat, TextureUsages, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | }, [INFO] [stdout] 12 | view::RenderLayers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | }, [INFO] [stdout] 14 | sprite::MaterialMesh2dBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | window::{ [INFO] [stdout] 16 | WindowResized, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | PrimaryWindow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameTimeDiagnosticsPlugin` and `LogDiagnosticsPlugin` [INFO] [stdout] --> src/main.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use bevy::diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InputPlugin` and `InputSystem` [INFO] [stdout] --> src/main.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use bevy::input::{InputPlugin, InputSystem}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::input::keyboard::KeyboardInput` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use bevy::input::keyboard::KeyboardInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseButtonInput` and `MouseWheel` [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use bevy::input::mouse::{MouseButtonInput, MouseWheel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/systems.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/systems.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `In` [INFO] [stdout] --> src/systems.rs:7:117 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy::prelude::{default, Camera, Camera2dBundle, ColorMaterial, Commands, Entity, EventReader, GlobalTransform, In, KeyCode, Mesh, Mo... [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/systems.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use bevy::utils::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | if(mouse_input.pressed(MouseButton::Left) && !mouse_input.pressed(MouseButton::Right)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if(mouse_input.pressed(MouseButton::Left) && !mouse_input.pressed(MouseButton::Right)){ [INFO] [stdout] 106 + if mouse_input.pressed(MouseButton::Left) && !mouse_input.pressed(MouseButton::Right) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | } else if(mouse_input.pressed(MouseButton::Right) && !mouse_input.pressed(MouseButton::Left)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - } else if(mouse_input.pressed(MouseButton::Right) && !mouse_input.pressed(MouseButton::Left)){ [INFO] [stdout] 108 + } else if mouse_input.pressed(MouseButton::Right) && !mouse_input.pressed(MouseButton::Left) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | if(key == MouseButton::Left){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 111 - if(key == MouseButton::Left){ [INFO] [stdout] 111 + if key == MouseButton::Left { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/systems.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | commands.spawn(( [INFO] [stdout] | ____________________^ [INFO] [stdout] 183 | | TileMap{ [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 187 | } [INFO] [stdout] | __________^ [INFO] [stdout] 188 | | )); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 182 ~ commands.spawn(TileMap{ [INFO] [stdout] 183 | running: false, [INFO] [stdout] 184 | current_state: HashMap::new(), [INFO] [stdout] 185 | stable_current_state: HashMap::new(), [INFO] [stdout] 186 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | if(refresh_timer.timeBetweenRefresh != 0 && refresh_timer.lastRefresh + refresh_timer.timeBetweenRefresh >= time.elapsed().as_millis()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - if(refresh_timer.timeBetweenRefresh != 0 && refresh_timer.lastRefresh + refresh_timer.timeBetweenRefresh >= time.elapsed().as_millis()){ [INFO] [stdout] 214 + if refresh_timer.timeBetweenRefresh != 0 && refresh_timer.lastRefresh + refresh_timer.timeBetweenRefresh >= time.elapsed().as_millis() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | } else if(!currTile.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 240 - } else if(!currTile.is_none()){ [INFO] [stdout] 240 + } else if !currTile.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | } else if(index < tileMapSize){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 246 - } else if(index < tileMapSize){ [INFO] [stdout] 246 + } else if index < tileMapSize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | if(!currTile.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - if(!currTile.is_none()){ [INFO] [stdout] 260 + if !currTile.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | } else if(index < tileMapSize){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 266 - } else if(index < tileMapSize){ [INFO] [stdout] 266 + } else if index < tileMapSize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:284:7 [INFO] [stdout] | [INFO] [stdout] 284 | if(index < tilesSize){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 284 - if(index < tilesSize){ [INFO] [stdout] 284 + if index < tilesSize { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | if(!currTile.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 287 - if(!currTile.is_none()){ [INFO] [stdout] 287 + if !currTile.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | if(unusedPercentage > 20 && (((tilesSize-index) / tilesSize) * 100) > 80){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 289 - if(unusedPercentage > 20 && (((tilesSize-index) / tilesSize) * 100) > 80){ [INFO] [stdout] 289 + if unusedPercentage > 20 && (((tilesSize-index) / tilesSize) * 100) > 80 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:313:11 [INFO] [stdout] | [INFO] [stdout] 313 | if(transform.translation.x == 1.0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 313 - if(transform.translation.x == 1.0){ [INFO] [stdout] 313 + if transform.translation.x == 1.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | if(keyboard_input.just_pressed(KeyCode::Space)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 339 - if(keyboard_input.just_pressed(KeyCode::Space)){ [INFO] [stdout] 339 + if keyboard_input.just_pressed(KeyCode::Space) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:341:11 [INFO] [stdout] | [INFO] [stdout] 341 | if(tileMap.running){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 341 - if(tileMap.running){ [INFO] [stdout] 341 + if tileMap.running { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:347:7 [INFO] [stdout] | [INFO] [stdout] 347 | if(tileMap.running){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if(tileMap.running){ [INFO] [stdout] 347 + if tileMap.running { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:374:15 [INFO] [stdout] | [INFO] [stdout] 374 | ... if(!tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) && !stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0))){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - if(!tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) && !stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0))){ [INFO] [stdout] 374 + if !tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) && !stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:379:27 [INFO] [stdout] | [INFO] [stdout] 379 | ... if(!(k==0 && l==0) && (tileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0))... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 379 - if(!(k==0 && l==0) && (tileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0)))){ [INFO] [stdout] 379 + if !(k==0 && l==0) && (tileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i + k, pos.y + j + l, 0))) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | if(countArround == 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 386 - if(countArround == 3){ [INFO] [stdout] 386 + if countArround == 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:404:15 [INFO] [stdout] | [INFO] [stdout] 404 | ... if(!(i==0 && j==0) && (tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0))... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 404 - if(!(i==0 && j==0) && (tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)))){ [INFO] [stdout] 404 + if !(i==0 && j==0) && (tileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0)) || stableTileMap.contains_key(&uVec3::new(pos.x + i, pos.y + j, 0))) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:410:7 [INFO] [stdout] | [INFO] [stdout] 410 | if(count < 2 || count > 3){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 410 - if(count < 2 || count > 3){ [INFO] [stdout] 410 + if count < 2 || count > 3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:412:11 [INFO] [stdout] | [INFO] [stdout] 412 | if(!ent.is_none()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 412 - if(!ent.is_none()){ [INFO] [stdout] 412 + if !ent.is_none() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:429:11 [INFO] [stdout] | [INFO] [stdout] 429 | if(*updateStep <= 1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 429 - if(*updateStep <= 1){ [INFO] [stdout] 429 + if *updateStep <= 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:446:7 [INFO] [stdout] | [INFO] [stdout] 446 | if(keyboard_input.just_pressed(KeyCode::KeyB)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 446 - if(keyboard_input.just_pressed(KeyCode::KeyB)){ [INFO] [stdout] 446 + if keyboard_input.just_pressed(KeyCode::KeyB) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:484:19 [INFO] [stdout] | [INFO] [stdout] 484 | if(benchmark[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0)))){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 484 - if(benchmark[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0)))){ [INFO] [stdout] 484 + if benchmark[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0))) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:496:7 [INFO] [stdout] | [INFO] [stdout] 496 | if(keyboard_input.just_pressed(KeyCode::KeyG)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 496 - if(keyboard_input.just_pressed(KeyCode::KeyG)){ [INFO] [stdout] 496 + if keyboard_input.just_pressed(KeyCode::KeyG) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:507:19 [INFO] [stdout] | [INFO] [stdout] 507 | if(glider[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0)))){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 507 - if(glider[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0)))){ [INFO] [stdout] 507 + if glider[i][j] == 1 && !(tileMap.current_state.contains_key(&uVec3::new(i as i32, j as i32, 0))) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/systems.rs:519:7 [INFO] [stdout] | [INFO] [stdout] 519 | if(keyboard_input.just_pressed(KeyCode::Backspace)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 519 - if(keyboard_input.just_pressed(KeyCode::Backspace)){ [INFO] [stdout] 519 + if keyboard_input.just_pressed(KeyCode::Backspace) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uVec3` should have an upper camel case name [INFO] [stdout] --> src/uVec3.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct uVec3{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `UVec3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extent3d`, `PrimaryWindow`, `TextureDescriptor`, `TextureDimension`, `TextureFormat`, `TextureUsages`, `WindowResized`, `camera::RenderTarget`, `sprite::MaterialMesh2dBundle`, and `view::RenderLayers` [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | camera::RenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | render_resource::{ [INFO] [stdout] 10 | Extent3d, TextureDescriptor, TextureDimension, TextureFormat, TextureUsages, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | }, [INFO] [stdout] 12 | view::RenderLayers, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | }, [INFO] [stdout] 14 | sprite::MaterialMesh2dBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | window::{ [INFO] [stdout] 16 | WindowResized, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | PrimaryWindow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FrameTimeDiagnosticsPlugin` and `LogDiagnosticsPlugin` [INFO] [stdout] --> src/main.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use bevy::diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InputPlugin` and `InputSystem` [INFO] [stdout] --> src/main.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | use bevy::input::{InputPlugin, InputSystem}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::input::keyboard::KeyboardInput` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use bevy::input::keyboard::KeyboardInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MouseButtonInput` and `MouseWheel` [INFO] [stdout] --> src/main.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | use bevy::input::mouse::{MouseButtonInput, MouseWheel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::reflect::Array` [INFO] [stdout] --> src/systems.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bevy::reflect::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCounter` [INFO] [stdout] --> src/systems.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | ... let (entity, updateCounter) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32 + i, world_position.y as i32 + j... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCounter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCounter` [INFO] [stdout] --> src/systems.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | ... let (entity, updateCounter) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32 + i, world_position.y as i32 + j... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCounter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCounter` [INFO] [stdout] --> src/systems.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Some((entity, updateCounter)) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32, world_position.y as i3... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCounter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCounter` [INFO] [stdout] --> src/systems.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | ... if let Some((entity, updateCounter)) = tileMap.current_state.get(&uVec3::new(world_position.x as i32, world_position.y as i32, 0)){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCounter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_query` [INFO] [stdout] --> src/systems.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | mut tile_query: Query<(Entity, &Tile, &mut Transform), With>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::reflect::Array` [INFO] [stdout] --> src/systems.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bevy::reflect::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | mut tile_query: Query<(Entity, &Tile, &mut Transform), With>, [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: unused variable: `entity` [INFO] [stdout] --> src/systems.rs:195:53 [INFO] [stdout] | [INFO] [stdout] 195 | not_in_map_tile_query.par_iter_mut().for_each(|(entity, tile, mut transform)|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:195:61 [INFO] [stdout] | [INFO] [stdout] 195 | not_in_map_tile_query.par_iter_mut().for_each(|(entity, tile, mut transform)|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reft` [INFO] [stdout] --> src/systems.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 234 | let (reft, refmesh, refmat) = reference_tile_query.single(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_reft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateState` [INFO] [stdout] --> src/systems.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | for (pos, (entity, updateState)) in tileMap.current_state.iter_mut(){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tileEntity` [INFO] [stdout] --> src/systems.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok((tileEntity, tile, mut transform)) = tile_query.get_mut(entity.unwrap()){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tileEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok((tileEntity, tile, mut transform)) = tile_query.get_mut(entity.unwrap()){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/systems.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | for i in 0..(tilesSize-index){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:288:30 [INFO] [stdout] | [INFO] [stdout] 288 | let (entity, tile, mut transform) = currTile.unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCounter` [INFO] [stdout] --> src/systems.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | ... let (entity, updateCounter) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32 + i, world_position.y as i32 + j... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCounter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCounter` [INFO] [stdout] --> src/systems.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | ... let (entity, updateCounter) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32 + i, world_position.y as i32 + j... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCounter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCounter` [INFO] [stdout] --> src/systems.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Some((entity, updateCounter)) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32, world_position.y as i3... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCounter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCounter` [INFO] [stdout] --> src/systems.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | ... if let Some((entity, updateCounter)) = tileMap.current_state.get(&uVec3::new(world_position.x as i32, world_position.y as i32, 0)){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCounter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile_query` [INFO] [stdout] --> src/systems.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | mut tile_query: Query<(Entity, &Tile, &mut Transform), With>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tile_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | mut tile_query: Query<(Entity, &Tile, &mut Transform), With>, [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/systems.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | mut reference_tile_query: Query<(&ReferenceTile, &Mesh2dHandle, &Handle)>, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/systems.rs:195:53 [INFO] [stdout] | [INFO] [stdout] 195 | not_in_map_tile_query.par_iter_mut().for_each(|(entity, tile, mut transform)|{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:195:61 [INFO] [stdout] | [INFO] [stdout] 195 | not_in_map_tile_query.par_iter_mut().for_each(|(entity, tile, mut transform)|{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reft` [INFO] [stdout] --> src/systems.rs:234:10 [INFO] [stdout] | [INFO] [stdout] 234 | let (reft, refmesh, refmat) = reference_tile_query.single(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_reft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateState` [INFO] [stdout] --> src/systems.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | for (pos, (entity, updateState)) in tileMap.current_state.iter_mut(){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tileEntity` [INFO] [stdout] --> src/systems.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok((tileEntity, tile, mut transform)) = tile_query.get_mut(entity.unwrap()){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tileEntity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:238:36 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok((tileEntity, tile, mut transform)) = tile_query.get_mut(entity.unwrap()){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:261:34 [INFO] [stdout] | [INFO] [stdout] 261 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/systems.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | for i in 0..(tilesSize-index){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:288:30 [INFO] [stdout] | [INFO] [stdout] 288 | let (entity, tile, mut transform) = currTile.unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | mut tile_query: Query<(&Handle, &mut Transform), With>, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCount` [INFO] [stdout] --> src/systems.rs:394:54 [INFO] [stdout] | [INFO] [stdout] 394 | ... let (entity, updateCount) = stableTileMap.get(&uVec3::new(pos.x, pos.y, pos.z)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upd` [INFO] [stdout] --> src/systems.rs:411:19 [INFO] [stdout] | [INFO] [stdout] 411 | let (ent, upd) = tileMap.get(&uVec3::new(pos.x, pos.y, 0)).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_upd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateStep` [INFO] [stdout] --> src/systems.rs:421:34 [INFO] [stdout] | [INFO] [stdout] 421 | let (entity, updateStep) = stableTileMap.get(&uVec3::new(pos.x + i, pos.y + j, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateStep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | mut reference_tile_query: Query<(&ReferenceTile, &Mesh2dHandle, &Handle)>, [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/systems.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | mut tile_query: Query<(&Handle, &mut Transform), With>, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | ... let (pos, (e, update_count)) = tileMap.stable_current_state.get_key_value(&uVec3::new(i as i32, j as i32, 0)).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_count` [INFO] [stdout] --> src/systems.rs:487:39 [INFO] [stdout] | [INFO] [stdout] 487 | ... let (pos, (e, update_count)) = tileMap.stable_current_state.get_key_value(&uVec3::new(i as i32, j as i32, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateCount` [INFO] [stdout] --> src/systems.rs:394:54 [INFO] [stdout] | [INFO] [stdout] 394 | ... let (entity, updateCount) = stableTileMap.get(&uVec3::new(pos.x, pos.y, pos.z)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateCount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `upd` [INFO] [stdout] --> src/systems.rs:411:19 [INFO] [stdout] | [INFO] [stdout] 411 | let (ent, upd) = tileMap.get(&uVec3::new(pos.x, pos.y, 0)).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_upd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems.rs:510:30 [INFO] [stdout] | [INFO] [stdout] 510 | ... let (pos, (e, update_count)) = tileMap.stable_current_state.get_key_value(&uVec3::new(i as i32, j as i32, 0)).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_count` [INFO] [stdout] --> src/systems.rs:510:39 [INFO] [stdout] | [INFO] [stdout] 510 | ... let (pos, (e, update_count)) = tileMap.stable_current_state.get_key_value(&uVec3::new(i as i32, j as i32, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:523:22 [INFO] [stdout] | [INFO] [stdout] 523 | for (entity, tile, mut transform) in tile_query.iter_mut(){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updateStep` [INFO] [stdout] --> src/systems.rs:421:34 [INFO] [stdout] | [INFO] [stdout] 421 | let (entity, updateStep) = stableTileMap.get(&uVec3::new(pos.x + i, pos.y + j, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updateStep` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | ... let (pos, (e, update_count)) = tileMap.stable_current_state.get_key_value(&uVec3::new(i as i32, j as i32, 0)).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_count` [INFO] [stdout] --> src/systems.rs:487:39 [INFO] [stdout] | [INFO] [stdout] 487 | ... let (pos, (e, update_count)) = tileMap.stable_current_state.get_key_value(&uVec3::new(i as i32, j as i32, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/systems.rs:510:30 [INFO] [stdout] | [INFO] [stdout] 510 | ... let (pos, (e, update_count)) = tileMap.stable_current_state.get_key_value(&uVec3::new(i as i32, j as i32, 0)).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update_count` [INFO] [stdout] --> src/systems.rs:510:39 [INFO] [stdout] | [INFO] [stdout] 510 | ... let (pos, (e, update_count)) = tileMap.stable_current_state.get_key_value(&uVec3::new(i as i32, j as i32, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_update_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/systems.rs:523:22 [INFO] [stdout] | [INFO] [stdout] 523 | for (entity, tile, mut transform) in tile_query.iter_mut(){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/uVec3.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut a: uVec3 = uVec3 { [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/uVec3.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut a: Vec3 = Vec3::new(self.x as f32, self.y as f32, self.z 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/uVec3.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut a: uVec3 = uVec3 { [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/uVec3.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut a: Vec3 = Vec3::new(self.x as f32, self.y as f32, self.z as f32); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVISIBLE` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const INVISIBLE: Color = Color::linear_rgba(0., 0., 0., 0.); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stable` is never constructed [INFO] [stdout] --> src/components.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Stable; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TilesCache` is never constructed [INFO] [stdout] --> src/components.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TilesCache{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_tiles_cache` is never used [INFO] [stdout] --> src/systems.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn setup_tiles_cache(mut commands: Commands){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_cube_material` is never used [INFO] [stdout] --> src/systems.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn display_cube_material( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `uVec3` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod uVec3; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_vec3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRefresh` should have a snake case name [INFO] [stdout] --> src/components.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub lastRefresh: u128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `last_refresh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `timeBetweenRefresh` should have a snake case name [INFO] [stdout] --> src/components.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub timeBetweenRefresh: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_between_refresh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `meshAssets` should have a snake case name [INFO] [stdout] --> src/systems.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | mut meshAssets: ResMut>, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mesh_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `materialAssets` should have a snake case name [INFO] [stdout] --> src/systems.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | mut materialAssets: ResMut> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `material_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | if let Ok(mut tileMap) = tilemap_query.get_single_mut(){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCounter` should have a snake case name [INFO] [stdout] --> src/systems.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | ... let (entity, updateCounter) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32 + i, world_position.y as i32 + j... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | if let Ok(mut tileMap) = tilemap_query.get_single_mut(){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCounter` should have a snake case name [INFO] [stdout] --> src/systems.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | ... let (entity, updateCounter) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32 + i, world_position.y as i32 + j... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCounter` should have a snake case name [INFO] [stdout] --> src/systems.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Some((entity, updateCounter)) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32, world_position.y as i3... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCounter` should have a snake case name [INFO] [stdout] --> src/systems.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | ... if let Some((entity, updateCounter)) = tileMap.current_state.get(&uVec3::new(world_position.x as i32, world_position.y as i32, 0)){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMapSize` should have a snake case name [INFO] [stdout] --> src/systems.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let tileMapSize = sizea + sizeb; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tile_map_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tilesSize` should have a snake case name [INFO] [stdout] --> src/systems.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let tilesSize = tiles.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tiles_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currTile` should have a snake case name [INFO] [stdout] --> src/systems.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut currTile = tiles.next(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `curr_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateState` should have a snake case name [INFO] [stdout] --> src/systems.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | for (pos, (entity, updateState)) in tileMap.current_state.iter_mut(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileEntity` should have a snake case name [INFO] [stdout] --> src/systems.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok((tileEntity, tile, mut transform)) = tile_query.get_mut(entity.unwrap()){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tile_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileEntity` should have a snake case name [INFO] [stdout] --> src/systems.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tile_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileTransform` should have a snake case name [INFO] [stdout] --> src/systems.rs:241:44 [INFO] [stdout] | [INFO] [stdout] 241 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tile_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileEntity` should have a snake case name [INFO] [stdout] --> src/systems.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tile_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileTransform` should have a snake case name [INFO] [stdout] --> src/systems.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tile_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unusedPercentage` should have a snake case name [INFO] [stdout] --> src/systems.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let unusedPercentage = ((tilesSize-index) / tilesSize) * 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unused_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut newTileMap: HashMap, i32)> = tileMap.current_state.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newStableTileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | let mut newStableTileMap: HashMap, i32)> = tileMap.stable_current_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_stable_tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inTileMapRemove` should have a snake case name [INFO] [stdout] --> src/systems.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let mut inTileMapRemove: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `in_tile_map_remove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkArround` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn checkArround(pos: &uVec3, tileMap: &HashMap, i32)>, stableTileMap: &HashMap, i32)>, ... [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `check_arround` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:34 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn checkArround(pos: &uVec3, tileMap: &HashMap, i32)>, stableTileMap: &HashMap, i32)>, ... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stableTileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:83 [INFO] [stdout] | [INFO] [stdout] 368 | ...ec3, (Option, i32)>, stableTileMap: &HashMap, i32)>, newTileMap: &mut HashMap, i... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `stable_tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:138 [INFO] [stdout] | [INFO] [stdout] 368 | ..., i32)>, newTileMap: &mut HashMap, i32)>, newStableTileMap: &mut HashMap src/systems.rs:368:194 [INFO] [stdout] | [INFO] [stdout] 368 | ..., (Option, i32)>, newStableTileMap: &mut HashMap, i32)>, inTileMapRemove: &mut Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_stable_tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inTileMapRemove` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:256 [INFO] [stdout] | [INFO] [stdout] 368 | ...3, (Option, i32)>, inTileMapRemove: &mut Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `in_tile_map_remove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `countArround` should have a snake case name [INFO] [stdout] --> src/systems.rs:375:25 [INFO] [stdout] | [INFO] [stdout] 375 | let mut countArround = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `count_arround` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tilesAvailable` should have a snake case name [INFO] [stdout] --> src/systems.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | let mut tilesAvailable: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tiles_available` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCount` should have a snake case name [INFO] [stdout] --> src/systems.rs:394:54 [INFO] [stdout] | [INFO] [stdout] 394 | ... let (entity, updateCount) = stableTileMap.get(&uVec3::new(pos.x, pos.y, pos.z)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateStep` should have a snake case name [INFO] [stdout] --> src/systems.rs:421:34 [INFO] [stdout] | [INFO] [stdout] 421 | let (entity, updateStep) = stableTileMap.get(&uVec3::new(pos.x + i, pos.y + j, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `update_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateStep` should have a snake case name [INFO] [stdout] --> src/systems.rs:428:22 [INFO] [stdout] | [INFO] [stdout] 428 | let (entity, updateStep) = tileMap.get(&uVec3::new(pos.x, pos.y, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `update_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVISIBLE` is never used [INFO] [stdout] --> src/main.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | const INVISIBLE: Color = Color::linear_rgba(0., 0., 0., 0.); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stable` is never constructed [INFO] [stdout] --> src/components.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Stable; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TilesCache` is never constructed [INFO] [stdout] --> src/components.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TilesCache{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_tiles_cache` is never used [INFO] [stdout] --> src/systems.rs:302:8 [INFO] [stdout] | [INFO] [stdout] 302 | pub fn setup_tiles_cache(mut commands: Commands){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `display_cube_material` is never used [INFO] [stdout] --> src/systems.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn display_cube_material( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `uVec3` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod uVec3; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `u_vec3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastRefresh` should have a snake case name [INFO] [stdout] --> src/components.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub lastRefresh: u128, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `last_refresh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `timeBetweenRefresh` should have a snake case name [INFO] [stdout] --> src/components.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub timeBetweenRefresh: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_between_refresh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `meshAssets` should have a snake case name [INFO] [stdout] --> src/systems.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | mut meshAssets: ResMut>, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mesh_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `materialAssets` should have a snake case name [INFO] [stdout] --> src/systems.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | mut materialAssets: ResMut> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `material_assets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | if let Ok(mut tileMap) = tilemap_query.get_single_mut(){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCounter` should have a snake case name [INFO] [stdout] --> src/systems.rs:126:46 [INFO] [stdout] | [INFO] [stdout] 126 | ... let (entity, updateCounter) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32 + i, world_position.y as i32 + j... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | if let Ok(mut tileMap) = tilemap_query.get_single_mut(){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCounter` should have a snake case name [INFO] [stdout] --> src/systems.rs:152:42 [INFO] [stdout] | [INFO] [stdout] 152 | ... let (entity, updateCounter) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32 + i, world_position.y as i32 + j... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCounter` should have a snake case name [INFO] [stdout] --> src/systems.rs:162:38 [INFO] [stdout] | [INFO] [stdout] 162 | ... if let Some((entity, updateCounter)) = tileMap.stable_current_state.get(&uVec3::new(world_position.x as i32, world_position.y as i3... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCounter` should have a snake case name [INFO] [stdout] --> src/systems.rs:168:38 [INFO] [stdout] | [INFO] [stdout] 168 | ... if let Some((entity, updateCounter)) = tileMap.current_state.get(&uVec3::new(world_position.x as i32, world_position.y as i32, 0)){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMapSize` should have a snake case name [INFO] [stdout] --> src/systems.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | let tileMapSize = sizea + sizeb; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `tile_map_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tilesSize` should have a snake case name [INFO] [stdout] --> src/systems.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let tilesSize = tiles.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tiles_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currTile` should have a snake case name [INFO] [stdout] --> src/systems.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let mut currTile = tiles.next(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `curr_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateState` should have a snake case name [INFO] [stdout] --> src/systems.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | for (pos, (entity, updateState)) in tileMap.current_state.iter_mut(){ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileEntity` should have a snake case name [INFO] [stdout] --> src/systems.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | if let Ok((tileEntity, tile, mut transform)) = tile_query.get_mut(entity.unwrap()){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tile_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileEntity` should have a snake case name [INFO] [stdout] --> src/systems.rs:241:22 [INFO] [stdout] | [INFO] [stdout] 241 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tile_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileTransform` should have a snake case name [INFO] [stdout] --> src/systems.rs:241:44 [INFO] [stdout] | [INFO] [stdout] 241 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tile_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileEntity` should have a snake case name [INFO] [stdout] --> src/systems.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `tile_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileTransform` should have a snake case name [INFO] [stdout] --> src/systems.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | let (tileEntity, tile, mut tileTransform) = currTile.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `tile_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unusedPercentage` should have a snake case name [INFO] [stdout] --> src/systems.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | let unusedPercentage = ((tilesSize-index) / tilesSize) * 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `unused_percentage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | let mut newTileMap: HashMap, i32)> = tileMap.current_state.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newStableTileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | let mut newStableTileMap: HashMap, i32)> = tileMap.stable_current_state.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_stable_tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inTileMapRemove` should have a snake case name [INFO] [stdout] --> src/systems.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let mut inTileMapRemove: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `in_tile_map_remove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toVec3` should have a snake case name [INFO] [stdout] --> src/uVec3.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn toVec3(self) -> Vec3{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `to_vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkArround` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn checkArround(pos: &uVec3, tileMap: &HashMap, i32)>, stableTileMap: &HashMap, i32)>, ... [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `check_arround` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:34 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn checkArround(pos: &uVec3, tileMap: &HashMap, i32)>, stableTileMap: &HashMap, i32)>, ... [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stableTileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:83 [INFO] [stdout] | [INFO] [stdout] 368 | ...ec3, (Option, i32)>, stableTileMap: &HashMap, i32)>, newTileMap: &mut HashMap, i... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `stable_tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:138 [INFO] [stdout] | [INFO] [stdout] 368 | ..., i32)>, newTileMap: &mut HashMap, i32)>, newStableTileMap: &mut HashMap src/systems.rs:368:194 [INFO] [stdout] | [INFO] [stdout] 368 | ..., (Option, i32)>, newStableTileMap: &mut HashMap, i32)>, inTileMapRemove: &mut Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_stable_tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inTileMapRemove` should have a snake case name [INFO] [stdout] --> src/systems.rs:368:256 [INFO] [stdout] | [INFO] [stdout] 368 | ...3, (Option, i32)>, inTileMapRemove: &mut Vec){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `in_tile_map_remove` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `countArround` should have a snake case name [INFO] [stdout] --> src/systems.rs:375:25 [INFO] [stdout] | [INFO] [stdout] 375 | let mut countArround = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `count_arround` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tilesAvailable` should have a snake case name [INFO] [stdout] --> src/systems.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | let mut tilesAvailable: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `tiles_available` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateCount` should have a snake case name [INFO] [stdout] --> src/systems.rs:394:54 [INFO] [stdout] | [INFO] [stdout] 394 | ... let (entity, updateCount) = stableTileMap.get(&uVec3::new(pos.x, pos.y, pos.z)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `update_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateStep` should have a snake case name [INFO] [stdout] --> src/systems.rs:421:34 [INFO] [stdout] | [INFO] [stdout] 421 | let (entity, updateStep) = stableTileMap.get(&uVec3::new(pos.x + i, pos.y + j, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `update_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `updateStep` should have a snake case name [INFO] [stdout] --> src/systems.rs:428:22 [INFO] [stdout] | [INFO] [stdout] 428 | let (entity, updateStep) = tileMap.get(&uVec3::new(pos.x, pos.y, 0)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `update_step` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:447:17 [INFO] [stdout] | [INFO] [stdout] 447 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tileMap` should have a snake case name [INFO] [stdout] --> src/systems.rs:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | let mut tileMap = tilemap_query.single_mut(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tile_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toVec3` should have a snake case name [INFO] [stdout] --> src/uVec3.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn toVec3(self) -> Vec3{ [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `to_vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 40s [INFO] running `Command { std: "docker" "inspect" "236778acb99a1e5b6d5102f5ea1e4697779043e13dbb53f00d5f078ecb073d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "236778acb99a1e5b6d5102f5ea1e4697779043e13dbb53f00d5f078ecb073d40", kill_on_drop: false }` [INFO] [stdout] 236778acb99a1e5b6d5102f5ea1e4697779043e13dbb53f00d5f078ecb073d40