[INFO] cloning repository https://github.com/Incorrectish/Conquer-World [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Incorrectish/Conquer-World" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2FConquer-World", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2FConquer-World'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cedda299da1a6096fda539543279822fa3900349 [INFO] checking Incorrectish/Conquer-World against master#bbcc1691a4646a6d2ebb2189bdff5b878407fbe6 for pr-117351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2FConquer-World" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Incorrectish/Conquer-World on toolchain bbcc1691a4646a6d2ebb2189bdff5b878407fbe6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Incorrectish/Conquer-World [INFO] finished tweaking git repo https://github.com/Incorrectish/Conquer-World [INFO] tweaked toml for git repo https://github.com/Incorrectish/Conquer-World written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Incorrectish/Conquer-World 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" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vectorize v0.2.0 [INFO] [stderr] Downloaded serde1 v1.0.1 [INFO] [stderr] Downloaded lyon_tessellation v1.0.7 [INFO] [stderr] Downloaded lyon_algorithms v1.0.2 [INFO] [stderr] Downloaded semver v1.0.15 [INFO] [stderr] Downloaded anyhow v1.0.67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5efc1b644834293bb36920004a79507018af8224feb4d355b070542a5aaa8216 [INFO] running `Command { std: "docker" "start" "-a" "5efc1b644834293bb36920004a79507018af8224feb4d355b070542a5aaa8216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5efc1b644834293bb36920004a79507018af8224feb4d355b070542a5aaa8216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5efc1b644834293bb36920004a79507018af8224feb4d355b070542a5aaa8216", kill_on_drop: false }` [INFO] [stdout] 5efc1b644834293bb36920004a79507018af8224feb4d355b070542a5aaa8216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+bbcc1691a4646a6d2ebb2189bdff5b878407fbe6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c84ad41b800f528492e0d81e931fca1d3fe3b8623ea588e9028ddd8718ba0f31 [INFO] running `Command { std: "docker" "start" "-a" "c84ad41b800f528492e0d81e931fca1d3fe3b8623ea588e9028ddd8718ba0f31", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling syn v1.0.106 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling erased-serde v0.3.24 [INFO] [stderr] Checking async-task v4.3.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking bevy_ptr v0.8.1 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking concurrent-queue v2.0.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking async-channel v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking profiling v1.0.7 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking gpu-alloc v0.5.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.67 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking pp-rs v0.2.1 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking async-lock v2.6.0 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking async-executor v1.5.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking png v0.17.7 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.19 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking bevy_tasks v0.8.1 [INFO] [stderr] Checking wgpu-types v0.13.2 [INFO] [stderr] Checking inplace_it v0.3.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking notify v5.0.0-pre.15 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Checking euclid v0.22.7 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking ttf-parser v0.17.1 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking const_panic v0.2.7 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling x11-dl v2.20.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Checking radsort v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Compiling semver v1.0.15 [INFO] [stderr] Compiling zstd-sys v2.0.4+zstd.1.5.2 [INFO] [stderr] Compiling camino v1.1.1 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling pulldown-cmark v0.9.2 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling encase_derive_impl v0.3.0 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Checking svg_fmt v0.4.1 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking lyon_geom v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking owned_ttf_parser v0.17.1 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.18 [INFO] [stderr] Checking raw-window-handle v0.5.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking lyon_path v1.0.3 [INFO] [stderr] Checking memmap2 v0.5.8 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Checking renderdoc-sys v1.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rayon v1.6.1 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling gilrs v0.10.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking lyon_algorithms v1.0.2 [INFO] [stderr] Checking ordered-float v3.4.0 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking hound v3.5.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking glam v0.24.1 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling bytemuck_derive v1.3.0 [INFO] [stderr] Compiling encase_derive v0.3.0 [INFO] [stderr] Compiling gltf-derive v1.0.0 [INFO] [stderr] Compiling hash32-derive v0.1.1 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Checking taffy v0.1.0 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Checking bytemuck v1.12.3 [INFO] [stderr] Checking image v0.24.5 [INFO] [stderr] Checking symphonia-core v0.5.3 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking crevice v0.13.0 [INFO] [stderr] Checking calloop v0.10.4 [INFO] [stderr] Checking lyon_tessellation v1.0.7 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking lyon v1.0.1 [INFO] [stderr] Checking symphonia-metadata v0.5.3 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.3 [INFO] [stderr] Checking symphonia v0.5.3 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.3 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking glam v0.21.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking toml v0.5.10 [INFO] [stderr] Checking ron v0.8.0 [INFO] [stderr] Checking vectorize v0.2.0 [INFO] [stderr] Checking serde1 v1.0.1 [INFO] [stderr] Checking tracing-subscriber v0.3.16 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking gilrs-core v0.4.1 [INFO] [stderr] Checking gilrs-core v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking bevy_utils v0.8.1 [INFO] [stderr] Checking gpu-descriptor v0.2.3 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Checking gilrs v0.9.0 [INFO] [stderr] Checking gltf-json v1.0.0 [INFO] [stderr] Checking rodio v0.17.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking petgraph v0.6.2 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking rodio v0.15.0 [INFO] [stderr] Checking glyph_brush v0.7.5 [INFO] [stderr] Compiling bevy_macro_utils v0.8.1 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling bevy_reflect_derive v0.8.1 [INFO] [stderr] Compiling bevy_ecs_macros v0.8.1 [INFO] [stderr] Compiling bevy_derive v0.8.1 [INFO] [stderr] Compiling bevy_encase_derive v0.8.1 [INFO] [stderr] Compiling bevy_render_macros v0.8.1 [INFO] [stderr] Checking bevy_math v0.8.1 [INFO] [stderr] Checking encase v0.3.0 [INFO] [stderr] Checking hexasphere v7.2.1 [INFO] [stderr] Checking bevy_mikktspace v0.8.1 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Checking naga v0.9.0 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Checking gltf v1.0.0 [INFO] [stderr] Checking bevy_reflect v0.8.1 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking bevy_ecs v0.8.1 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking wgpu-hal v0.13.2 [INFO] [stderr] Checking bevy_app v0.8.1 [INFO] [stderr] Checking bevy_time v0.8.1 [INFO] [stderr] Checking bevy_log v0.8.1 [INFO] [stderr] Checking bevy_input v0.8.1 [INFO] [stderr] Checking bevy_hierarchy v0.8.1 [INFO] [stderr] Checking bevy_core v0.8.1 [INFO] [stderr] Checking bevy_transform v0.8.1 [INFO] [stderr] Checking bevy_diagnostic v0.8.1 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking bevy_window v0.8.1 [INFO] [stderr] Checking bevy_gilrs v0.8.1 [INFO] [stderr] Checking bevy_asset v0.8.1 [INFO] [stderr] Checking bevy_winit v0.8.1 [INFO] [stderr] Checking bevy_animation v0.8.1 [INFO] [stderr] Checking bevy_audio v0.8.1 [INFO] [stderr] Checking wgpu v0.13.1 [INFO] [stderr] Checking bevy_render v0.8.1 [INFO] [stderr] Checking bevy_core_pipeline v0.8.1 [INFO] [stderr] Checking bevy_scene v0.8.1 [INFO] [stderr] Checking bevy_sprite v0.8.1 [INFO] [stderr] Checking bevy_pbr v0.8.1 [INFO] [stderr] Checking bevy_gltf v0.8.1 [INFO] [stderr] Checking bevy_text v0.8.1 [INFO] [stderr] Checking bevy_ui v0.8.1 [INFO] [stderr] Checking bevy_internal v0.8.1 [INFO] [stderr] Checking bevy v0.8.1 [INFO] [stderr] Checking Hoffman-Final-Project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `OpenOptions`, `self` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{OpenOptions, self}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenOptions`, `self` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{OpenOptions, self}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PROJECTILE_PLAYER` [INFO] [stdout] --> src/enemy.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | tile::{self, PROJECTILE_PLAYER}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PROJECTILE_PLAYER` [INFO] [stdout] --> src/enemy.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | tile::{self, PROJECTILE_PLAYER}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/enemy.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::graphics::{self, Canvas}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/enemy.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::graphics::{self, Canvas}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | if (world.terrain_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - if (world.terrain_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] 307 + if world.terrain_map[world_pos.y][world_pos.x].contains_key(&tile) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | if (!PERMISSIBLE_TILES.contains( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 312 | )) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 ~ if !PERMISSIBLE_TILES.contains( [INFO] [stdout] 309 | world.terrain_map[world_pos.y][world_pos.x] [INFO] [stdout] 310 | .get(&tile) [INFO] [stdout] 311 | .unwrap(), [INFO] [stdout] 312 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | if (world.terrain_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - if (world.terrain_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] 307 + if world.terrain_map[world_pos.y][world_pos.x].contains_key(&tile) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | if (world.atmosphere_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 - if (world.atmosphere_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] 316 + if world.atmosphere_map[world_pos.y][world_pos.x].contains_key(&tile) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | if (!PERMISSIBLE_TILES.contains( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 312 | )) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 308 ~ if !PERMISSIBLE_TILES.contains( [INFO] [stdout] 309 | world.terrain_map[world_pos.y][world_pos.x] [INFO] [stdout] 310 | .get(&tile) [INFO] [stdout] 311 | .unwrap(), [INFO] [stdout] 312 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | if (world.atmosphere_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 - if (world.atmosphere_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] 316 + if world.atmosphere_map[world_pos.y][world_pos.x].contains_key(&tile) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | if (!PERMISSIBLE_TILES.contains( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 321 | )) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 317 ~ if !PERMISSIBLE_TILES.contains( [INFO] [stdout] 318 | world.atmosphere_map[world_pos.y][world_pos.x] [INFO] [stdout] 319 | .get(&tile) [INFO] [stdout] 320 | .unwrap(), [INFO] [stdout] 321 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:317:20 [INFO] [stdout] | [INFO] [stdout] 317 | if (!PERMISSIBLE_TILES.contains( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 321 | )) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 317 ~ if !PERMISSIBLE_TILES.contains( [INFO] [stdout] 318 | world.atmosphere_map[world_pos.y][world_pos.x] [INFO] [stdout] 319 | .get(&tile) [INFO] [stdout] 320 | .unwrap(), [INFO] [stdout] 321 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | if (world.entity_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 325 - if (world.entity_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] 325 + if world.entity_map[world_pos.y][world_pos.x].contains_key(&tile) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | if (world.entity_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 325 - if (world.entity_map[world_pos.y][world_pos.x].contains_key(&tile)) { [INFO] [stdout] 325 + if world.entity_map[world_pos.y][world_pos.x].contains_key(&tile) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | if (!PERMISSIBLE_TILES.contains( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 331 | )) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 326 ~ if !PERMISSIBLE_TILES.contains( [INFO] [stdout] 327 | &world.entity_map[world_pos.y][world_pos.x] [INFO] [stdout] ... [INFO] [stdout] 330 | .0, [INFO] [stdout] 331 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/enemy.rs:326:20 [INFO] [stdout] | [INFO] [stdout] 326 | if (!PERMISSIBLE_TILES.contains( [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 331 | )) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 326 ~ if !PERMISSIBLE_TILES.contains( [INFO] [stdout] 327 | &world.entity_map[world_pos.y][world_pos.x] [INFO] [stdout] ... [INFO] [stdout] 330 | .0, [INFO] [stdout] 331 ~ ) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOARD_SIZE`, `Enemy`, `TILE_SIZE`, `UNIVERSAL_OFFSET`, `WORLD_SIZE`, `self` [INFO] [stdout] --> src/player.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | enemy::{self, Enemy}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | BOARD_SIZE, TILE_SIZE, UNIVERSAL_OFFSET, WORLD_SIZE, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/player.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use ggez::graphics::{self, Canvas}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOARD_SIZE`, `Enemy`, `TILE_SIZE`, `UNIVERSAL_OFFSET`, `WORLD_SIZE`, `self` [INFO] [stdout] --> src/player.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | enemy::{self, Enemy}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | BOARD_SIZE, TILE_SIZE, UNIVERSAL_OFFSET, WORLD_SIZE, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if (self.health as i32 - damage as i32 <= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (self.health as i32 - damage as i32 <= 0) { [INFO] [stdout] 120 + if self.health as i32 - damage as i32 <= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/player.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | use ggez::graphics::{self, Canvas}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOARD_SIZE`, `TILE_SIZE`, `player::Player` [INFO] [stdout] --> src/projectile.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | direction::Direction, entity::Entity, player::Player, tile, utils::Position, world::World, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | BOARD_SIZE, TILE_SIZE, WORLD_SIZE, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/player.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | if (self.health as i32 - damage as i32 <= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 120 - if (self.health as i32 - damage as i32 <= 0) { [INFO] [stdout] 120 + if self.health as i32 - damage as i32 <= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `self` [INFO] [stdout] --> src/projectile.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::graphics::{self, Canvas}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `min` [INFO] [stdout] --> src/projectile.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | cmp::{max, min}, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | collections::{HashMap, LinkedList}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOARD_SIZE`, `TILE_SIZE`, `player::Player` [INFO] [stdout] --> src/projectile.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | direction::Direction, entity::Entity, player::Player, tile, utils::Position, world::World, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | BOARD_SIZE, TILE_SIZE, WORLD_SIZE, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/projectile.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | for i in (0..=INITIAL_DELTA) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - for i in (0..=INITIAL_DELTA) { [INFO] [stdout] 221 + for i in 0..=INITIAL_DELTA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `self` [INFO] [stdout] --> src/projectile.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use ggez::graphics::{self, Canvas}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/projectile.rs:275:30 [INFO] [stdout] | [INFO] [stdout] 275 | for i in (0..=INITIAL_DELTA) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 275 - for i in (0..=INITIAL_DELTA) { [INFO] [stdout] 275 + for i in 0..=INITIAL_DELTA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `min` [INFO] [stdout] --> src/projectile.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | cmp::{max, min}, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | collections::{HashMap, LinkedList}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/projectile.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | for i in (0..=INITIAL_DELTA) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 221 - for i in (0..=INITIAL_DELTA) { [INFO] [stdout] 221 + for i in 0..=INITIAL_DELTA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/projectile.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | for i in (0..=INITIAL_DELTA) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - for i in (0..=INITIAL_DELTA) { [INFO] [stdout] 347 + for i in 0..=INITIAL_DELTA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/projectile.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | for i in (0..=INITIAL_DELTA) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 410 - for i in (0..=INITIAL_DELTA) { [INFO] [stdout] 410 + for i in 0..=INITIAL_DELTA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/projectile.rs:275:30 [INFO] [stdout] | [INFO] [stdout] 275 | for i in (0..=INITIAL_DELTA) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 275 - for i in (0..=INITIAL_DELTA) { [INFO] [stdout] 275 + for i in 0..=INITIAL_DELTA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/projectile.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | if (!found_path || collided) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 445 - if (!found_path || collided) { [INFO] [stdout] 445 + if !found_path || collided { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/projectile.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | for i in (0..=INITIAL_DELTA) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - for i in (0..=INITIAL_DELTA) { [INFO] [stdout] 347 + for i in 0..=INITIAL_DELTA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/projectile.rs:483:28 [INFO] [stdout] | [INFO] [stdout] 483 | ... if (world.enemies_map[world.world_position.y][world.world_position.x][index_enemy as usize].pos.contains(&new_pos)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 483 - if (world.enemies_map[world.world_position.y][world.world_position.x][index_enemy as usize].pos.contains(&new_pos)) { [INFO] [stdout] 483 + if world.enemies_map[world.world_position.y][world.world_position.x][index_enemy as usize].pos.contains(&new_pos) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/projectile.rs:410:30 [INFO] [stdout] | [INFO] [stdout] 410 | for i in (0..=INITIAL_DELTA) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 410 - for i in (0..=INITIAL_DELTA) { [INFO] [stdout] 410 + for i in 0..=INITIAL_DELTA { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/random.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/random.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/projectile.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | if (!found_path || collided) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 445 - if (!found_path || collided) { [INFO] [stdout] 445 + if !found_path || collided { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::Boss` [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::Boss; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/projectile.rs:483:28 [INFO] [stdout] | [INFO] [stdout] 483 | ... if (world.enemies_map[world.world_position.y][world.world_position.x][index_enemy as usize].pos.contains(&new_pos)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 483 - if (world.enemies_map[world.world_position.y][world.world_position.x][index_enemy as usize].pos.contains(&new_pos)) { [INFO] [stdout] 483 + if world.enemies_map[world.world_position.y][world.world_position.x][index_enemy as usize].pos.contains(&new_pos) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaChaRng` [INFO] [stdout] --> src/state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand_chacha::ChaChaRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/random.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/state.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/random.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/state.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::direction::Direction` [INFO] [stdout] --> src/state.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::direction::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::Boss` [INFO] [stdout] --> src/state.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::Boss; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand_chacha::ChaChaRng` [INFO] [stdout] --> src/state.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rand_chacha::ChaChaRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOARD_SIZE`, `SCREEN_SIZE`, `WORLD_SIZE`, `entity::Entity` [INFO] [stdout] --> src/state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | entity::Entity, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | BOARD_SIZE, SCREEN_SIZE, TILE_SIZE, WORLD_SIZE, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/state.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/state.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/state.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | graphics::{self, Canvas}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptions` [INFO] [stdout] --> src/state.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::{self, OpenOptions}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mint::Point2` [INFO] [stdout] --> src/utils.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::{graphics::{self, Canvas}, mint::Point2, glam::*}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::rngs; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOARD_SIZE`, `SCREEN_SIZE`, `WORLD_SIZE`, `entity::Entity` [INFO] [stdout] --> src/state.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | entity::Entity, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | BOARD_SIZE, SCREEN_SIZE, TILE_SIZE, WORLD_SIZE, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::glam::*` [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::glam::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/state.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:682:35 [INFO] [stdout] | [INFO] [stdout] 682 | player_in_laser = (player_pos.y >= laser.0.y - laser_width && player_pos.y <= laser.0.y + laser_width [INFO] [stdout] | ^ [INFO] [stdout] 683 | && player_pos.x >= laser.0.x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 682 ~ player_in_laser = player_pos.y >= laser.0.y - laser_width && player_pos.y <= laser.0.y + laser_width [INFO] [stdout] 683 ~ && player_pos.x >= laser.0.x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/state.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | graphics::{self, Canvas}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:685:35 [INFO] [stdout] | [INFO] [stdout] 685 | player_in_laser = (player_pos.y >= laser.0.y - laser_width && player_pos.y <= laser.0.y + laser_width [INFO] [stdout] | ^ [INFO] [stdout] 686 | && player_pos.x <= laser.0.x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 ~ player_in_laser = player_pos.y >= laser.0.y - laser_width && player_pos.y <= laser.0.y + laser_width [INFO] [stdout] 686 ~ && player_pos.x <= laser.0.x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mint::Point2` [INFO] [stdout] --> src/utils.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 6 | use ggez::{graphics::{self, Canvas}, mint::Point2, glam::*}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs` [INFO] [stdout] --> src/utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::rngs; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:688:35 [INFO] [stdout] | [INFO] [stdout] 688 | player_in_laser = (player_pos.x >= laser.0.x - laser_width && player_pos.x <= laser.0.x + laser_width [INFO] [stdout] | ^ [INFO] [stdout] 689 | && player_pos.y >= laser.0.y); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 688 ~ player_in_laser = player_pos.x >= laser.0.x - laser_width && player_pos.x <= laser.0.x + laser_width [INFO] [stdout] 689 ~ && player_pos.y >= laser.0.y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:692:35 [INFO] [stdout] | [INFO] [stdout] 692 | player_in_laser = (player_pos.x >= laser.0.x - laser_width && player_pos.x <= laser.0.x + laser_width [INFO] [stdout] | ^ [INFO] [stdout] 693 | && player_pos.y <= laser.0.y); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 692 ~ player_in_laser = player_pos.x >= laser.0.x - laser_width && player_pos.x <= laser.0.x + laser_width [INFO] [stdout] 693 ~ && player_pos.y <= laser.0.y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:982:16 [INFO] [stdout] | [INFO] [stdout] 982 | if (world.bosses[index].chase_rush_cooldown != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 982 - if (world.bosses[index].chase_rush_cooldown != 0) { [INFO] [stdout] 982 + if world.bosses[index].chase_rush_cooldown != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::glam::*` [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use ggez::glam::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:988:20 [INFO] [stdout] | [INFO] [stdout] 988 | if (world.bosses[index].vulnerable_time == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 988 - if (world.bosses[index].vulnerable_time == 0) { [INFO] [stdout] 988 + if world.bosses[index].vulnerable_time == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:682:35 [INFO] [stdout] | [INFO] [stdout] 682 | player_in_laser = (player_pos.y >= laser.0.y - laser_width && player_pos.y <= laser.0.y + laser_width [INFO] [stdout] | ^ [INFO] [stdout] 683 | && player_pos.x >= laser.0.x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 682 ~ player_in_laser = player_pos.y >= laser.0.y - laser_width && player_pos.y <= laser.0.y + laser_width [INFO] [stdout] 683 ~ && player_pos.x >= laser.0.x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:993:20 [INFO] [stdout] | [INFO] [stdout] 993 | if (world.bosses[index].chase_rush_cooldown != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 993 - if (world.bosses[index].chase_rush_cooldown != 0) { [INFO] [stdout] 993 + if world.bosses[index].chase_rush_cooldown != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:685:35 [INFO] [stdout] | [INFO] [stdout] 685 | player_in_laser = (player_pos.y >= laser.0.y - laser_width && player_pos.y <= laser.0.y + laser_width [INFO] [stdout] | ^ [INFO] [stdout] 686 | && player_pos.x <= laser.0.x); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 685 ~ player_in_laser = player_pos.y >= laser.0.y - laser_width && player_pos.y <= laser.0.y + laser_width [INFO] [stdout] 686 ~ && player_pos.x <= laser.0.x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `FLOOR`, `PLAYER` [INFO] [stdout] --> src/world.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | tile::{self, FLOOR, PLAYER, *}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:688:35 [INFO] [stdout] | [INFO] [stdout] 688 | player_in_laser = (player_pos.x >= laser.0.x - laser_width && player_pos.x <= laser.0.x + laser_width [INFO] [stdout] | ^ [INFO] [stdout] 689 | && player_pos.y >= laser.0.y); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 688 ~ player_in_laser = player_pos.x >= laser.0.x - laser_width && player_pos.x <= laser.0.x + laser_width [INFO] [stdout] 689 ~ && player_pos.y >= laser.0.y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeStruct`, `Serialize`, `Serializer` [INFO] [stdout] --> src/world.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::ser::{Serialize, SerializeStruct, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:692:35 [INFO] [stdout] | [INFO] [stdout] 692 | player_in_laser = (player_pos.x >= laser.0.x - laser_width && player_pos.x <= laser.0.x + laser_width [INFO] [stdout] | ^ [INFO] [stdout] 693 | && player_pos.y <= laser.0.y); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 692 ~ player_in_laser = player_pos.x >= laser.0.x - laser_width && player_pos.x <= laser.0.x + laser_width [INFO] [stdout] 693 ~ && player_pos.y <= laser.0.y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/world.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:982:16 [INFO] [stdout] | [INFO] [stdout] 982 | if (world.bosses[index].chase_rush_cooldown != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 982 - if (world.bosses[index].chase_rush_cooldown != 0) { [INFO] [stdout] 982 + if world.bosses[index].chase_rush_cooldown != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/world.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:988:20 [INFO] [stdout] | [INFO] [stdout] 988 | if (world.bosses[index].vulnerable_time == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 988 - if (world.bosses[index].vulnerable_time == 0) { [INFO] [stdout] 988 + if world.bosses[index].vulnerable_time == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/utils.rs:993:20 [INFO] [stdout] | [INFO] [stdout] 993 | if (world.bosses[index].chase_rush_cooldown != 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 993 - if (world.bosses[index].chase_rush_cooldown != 0) { [INFO] [stdout] 993 + if world.bosses[index].chase_rush_cooldown != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `*`, `FLOOR`, `PLAYER` [INFO] [stdout] --> src/world.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | tile::{self, FLOOR, PLAYER, *}, [INFO] [stdout] | ^^^^^ ^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SerializeStruct`, `Serialize`, `Serializer` [INFO] [stdout] --> src/world.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::ser::{Serialize, SerializeStruct, Serializer}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> src/world.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::rngs::ThreadRng` [INFO] [stdout] --> src/world.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use rand::rngs::ThreadRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/enemy.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | speed: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | tile::CHASING_ENEMY => CHASING_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | tile::BOMBER_ENEMY => BOMBER_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | tile::BOMBER_ENEMY_ACTIVATED => BOMBER_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | tile::BOMBER_ENEMY_DEACTIVATED => BOMBER_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | tile::MAJOR_ENEMY => MAJOR_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | tile::SHOOTER_ENEMY => SHOOTER_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | tile::KNIGHT_ENEMY => KNIGHT_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | tile::LASER_BOSS => MINOR_BOSS_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | tile::MAJOR_BOSS => MAJOR_BOSS_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | tile::BOMBER_ENEMY_ACTIVATED => 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | tile::BOMBER_ENEMY => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/enemy.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | speed: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | tile::CHASING_ENEMY => CHASING_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | tile::BOMBER_ENEMY => BOMBER_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | tile::BOMBER_ENEMY_ACTIVATED => BOMBER_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 247 | tile::BOMBER_ENEMY_DEACTIVATED => BOMBER_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | tile::MAJOR_ENEMY => MAJOR_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | tile::SHOOTER_ENEMY => SHOOTER_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | tile::KNIGHT_ENEMY => KNIGHT_ENEMY_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | tile::LASER_BOSS => MINOR_BOSS_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | tile::MAJOR_BOSS => MAJOR_BOSS_ENERGY_RETURN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | tile::BOMBER_ENEMY_ACTIVATED => 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/enemy.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | tile::BOMBER_ENEMY => true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/player.rs:826:34 [INFO] [stdout] | [INFO] [stdout] 826 | ... &tile::STRUCTURE => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | tile::LIGHTNING_PLACEHOLDER => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | tile::LIGHTNING_INITIAL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | tile::LIGHTNING_SECONDARY => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | tile::LIGHTNING_FINAL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tile::FIRE_PLACEHOLDER => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | tile::FIRE_INITIAL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | tile::FIRE_SECONDARY => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | tile::FIRE_TERTIARY => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | tile::FIRE_FINAL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | tile::TRACKING_PROJECTILE => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_world_pos` [INFO] [stdout] --> src/projectile.rs:210:35 [INFO] [stdout] | [INFO] [stdout] 210 | let (new_pos, new_world_pos) = World::new_position( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_world_pos` [INFO] [stdout] --> src/projectile.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | let (new_pos, new_world_pos) = World::new_position( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_world_pos` [INFO] [stdout] --> src/projectile.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | let (new_pos, new_world_pos) = World::new_position( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | tile::TRACKING_PROJECTILE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:604:15 [INFO] [stdout] | [INFO] [stdout] 604 | | tile::FIRE_INITIAL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:605:15 [INFO] [stdout] | [INFO] [stdout] 605 | | tile::FIRE_SECONDARY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:606:15 [INFO] [stdout] | [INFO] [stdout] 606 | | tile::FIRE_TERTIARY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:607:15 [INFO] [stdout] | [INFO] [stdout] 607 | | tile::FIRE_PLACEHOLDER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:608:15 [INFO] [stdout] | [INFO] [stdout] 608 | | tile::LIGHTNING_FINAL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:609:15 [INFO] [stdout] | [INFO] [stdout] 609 | | tile::LIGHTNING_INITIAL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:610:15 [INFO] [stdout] | [INFO] [stdout] 610 | | tile::LIGHTNING_SECONDARY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:611:15 [INFO] [stdout] | [INFO] [stdout] 611 | | tile::LIGHTNING_PLACEHOLDER => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/player.rs:826:34 [INFO] [stdout] | [INFO] [stdout] 826 | ... &tile::STRUCTURE => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | tile::LIGHTNING_PLACEHOLDER => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | tile::LIGHTNING_INITIAL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | tile::LIGHTNING_SECONDARY => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | tile::LIGHTNING_FINAL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | tile::FIRE_PLACEHOLDER => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | tile::FIRE_INITIAL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | tile::FIRE_SECONDARY => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | tile::FIRE_TERTIARY => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | tile::FIRE_FINAL => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | tile::TRACKING_PROJECTILE => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_world_pos` [INFO] [stdout] --> src/projectile.rs:210:35 [INFO] [stdout] | [INFO] [stdout] 210 | let (new_pos, new_world_pos) = World::new_position( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_world_pos` [INFO] [stdout] --> src/projectile.rs:264:35 [INFO] [stdout] | [INFO] [stdout] 264 | let (new_pos, new_world_pos) = World::new_position( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_world_pos` [INFO] [stdout] --> src/projectile.rs:336:35 [INFO] [stdout] | [INFO] [stdout] 336 | let (new_pos, new_world_pos) = World::new_position( [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_world_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | tile::TRACKING_PROJECTILE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:604:15 [INFO] [stdout] | [INFO] [stdout] 604 | | tile::FIRE_INITIAL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:605:15 [INFO] [stdout] | [INFO] [stdout] 605 | | tile::FIRE_SECONDARY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:606:15 [INFO] [stdout] | [INFO] [stdout] 606 | | tile::FIRE_TERTIARY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:607:15 [INFO] [stdout] | [INFO] [stdout] 607 | | tile::FIRE_PLACEHOLDER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:608:15 [INFO] [stdout] | [INFO] [stdout] 608 | | tile::LIGHTNING_FINAL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:609:15 [INFO] [stdout] | [INFO] [stdout] 609 | | tile::LIGHTNING_INITIAL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:610:15 [INFO] [stdout] | [INFO] [stdout] 610 | | tile::LIGHTNING_SECONDARY [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/projectile.rs:611:15 [INFO] [stdout] | [INFO] [stdout] 611 | | tile::LIGHTNING_PLACEHOLDER => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terrain_loc` [INFO] [stdout] --> src/utils.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | terrain_loc: &mut HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terrain_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/utils.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | tile::BOSS_LASER_STAGE_1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | tile::BOSS_LASER_STAGE_2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/utils.rs:377:66 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn generate_lasers(world: &mut World, num_lasers: usize, index: usize, rng: &mut ChaCha8Rng) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/utils.rs:466:46 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn draw_asteroids(world: &mut World, index: usize, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | tile::BOSS_ASTEROID_STAGE_1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | tile::BOSS_ASTEROID_STAGE_2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:499:17 [INFO] [stdout] | [INFO] [stdout] 499 | tile::BOSS_ASTEROID_STAGE_3 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spot` [INFO] [stdout] --> src/utils.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | if let Some(spot) = world.boss_vulnerable_spot { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:1027:17 [INFO] [stdout] | [INFO] [stdout] 1027 | tile::BOSS_LASER_STAGE_1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:1031:17 [INFO] [stdout] | [INFO] [stdout] 1031 | tile::BOSS_LASER_STAGE_2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/utils.rs:1025:21 [INFO] [stdout] | [INFO] [stdout] 1025 | let mut length: usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terrain_loc` [INFO] [stdout] --> src/utils.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | terrain_loc: &mut HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terrain_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:1093:17 [INFO] [stdout] | [INFO] [stdout] 1093 | let mut rush_dist = distance; [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: `i` [INFO] [stdout] --> src/utils.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 381 | tile::BOSS_LASER_STAGE_1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 385 | tile::BOSS_LASER_STAGE_2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/utils.rs:377:66 [INFO] [stdout] | [INFO] [stdout] 377 | pub fn generate_lasers(world: &mut World, num_lasers: usize, index: usize, rng: &mut ChaCha8Rng) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/utils.rs:466:46 [INFO] [stdout] | [INFO] [stdout] 466 | pub fn draw_asteroids(world: &mut World, index: usize, canvas: &mut Canvas) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | tile::BOSS_ASTEROID_STAGE_1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 495 | tile::BOSS_ASTEROID_STAGE_2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:499:17 [INFO] [stdout] | [INFO] [stdout] 499 | tile::BOSS_ASTEROID_STAGE_3 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spot` [INFO] [stdout] --> src/utils.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | if let Some(spot) = world.boss_vulnerable_spot { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:1027:17 [INFO] [stdout] | [INFO] [stdout] 1027 | tile::BOSS_LASER_STAGE_1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils.rs:1031:17 [INFO] [stdout] | [INFO] [stdout] 1031 | tile::BOSS_LASER_STAGE_2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/utils.rs:1025:21 [INFO] [stdout] | [INFO] [stdout] 1025 | let mut length: usize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:1093:17 [INFO] [stdout] | [INFO] [stdout] 1093 | let mut rush_dist = distance; [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/world.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut boss_defeated = [[false; 7]; 7]; [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/world.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut bomber_explosions: [[Vec<(Position, [f32; 4])>; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_map` [INFO] [stdout] --> src/world.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | entity_map: &mut [[HashMap; (BOARD_SIZE.0 / WORLD_SIZE.0) as usize]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/world.rs:450:41 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn coordinates_are_within_board(world: &mut World, world_position: Position) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let mut boss_defeated = [[false; 7]; 7]; [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/world.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut bomber_explosions: [[Vec<(Position, [f32; 4])>; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_map` [INFO] [stdout] --> src/world.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | entity_map: &mut [[HashMap; (BOARD_SIZE.0 / WORLD_SIZE.0) as usize]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/world.rs:450:41 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn coordinates_are_within_board(world: &mut World, world_position: Position) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KNIGHT_ENEMY_HEALTH` is never used [INFO] [stdout] --> src/enemy.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const KNIGHT_ENEMY_HEALTH: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHOOTER_ENEMY_HEALTH` is never used [INFO] [stdout] --> src/enemy.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const SHOOTER_ENEMY_HEALTH: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINOR_BOSS_HEALTH` is never used [INFO] [stdout] --> src/enemy.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MINOR_BOSS_HEALTH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAJOR_BOSS_HEALTH` is never used [INFO] [stdout] --> src/enemy.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MAJOR_BOSS_HEALTH: usize = 2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERMISSIBLE_TILES_BOSS` is never used [INFO] [stdout] --> src/enemy.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const PERMISSIBLE_TILES_BOSS: [[f32; 4]; 0] = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KNIGHT_ENEMY_SPEED` is never used [INFO] [stdout] --> src/enemy.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const KNIGHT_ENEMY_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHOOTER_ENEMY_SPEED` is never used [INFO] [stdout] --> src/enemy.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const SHOOTER_ENEMY_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINOR_BOSS_SPEED` is never used [INFO] [stdout] --> src/enemy.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const MINOR_BOSS_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAJOR_BOSS_SPEED` is never used [INFO] [stdout] --> src/enemy.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MAJOR_BOSS_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAJOR_BOSS_DAMAGE` is never used [INFO] [stdout] --> src/enemy.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const MAJOR_BOSS_DAMAGE: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `shooting_enemy`, `knight`, `major_boss`, `health`, `can_dodge_projectiles`, and `is_boss` are never used [INFO] [stdout] --> src/enemy.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Enemy { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn shooting_enemy(x: usize, y: usize, world_pos: Position) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn knight(x: usize, y: usize, world_pos: Position) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn major_boss(x: usize, y: usize, world_pos: Position) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn health(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn can_dodge_projectiles(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 732 | pub fn is_boss(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_PROJECTILE_SPEED` is never used [INFO] [stdout] --> src/player.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const PLAYER_PROJECTILE_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `health` is never used [INFO] [stdout] --> src/player.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn health(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRACKING_PROJECTILE_SPEED` is never used [INFO] [stdout] --> src/projectile.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const TRACKING_PROJECTILE_SPEED: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/projectile.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Projectile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player_curr_world_position` is never read [INFO] [stdout] --> src/state.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | player_curr_world_position: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_enemy` is never used [INFO] [stdout] --> src/world.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl World { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 771 | pub fn get_enemy(position: Position, world: &mut World) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `boss_room_indicator` is never used [INFO] [stdout] --> src/world.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | const boss_room_indicator: [f32; 4] = [0.1, 0.5, 0.1, 1.0]; //Color of boss indicators [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Hoffman_Final_Project` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `hoffman_final_project` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `deltas` should have an upper case name [INFO] [stdout] --> src/player.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | const deltas: [i16; 3] = [0, -1, 1]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `DELTAS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `deltas` should have an upper case name [INFO] [stdout] --> src/projectile.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | const deltas: [i16; 3] = [0, 1, -1]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `DELTAS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `deltas` should have an upper case name [INFO] [stdout] --> src/projectile.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | const deltas: [i16; 3] = [0, 1, -1]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `DELTAS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | self.songs[7].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = self.songs[7].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | self.songs[5].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = self.songs[5].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | self.songs[3].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = self.songs[3].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 162 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | self.songs[4].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = self.songs[4].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | self.songs[2].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = self.songs[2].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | self.songs[1].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 184 | let _ = self.songs[1].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 189 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | self.songs[0].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 193 | let _ = self.songs[0].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | self.songs[6].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = self.songs[6].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | fs::write("./serialization/world", serialized_world.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 397 | let _ = fs::write("./serialization/world", serialized_world.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | fs::write("./serialization/rng", serialized_rng.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 399 | let _ = fs::write("./serialization/rng", serialized_rng.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | fs::write("./serialization/is_serialized", b"1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 400 | let _ = fs::write("./serialization/is_serialized", b"1"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dungeon_indicator` should have an upper case name [INFO] [stdout] --> src/world.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | const dungeon_indicator: [f32; 4] = [0.1, 0.5, 0.1, 1.0]; //Color of boss indicators [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DUNGEON_INDICATOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `boss_room_indicator` should have an upper case name [INFO] [stdout] --> src/world.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | const boss_room_indicator: [f32; 4] = [0.1, 0.5, 0.1, 1.0]; //Color of boss indicators [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BOSS_ROOM_INDICATOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KNIGHT_ENEMY_HEALTH` is never used [INFO] [stdout] --> src/enemy.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const KNIGHT_ENEMY_HEALTH: usize = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHOOTER_ENEMY_HEALTH` is never used [INFO] [stdout] --> src/enemy.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const SHOOTER_ENEMY_HEALTH: usize = 25; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINOR_BOSS_HEALTH` is never used [INFO] [stdout] --> src/enemy.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MINOR_BOSS_HEALTH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAJOR_BOSS_HEALTH` is never used [INFO] [stdout] --> src/enemy.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MAJOR_BOSS_HEALTH: usize = 2000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERMISSIBLE_TILES_BOSS` is never used [INFO] [stdout] --> src/enemy.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const PERMISSIBLE_TILES_BOSS: [[f32; 4]; 0] = []; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KNIGHT_ENEMY_SPEED` is never used [INFO] [stdout] --> src/enemy.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | const KNIGHT_ENEMY_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHOOTER_ENEMY_SPEED` is never used [INFO] [stdout] --> src/enemy.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const SHOOTER_ENEMY_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINOR_BOSS_SPEED` is never used [INFO] [stdout] --> src/enemy.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const MINOR_BOSS_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAJOR_BOSS_SPEED` is never used [INFO] [stdout] --> src/enemy.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const MAJOR_BOSS_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAJOR_BOSS_DAMAGE` is never used [INFO] [stdout] --> src/enemy.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const MAJOR_BOSS_DAMAGE: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `shooting_enemy`, `knight`, `major_boss`, `health`, `can_dodge_projectiles`, and `is_boss` are never used [INFO] [stdout] --> src/enemy.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl Enemy { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn shooting_enemy(x: usize, y: usize, world_pos: Position) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn knight(x: usize, y: usize, world_pos: Position) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn major_boss(x: usize, y: usize, world_pos: Position) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn health(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn can_dodge_projectiles(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 732 | pub fn is_boss(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_PROJECTILE_SPEED` is never used [INFO] [stdout] --> src/player.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | const PLAYER_PROJECTILE_SPEED: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `health` is never used [INFO] [stdout] --> src/player.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn health(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRACKING_PROJECTILE_SPEED` is never used [INFO] [stdout] --> src/projectile.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const TRACKING_PROJECTILE_SPEED: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/projectile.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 49 | impl Projectile { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player_curr_world_position` is never read [INFO] [stdout] --> src/state.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct State { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | player_curr_world_position: Position, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_enemy` is never used [INFO] [stdout] --> src/world.rs:771:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl World { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 771 | pub fn get_enemy(position: Position, world: &mut World) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `boss_room_indicator` is never used [INFO] [stdout] --> src/world.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | const boss_room_indicator: [f32; 4] = [0.1, 0.5, 0.1, 1.0]; //Color of boss indicators [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Hoffman_Final_Project` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `hoffman_final_project` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `deltas` should have an upper case name [INFO] [stdout] --> src/player.rs:742:15 [INFO] [stdout] | [INFO] [stdout] 742 | const deltas: [i16; 3] = [0, -1, 1]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `DELTAS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `deltas` should have an upper case name [INFO] [stdout] --> src/projectile.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | const deltas: [i16; 3] = [0, 1, -1]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `DELTAS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `deltas` should have an upper case name [INFO] [stdout] --> src/projectile.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | const deltas: [i16; 3] = [0, 1, -1]; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `DELTAS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 132 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 136 | self.songs[7].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = self.songs[7].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | self.songs[5].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = self.songs[5].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | self.songs[3].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 157 | let _ = self.songs[3].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 162 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | self.songs[4].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = self.songs[4].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | self.songs[2].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | let _ = self.songs[2].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 180 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | self.songs[1].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 184 | let _ = self.songs[1].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | ... song.stop(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 189 | let _ = song.stop(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | self.songs[0].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 193 | let _ = self.songs[0].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | self.songs[6].play(ctx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 201 | let _ = self.songs[6].play(ctx); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:397:13 [INFO] [stdout] | [INFO] [stdout] 397 | fs::write("./serialization/world", serialized_world.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 397 | let _ = fs::write("./serialization/world", serialized_world.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | fs::write("./serialization/rng", serialized_rng.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 399 | let _ = fs::write("./serialization/rng", serialized_rng.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/state.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | fs::write("./serialization/is_serialized", b"1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 400 | let _ = fs::write("./serialization/is_serialized", b"1"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `dungeon_indicator` should have an upper case name [INFO] [stdout] --> src/world.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 259 | const dungeon_indicator: [f32; 4] = [0.1, 0.5, 0.1, 1.0]; //Color of boss indicators [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DUNGEON_INDICATOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `boss_room_indicator` should have an upper case name [INFO] [stdout] --> src/world.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 260 | const boss_room_indicator: [f32; 4] = [0.1, 0.5, 0.1, 1.0]; //Color of boss indicators [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `BOSS_ROOM_INDICATOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 142 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 142 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.56s [INFO] running `Command { std: "docker" "inspect" "c84ad41b800f528492e0d81e931fca1d3fe3b8623ea588e9028ddd8718ba0f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c84ad41b800f528492e0d81e931fca1d3fe3b8623ea588e9028ddd8718ba0f31", kill_on_drop: false }` [INFO] [stdout] c84ad41b800f528492e0d81e931fca1d3fe3b8623ea588e9028ddd8718ba0f31 [INFO] checking Incorrectish/Conquer-World against try#ac89e27721b9b4d1482ebc87f2f83b4e23d49d71 for pr-117351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2FConquer-World" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Incorrectish/Conquer-World on toolchain ac89e27721b9b4d1482ebc87f2f83b4e23d49d71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Incorrectish/Conquer-World [INFO] finished tweaking git repo https://github.com/Incorrectish/Conquer-World [INFO] tweaked toml for git repo https://github.com/Incorrectish/Conquer-World written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Incorrectish/Conquer-World 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" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee4265a7fb769bb97c79ee69ab8ece5ec04aa296c06bfd8d24d17702d8a3edac [INFO] running `Command { std: "docker" "start" "-a" "ee4265a7fb769bb97c79ee69ab8ece5ec04aa296c06bfd8d24d17702d8a3edac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee4265a7fb769bb97c79ee69ab8ece5ec04aa296c06bfd8d24d17702d8a3edac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee4265a7fb769bb97c79ee69ab8ece5ec04aa296c06bfd8d24d17702d8a3edac", kill_on_drop: false }` [INFO] [stdout] ee4265a7fb769bb97c79ee69ab8ece5ec04aa296c06bfd8d24d17702d8a3edac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ac89e27721b9b4d1482ebc87f2f83b4e23d49d71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49240a2b5a2bacf00a3a026e70cda9c94f4192c3bae1faa6c4d704d9b224fb08 [INFO] running `Command { std: "docker" "start" "-a" "49240a2b5a2bacf00a3a026e70cda9c94f4192c3bae1faa6c4d704d9b224fb08", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling syn v1.0.106 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling serde_derive v1.0.151 [INFO] [stderr] Compiling serde v1.0.151 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling libm v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.9.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling erased-serde v0.3.24 [INFO] [stderr] Checking async-task v4.3.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking concurrent-queue v2.0.0 [INFO] [stderr] Checking bevy_ptr v0.8.1 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking async-channel v1.8.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling uuid v1.2.2 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking profiling v1.0.7 [INFO] [stderr] Checking gpu-alloc v0.5.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Compiling anyhow v1.0.67 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking pp-rs v0.2.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling wgpu-core v0.13.2 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking async-lock v2.6.0 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking png v0.17.7 [INFO] [stderr] Checking wgpu-types v0.13.2 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking async-executor v1.5.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking filetime v0.2.19 [INFO] [stderr] Checking bevy_tasks v0.8.1 [INFO] [stderr] Checking inplace_it v0.3.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking glow v0.11.2 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking notify v5.0.0-pre.15 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Checking euclid v0.22.7 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking ttf-parser v0.17.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.7 [INFO] [stderr] Checking const_panic v0.2.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stdout] error[E0277]: the size for values of type `S` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/const_panic-0.2.7/src/fmt.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct IsPanicFmt { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 154 | self_: PhantomData S>, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 153 - pub struct IsPanicFmt { [INFO] [stdout] 153 + pub struct IsPanicFmt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `T` cannot be known at compilation time [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/const_panic-0.2.7/src/fmt.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct IsPanicFmt { [INFO] [stdout] | - this type parameter needs to be `Sized` [INFO] [stdout] 154 | self_: PhantomData S>, [INFO] [stdout] 155 | this: PhantomData T>, [INFO] [stdout] | ^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = note: the return type of a function must have a statically known size [INFO] [stdout] help: consider removing the `?Sized` bound to make the type parameter `Sized` [INFO] [stdout] | [INFO] [stdout] 153 - pub struct IsPanicFmt { [INFO] [stdout] 153 + pub struct IsPanicFmt { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `const_panic` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "49240a2b5a2bacf00a3a026e70cda9c94f4192c3bae1faa6c4d704d9b224fb08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49240a2b5a2bacf00a3a026e70cda9c94f4192c3bae1faa6c4d704d9b224fb08", kill_on_drop: false }` [INFO] [stdout] 49240a2b5a2bacf00a3a026e70cda9c94f4192c3bae1faa6c4d704d9b224fb08