[INFO] cloning repository https://github.com/dwino/EngineRustLegionBracketLib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwino/EngineRustLegionBracketLib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2FEngineRustLegionBracketLib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2FEngineRustLegionBracketLib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27a90cc5178cd19af61e950daa5402516de1bd35 [INFO] checking dwino/EngineRustLegionBracketLib against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2FEngineRustLegionBracketLib" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dwino/EngineRustLegionBracketLib [INFO] finished tweaking git repo https://github.com/dwino/EngineRustLegionBracketLib [INFO] tweaked toml for git repo https://github.com/dwino/EngineRustLegionBracketLib written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dwino/EngineRustLegionBracketLib on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dwino/EngineRustLegionBracketLib 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dwino/EngineRustLegionBracketLib against try#4797991aa2efb6d658150f10425b3f3b5d10eceb for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2FEngineRustLegionBracketLib" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dwino/EngineRustLegionBracketLib [INFO] finished tweaking git repo https://github.com/dwino/EngineRustLegionBracketLib [INFO] tweaked toml for git repo https://github.com/dwino/EngineRustLegionBracketLib written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dwino/EngineRustLegionBracketLib on toolchain 4797991aa2efb6d658150f10425b3f3b5d10eceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dwino/EngineRustLegionBracketLib 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" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded legion v0.3.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded num_enum v0.4.3 [INFO] [stderr] Downloaded libc v0.2.90 [INFO] [stderr] Downloaded bracket-noise v0.8.2 [INFO] [stderr] Downloaded bracket-algorithm-traits v0.8.2 [INFO] [stderr] Downloaded bracket-geometry v0.8.2 [INFO] [stderr] Downloaded ultraviolet v0.7.5 [INFO] [stderr] Downloaded ndk v0.2.1 [INFO] [stderr] Downloaded bracket-random v0.8.2 [INFO] [stderr] Downloaded bracket-color v0.8.2 [INFO] [stderr] Downloaded ctrlc v3.1.8 [INFO] [stderr] Downloaded gl_generator v0.13.1 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.5 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.7 [INFO] [stderr] Downloaded ttf-parser v0.6.2 [INFO] [stderr] Downloaded wayland-client v0.28.5 [INFO] [stderr] Downloaded wayland-egl v0.28.5 [INFO] [stderr] Downloaded nom v6.1.2 [INFO] [stderr] Downloaded wayland-protocols v0.28.5 [INFO] [stderr] Downloaded wide v0.5.5 [INFO] [stderr] Downloaded ndk-glue v0.2.1 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Downloaded xcursor v0.3.3 [INFO] [stderr] Downloaded wayland-cursor v0.28.5 [INFO] [stderr] Downloaded wayland-commons v0.28.5 [INFO] [stderr] Downloaded wayland-scanner v0.28.5 [INFO] [stderr] Downloaded wayland-sys v0.28.5 [INFO] [stderr] Downloaded bracket-lib v0.8.1 [INFO] [stderr] Downloaded erased-serde v0.3.13 [INFO] [stderr] Downloaded legion_codegen v0.3.0 [INFO] [stderr] Downloaded paste v1.0.5 [INFO] [stderr] Downloaded bracket-pathfinding v0.8.4 [INFO] [stderr] Downloaded slotmap v0.3.0 [INFO] [stderr] Downloaded glow v0.4.0 [INFO] [stderr] Downloaded cocoa v0.23.0 [INFO] [stderr] Downloaded glutin v0.26.0 [INFO] [stderr] Downloaded num_enum_derive v0.4.3 [INFO] [stderr] Downloaded owned_ttf_parser v0.6.0 [INFO] [stderr] Downloaded rusttype v0.9.2 [INFO] [stderr] Downloaded winit v0.24.0 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded ron v0.6.1 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] [stderr] Downloaded bracket-terminal v0.8.2 [INFO] [stderr] Downloaded object-pool v0.5.3 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1a0e09aa14c012894daa44cea4f976e819c7c29113b005318f327cb6feab53e [INFO] running `Command { std: "docker" "start" "-a" "e1a0e09aa14c012894daa44cea4f976e819c7c29113b005318f327cb6feab53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1a0e09aa14c012894daa44cea4f976e819c7c29113b005318f327cb6feab53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1a0e09aa14c012894daa44cea4f976e819c7c29113b005318f327cb6feab53e", kill_on_drop: false }` [INFO] [stdout] e1a0e09aa14c012894daa44cea4f976e819c7c29113b005318f327cb6feab53e [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4797991aa2efb6d658150f10425b3f3b5d10eceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b3a6252932cb8603d885a2f446fe9cb1448b9ee00e9f97e7f8fd6521fe0f6cb [INFO] running `Command { std: "docker" "start" "-a" "2b3a6252932cb8603d885a2f446fe9cb1448b9ee00e9f97e7f8fd6521fe0f6cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking wide v0.5.5 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking ultraviolet v0.7.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking wayland-commons v0.28.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking bracket-geometry v0.8.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking wayland-cursor v0.28.5 [INFO] [stderr] Checking wayland-egl v0.28.5 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking object-pool v0.5.3 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking bracket-algorithm-traits v0.8.2 [INFO] [stderr] Checking ctrlc v3.1.8 [INFO] [stderr] Checking bracket-color v0.8.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking bracket-pathfinding v0.8.4 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking bracket-random v0.8.2 [INFO] [stderr] Checking bracket-noise v0.8.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking erased-serde v0.3.13 [INFO] [stderr] Checking ron v0.6.1 [INFO] [stderr] Checking legion v0.3.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking bracket-terminal v0.8.2 [INFO] [stderr] Checking bracket-lib v0.8.1 [INFO] [stderr] Checking engineRustLegionBracketLib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/components/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/components/entities.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/components/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude::*` [INFO] [stdout] --> src/components/entities.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rooms::RoomsArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rooms::RoomsArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `automata::CellularAutomataArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use automata::CellularAutomataArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drunkard::DrunkardsWalkArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use drunkard::DrunkardsWalkArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:216:11 [INFO] [stdout] | [INFO] [stdout] 216 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefab::apply` [INFO] [stdout] --> src/map_builder/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use prefab::apply; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:237:15 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vornoi::VornoiArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use vornoi::VornoiArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | #[cfg(feature = "threaded")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `store::StoreArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use store::StoreArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `threaded` [INFO] [stdout] --> src/dkm.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 283 | #[cfg(not(feature = "threaded"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `threaded` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::empty::EmptyArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use self::empty::EmptyArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rooms::RoomsArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rooms::RoomsArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `automata::CellularAutomataArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use automata::CellularAutomataArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drunkard::DrunkardsWalkArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use drunkard::DrunkardsWalkArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prefab::apply` [INFO] [stdout] --> src/map_builder/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use prefab::apply; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vornoi::VornoiArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use vornoi::VornoiArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `store::StoreArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use store::StoreArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::empty::EmptyArchitect` [INFO] [stdout] --> src/map_builder/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use self::empty::EmptyArchitect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `EntityType` is ambiguous [INFO] [stdout] --> src/systems/ai/spawning_equipment.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | if equipment_spawn.template.entity_type == EntityType::Equipment { [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [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 #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EntityType` could refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use template::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] note: `EntityType` could also refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sm_template::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `EntityType` is ambiguous [INFO] [stdout] --> src/systems/ai/spawning_equipment.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | if equipment_spawn.template.entity_type == EntityType::Equipment { [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [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 #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EntityType` could refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use template::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] note: `EntityType` could also refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sm_template::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `EntityType` is ambiguous [INFO] [stdout] --> src/systems/ai/spawning_equipment.rs:54:68 [INFO] [stdout] | [INFO] [stdout] 54 | if equipment_spawn.template.entity_type == EntityType::Equipment { [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [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 #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EntityType` could refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use template::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] note: `EntityType` could also refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sm_template::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/spawner/sm_template.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `foraging_spawner::*` [INFO] [stdout] --> src/spawner/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use foraging_spawner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, convert::TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, convert::TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `EntityType` is ambiguous [INFO] [stdout] --> src/systems/ai/spawning_equipment.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 42 | if equipment_spawn.template.entity_type == EntityType::Equipment { [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [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 #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EntityType` could refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use template::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] note: `EntityType` could also refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sm_template::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] = note: `#[deny(ambiguous_glob_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `EntityType` is ambiguous [INFO] [stdout] --> src/systems/ai/spawning_equipment.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | if equipment_spawn.template.entity_type == EntityType::Equipment { [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [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 #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EntityType` could refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use template::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] note: `EntityType` could also refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sm_template::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `EntityType` is ambiguous [INFO] [stdout] --> src/systems/ai/spawning_equipment.rs:54:68 [INFO] [stdout] | [INFO] [stdout] 54 | if equipment_spawn.template.entity_type == EntityType::Equipment { [INFO] [stdout] | ^^^^^^^^^^ ambiguous name [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 #114095 [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `EntityType` could refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use template::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] note: `EntityType` could also refer to the enum imported here [INFO] [stdout] --> src/spawner/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sm_template::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `EntityType` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/spawner/sm_template.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `foraging_spawner::*` [INFO] [stdout] --> src/spawner/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use foraging_spawner::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, convert::TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spawner::FruitType` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | pub use crate::spawner::FruitType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, convert::TryInto}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spawner::FruitType` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | pub use crate::spawner::FruitType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/map_builder/store.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | .filter(|(idx, t)| **t == TileType::Shelve) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/map_builder/store.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | .filter(|(idx, t)| **t == TileType::Shelve) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/spawner/sm_template.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | level: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/spawner/sm_template.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | rng: &mut RandomNumberGenerator, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/spawner/sm_template.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | level: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/spawner/sm_template.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | rng: &mut RandomNumberGenerator, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positions` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut positions = <(Entity, &Point, &Health)>::query(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eat_equipment` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut eat_equipment = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eat_equipment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positions` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut positions = <(Entity, &Point, &Health)>::query(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_entity` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | .filter(|(item_entity, _item, item_pos)| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_pos` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | .find_map(|(item_entity, _item, item_pos)| Some(item_entity)) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | fruit.iter(ecs).for_each(|(entity, _fruit, pos)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eat_equipment` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut eat_equipment = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eat_equipment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_entity` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | .filter(|(item_entity, _item, item_pos)| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_pos` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | .find_map(|(item_entity, _item, item_pos)| Some(item_entity)) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/systems/ai/ant_ai.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | fruit.iter(ecs).for_each(|(entity, _fruit, pos)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/ant_ai.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut eat_equipment = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/ant_ai.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut eat_equipment = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/ant_ai.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut positions = <(Entity, &Point, &Health)>::query(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/ant_ai.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut positions = <(Entity, &Point, &Health)>::query(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nest_pos` [INFO] [stdout] --> src/systems/ai/foraging.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | .find_map(|(nest_entity, nest_pos, nest_energy)| Some((nest_entity, nest_energy))) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nest_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nest_weight` is never read [INFO] [stdout] --> src/systems/ai/foraging.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut nest_weight: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `forage_weight` is never read [INFO] [stdout] --> src/systems/ai/foraging.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let mut forage_weight: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nest_pos` [INFO] [stdout] --> src/systems/ai/foraging.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | .find_map(|(nest_entity, nest_pos, nest_energy)| Some((nest_entity, nest_energy))) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nest_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `nest_weight` is never read [INFO] [stdout] --> src/systems/ai/foraging.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut nest_weight: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `forage_weight` is never read [INFO] [stdout] --> src/systems/ai/foraging.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let mut forage_weight: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/foraging.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut dijkstra_map = [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/foraging.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut dijkstra_map = [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_component` [INFO] [stdout] --> src/systems/ai/random_patrolling.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|(message_entity, message_component)| *message_entity) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_component` [INFO] [stdout] --> src/systems/ai/random_patrolling.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|(message_entity, message_component)| *message_entity) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/random_patrolling.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut patrol_entities: Vec = wants_to_patrol [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/random_patrolling.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut patrol_entities: Vec = wants_to_patrol [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positions` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut positions = <(Entity, &Point, &Health)>::query(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eat_equipment` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut eat_equipment = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eat_equipment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `positions` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut positions = <(Entity, &Point, &Health)>::query(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_positions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_entity` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(|(item_entity, _item, item_pos)| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_pos` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | .find_map(|(item_entity, _item, item_pos)| Some(item_entity)) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | equipment.iter(ecs).for_each(|(entity, _equipment, pos)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eat_equipment` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut eat_equipment = false; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eat_equipment` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_entity` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | .filter(|(item_entity, _item, item_pos)| { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_pos` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:58:49 [INFO] [stdout] | [INFO] [stdout] 58 | .find_map(|(item_entity, _item, item_pos)| Some(item_entity)) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity` [INFO] [stdout] --> src/systems/ai/rat_ai.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | equipment.iter(ecs).for_each(|(entity, _equipment, pos)| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/rat_ai.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut eat_equipment = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/rat_ai.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut eat_equipment = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/rat_ai.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut positions = <(Entity, &Point, &Health)>::query(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/rat_ai.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut positions = <(Entity, &Point, &Health)>::query(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/systems/ai/spawning_forager.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut rng = RandomNumberGenerator::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/systems/ai/spawning_forager.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut rng = RandomNumberGenerator::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `energy.current`, which is behind a `&` reference [INFO] [stdout] --> src/systems/ai/spawning_forager.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 11 | forager_spawners.iter_mut(ecs).for_each(|(pos, energy)| { [INFO] [stdout] | ------ consider changing this binding's type to be: `&mut attributes::Energy` [INFO] [stdout] ... [INFO] [stdout] 33 | energy.current -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `energy` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `energy.current`, which is behind a `&` reference [INFO] [stdout] --> src/systems/ai/spawning_forager.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 11 | forager_spawners.iter_mut(ecs).for_each(|(pos, energy)| { [INFO] [stdout] | ------ consider changing this binding's type to be: `&mut attributes::Energy` [INFO] [stdout] ... [INFO] [stdout] 33 | energy.current -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `energy` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/spawning_forager.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut rng = RandomNumberGenerator::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/ai/spawning_forager.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut rng = RandomNumberGenerator::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/sm/movement.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | ecs: &mut SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fov` [INFO] [stdout] --> src/systems/sm/tooltips.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut fov = <&FieldOfView>::query().filter(component::()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ecs` [INFO] [stdout] --> src/systems/sm/movement.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | ecs: &mut SubWorld, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fov` [INFO] [stdout] --> src/systems/sm/tooltips.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut fov = <&FieldOfView>::query().filter(component::()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fov` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/sm/tooltips.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut fov = <&FieldOfView>::query().filter(component::()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensing` [INFO] [stdout] --> src/systems/sm/use_items.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | if let Ok(sensing) = item.get_component::() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/sm/tooltips.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut fov = <&FieldOfView>::query().filter(component::()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensing` [INFO] [stdout] --> src/systems/sm/use_items.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | if let Ok(sensing) = item.get_component::() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/combat.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some((entity, ranged_damage, mut projectile)) = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/combat.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/combat.rs:53:53 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some((entity, ranged_damage, mut projectile)) = [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/combat.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/combat.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/combat.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 138 | if let Ok(mut health) = ecs [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/fov.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | .for_each(|(pos, mut fov)| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/fov.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | ranges.iter_mut(ecs).for_each(|(pos, mut target_range)| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/fov.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | .for_each(|(pos, mut fov)| { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/systems/varia/fov.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | ranges.iter_mut(ecs).for_each(|(pos, mut target_range)| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/systems/varia/targeting.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(message) = <(Entity, &WantsEndTargeting)>::query() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/systems/varia/targeting.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | if let Some(message) = <(Entity, &WantsEndTargeting)>::query() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targeting_component` [INFO] [stdout] --> src/systems/varia/targeting.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | .find_map(|(targeting_entity, targeting_component)| Some(targeting_entity)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targeting_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targeting_component` [INFO] [stdout] --> src/systems/varia/targeting.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | .find_map(|(targeting_entity, targeting_component)| Some(targeting_entity)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targeting_component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensing` [INFO] [stdout] --> src/systems/varia/use_items.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | if let Ok(sensing) = item.get_component::() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensing` [INFO] [stdout] --> src/systems/varia/use_items.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | if let Ok(sensing) = item.get_component::() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] [INFO] [stderr] error: could not compile `engineRustLegionBracketLib` (bin "engineRustLegionBracketLib") due to 7 previous errors; 62 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `engineRustLegionBracketLib` (bin "engineRustLegionBracketLib" test) due to 7 previous errors; 62 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2b3a6252932cb8603d885a2f446fe9cb1448b9ee00e9f97e7f8fd6521fe0f6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b3a6252932cb8603d885a2f446fe9cb1448b9ee00e9f97e7f8fd6521fe0f6cb", kill_on_drop: false }` [INFO] [stdout] 2b3a6252932cb8603d885a2f446fe9cb1448b9ee00e9f97e7f8fd6521fe0f6cb