[INFO] cloning repository https://github.com/puppysh43/combat_sandbox
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/puppysh43/combat_sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuppysh43%2Fcombat_sandbox", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuppysh43%2Fcombat_sandbox'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 22aa18867a84a64a191635c13835327704d7864e
[INFO] checking puppysh43/combat_sandbox against f4dd856795debe636f2ba39a900f162f5abeb7e8 for pr-160904
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpuppysh43%2Fcombat_sandbox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/puppysh43/combat_sandbox
[INFO] finished tweaking git repo https://github.com/puppysh43/combat_sandbox
[INFO] tweaked toml for git repo https://github.com/puppysh43/combat_sandbox written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/puppysh43/combat_sandbox on toolchain f4dd856795debe636f2ba39a900f162f5abeb7e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/puppysh43/combat_sandbox 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" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "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
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quad-rand v0.2.2
[INFO] [stderr]   Downloaded flate2 v1.0.33
[INFO] [stderr]   Downloaded bytemuck v1.18.0
[INFO] [stderr]   Downloaded hecs v0.10.5
[INFO] [stderr]   Downloaded miniquad v0.4.6
[INFO] [stderr]   Downloaded png v0.17.13
[INFO] [stderr]   Downloaded fontdue v0.7.3
[INFO] [stderr]   Downloaded macroquad v0.4.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe
[INFO] running `Command { std: "docker" "start" "a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking once_cell v1.20.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]    Compiling quad-alsa-sys v0.3.2
[INFO] [stderr]     Checking maybe-uninit v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking ogg v0.7.1
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]    Compiling miniquad v0.4.6
[INFO] [stderr]     Checking lewton v0.9.4
[INFO] [stderr]     Checking dasp_frame v0.11.0
[INFO] [stderr]    Compiling quad-snd v0.2.8
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking flate2 v1.0.33
[INFO] [stderr]     Checking bytemuck v1.18.0
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking audrey v0.3.0
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking quad-rand v0.2.2
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking hecs v0.10.5
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking fontdue v0.7.3
[INFO] [stderr]     Checking macroquad v0.4.13
[INFO] [stderr]     Checking combat_sandbox v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/combat_systems/ranged_attacks.rs:47:53
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let shooter_weapon = state.ecs.query_one_mut
[INFO] [stdout]    |                                                     ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 51 |         let mut shots_made = 1; //currently this is just 1 but later this will match
[INFO] [stdout]    |         --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/combat_systems/ranged_attacks.rs:47:53
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let shooter_weapon = state.ecs.query_one_mut
[INFO] [stdout]    |                                                     ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 51 |         let mut shots_made = 1; //currently this is just 1 but later this will match
[INFO] [stdout]    |         --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]   --> src/main.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | mod lib;
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lib.rs is the root of this crate's library target
[INFO] [stdout]    = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]    = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub use std::collections::HashMap;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::*`
[INFO] [stdout]  --> src/combat_action_type.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::*`
[INFO] [stdout]  --> src/combat_systems/end_turn.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use macroquad::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::gamestate::*`
[INFO] [stdout]  --> src/combat_systems/input.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::gamestate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::*`
[INFO] [stdout]  --> src/combat_systems/logs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use macroquad::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hecs::*`
[INFO] [stdout]  --> src/combat_systems/render_ui.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hecs::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         (gamescreen_edge + (divider_width / 2.0)),
[INFO] [stdout]    |         ^                                       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -         (gamescreen_edge + (divider_width / 2.0)),
[INFO] [stdout] 16 +         gamescreen_edge + (divider_width / 2.0),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         (gamescreen_edge + (divider_width / 2.0)),
[INFO] [stdout]    |         ^                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 18 -         (gamescreen_edge + (divider_width / 2.0)),
[INFO] [stdout] 18 +         gamescreen_edge + (divider_width / 2.0),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::*`
[INFO] [stdout]   --> src/combat_systems/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use macroquad::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `weapons::*`
[INFO] [stdout]  --> src/components/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use weapons::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::init_ecs::*`
[INFO] [stdout]  --> src/gamestate.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::init_ecs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]  --> src/gamestate.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `query_one_mut` on type `hecs::World`
[INFO] [stdout]   --> src/combat_systems/ranged_attacks.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let shooter_weapon = state.ecs.query_one_mut
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let shooter_weapon = state.ecs.query_one_mut(_)
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ap_left`
[INFO] [stdout]   --> src/combat_systems/input.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |                     Ok(ap_left) => {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ap_left`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ap_left`
[INFO] [stdout]   --> src/combat_systems/input.rs:61:25
[INFO] [stdout]    |
[INFO] [stdout] 61 |                     Err(ap_left) => {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ap_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ap_left`
[INFO] [stdout]   --> src/combat_systems/input.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     Ok(ap_left) => {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ap_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ap_left`
[INFO] [stdout]   --> src/combat_systems/input.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     Err(ap_left) => {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ap_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]   --> src/main.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | mod lib;
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lib.rs is the root of this crate's library target
[INFO] [stdout]    = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]    = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub use std::collections::HashMap;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::*`
[INFO] [stdout]  --> src/combat_action_type.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use macroquad::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::*`
[INFO] [stdout]  --> src/combat_systems/end_turn.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use macroquad::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::gamestate::*`
[INFO] [stdout]  --> src/combat_systems/input.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::gamestate::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::*`
[INFO] [stdout]  --> src/combat_systems/logs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use macroquad::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hecs::*`
[INFO] [stdout]  --> src/combat_systems/render_ui.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hecs::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `color` is never read
[INFO] [stdout]   --> src/combat_systems/render.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut color = Color::new(0.0, 0.0, 0.0, 0.0);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 49 |         match ctrl_type {
[INFO] [stdout] 50 |             ControlType::PC => color = RED,
[INFO] [stdout]    |                                ----------- `color` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         (gamescreen_edge + (divider_width / 2.0)),
[INFO] [stdout]    |         ^                                       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -         (gamescreen_edge + (divider_width / 2.0)),
[INFO] [stdout] 16 +         gamescreen_edge + (divider_width / 2.0),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         (gamescreen_edge + (divider_width / 2.0)),
[INFO] [stdout]    |         ^                                       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 18 -         (gamescreen_edge + (divider_width / 2.0)),
[INFO] [stdout] 18 +         gamescreen_edge + (divider_width / 2.0),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]  --> src/combat_systems/render_ui.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn system(state: &mut GameState) {
[INFO] [stdout]   |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::prelude::*`
[INFO] [stdout]   --> src/combat_systems/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use macroquad::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui_x_start`
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let ui_x_start: f32 = gamescreen_edge + divider_width;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_x_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui_top_y_offset`
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let ui_top_y_offset: f32 = 5.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_top_y_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `weapons::*`
[INFO] [stdout]  --> src/components/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use weapons::*;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text_height`
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let text_height = measure_text("A", None, 20, 1.0).height;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::init_ecs::*`
[INFO] [stdout]  --> src/gamestate.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::init_ecs::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]  --> src/gamestate.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]   --> src/components/mod.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |         for (entity, completed_turn) in self.initiative_order.iter_mut() {
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]  --> src/lib/systems.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn calculate_initiative(state: &mut GameState) {
[INFO] [stdout]   |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0615`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `combat_sandbox` (bin "combat_sandbox" test) due to 2 previous errors; 24 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0615]: attempted to take value of method `query_one_mut` on type `hecs::World`
[INFO] [stdout]   --> src/combat_systems/ranged_attacks.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let shooter_weapon = state.ecs.query_one_mut
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let shooter_weapon = state.ecs.query_one_mut(_)
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ap_left`
[INFO] [stdout]   --> src/combat_systems/input.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |                     Ok(ap_left) => {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ap_left`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ap_left`
[INFO] [stdout]   --> src/combat_systems/input.rs:61:25
[INFO] [stdout]    |
[INFO] [stdout] 61 |                     Err(ap_left) => {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ap_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ap_left`
[INFO] [stdout]   --> src/combat_systems/input.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     Ok(ap_left) => {
[INFO] [stdout]    |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ap_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ap_left`
[INFO] [stdout]   --> src/combat_systems/input.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |                     Err(ap_left) => {
[INFO] [stdout]    |                         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ap_left`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `color` is never read
[INFO] [stdout]   --> src/combat_systems/render.rs:48:25
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut color = Color::new(0.0, 0.0, 0.0, 0.0);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 49 |         match ctrl_type {
[INFO] [stdout] 50 |             ControlType::PC => color = RED,
[INFO] [stdout]    |                                ----------- `color` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]  --> src/combat_systems/render_ui.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn system(state: &mut GameState) {
[INFO] [stdout]   |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui_x_start`
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let ui_x_start: f32 = gamescreen_edge + divider_width;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_x_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui_top_y_offset`
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let ui_top_y_offset: f32 = 5.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ui_top_y_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text_height`
[INFO] [stdout]   --> src/combat_systems/render_ui.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let text_height = measure_text("A", None, 20, 1.0).height;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_text_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entity`
[INFO] [stdout]   --> src/components/mod.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |         for (entity, completed_turn) in self.initiative_order.iter_mut() {
[INFO] [stdout]    |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]  --> src/lib/systems.rs:9:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn calculate_initiative(state: &mut GameState) {
[INFO] [stdout]   |                             ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0615`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `combat_sandbox` (bin "combat_sandbox") due to 2 previous errors; 24 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe", kill_on_drop: false }`
[INFO] [stdout] a64f198ab4087f397f79d8b905bcfedd090d0e7f47411d976073fe05009c0bfe
