[INFO] cloning repository https://github.com/tmahmood/super_dodge_ball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmahmood/super_dodge_ball" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmahmood%2Fsuper_dodge_ball", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmahmood%2Fsuper_dodge_ball'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7bea0b74f0a21f2d20dc02d03ee22b2e52eeefbd [INFO] building tmahmood/super_dodge_ball against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmahmood%2Fsuper_dodge_ball" "/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/tmahmood/super_dodge_ball [INFO] finished tweaking git repo https://github.com/tmahmood/super_dodge_ball [INFO] tweaked toml for git repo https://github.com/tmahmood/super_dodge_ball written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tmahmood/super_dodge_ball on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tmahmood/super_dodge_ball 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 149798d619ec31b2590f7d9f62e4c67a92c7ed4fb30d56b1c755e43f3501a0e3 [INFO] running `Command { std: "docker" "start" "-a" "149798d619ec31b2590f7d9f62e4c67a92c7ed4fb30d56b1c755e43f3501a0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "149798d619ec31b2590f7d9f62e4c67a92c7ed4fb30d56b1c755e43f3501a0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149798d619ec31b2590f7d9f62e4c67a92c7ed4fb30d56b1c755e43f3501a0e3", kill_on_drop: false }` [INFO] [stdout] 149798d619ec31b2590f7d9f62e4c67a92c7ed4fb30d56b1c755e43f3501a0e3 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 6832dd518999fbd659b4c459abec319c5b6dc7f8a01379739b60f112aeb7a7ad [INFO] running `Command { std: "docker" "start" "-a" "6832dd518999fbd659b4c459abec319c5b6dc7f8a01379739b60f112aeb7a7ad", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling sapp-wasm v0.1.26 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling nanoserde-derive v0.1.18 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.42 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling nanoserde v0.1.29 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling macroquad v0.3.13 [INFO] [stderr] Compiling macroquad-tiled v0.1.1 [INFO] [stderr] Compiling macroquad-platformer v0.1.2 [INFO] [stderr] Compiling macroquad-particles v0.1.1 [INFO] [stderr] Compiling super_dodge_ball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [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 imports: `AnimatedSprite` and `Animation` [INFO] [stdout] --> src/main.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::experimental::animation::{Animation, AnimatedSprite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::telemetry::frame` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use macroquad::telemetry::frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::has_direction` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use game::has_direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::ball::animations::BallAnimations` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::game::ball::animations::BallAnimations; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::character::PlayerCharacterParams` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::game::character::PlayerCharacterParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::json::is_false` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::json::is_false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnimatedSprite` and `Animation` [INFO] [stdout] --> src/game/mod.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::prelude::animation::{Animation, AnimatedSprite}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::ui::Drag::No` [INFO] [stdout] --> src/game/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad::ui::Drag::No; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_x` and `_y` [INFO] [stdout] --> src/game/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{_x, _y, AnimationPlayer, BallState, colliding_with, DEFAULT_ZOOM, FacingTo, KeyCode, Player, PLAYER_HEIGHT, PLAYER_WIDTH,... [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::ball::animations::BallAnimationParams` [INFO] [stdout] --> src/game/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game::ball::animations::BallAnimationParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnimationPlayer` and `Player` [INFO] [stdout] --> src/game/ball/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{AnimationPlayer, FacingTo, Player, Vec2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/game/player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad_platformer::Actor` [INFO] [stdout] --> src/game/player.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use macroquad_platformer::Actor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode`, `PlayerAction`, `calculate_movement`, and `valid_position` [INFO] [stdout] --> src/game/player.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{AnimationPlayer, calculate_movement, FacingTo, HasDirection, KeyCode, PlayerAction, valid_position, Vec2}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::character::PlayerCharacterParams` [INFO] [stdout] --> src/game/player.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game::character::PlayerCharacterParams; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::player::PlayerState::Walking` [INFO] [stdout] --> src/game/player.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::game::player::PlayerState::Walking; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macroquad::texture` [INFO] [stdout] --> src/game/resources.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use macroquad::texture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/game/resources.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::{Result, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | let mut animation_params: AnimationParams = player_character.animation.clone().into(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let mut animation_params: AnimationParams = ball.animation.clone().into(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 418 | let mut animation_params: AnimationParams = resources.player_characters[0].animation.clone().into(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | let mut animation_params: AnimationParams = resources.balls[0].animation.clone().into(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_or_right_edge` [INFO] [stdout] --> src/game/ball/mod.rs:26:61 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn outside_edge(&mut self, time_passed: f64, left_or_right_edge: bool, top_or_bottom_edge: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_or_right_edge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top_or_bottom_edge` [INFO] [stdout] --> src/game/ball/mod.rs:26:87 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn outside_edge(&mut self, time_passed: f64, left_or_right_edge: bool, top_or_bottom_edge: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_top_or_bottom_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `facing_to` [INFO] [stdout] --> src/game/mod.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | BallState::OnAir(facing_to) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_facing_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_index` [INFO] [stdout] --> src/game/mod.rs:69:38 [INFO] [stdout] | [INFO] [stdout] 69 | BallState::OnPlayersHand(player_index) => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collided` [INFO] [stdout] --> src/main.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | let (collided, change_x, change_y) = colliding_with(&ball.pos, ball.r, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collided` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `change_x` [INFO] [stdout] --> src/main.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | let (collided, change_x, change_y) = colliding_with(&ball.pos, ball.r, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_change_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `change_y` [INFO] [stdout] --> src/main.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | let (collided, change_x, change_y) = colliding_with(&ball.pos, ball.r, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_change_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEAM_ONE_PLAYER` is never used [INFO] [stdout] --> src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const TEAM_ONE_PLAYER: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEAM_TWO_PLAYER` is never used [INFO] [stdout] --> src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const TEAM_TWO_PLAYER: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEAM_ONE_PLAYER_READY` is never used [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const TEAM_ONE_PLAYER_READY: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEAM_TWO_PLAYER_READY` is never used [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const TEAM_TWO_PLAYER_READY: usize = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLAYER_ANIMATED_TEXTURES` is never used [INFO] [stdout] --> src/main.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const PLAYER_ANIMATED_TEXTURES: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MovingStates` is never used [INFO] [stdout] --> src/main.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | enum MovingStates { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `throw_ball` is never used [INFO] [stdout] --> src/main.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn throw_ball(game: &mut Game, player_index: usize, team_with_ball: &Team) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_collision` is never used [INFO] [stdout] --> src/main.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn check_for_collision(player: &mut Player, ball: &Ball) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `player_animation_demo` is never used [INFO] [stdout] --> src/main.rs:342:10 [INFO] [stdout] | [INFO] [stdout] 342 | async fn player_animation_demo() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `team_with_ball`, `keys_pressed`, `textures`, and `world` are never read [INFO] [stdout] --> src/game/mod.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) team_with_ball: Team, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) keys_pressed: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | pub(crate) textures: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) world: World, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game/camera.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl GameCamera { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn new(bounds: Rect) -> GameCamera { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/game/ball/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Ball { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ball` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Stopping` is never constructed [INFO] [stdout] --> src/game/ball/mod.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub enum BallState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 165 | Stopping, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BallState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `player_outside_field` is never used [INFO] [stdout] --> src/game/field.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 18 | impl Field { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn player_outside_field(&self, player: &Player) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/game/player.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 25 | pub(crate) id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) ducking: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub(crate) jumping: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | pub(crate) has_ball: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | pub(crate) life: i32, [INFO] [stdout] 36 | pub(crate) running: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub(crate) ready_to_catch: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) is_hit: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub(crate) catch_grace_time: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "CONTEXT" "--export" "file_loaded" "--export" "allocate_vec_u8" "--export" "crate_version" "--export" "frame" "--export" "key_down" "--export" "key_press" "--export" "key_up" "--export" "mouse_down" "--export" "mouse_move" "--export" "mouse_up" "--export" "mouse_wheel" "--export" "on_clipboard_paste" "--export" "raw_mouse_move" "--export" "resize" "--export" "touch" "--export" "macroquad_audio_crate_version" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libserde_json-85b338c00ff76767,libryu-23f3ccdf871e5b71,libitoa-9acc885e9ae026f1,libmacroquad_platformer-21eec1381ab7d797,libserde-b5baf60d706afb95,libmacroquad-954f242f30933ce2,libbumpalo-a45300cdd2a482b1,libfontdue-579f954a9f4c598c,libttf_parser-ad2d129e6b78f05e,libhashbrown-700d959969d836a6,libahash-506f64581819aaff,libimage-08568b0aff4ec6b3,libcolor_quant-8e07a515e6ff48c0,libnum_iter-cb98697f428d40c4,libbytemuck-e162879d58dac53b,libpng-d5454a02b883a905,libminiz_oxide-dadf386c3d95bd8d,libcrc32fast-f994177ce033b336,libcfg_if-50b02a9e3502ecf2,libdeflate-cec0dcc85515ac5c,libbyteorder-f00db367bf6f80f8,libadler32-9f2c3df339504c4f,libbitflags-15e3d67e03629ffa,libnum_rational-cc41532932283355,libnum_integer-4dd7eb7c765b6f02,libnum_traits-9b1d81968a913e17,libquad_rand-a489066e64330885,libglam-ce101decb0695bbd,libquad_snd-a863a8eec6c06467,libminiquad-20f49af8dc026e31,libsapp_wasm-bb036ec843127a2e}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/super_dodge_ball-e769f14637258677.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glViewport [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glScissor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.02.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.04.rcgu.o): undefined symbol: fs_load_file [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.08.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.08.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-954f242f30933ce2.rlib(macroquad-954f242f30933ce2.macroquad.4f2af9173d614fb8-cgu.08.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `super_dodge_ball` (bin "super_dodge_ball") due to 1 previous error; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6832dd518999fbd659b4c459abec319c5b6dc7f8a01379739b60f112aeb7a7ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6832dd518999fbd659b4c459abec319c5b6dc7f8a01379739b60f112aeb7a7ad", kill_on_drop: false }` [INFO] [stdout] 6832dd518999fbd659b4c459abec319c5b6dc7f8a01379739b60f112aeb7a7ad