[INFO] cloning repository https://github.com/NeonG4/Rust-Swarm-Game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NeonG4/Rust-Swarm-Game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeonG4%2FRust-Swarm-Game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeonG4%2FRust-Swarm-Game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5112a67a8e19b56f9502acc4304af831f971c231 [INFO] checking NeonG4/Rust-Swarm-Game against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeonG4%2FRust-Swarm-Game" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NeonG4/Rust-Swarm-Game [INFO] finished tweaking git repo https://github.com/NeonG4/Rust-Swarm-Game [INFO] tweaked toml for git repo https://github.com/NeonG4/Rust-Swarm-Game written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NeonG4/Rust-Swarm-Game on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NeonG4/Rust-Swarm-Game 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miniquad v0.4.11 [INFO] [stderr] Downloaded fontdue v0.9.4 [INFO] [stderr] Downloaded macroquad v0.4.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b [INFO] running `Command { std: "docker" "start" "fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b", 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" "fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b", 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" "fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Compiling miniquad v0.4.11 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking fontdue v0.9.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.16 [INFO] [stderr] Checking hello-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/enemy.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | fn move_enemy(&mut self, player: &player::Player, game_frame: i32, game_running: bool, _si: &screen_info::ScreenInfo, _delta_tim... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_frame` [INFO] [stdout] --> src/enemy.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | ...yer: &player::Player, game_frame: i32, game_running: bool, _si: &screen_info::ScreenInfo, _delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `si` [INFO] [stdout] --> src/enemy.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | fn draw(&self, si: &screen_info::ScreenInfo) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_si` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_running` [INFO] [stdout] --> src/main.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | async fn controls(player: &mut player::Player, game_running: &mut bool, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_running` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enemy.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl LazerEnemy { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(wall_face: Wall, position: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/screen_info.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl ScreenInfo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 6 | pub fn new(width: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/player.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn update(&mut self, mx: f32, my: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `deltaTime` should have a snake case name [INFO] [stdout] --> src/enemy.rs:6:122 [INFO] [stdout] | [INFO] [stdout] 6 | ..., si: &screen_info::ScreenInfo, deltaTime: f32); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/enemy.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | fn move_enemy(&mut self, player: &player::Player, game_frame: i32, game_running: bool, _si: &screen_info::ScreenInfo, _delta_tim... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_frame` [INFO] [stdout] --> src/enemy.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | ...yer: &player::Player, game_frame: i32, game_running: bool, _si: &screen_info::ScreenInfo, _delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `si` [INFO] [stdout] --> src/enemy.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | fn draw(&self, si: &screen_info::ScreenInfo) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_si` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_running` [INFO] [stdout] --> src/main.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | async fn controls(player: &mut player::Player, game_running: &mut bool, delta_time: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_running` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/enemy.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl LazerEnemy { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(wall_face: Wall, position: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/screen_info.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl ScreenInfo { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 6 | pub fn new(width: f32, height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/player.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn update(&mut self, mx: f32, my: f32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `deltaTime` should have a snake case name [INFO] [stdout] --> src/enemy.rs:6:122 [INFO] [stdout] | [INFO] [stdout] 6 | ..., si: &screen_info::ScreenInfo, deltaTime: f32); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `delta_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.52s [INFO] running `Command { std: "docker" "inspect" "fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b", kill_on_drop: false }` [INFO] [stdout] fcfe68d163bea9df2b71b1e67f3eb2b037d2be0f58e0aecb2b1043c10562c61b