[INFO] cloning repository https://github.com/CALM-home/rustpac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CALM-home/rustpac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCALM-home%2Frustpac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCALM-home%2Frustpac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abd8566da2470c0341857f9b9be3384192168d68 [INFO] checking CALM-home/rustpac against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCALM-home%2Frustpac" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CALM-home/rustpac [INFO] finished tweaking git repo https://github.com/CALM-home/rustpac [INFO] tweaked toml for git repo https://github.com/CALM-home/rustpac written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CALM-home/rustpac on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/CALM-home/rustpac 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.180 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15 [INFO] running `Command { std: "docker" "start" "5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15", 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" "5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15", 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" "5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking glam v0.27.0 [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.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking rustpac v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `screen_h` [INFO] [stdout] --> src/player.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let screen_h = screen_height(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_h` [INFO] [stdout] --> src/player.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let screen_h = screen_height(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn reset(&mut 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: method `center` is never used [INFO] [stdout] --> src/player.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn center(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position` and `place` are never used [INFO] [stdout] --> src/rocket.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl RocketModule { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_position(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn place(&mut self, pos: Vec2) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_place_at_base` is never used [INFO] [stdout] --> src/rocket.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Rocket { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn can_place_at_base(&self, player_pos: Vec2, player_size: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `capsules_remaining` is never used [INFO] [stdout] --> src/fuel.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl FuelSystem { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn capsules_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/main.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn reset(&mut 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: method `center` is never used [INFO] [stdout] --> src/player.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn center(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_position` and `place` are never used [INFO] [stdout] --> src/rocket.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl RocketModule { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_position(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn place(&mut self, pos: Vec2) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_place_at_base` is never used [INFO] [stdout] --> src/rocket.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Rocket { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn can_place_at_base(&self, player_pos: Vec2, player_size: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `capsules_remaining` is never used [INFO] [stdout] --> src/fuel.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl FuelSystem { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn capsules_remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.00s [INFO] running `Command { std: "docker" "inspect" "5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15", kill_on_drop: false }` [INFO] [stdout] 5381163cd32c08c00794d2a4cb6aa22388dd03a6ebee99cc2aa2356d3f2afe15