[INFO] cloning repository https://github.com/nstrmx/asteroids-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nstrmx/asteroids-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fasteroids-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fasteroids-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c775f95d5d6137a3b15a82eed19b171c76ab420 [INFO] checking nstrmx/asteroids-game against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fasteroids-game" "/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/nstrmx/asteroids-game [INFO] finished tweaking git repo https://github.com/nstrmx/asteroids-game [INFO] tweaked toml for git repo https://github.com/nstrmx/asteroids-game written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nstrmx/asteroids-game on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nstrmx/asteroids-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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4e82007ca2054a35bc55aefda8d3e671e9d3807dff34777152ccc77546d93d6 [INFO] running `Command { std: "docker" "start" "-a" "b4e82007ca2054a35bc55aefda8d3e671e9d3807dff34777152ccc77546d93d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4e82007ca2054a35bc55aefda8d3e671e9d3807dff34777152ccc77546d93d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e82007ca2054a35bc55aefda8d3e671e9d3807dff34777152ccc77546d93d6", kill_on_drop: false }` [INFO] [stdout] b4e82007ca2054a35bc55aefda8d3e671e9d3807dff34777152ccc77546d93d6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1258330ba1594fa6070576b3ea240da5eff596caba6066d16716fa0750e64ce [INFO] running `Command { std: "docker" "start" "-a" "c1258330ba1594fa6070576b3ea240da5eff596caba6066d16716fa0750e64ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Checking raylib v5.5.1 [INFO] [stderr] Checking asteroids v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/entities.rs:40:56 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn on_collision(&mut self, other: &mut Entity, world: &mut crate::World) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:165:72 [INFO] [stdout] | [INFO] [stdout] 165 | self.event_bus.subscribe(EventType::EntityDestroyed, Box::new(|e: &Event, ctx: &mut Game|{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:165:83 [INFO] [stdout] | [INFO] [stdout] 165 | self.event_bus.subscribe(EventType::EntityDestroyed, Box::new(|e: &Event, ctx: &mut Game|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Indestructible` is never constructed [INFO] [stdout] --> src/entities.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Entity { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Indestructible, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CollisionType` is never used [INFO] [stdout] --> src/collision.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CollisionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project` is never used [INFO] [stdout] --> src/collision.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn project(poly: &[Vector2], axis: Vector2) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overlaps` is never used [INFO] [stdout] --> src/collision.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn overlaps(a: (f32, f32), b: (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perpendicular` is never used [INFO] [stdout] --> src/collision.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn perpendicular(p1: Vector2, p2: Vector2) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_to_poly` is never used [INFO] [stdout] --> src/collision.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn rect_to_poly(rect: &Rectangle) -> [Vector2; 4] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision_rect_triangle` is never used [INFO] [stdout] --> src/collision.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn check_collision_rect_triangle(rect: &Rectangle, tri: &Triangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/entities.rs:40:56 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn on_collision(&mut self, other: &mut Entity, world: &mut crate::World) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:165:72 [INFO] [stdout] | [INFO] [stdout] 165 | self.event_bus.subscribe(EventType::EntityDestroyed, Box::new(|e: &Event, ctx: &mut Game|{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:165:83 [INFO] [stdout] | [INFO] [stdout] 165 | self.event_bus.subscribe(EventType::EntityDestroyed, Box::new(|e: &Event, ctx: &mut Game|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Indestructible` is never constructed [INFO] [stdout] --> src/entities.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Entity { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Indestructible, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Entity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CollisionType` is never used [INFO] [stdout] --> src/collision.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CollisionType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project` is never used [INFO] [stdout] --> src/collision.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn project(poly: &[Vector2], axis: Vector2) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `overlaps` is never used [INFO] [stdout] --> src/collision.rs:108:4 [INFO] [stdout] | [INFO] [stdout] 108 | fn overlaps(a: (f32, f32), b: (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perpendicular` is never used [INFO] [stdout] --> src/collision.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn perpendicular(p1: Vector2, p2: Vector2) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rect_to_poly` is never used [INFO] [stdout] --> src/collision.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn rect_to_poly(rect: &Rectangle) -> [Vector2; 4] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision_rect_triangle` is never used [INFO] [stdout] --> src/collision.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn check_collision_rect_triangle(rect: &Rectangle, tri: &Triangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.59s [INFO] running `Command { std: "docker" "inspect" "c1258330ba1594fa6070576b3ea240da5eff596caba6066d16716fa0750e64ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1258330ba1594fa6070576b3ea240da5eff596caba6066d16716fa0750e64ce", kill_on_drop: false }` [INFO] [stdout] c1258330ba1594fa6070576b3ea240da5eff596caba6066d16716fa0750e64ce