[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 master#cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnstrmx%2Fasteroids-game" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nstrmx/asteroids-game on toolchain cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "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" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raylib v5.5.1 [INFO] [stderr] Downloaded raylib-sys v5.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e169572a8ab8e40459323efce10cb6b6719307287e0d1115a4c22b5cf284b784 [INFO] running `Command { std: "docker" "start" "-a" "e169572a8ab8e40459323efce10cb6b6719307287e0d1115a4c22b5cf284b784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e169572a8ab8e40459323efce10cb6b6719307287e0d1115a4c22b5cf284b784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e169572a8ab8e40459323efce10cb6b6719307287e0d1115a4c22b5cf284b784", kill_on_drop: false }` [INFO] [stdout] e169572a8ab8e40459323efce10cb6b6719307287e0d1115a4c22b5cf284b784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cd7cbe818e4a66d46fe2df993d1b8518eba8a5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 107bd950f45302fef2e2190b715aea7ed08c5d5a58a39a88866ea22568e1f71d [INFO] running `Command { std: "docker" "start" "-a" "107bd950f45302fef2e2190b715aea7ed08c5d5a58a39a88866ea22568e1f71d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex v1.11.1 [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] 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)]` 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: 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)]` on by default [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)]` 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: `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)]` 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 34.08s [INFO] running `Command { std: "docker" "inspect" "107bd950f45302fef2e2190b715aea7ed08c5d5a58a39a88866ea22568e1f71d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107bd950f45302fef2e2190b715aea7ed08c5d5a58a39a88866ea22568e1f71d", kill_on_drop: false }` [INFO] [stdout] 107bd950f45302fef2e2190b715aea7ed08c5d5a58a39a88866ea22568e1f71d