[INFO] cloning repository https://github.com/phong143hiyg/Rust_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phong143hiyg/Rust_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphong143hiyg%2FRust_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphong143hiyg%2FRust_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 743ebcaa739613bd4486b4427280e5911db7f6b4
[INFO] checking phong143hiyg/Rust_game against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphong143hiyg%2FRust_game" "/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/phong143hiyg/Rust_game
[INFO] finished tweaking git repo https://github.com/phong143hiyg/Rust_game
[INFO] tweaked toml for git repo https://github.com/phong143hiyg/Rust_game written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/phong143hiyg/Rust_game on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/phong143hiyg/Rust_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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded objc-rs v0.2.8
[INFO] [stderr]   Downloaded quad-rand v0.2.3
[INFO] [stderr]   Downloaded macroquad_macro v0.1.8
[INFO] [stderr]   Downloaded miniquad v0.4.8
[INFO] [stderr]   Downloaded png v0.17.16
[INFO] [stderr]   Downloaded fontdue v0.9.3
[INFO] [stderr]   Downloaded ndk-sys v0.2.2
[INFO] [stderr]   Downloaded glam v0.27.0
[INFO] [stderr]   Downloaded macroquad v0.4.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb
[INFO] running `Command { std: "docker" "start" "244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking tanks v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/engine/renderer.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::engine::types::{Rect, Point};
[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: `Direction`, `Point`, and `Rect`
[INFO] [stdout]  --> src/objects/player.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::engine::types::{Point, Direction, Rect};
[INFO] [stdout]   |                            ^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::rand::gen_range`
[INFO] [stdout]   --> src/objects/enemy.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         use macroquad::rand::gen_range;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::input::Input`
[INFO] [stdout]  --> src/app_state/menu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::engine::input::Input;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/app_state/game.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::engine::types::{Direction, Point, Rect};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Resources`
[INFO] [stdout]  --> src/app_state/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::Resources;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/engine/renderer.rs:2:34
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::engine::types::{Rect, Point};
[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: `Direction`, `Point`, and `Rect`
[INFO] [stdout]  --> src/objects/player.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::engine::types::{Point, Direction, Rect};
[INFO] [stdout]   |                            ^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `macroquad::rand::gen_range`
[INFO] [stdout]   --> src/objects/enemy.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         use macroquad::rand::gen_range;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::engine::input::Input`
[INFO] [stdout]  --> src/app_state/menu.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::engine::input::Input;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Direction`
[INFO] [stdout]  --> src/app_state/game.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::engine::types::{Direction, Point, Rect};
[INFO] [stdout]   |                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::Resources`
[INFO] [stdout]  --> src/app_state/mod.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::Resources;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut image = Image::gen_image_color(width, height, color);
[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: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/config.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Config {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `zero` is never used
[INFO] [stdout]   --> src/engine/types.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Point {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn zero() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Size` is never constructed
[INFO] [stdout]   --> src/engine/types.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Size {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/engine/types.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Size {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 26 |     pub fn new(w: i32, h: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains` and `to_macroquad` are never used
[INFO] [stdout]   --> src/engine/types.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Rect {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn contains(&self, point: Point) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn to_macroquad(&self) -> macroquad::prelude::Rect {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Renderer` is never constructed
[INFO] [stdout]  --> src/engine/renderer.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Renderer;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `clear`, `draw_texture_at`, `draw_rect`, `draw_rect_outline`, and `draw_text_centered` are never used
[INFO] [stdout]   --> src/engine/renderer.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Renderer {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn clear(color: Color) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn draw_texture_at(texture: &Texture2D, x: f32, y: f32, width: f32, height: f32, rotation: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn draw_rect(rect: Rect, color: Color) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn draw_rect_outline(rect: Rect, thickness: f32, color: Color) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn draw_text_centered(text: &str, x: f32, y: f32, font_size: f32, color: Color) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_key_down`, `is_key_pressed`, and `is_escape_pressed` are never used
[INFO] [stdout]   --> src/engine/input.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Input {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn is_key_down(key: KeyCode) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn is_key_pressed(key: KeyCode) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn is_escape_pressed() -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `move_in_direction`, `turn`, and `can_move_to` are never used
[INFO] [stdout]    --> src/objects/tank.rs:54:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl Tank {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  54 |     pub fn move_in_direction(&mut self, direction: Direction, dt: f32, collision_map: &[Vec<bool>]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     pub fn turn(&mut self, new_direction: Direction) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     fn can_move_to(&self, pos: Point, collision_map: &[Vec<bool>]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut image = Image::gen_image_color(width, height, color);
[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: struct `Config` is never constructed
[INFO] [stdout]  --> src/config.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Config {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/config.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Config {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `zero` is never used
[INFO] [stdout]   --> src/engine/types.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Point {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn zero() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Size` is never constructed
[INFO] [stdout]   --> src/engine/types.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Size {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/engine/types.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Size {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 26 |     pub fn new(w: i32, h: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `contains` and `to_macroquad` are never used
[INFO] [stdout]   --> src/engine/types.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Rect {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn contains(&self, point: Point) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn to_macroquad(&self) -> macroquad::prelude::Rect {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Renderer` is never constructed
[INFO] [stdout]  --> src/engine/renderer.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Renderer;
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `clear`, `draw_texture_at`, `draw_rect`, `draw_rect_outline`, and `draw_text_centered` are never used
[INFO] [stdout]   --> src/engine/renderer.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Renderer {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn clear(color: Color) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn draw_texture_at(texture: &Texture2D, x: f32, y: f32, width: f32, height: f32, rotation: f32) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn draw_rect(rect: Rect, color: Color) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn draw_rect_outline(rect: Rect, thickness: f32, color: Color) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn draw_text_centered(text: &str, x: f32, y: f32, font_size: f32, color: Color) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_key_down`, `is_key_pressed`, and `is_escape_pressed` are never used
[INFO] [stdout]   --> src/engine/input.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Input {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout]  7 |     pub fn is_key_down(key: KeyCode) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn is_key_pressed(key: KeyCode) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn is_escape_pressed() -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `move_in_direction`, `turn`, and `can_move_to` are never used
[INFO] [stdout]    --> src/objects/tank.rs:54:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl Tank {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  54 |     pub fn move_in_direction(&mut self, direction: Direction, dt: f32, collision_map: &[Vec<bool>]) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  64 |     pub fn turn(&mut self, new_direction: Direction) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 119 |     fn can_move_to(&self, pos: Point, collision_map: &[Vec<bool>]) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `rand`
[INFO] [stderr]  --> Cargo.toml:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | rand = "0.8"
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `rand`
[INFO] [stderr] warning: `tanks` (manifest) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 12.35s
[INFO] running `Command { std: "docker" "inspect" "244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb", kill_on_drop: false }`
[INFO] [stdout] 244d097f64bf7daa47341a0ef253a82a01b96eb3a9e80fb3c5e8acb5ec8c9ebb
