[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] checking tmahmood/super_dodge_ball against master#4b9792692fbb675174d4d2082e7c37b2bc930e71 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmahmood%2Fsuper_dodge_ball" "/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/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tmahmood/super_dodge_ball on toolchain 4b9792692fbb675174d4d2082e7c37b2bc930e71
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "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" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded itoa v1.0.1
[INFO] [stderr]   Downloaded ryu v1.0.9
[INFO] [stderr]   Downloaded serde_derive v1.0.136
[INFO] [stderr]   Downloaded autocfg v1.0.1
[INFO] [stderr]   Downloaded quad-rand v0.2.1
[INFO] [stderr]   Downloaded macroquad_macro v0.1.7
[INFO] [stderr]   Downloaded serde v1.0.136
[INFO] [stderr]   Downloaded macroquad-tiled v0.1.1
[INFO] [stderr]   Downloaded dasp_frame v0.11.0
[INFO] [stderr]   Downloaded num-iter v0.1.42
[INFO] [stderr]   Downloaded nanoserde-derive v0.1.18
[INFO] [stderr]   Downloaded maybe-uninit v2.0.0
[INFO] [stderr]   Downloaded adler32 v1.2.0
[INFO] [stderr]   Downloaded macroquad-particles v0.1.1
[INFO] [stderr]   Downloaded macroquad-platformer v0.1.2
[INFO] [stderr]   Downloaded num-rational v0.3.2
[INFO] [stderr]   Downloaded num-integer v0.1.44
[INFO] [stderr]   Downloaded audir-sles v0.1.0
[INFO] [stderr]   Downloaded ogg v0.7.1
[INFO] [stderr]   Downloaded sapp-windows v0.2.19
[INFO] [stderr]   Downloaded smallvec v0.6.14
[INFO] [stderr]   Downloaded bytemuck v1.7.3
[INFO] [stderr]   Downloaded nanoserde v0.1.29
[INFO] [stderr]   Downloaded sapp-wasm v0.1.26
[INFO] [stderr]   Downloaded miniquad v0.3.0-alpha.42
[INFO] [stderr]   Downloaded miniz_oxide v0.3.7
[INFO] [stderr]   Downloaded crc32fast v1.3.0
[INFO] [stderr]   Downloaded num-traits v0.2.14
[INFO] [stderr]   Downloaded quad-alsa-sys v0.3.2
[INFO] [stderr]   Downloaded deflate v0.8.6
[INFO] [stderr]   Downloaded sapp-android v0.1.14
[INFO] [stderr]   Downloaded png v0.16.8
[INFO] [stderr]   Downloaded ttf-parser v0.12.3
[INFO] [stderr]   Downloaded ahash v0.4.7
[INFO] [stderr]   Downloaded lewton v0.9.4
[INFO] [stderr]   Downloaded cc v1.0.72
[INFO] [stderr]   Downloaded hashbrown v0.9.1
[INFO] [stderr]   Downloaded sapp-ios v0.1.2
[INFO] [stderr]   Downloaded sapp-darwin v0.1.6
[INFO] [stderr]   Downloaded bumpalo v3.9.1
[INFO] [stderr]   Downloaded sapp-dummy v0.1.5
[INFO] [stderr]   Downloaded audrey v0.3.0
[INFO] [stderr]   Downloaded serde_json v1.0.78
[INFO] [stderr]   Downloaded glam v0.14.0
[INFO] [stderr]   Downloaded sapp-linux v0.1.13
[INFO] [stderr]   Downloaded fontdue v0.5.2
[INFO] [stderr]   Downloaded image v0.23.14
[INFO] [stderr]   Downloaded ndk-sys v0.2.2
[INFO] [stderr]   Downloaded libc v0.2.112
[INFO] [stderr]   Downloaded macroquad v0.3.13
[INFO] [stderr]   Downloaded quad-snd v0.2.3
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1018ae6d0bcfc00e7b4f73888b1e3708c9512308a53d794cb4eef73a58c6c115
[INFO] running `Command { std: "docker" "start" "-a" "1018ae6d0bcfc00e7b4f73888b1e3708c9512308a53d794cb4eef73a58c6c115", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1018ae6d0bcfc00e7b4f73888b1e3708c9512308a53d794cb4eef73a58c6c115", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1018ae6d0bcfc00e7b4f73888b1e3708c9512308a53d794cb4eef73a58c6c115", kill_on_drop: false }`
[INFO] [stdout] 1018ae6d0bcfc00e7b4f73888b1e3708c9512308a53d794cb4eef73a58c6c115
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4b9792692fbb675174d4d2082e7c37b2bc930e71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b76719699323ef85058f683b8744bfdbd5cfd31adb0ec92ca5fc8a0f46b8a00d
[INFO] running `Command { std: "docker" "start" "-a" "b76719699323ef85058f683b8744bfdbd5cfd31adb0ec92ca5fc8a0f46b8a00d", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling quad-alsa-sys v0.3.2
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling crc32fast v1.3.0
[INFO] [stderr]     Checking dasp_sample v0.11.0
[INFO] [stderr]    Compiling sapp-linux v0.1.13
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking ahash v0.4.7
[INFO] [stderr]    Compiling quad-snd v0.2.3
[INFO] [stderr]     Checking ogg v0.7.1
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking hound v3.4.0
[INFO] [stderr]     Checking dasp_frame v0.11.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking lewton v0.9.4
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking ttf-parser v0.12.3
[INFO] [stderr]     Checking bytemuck v1.7.3
[INFO] [stderr]     Checking miniquad v0.3.0-alpha.42
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling macroquad_macro v0.1.7
[INFO] [stderr]     Checking bumpalo v3.9.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]     Checking audrey v0.3.0
[INFO] [stderr]     Checking quad-rand v0.2.1
[INFO] [stderr]     Checking glam v0.14.0
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]    Compiling nanoserde-derive v0.1.18
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking nanoserde v0.1.29
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking fontdue v0.5.2
[INFO] [stderr]     Checking macroquad v0.3.13
[INFO] [stderr]     Checking macroquad-particles v0.1.1
[INFO] [stderr]     Checking macroquad-tiled v0.1.1
[INFO] [stderr]     Checking macroquad-platformer v0.1.2
[INFO] [stderr]     Checking 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: 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: 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<usize> {
[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<KeyCode>,
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] 51 |     pub(crate) textures: Vec<Texture2D>,
[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] 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<usize> {
[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<KeyCode>,
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] 51 |     pub(crate) textures: Vec<Texture2D>,
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.70s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nanoserde-derive v0.1.18
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "b76719699323ef85058f683b8744bfdbd5cfd31adb0ec92ca5fc8a0f46b8a00d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b76719699323ef85058f683b8744bfdbd5cfd31adb0ec92ca5fc8a0f46b8a00d", kill_on_drop: false }`
[INFO] [stdout] b76719699323ef85058f683b8744bfdbd5cfd31adb0ec92ca5fc8a0f46b8a00d
