[INFO] cloning repository https://github.com/AlexCoetzee/kill_carl
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexCoetzee/kill_carl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCoetzee%2Fkill_carl", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCoetzee%2Fkill_carl'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a0e1c134aa17348a43cba6071492ef6d616d85a6
[INFO] checking AlexCoetzee/kill_carl against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCoetzee%2Fkill_carl" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AlexCoetzee/kill_carl
[INFO] finished tweaking git repo https://github.com/AlexCoetzee/kill_carl
[INFO] tweaked toml for git repo https://github.com/AlexCoetzee/kill_carl written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AlexCoetzee/kill_carl on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AlexCoetzee/kill_carl 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae8af3e716b3b5dd63c589fb38d6a6068094c548537e949dc19c5b2c0442140f
[INFO] running `Command { std: "docker" "start" "-a" "ae8af3e716b3b5dd63c589fb38d6a6068094c548537e949dc19c5b2c0442140f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae8af3e716b3b5dd63c589fb38d6a6068094c548537e949dc19c5b2c0442140f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae8af3e716b3b5dd63c589fb38d6a6068094c548537e949dc19c5b2c0442140f", kill_on_drop: false }`
[INFO] [stdout] ae8af3e716b3b5dd63c589fb38d6a6068094c548537e949dc19c5b2c0442140f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e1d2faed7f832e6e8675ebc881dd37be65f6d01e4494f6c5375edcc83a43d355
[INFO] running `Command { std: "docker" "start" "-a" "e1d2faed7f832e6e8675ebc881dd37be65f6d01e4494f6c5375edcc83a43d355", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling quad-alsa-sys v0.3.2
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling miniquad v0.4.6
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]     Checking hound v3.5.1
[INFO] [stderr]    Compiling quad-snd v0.2.8
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking ttf-parser v0.15.2
[INFO] [stderr]     Checking bytemuck v1.17.1
[INFO] [stderr]     Checking quad-rand v0.2.1
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking ogg v0.7.1
[INFO] [stderr]     Checking dasp_frame v0.11.0
[INFO] [stderr]     Checking lewton v0.9.4
[INFO] [stderr]     Checking flate2 v1.0.33
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]     Checking audrey v0.3.0
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking fontdue v0.7.3
[INFO] [stderr]     Checking macroquad v0.4.13
[INFO] [stderr]     Checking kill_carl_2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/shop/logic.rs:45:66
[INFO] [stdout]    |
[INFO] [stdout] 45 |             "critical_chance" => player.stats.critical_chance += (self.item.attributes.quantity as f32 / 100.0),
[INFO] [stdout]    |                                                                  ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -             "critical_chance" => player.stats.critical_chance += (self.item.attributes.quantity as f32 / 100.0),
[INFO] [stdout] 45 +             "critical_chance" => player.stats.critical_chance += self.item.attributes.quantity as f32 / 100.0,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/shop/logic.rs:46:66
[INFO] [stdout]    |
[INFO] [stdout] 46 |             "critical_damage" => player.stats.critical_damage += (self.item.attributes.quantity as f32 / 100.0),
[INFO] [stdout]    |                                                                  ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -             "critical_damage" => player.stats.critical_damage += (self.item.attributes.quantity as f32 / 100.0),
[INFO] [stdout] 46 +             "critical_damage" => player.stats.critical_damage += self.item.attributes.quantity as f32 / 100.0,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/shop/logic.rs:45:66
[INFO] [stdout]    |
[INFO] [stdout] 45 |             "critical_chance" => player.stats.critical_chance += (self.item.attributes.quantity as f32 / 100.0),
[INFO] [stdout]    |                                                                  ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -             "critical_chance" => player.stats.critical_chance += (self.item.attributes.quantity as f32 / 100.0),
[INFO] [stdout] 45 +             "critical_chance" => player.stats.critical_chance += self.item.attributes.quantity as f32 / 100.0,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/shop/logic.rs:46:66
[INFO] [stdout]    |
[INFO] [stdout] 46 |             "critical_damage" => player.stats.critical_damage += (self.item.attributes.quantity as f32 / 100.0),
[INFO] [stdout]    |                                                                  ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -             "critical_damage" => player.stats.critical_damage += (self.item.attributes.quantity as f32 / 100.0),
[INFO] [stdout] 46 +             "critical_damage" => player.stats.critical_damage += self.item.attributes.quantity as f32 / 100.0,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut shop = Shop::new();
[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/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut shop_items = Item::shop(player.stats.level.level);
[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/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let mut shop = Shop::new();
[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/main.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut shop_items = Item::shop(player.stats.level.level);
[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/player.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 |         let mut sorted_enemies = enemies;
[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/enemy.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut direction_to_player = (player.position - enemy.position).normalize();
[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/shop/menu.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut button_dim = Vec2::new(300.0, 60.0);
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/shop/logic.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn apply_buff(&self, player: &mut Player) {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/player.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 |         let mut sorted_enemies = enemies;
[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/enemy.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut direction_to_player = (player.position - enemy.position).normalize();
[INFO] [stdout]    |                 ----^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Timer` is more private than the item `Wave::duration`
[INFO] [stdout]    --> src/waves.rs:20:5
[INFO] [stdout]     |
[INFO] [stdout] 20  |     pub duration: Timer,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ field `Wave::duration` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Timer` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/waves.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Timer {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `base_health` is never read
[INFO] [stdout]   --> src/enemy.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(crate) struct Enemy {
[INFO] [stdout]    |                   ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     base_health: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Enemy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rand_thread_rng` is never used
[INFO] [stdout]   --> src/utilities.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn rand_thread_rng() -> ThreadRng {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/money.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Money {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 12 |     pub async fn new(position: Vec2, value: u32) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/shop/menu.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut button_dim = Vec2::new(300.0, 60.0);
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]   --> src/shop/logic.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn apply_buff(&self, player: &mut Player) {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Timer` is more private than the item `Wave::duration`
[INFO] [stdout]    --> src/waves.rs:20:5
[INFO] [stdout]     |
[INFO] [stdout] 20  |     pub duration: Timer,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^ field `Wave::duration` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `Timer` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/waves.rs:114:1
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct Timer {
[INFO] [stdout]     | ^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `base_health` is never read
[INFO] [stdout]   --> src/enemy.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(crate) struct Enemy {
[INFO] [stdout]    |                   ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     base_health: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Enemy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rand_thread_rng` is never used
[INFO] [stdout]   --> src/utilities.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn rand_thread_rng() -> ThreadRng {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/money.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Money {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 12 |     pub async fn new(position: Vec2, value: u32) -> Self {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.57s
[INFO] running `Command { std: "docker" "inspect" "e1d2faed7f832e6e8675ebc881dd37be65f6d01e4494f6c5375edcc83a43d355", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e1d2faed7f832e6e8675ebc881dd37be65f6d01e4494f6c5375edcc83a43d355", kill_on_drop: false }`
[INFO] [stdout] e1d2faed7f832e6e8675ebc881dd37be65f6d01e4494f6c5375edcc83a43d355
