[INFO] cloning repository https://github.com/LyJam/Assembly_Anarchy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LyJam/Assembly_Anarchy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyJam%2FAssembly_Anarchy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyJam%2FAssembly_Anarchy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c97424577429da7f72780cb82eb56541cb0dbd46 [INFO] checking LyJam/Assembly_Anarchy against master#9748d87dc70a9a6725c5dbd76ce29d04752b4f90 for pr-144156 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyJam%2FAssembly_Anarchy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LyJam/Assembly_Anarchy [INFO] finished tweaking git repo https://github.com/LyJam/Assembly_Anarchy [INFO] tweaked toml for git repo https://github.com/LyJam/Assembly_Anarchy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LyJam/Assembly_Anarchy on toolchain 9748d87dc70a9a6725c5dbd76ce29d04752b4f90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LyJam/Assembly_Anarchy 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" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.wasm32-unknown-unknown.runner [INFO] [stderr] warning: unused manifest key: target.wasm32-unknown-unknown.rustflags [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded prettyplease v0.2.33 [INFO] [stderr] Downloaded bevy_ecs v0.15.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3fa39718a8871e289bfa83aff538c8430048db9be82bb0785a5cbf8435f3225 [INFO] running `Command { std: "docker" "start" "-a" "c3fa39718a8871e289bfa83aff538c8430048db9be82bb0785a5cbf8435f3225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3fa39718a8871e289bfa83aff538c8430048db9be82bb0785a5cbf8435f3225", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3fa39718a8871e289bfa83aff538c8430048db9be82bb0785a5cbf8435f3225", kill_on_drop: false }` [INFO] [stdout] c3fa39718a8871e289bfa83aff538c8430048db9be82bb0785a5cbf8435f3225 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9748d87dc70a9a6725c5dbd76ce29d04752b4f90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12c4026b7b3419630d679143542c92945e66fd5c4b0e9f82adf63921b5b7e631 [INFO] running `Command { std: "docker" "start" "-a" "12c4026b7b3419630d679143542c92945e66fd5c4b0e9f82adf63921b5b7e631", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.wasm32-unknown-unknown.runner [INFO] [stderr] warning: unused manifest key: target.wasm32-unknown-unknown.rustflags [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking disqualified v1.0.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking bevy_ptr v0.15.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking bevy_tasks v0.15.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling naga v23.1.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling bevy_macro_utils v0.15.3 [INFO] [stderr] Compiling encase_derive_impl v0.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Checking const_panic v0.2.12 [INFO] [stderr] Checking atomicow v1.1.0 [INFO] [stderr] Checking stackfuture v0.3.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking ruzstd v0.7.3 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking sysinfo v0.32.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Checking offset-allocator v0.2.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking svg_fmt v0.4.5 [INFO] [stderr] Checking fontconfig-parser v0.5.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Compiling winit v0.30.11 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Checking cursor-icon v1.2.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking grid v0.14.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking taffy v0.5.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.15.3 [INFO] [stderr] Compiling bevy_reflect_derive v0.15.3 [INFO] [stderr] Compiling assert_type_match v0.1.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.15.3 [INFO] [stderr] Compiling bevy_derive v0.15.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling encase_derive v0.10.0 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Compiling bevy_asset_macros v0.15.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Compiling bevy_encase_derive v0.15.3 [INFO] [stderr] Compiling bevy_render_macros v0.15.3 [INFO] [stderr] Checking font-types v0.7.3 [INFO] [stderr] Checking read-fonts v0.22.7 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Compiling bevy_state_macros v0.15.3 [INFO] [stderr] Compiling bevy_gizmos_macros v0.15.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking bevy_utils v0.15.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking wgpu-types v23.0.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking gilrs-core v0.6.4 [INFO] [stderr] Checking rodio v0.19.0 [INFO] [stderr] Checking bevy_reflect v0.15.3 [INFO] [stderr] Checking encase v0.10.0 [INFO] [stderr] Checking hexasphere v15.1.0 [INFO] [stderr] Checking bevy_mikktspace v0.15.3 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking swash v0.1.19 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Checking cosmic-text v0.12.1 [INFO] [stderr] Checking naga_oil v0.16.0 [INFO] [stderr] Checking bevy_ecs v0.15.4 [INFO] [stderr] Checking bevy_math v0.15.3 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking bevy_color v0.15.4 [INFO] [stderr] Checking bevy_app v0.15.3 [INFO] [stderr] Checking bevy_core v0.15.3 [INFO] [stderr] Checking bevy_asset v0.15.3 [INFO] [stderr] Checking bevy_time v0.15.3 [INFO] [stderr] Checking bevy_a11y v0.15.3 [INFO] [stderr] Checking bevy_log v0.15.3 [INFO] [stderr] Checking bevy_hierarchy v0.15.3 [INFO] [stderr] Checking bevy_input v0.15.3 [INFO] [stderr] Checking bevy_diagnostic v0.15.3 [INFO] [stderr] Checking bevy_transform v0.15.3 [INFO] [stderr] Checking bevy_state v0.15.3 [INFO] [stderr] Checking bevy_window v0.15.3 [INFO] [stderr] Checking bevy_gilrs v0.15.3 [INFO] [stderr] Checking bevy_image v0.15.3 [INFO] [stderr] Checking bevy_audio v0.15.3 [INFO] [stderr] Checking bevy_mesh v0.15.3 [INFO] [stderr] Checking bevy_winit v0.15.3 [INFO] [stderr] Checking bevy_render v0.15.3 [INFO] [stderr] Checking bevy_core_pipeline v0.15.3 [INFO] [stderr] Checking bevy_picking v0.15.3 [INFO] [stderr] Checking bevy_scene v0.15.3 [INFO] [stderr] Checking bevy_animation v0.15.3 [INFO] [stderr] Checking bevy_sprite v0.15.3 [INFO] [stderr] Checking bevy_pbr v0.15.3 [INFO] [stderr] Checking bevy_text v0.15.3 [INFO] [stderr] Checking bevy_ui v0.15.3 [INFO] [stderr] Checking bevy_gizmos v0.15.3 [INFO] [stderr] Checking bevy_gltf v0.15.3 [INFO] [stderr] Checking bevy_internal v0.15.3 [INFO] [stderr] Checking bevy v0.15.3 [INFO] [stderr] Checking Assembly_Anarchy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bevy::audio::Volume` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::audio::Volume; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/view.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | if (*ui_element) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - if (*ui_element) { [INFO] [stdout] 91 + if *ui_element { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/view.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | if (*ui_element) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (*ui_element) { [INFO] [stdout] 120 + if *ui_element { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/view.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | if (pos.0.distance(Vec2 { x: 0., y: 0. }) > 1000.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if (pos.0.distance(Vec2 { x: 0., y: 0. }) > 1000.0) { [INFO] [stdout] 157 + if pos.0.distance(Vec2 { x: 0., y: 0. }) > 1000.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::prelude::*` [INFO] [stdout] --> src/game/simple_physics/dynamic_circle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::prelude::*` [INFO] [stdout] --> src/game/simple_physics/update_position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::commands` [INFO] [stdout] --> src/game/levels.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::{state::commands, utils::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | if (current_money.0 >= money_goal.0 && !level_won.0 && !level_lost.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if (current_money.0 >= money_goal.0 && !level_won.0 && !level_lost.0) { [INFO] [stdout] 106 + if current_money.0 >= money_goal.0 && !level_won.0 && !level_lost.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | if (current_money.0 < 0 && !level_won.0 && !level_lost.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 167 - if (current_money.0 < 0 && !level_won.0 && !level_lost.0) { [INFO] [stdout] 167 + if current_money.0 < 0 && !level_won.0 && !level_lost.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | if (current_level.0 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 222 - if (current_level.0 == 0) { [INFO] [stdout] 222 + if current_level.0 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | if (level_won.0 || level_lost.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 226 - if (level_won.0 || level_lost.0) { [INFO] [stdout] 226 + if level_won.0 || level_lost.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | if (keyboard_input.get_pressed().count() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 227 - if (keyboard_input.get_pressed().count() > 0) { [INFO] [stdout] 227 + if keyboard_input.get_pressed().count() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | if (level_won.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 228 - if (level_won.0) { [INFO] [stdout] 228 + if level_won.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::CommandArgs` [INFO] [stdout] --> src/game/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::CommandArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::winit::cursor::CursorIcon` [INFO] [stdout] --> src/game/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bevy::winit::cursor::CursorIcon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemCursorIcon` and `state::commands` [INFO] [stdout] --> src/game/input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | state::commands, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | window::{PrimaryWindow, SystemCursorIcon, Window}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/input.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | mut objects: Query<(&mut Position)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - mut objects: Query<(&mut Position)>, [INFO] [stdout] 38 + mut objects: Query<&mut Position>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/input.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | if (!buttons.pressed(MouseButton::Left)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if (!buttons.pressed(MouseButton::Left)) { [INFO] [stdout] 55 + if !buttons.pressed(MouseButton::Left) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/input.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | if (dragging.entity == None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - if (dragging.entity == None) { [INFO] [stdout] 67 + if dragging.entity == None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::color::palettes::basic::*` [INFO] [stdout] --> src/game/pipes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::color::palettes::basic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/pipes.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | if (item_pos.0.distance(pipe_collection_point) < collection_diameter) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (item_pos.0.distance(pipe_collection_point) < collection_diameter) { [INFO] [stdout] 172 + if item_pos.0.distance(pipe_collection_point) < collection_diameter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/pipes.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | if (*item == pipe.item) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - if (*item == pipe.item) { [INFO] [stdout] 173 + if *item == pipe.item { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/pipes.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | if (clicked_entity == pipe_entity) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - if (clicked_entity == pipe_entity) { [INFO] [stdout] 198 + if clicked_entity == pipe_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/pipes.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if (!input_pipe.enabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 212 - if (!input_pipe.enabled) { [INFO] [stdout] 212 + if !input_pipe.enabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/draw.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | mut draw_indicator: Query<(&mut Transform), With>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - mut draw_indicator: Query<(&mut Transform), With>, [INFO] [stdout] 16 + mut draw_indicator: Query<&mut Transform, With>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/draw.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | if (tool_selected.0 == Tools::Draw) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (tool_selected.0 == Tools::Draw) { [INFO] [stdout] 18 + if tool_selected.0 == Tools::Draw { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/draw.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if (dragging.entity != None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - if (dragging.entity != None) { [INFO] [stdout] 32 + if dragging.entity != None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/draw.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | if (buttons.pressed(MouseButton::Left)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if (buttons.pressed(MouseButton::Left)) { [INFO] [stdout] 57 + if buttons.pressed(MouseButton::Left) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::spawn` [INFO] [stdout] --> src/game/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::transform` [INFO] [stdout] --> src/game/ui.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bevy::transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Window` and `state::commands` [INFO] [stdout] --> src/game/ui.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | state::commands, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | window::{PrimaryWindow, SystemCursorIcon, Window}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | if (clicked_entity == window_entity) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - if (clicked_entity == window_entity) { [INFO] [stdout] 141 + if clicked_entity == window_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | if (money.0 > window.0.get_cost()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if (money.0 > window.0.get_cost()) { [INFO] [stdout] 142 + if money.0 > window.0.get_cost() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game/ui.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | .insert((CursorIcon::System(SystemCursorIcon::Pointer))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 282 - .insert((CursorIcon::System(SystemCursorIcon::Pointer))); [INFO] [stdout] 282 + .insert(CursorIcon::System(SystemCursorIcon::Pointer)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game/ui.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | .insert((CursorIcon::System(SystemCursorIcon::default()))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 286 - .insert((CursorIcon::System(SystemCursorIcon::default()))); [INFO] [stdout] 286 + .insert(CursorIcon::System(SystemCursorIcon::default())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::audio::Volume` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bevy::audio::Volume; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | if (dragging.entity != None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 289 - if (dragging.entity != None) { [INFO] [stdout] 289 + if dragging.entity != None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game/ui.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | .insert((CursorIcon::System(SystemCursorIcon::Grab))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 - .insert((CursorIcon::System(SystemCursorIcon::Grab))); [INFO] [stdout] 292 + .insert(CursorIcon::System(SystemCursorIcon::Grab)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/ui.rs:301:36 [INFO] [stdout] | [INFO] [stdout] 301 | mut selection_indicator: Query<(&mut Transform), With>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 301 - mut selection_indicator: Query<(&mut Transform), With>, [INFO] [stdout] 301 + mut selection_indicator: Query<&mut Transform, With>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | if (tool_entity == clicked_entity) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - if (tool_entity == clicked_entity) { [INFO] [stdout] 307 + if tool_entity == clicked_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if (!any_ui_ellement) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - if (!any_ui_ellement) { [INFO] [stdout] 315 + if !any_ui_ellement { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/view.rs:91:20 [INFO] [stdout] | [INFO] [stdout] 91 | if (*ui_element) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - if (*ui_element) { [INFO] [stdout] 91 + if *ui_element { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::state::commands` [INFO] [stdout] --> src/game/machines.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::state::commands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/machines.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | all_objects: Query<(&Position), Without>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - all_objects: Query<(&Position), Without>, [INFO] [stdout] 72 + all_objects: Query<&Position, Without>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/machines.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 168 | if (machine_pos.0.distance(item_pos.0) [INFO] [stdout] | ^ [INFO] [stdout] 169 | < 0.5625 * machine.get_sprite_view().get_scale().x / 2.0) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 ~ if machine_pos.0.distance(item_pos.0) [INFO] [stdout] 169 ~ < 0.5625 * machine.get_sprite_view().get_scale().x / 2.0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/machines.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | if (*item == *input) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (*item == *input) { [INFO] [stdout] 172 + if *item == *input { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/machines.rs:244:24 [INFO] [stdout] | [INFO] [stdout] 244 | if (machine_pos.0.distance(item_pos.0) [INFO] [stdout] | ^ [INFO] [stdout] 245 | < 0.5625 * machine.get_sprite_view().get_scale().x / 2.0) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 244 ~ if machine_pos.0.distance(item_pos.0) [INFO] [stdout] 245 ~ < 0.5625 * machine.get_sprite_view().get_scale().x / 2.0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | commands.spawn((Camera2d)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - commands.spawn((Camera2d)); [INFO] [stdout] 105 + commands.spawn(Camera2d); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/view.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | if (*ui_element) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (*ui_element) { [INFO] [stdout] 120 + if *ui_element { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/view.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | if (pos.0.distance(Vec2 { x: 0., y: 0. }) > 1000.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if (pos.0.distance(Vec2 { x: 0., y: 0. }) > 1000.0) { [INFO] [stdout] 157 + if pos.0.distance(Vec2 { x: 0., y: 0. }) > 1000.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::prelude::*` [INFO] [stdout] --> src/game/simple_physics/dynamic_circle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::prelude::*` [INFO] [stdout] --> src/game/simple_physics/update_position.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `state::commands` [INFO] [stdout] --> src/game/levels.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::{state::commands, utils::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | if (current_money.0 >= money_goal.0 && !level_won.0 && !level_lost.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - if (current_money.0 >= money_goal.0 && !level_won.0 && !level_lost.0) { [INFO] [stdout] 106 + if current_money.0 >= money_goal.0 && !level_won.0 && !level_lost.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | if (current_money.0 < 0 && !level_won.0 && !level_lost.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 167 - if (current_money.0 < 0 && !level_won.0 && !level_lost.0) { [INFO] [stdout] 167 + if current_money.0 < 0 && !level_won.0 && !level_lost.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | if (current_level.0 == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 222 - if (current_level.0 == 0) { [INFO] [stdout] 222 + if current_level.0 == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | if (level_won.0 || level_lost.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 226 - if (level_won.0 || level_lost.0) { [INFO] [stdout] 226 + if level_won.0 || level_lost.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | if (keyboard_input.get_pressed().count() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 227 - if (keyboard_input.get_pressed().count() > 0) { [INFO] [stdout] 227 + if keyboard_input.get_pressed().count() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/levels.rs:228:16 [INFO] [stdout] | [INFO] [stdout] 228 | if (level_won.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 228 - if (level_won.0) { [INFO] [stdout] 228 + if level_won.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::CommandArgs` [INFO] [stdout] --> src/game/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::CommandArgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::winit::cursor::CursorIcon` [INFO] [stdout] --> src/game/input.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bevy::winit::cursor::CursorIcon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemCursorIcon` and `state::commands` [INFO] [stdout] --> src/game/input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | state::commands, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | window::{PrimaryWindow, SystemCursorIcon, Window}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/input.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | mut objects: Query<(&mut Position)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - mut objects: Query<(&mut Position)>, [INFO] [stdout] 38 + mut objects: Query<&mut Position>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/input.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | if (!buttons.pressed(MouseButton::Left)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - if (!buttons.pressed(MouseButton::Left)) { [INFO] [stdout] 55 + if !buttons.pressed(MouseButton::Left) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/input.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | if (dragging.entity == None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - if (dragging.entity == None) { [INFO] [stdout] 67 + if dragging.entity == None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::color::palettes::basic::*` [INFO] [stdout] --> src/game/pipes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::color::palettes::basic::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/pipes.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | if (item_pos.0.distance(pipe_collection_point) < collection_diameter) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (item_pos.0.distance(pipe_collection_point) < collection_diameter) { [INFO] [stdout] 172 + if item_pos.0.distance(pipe_collection_point) < collection_diameter { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/pipes.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | if (*item == pipe.item) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - if (*item == pipe.item) { [INFO] [stdout] 173 + if *item == pipe.item { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/pipes.rs:198:16 [INFO] [stdout] | [INFO] [stdout] 198 | if (clicked_entity == pipe_entity) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 198 - if (clicked_entity == pipe_entity) { [INFO] [stdout] 198 + if clicked_entity == pipe_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/pipes.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | if (!input_pipe.enabled) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 212 - if (!input_pipe.enabled) { [INFO] [stdout] 212 + if !input_pipe.enabled { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/draw.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | mut draw_indicator: Query<(&mut Transform), With>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - mut draw_indicator: Query<(&mut Transform), With>, [INFO] [stdout] 16 + mut draw_indicator: Query<&mut Transform, With>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/draw.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | if (tool_selected.0 == Tools::Draw) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (tool_selected.0 == Tools::Draw) { [INFO] [stdout] 18 + if tool_selected.0 == Tools::Draw { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/draw.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | if (dragging.entity != None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - if (dragging.entity != None) { [INFO] [stdout] 32 + if dragging.entity != None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/draw.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | if (buttons.pressed(MouseButton::Left)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if (buttons.pressed(MouseButton::Left)) { [INFO] [stdout] 57 + if buttons.pressed(MouseButton::Left) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::spawn` [INFO] [stdout] --> src/game/ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::spawn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::transform` [INFO] [stdout] --> src/game/ui.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bevy::transform; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Window` and `state::commands` [INFO] [stdout] --> src/game/ui.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | state::commands, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | window::{PrimaryWindow, SystemCursorIcon, Window}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | if (clicked_entity == window_entity) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 141 - if (clicked_entity == window_entity) { [INFO] [stdout] 141 + if clicked_entity == window_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | if (money.0 > window.0.get_cost()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 142 - if (money.0 > window.0.get_cost()) { [INFO] [stdout] 142 + if money.0 > window.0.get_cost() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game/ui.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | .insert((CursorIcon::System(SystemCursorIcon::Pointer))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 282 - .insert((CursorIcon::System(SystemCursorIcon::Pointer))); [INFO] [stdout] 282 + .insert(CursorIcon::System(SystemCursorIcon::Pointer)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game/ui.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | .insert((CursorIcon::System(SystemCursorIcon::default()))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 286 - .insert((CursorIcon::System(SystemCursorIcon::default()))); [INFO] [stdout] 286 + .insert(CursorIcon::System(SystemCursorIcon::default())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | if (dragging.entity != None) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 289 - if (dragging.entity != None) { [INFO] [stdout] 289 + if dragging.entity != None { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/game/ui.rs:292:25 [INFO] [stdout] | [INFO] [stdout] 292 | .insert((CursorIcon::System(SystemCursorIcon::Grab))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 292 - .insert((CursorIcon::System(SystemCursorIcon::Grab))); [INFO] [stdout] 292 + .insert(CursorIcon::System(SystemCursorIcon::Grab)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/ui.rs:301:36 [INFO] [stdout] | [INFO] [stdout] 301 | mut selection_indicator: Query<(&mut Transform), With>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 301 - mut selection_indicator: Query<(&mut Transform), With>, [INFO] [stdout] 301 + mut selection_indicator: Query<&mut Transform, With>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | if (tool_entity == clicked_entity) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - if (tool_entity == clicked_entity) { [INFO] [stdout] 307 + if tool_entity == clicked_entity { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/ui.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | if (!any_ui_ellement) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - if (!any_ui_ellement) { [INFO] [stdout] 315 + if !any_ui_ellement { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::state::commands` [INFO] [stdout] --> src/game/machines.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bevy::state::commands; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/game/machines.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | all_objects: Query<(&Position), Without>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 72 - all_objects: Query<(&Position), Without>, [INFO] [stdout] 72 + all_objects: Query<&Position, Without>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/machines.rs:168:24 [INFO] [stdout] | [INFO] [stdout] 168 | if (machine_pos.0.distance(item_pos.0) [INFO] [stdout] | ^ [INFO] [stdout] 169 | < 0.5625 * machine.get_sprite_view().get_scale().x / 2.0) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 ~ if machine_pos.0.distance(item_pos.0) [INFO] [stdout] 169 ~ < 0.5625 * machine.get_sprite_view().get_scale().x / 2.0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/machines.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 172 | if (*item == *input) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 172 - if (*item == *input) { [INFO] [stdout] 172 + if *item == *input { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/game/machines.rs:244:24 [INFO] [stdout] | [INFO] [stdout] 244 | if (machine_pos.0.distance(item_pos.0) [INFO] [stdout] | ^ [INFO] [stdout] 245 | < 0.5625 * machine.get_sprite_view().get_scale().x / 2.0) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 244 ~ if machine_pos.0.distance(item_pos.0) [INFO] [stdout] 245 ~ < 0.5625 * machine.get_sprite_view().get_scale().x / 2.0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/main.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | commands.spawn((Camera2d)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 105 - commands.spawn((Camera2d)); [INFO] [stdout] 105 + commands.spawn(Camera2d); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/levels.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | mut commands: Commands, [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/game/levels.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | mut money: ResMut, [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/game/levels.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | mut money_goal: ResMut, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_server` [INFO] [stdout] --> src/game/levels.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | asset_server: Res, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_server` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_server` [INFO] [stdout] --> src/game/levels.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | asset_server: Res, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/input.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | mut objects: Query<(Entity, &Position), With>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click_world_pos` [INFO] [stdout] --> src/game/input.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | if let Some(click_world_pos) = left_mouse_click_pos.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_click_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game/input.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | mut commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/input.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | mut commands: Commands, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meshes` [INFO] [stdout] --> src/game/pipes.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | mut meshes: ResMut>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_meshes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/game/pipes.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | mut materials: ResMut>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/pipes.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | mut meshes: ResMut>, [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/game/pipes.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | mut materials: ResMut>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_entity` [INFO] [stdout] --> src/game/pipes.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | for (pipe_entity, mut input_pipe, pipe_position) in pipes.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/draw.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | if let mut transform = draw_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/draw.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | if let mut transform = draw_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/draw.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | if let mut transform = draw_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/draw.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | if let mut transform = draw_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/ui.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | ... input, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/game/ui.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/ui.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | ... cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/ui.rs:163:47 [INFO] [stdout] | [INFO] [stdout] 163 | Machine::Duplicator { cost } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/ui.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | if let primary_window = window.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/ui.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | if let mut transform = selection_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | Machine::Duplicator { cost } => "duplicates input".to_string(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/machines.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | input, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/game/machines.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | Machine::Duplicator { cost } => "Duplicator".to_string(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/machines.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | input, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/game/machines.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/machines.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | input, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/game/machines.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | Machine::Duplicator { cost } => SpriteView::Duplicator, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/machines.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut crafter_entity = commands [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | Machine::Duplicator { cost } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | Machine::Duplicator { cost } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/game/view.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SpriteView { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_PIPE_POS5` is never used [INFO] [stdout] --> src/game/pipes.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const INPUT_PIPE_POS5: Vec2 = Vec2::new(600., 400.); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTPUT_PIPE_POS2` is never used [INFO] [stdout] --> src/game/pipes.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const OUTPUT_PIPE_POS2: Vec2 = Vec2::new(-300., -350.); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTPUT_PIPE_POS4` is never used [INFO] [stdout] --> src/game/pipes.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const OUTPUT_PIPE_POS4: Vec2 = Vec2::new(300., -350.); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_BUTTON_3` is never used [INFO] [stdout] --> src/game/ui.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MACHINE_BUTTON_3: Vec2 = Vec2::new(640.0, 108.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_BUTTON_4` is never used [INFO] [stdout] --> src/game/ui.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const MACHINE_BUTTON_4: Vec2 = Vec2::new(640.0, 34.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_BUTTON_5` is never used [INFO] [stdout] --> src/game/ui.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const MACHINE_BUTTON_5: Vec2 = Vec2::new(640.0, -40.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/levels.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | mut commands: Commands, [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/game/levels.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | mut money: ResMut, [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/game/levels.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | mut money_goal: ResMut, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_server` [INFO] [stdout] --> src/game/levels.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | asset_server: Res, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_server` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_server` [INFO] [stdout] --> src/game/levels.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | asset_server: Res, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/input.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | mut objects: Query<(Entity, &Position), With>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click_world_pos` [INFO] [stdout] --> src/game/input.rs:144:25 [INFO] [stdout] | [INFO] [stdout] 144 | if let Some(click_world_pos) = left_mouse_click_pos.0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_click_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game/input.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | mut commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/input.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | mut commands: Commands, [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `meshes` [INFO] [stdout] --> src/game/pipes.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | mut meshes: ResMut>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_meshes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/game/pipes.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | mut materials: ResMut>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/pipes.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | mut meshes: ResMut>, [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/game/pipes.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | mut materials: ResMut>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe_entity` [INFO] [stdout] --> src/game/pipes.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | for (pipe_entity, mut input_pipe, pipe_position) in pipes.iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pipe_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/draw.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | if let mut transform = draw_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/draw.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | if let mut transform = draw_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/draw.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | if let mut transform = draw_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/draw.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | if let mut transform = draw_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/ui.rs:150:29 [INFO] [stdout] | [INFO] [stdout] 150 | ... input, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/game/ui.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | ... output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/ui.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 152 | ... cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/ui.rs:163:47 [INFO] [stdout] | [INFO] [stdout] 163 | Machine::Duplicator { cost } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/ui.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | if let primary_window = window.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/game/ui.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | if let mut transform = selection_indicator.single_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | Machine::Duplicator { cost } => "duplicates input".to_string(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/machines.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | input, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/game/machines.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | Machine::Duplicator { cost } => "Duplicator".to_string(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/machines.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | input, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/game/machines.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/game/machines.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | input, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `input: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/game/machines.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | Machine::Duplicator { cost } => SpriteView::Duplicator, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/machines.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut crafter_entity = commands [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | cost, [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:205:31 [INFO] [stdout] | [INFO] [stdout] 205 | Machine::Duplicator { cost } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cost` [INFO] [stdout] --> src/game/machines.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | Machine::Duplicator { cost } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `cost: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/game/view.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SpriteView { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT_PIPE_POS5` is never used [INFO] [stdout] --> src/game/pipes.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const INPUT_PIPE_POS5: Vec2 = Vec2::new(600., 400.); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTPUT_PIPE_POS2` is never used [INFO] [stdout] --> src/game/pipes.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const OUTPUT_PIPE_POS2: Vec2 = Vec2::new(-300., -350.); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTPUT_PIPE_POS4` is never used [INFO] [stdout] --> src/game/pipes.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const OUTPUT_PIPE_POS4: Vec2 = Vec2::new(300., -350.); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_BUTTON_3` is never used [INFO] [stdout] --> src/game/ui.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MACHINE_BUTTON_3: Vec2 = Vec2::new(640.0, 108.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_BUTTON_4` is never used [INFO] [stdout] --> src/game/ui.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const MACHINE_BUTTON_4: Vec2 = Vec2::new(640.0, 34.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MACHINE_BUTTON_5` is never used [INFO] [stdout] --> src/game/ui.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const MACHINE_BUTTON_5: Vec2 = Vec2::new(640.0, -40.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8m 20s [INFO] running `Command { std: "docker" "inspect" "12c4026b7b3419630d679143542c92945e66fd5c4b0e9f82adf63921b5b7e631", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c4026b7b3419630d679143542c92945e66fd5c4b0e9f82adf63921b5b7e631", kill_on_drop: false }` [INFO] [stdout] 12c4026b7b3419630d679143542c92945e66fd5c4b0e9f82adf63921b5b7e631