[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] testing dwino/EngineRustLegionBracketLib against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwino%2FEngineRustLegionBracketLib" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwino/EngineRustLegionBracketLib on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] crate git repo https://github.com/dwino/EngineRustLegionBracketLib already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1e5b611f7ced4cd6f1ea064e4dde14561641120d6b2b219c9659d36b8fabb14 [INFO] running `Command { std: "docker" "start" "-a" "b1e5b611f7ced4cd6f1ea064e4dde14561641120d6b2b219c9659d36b8fabb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1e5b611f7ced4cd6f1ea064e4dde14561641120d6b2b219c9659d36b8fabb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1e5b611f7ced4cd6f1ea064e4dde14561641120d6b2b219c9659d36b8fabb14", kill_on_drop: false }` [INFO] [stdout] b1e5b611f7ced4cd6f1ea064e4dde14561641120d6b2b219c9659d36b8fabb14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1272cc5889937585a7a51e91f1487ec11c9285a3b9b5dbfb02a1479515eed5e0 [INFO] running `Command { std: "docker" "start" "-a" "1272cc5889937585a7a51e91f1487ec11c9285a3b9b5dbfb02a1479515eed5e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling wayland-sys v0.28.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.28.5 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wide v0.5.5 [INFO] [stderr] Compiling wayland-client v0.28.5 [INFO] [stderr] Compiling wayland-protocols v0.28.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling ultraviolet v0.7.5 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling bracket-geometry v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling bracket-color v0.8.2 [INFO] [stderr] Compiling object-pool v0.5.3 [INFO] [stderr] Compiling bracket-algorithm-traits v0.8.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling bracket-pathfinding v0.8.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling bracket-random v0.8.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling bracket-noise v0.8.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.5 [INFO] [stderr] Compiling ctrlc v3.1.8 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling wayland-cursor v0.28.5 [INFO] [stderr] Compiling wayland-egl v0.28.5 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling legion_codegen v0.3.0 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling erased-serde v0.3.13 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ron v0.6.1 [INFO] [stderr] Compiling legion v0.3.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling bracket-terminal v0.8.2 [INFO] [stderr] Compiling bracket-lib v0.8.1 [INFO] [stderr] Compiling engineRustLegionBracketLib v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [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: `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 imports: `HashMap`, `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: `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] 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: `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: `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: `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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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: `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: `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: `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: `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: `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: `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: 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: `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: `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: 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/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/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/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] 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] | ------ help: consider changing this to be a mutable reference: `&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/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] error: aborting due to previous error; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] [INFO] [stderr] error: could not compile `engineRustLegionBracketLib` due to 2 previous errors; 40 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1272cc5889937585a7a51e91f1487ec11c9285a3b9b5dbfb02a1479515eed5e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1272cc5889937585a7a51e91f1487ec11c9285a3b9b5dbfb02a1479515eed5e0", kill_on_drop: false }` [INFO] [stdout] 1272cc5889937585a7a51e91f1487ec11c9285a3b9b5dbfb02a1479515eed5e0