[INFO] cloning repository https://github.com/jrh4567/vectorkill [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jrh4567/vectorkill" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrh4567%2Fvectorkill", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrh4567%2Fvectorkill'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae0b09dcebc30916c41308988ed7a40de269d6f5 [INFO] building jrh4567/vectorkill against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjrh4567%2Fvectorkill" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jrh4567/vectorkill [INFO] finished tweaking git repo https://github.com/jrh4567/vectorkill [INFO] tweaked toml for git repo https://github.com/jrh4567/vectorkill written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jrh4567/vectorkill on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jrh4567/vectorkill 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macroquad_macro v0.1.7 [INFO] [stderr] Downloaded bytemuck v1.14.3 [INFO] [stderr] Downloaded ahash v0.8.10 [INFO] [stderr] Downloaded bumpalo v3.15.3 [INFO] [stderr] Downloaded miniquad v0.4.0 [INFO] [stderr] Downloaded macroquad v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06f66b71e89aadc2a4454efc2d52e72f81ca88564d2b50438b2fe2000b4ce256 [INFO] running `Command { std: "docker" "start" "-a" "06f66b71e89aadc2a4454efc2d52e72f81ca88564d2b50438b2fe2000b4ce256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f66b71e89aadc2a4454efc2d52e72f81ca88564d2b50438b2fe2000b4ce256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f66b71e89aadc2a4454efc2d52e72f81ca88564d2b50438b2fe2000b4ce256", kill_on_drop: false }` [INFO] [stdout] 06f66b71e89aadc2a4454efc2d52e72f81ca88564d2b50438b2fe2000b4ce256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 101a4995cdcfe87314bda2c319b10e6e6c97dcfcda777cc57355fafc3c1cc4f2 [INFO] running `Command { std: "docker" "start" "-a" "101a4995cdcfe87314bda2c319b10e6e6c97dcfcda777cc57355fafc3c1cc4f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling miniquad v0.4.0 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling vectorkill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::{file, prelude::*}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectileType` [INFO] [stdout] --> src/player.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::projectile::{Projectile, ProjectileType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity_manager::Updatable` [INFO] [stdout] --> src/wall.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{entity_manager::Updatable, entity_manager::Drawable, vk_shape::Shape}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityManager` [INFO] [stdout] --> src/map.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::entity_manager::{EntityManager}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vk_shape::Shape` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use vk_shape::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/action.rs:47:69 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_projectiles(&mut self, position: Vec2, target: Vec2, delta: f32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_point_to_line_segment` is never used [INFO] [stdout] --> src/vk_shape.rs:289:4 [INFO] [stdout] | [INFO] [stdout] 289 | fn distance_point_to_line_segment(point: Vec2, line_start: Vec2, line_end: Vec2) -> f32 { [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 `get_action_cd` is never used [INFO] [stdout] --> src/player.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn get_action_cd(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TestTarget` is never constructed [INFO] [stdout] --> src/enemy.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) enum EnemyType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | TestTarget, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnemyType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wall.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Wall { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(shape: Shape) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/map.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Level { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Level { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(title: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.90s [INFO] running `Command { std: "docker" "inspect" "101a4995cdcfe87314bda2c319b10e6e6c97dcfcda777cc57355fafc3c1cc4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101a4995cdcfe87314bda2c319b10e6e6c97dcfcda777cc57355fafc3c1cc4f2", kill_on_drop: false }` [INFO] [stdout] 101a4995cdcfe87314bda2c319b10e6e6c97dcfcda777cc57355fafc3c1cc4f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 009caf03164bb9d1962211d378e4ddae380248853621d9b98a0dd15f00c83404 [INFO] running `Command { std: "docker" "start" "-a" "009caf03164bb9d1962211d378e4ddae380248853621d9b98a0dd15f00c83404", kill_on_drop: false }` [INFO] [stderr] Compiling vectorkill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::{file, prelude::*}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProjectileType` [INFO] [stdout] --> src/player.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::projectile::{Projectile, ProjectileType}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity_manager::Updatable` [INFO] [stdout] --> src/wall.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{entity_manager::Updatable, entity_manager::Drawable, vk_shape::Shape}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EntityManager` [INFO] [stdout] --> src/map.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::entity_manager::{EntityManager}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vk_shape::Shape` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use vk_shape::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> src/action.rs:47:69 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_projectiles(&mut self, position: Vec2, target: Vec2, delta: f32) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance_point_to_line_segment` is never used [INFO] [stdout] --> src/vk_shape.rs:289:4 [INFO] [stdout] | [INFO] [stdout] 289 | fn distance_point_to_line_segment(point: Vec2, line_start: Vec2, line_end: Vec2) -> f32 { [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 `get_action_cd` is never used [INFO] [stdout] --> src/player.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn get_action_cd(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TestTarget` is never constructed [INFO] [stdout] --> src/enemy.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) enum EnemyType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | TestTarget, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnemyType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/wall.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Wall { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(shape: Shape) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Level` is never constructed [INFO] [stdout] --> src/map.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Level { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/map.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Level { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 16 | pub fn new(title: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "009caf03164bb9d1962211d378e4ddae380248853621d9b98a0dd15f00c83404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009caf03164bb9d1962211d378e4ddae380248853621d9b98a0dd15f00c83404", kill_on_drop: false }` [INFO] [stdout] 009caf03164bb9d1962211d378e4ddae380248853621d9b98a0dd15f00c83404