[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 eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [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 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/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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd [INFO] running `Command { std: "docker" "start" "3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd", 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" "3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd", 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" "3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking glam v0.27.0 [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 6.92s [INFO] running `Command { std: "docker" "inspect" "3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd", kill_on_drop: false }` [INFO] [stdout] 3028d4660e0f8e743cda7f5c7c48c06f5502d08a4915db07f731d167001424bd