[INFO] cloning repository https://github.com/mjv-7/rust_gui_review
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mjv-7/rust_gui_review" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjv-7%2Frust_gui_review", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjv-7%2Frust_gui_review'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 833c27b80f956a304a01d4b857ea2d43d2774ac8
[INFO] checking mjv-7/rust_gui_review against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjv-7%2Frust_gui_review" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mjv-7/rust_gui_review
[INFO] finished tweaking git repo https://github.com/mjv-7/rust_gui_review
[INFO] tweaked toml for git repo https://github.com/mjv-7/rust_gui_review written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mjv-7/rust_gui_review on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mjv-7/rust_gui_review 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "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 rayon v1.11.0
[INFO] [stderr]   Downloaded fontdue v0.9.3
[INFO] [stderr]   Downloaded miniquad v0.4.8
[INFO] [stderr]   Downloaded ndk-sys v0.2.2
[INFO] [stderr]   Downloaded glam v0.27.0
[INFO] [stderr]   Downloaded libc v0.2.181
[INFO] [stderr]   Downloaded macroquad v0.4.14
[INFO] [stderr]   Downloaded image v0.24.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4dde56366027f16e6beca8c00bf92c0c47e88be02f6600280b8835f54ba4922c
[INFO] running `Command { std: "docker" "start" "-a" "4dde56366027f16e6beca8c00bf92c0c47e88be02f6600280b8835f54ba4922c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4dde56366027f16e6beca8c00bf92c0c47e88be02f6600280b8835f54ba4922c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4dde56366027f16e6beca8c00bf92c0c47e88be02f6600280b8835f54ba4922c", kill_on_drop: false }`
[INFO] [stdout] 4dde56366027f16e6beca8c00bf92c0c47e88be02f6600280b8835f54ba4922c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aea0a5c35b548359fde674eefd8bdbb64d24bcc2269429fc038eb77bbe7e4358
[INFO] running `Command { std: "docker" "start" "-a" "aea0a5c35b548359fde674eefd8bdbb64d24bcc2269429fc038eb77bbe7e4358", kill_on_drop: false }`
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libc v0.2.181
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking glam v0.27.0
[INFO] [stderr]     Checking quad-rand v0.2.3
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking fontdue v0.9.3
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking macroquad v0.4.14
[INFO] [stderr]     Checking rust_gui_review v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `scale`
[INFO] [stdout]   --> src/modules/text_button.rs:65:7
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[cfg(feature = "scale")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `native`, and `rayon`
[INFO] [stdout]    = help: consider adding `scale` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `scale`
[INFO] [stdout]   --> src/modules/grid.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[cfg(feature = "scale")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `native`, and `rayon`
[INFO] [stdout]    = help: consider adding `scale` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `scale`
[INFO] [stdout]   --> src/modules/grid.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[cfg(feature = "scale")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `native`, and `rayon`
[INFO] [stdout]    = help: consider adding `scale` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `scale`
[INFO] [stdout]   --> src/modules/grid.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[cfg(not(feature = "scale"))]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `native`, and `rayon`
[INFO] [stdout]    = help: consider adding `scale` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `scale`
[INFO] [stdout]   --> src/modules/text_button.rs:65:7
[INFO] [stdout]    |
[INFO] [stdout] 65 | #[cfg(feature = "scale")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `native`, and `rayon`
[INFO] [stdout]    = help: consider adding `scale` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `scale`
[INFO] [stdout]   --> src/modules/grid.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[cfg(feature = "scale")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `native`, and `rayon`
[INFO] [stdout]    = help: consider adding `scale` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `scale`
[INFO] [stdout]   --> src/modules/grid.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[cfg(feature = "scale")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `native`, and `rayon`
[INFO] [stdout]    = help: consider adding `scale` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `scale`
[INFO] [stdout]   --> src/modules/grid.rs:27:15
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[cfg(not(feature = "scale"))]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `default`, `native`, and `rayon`
[INFO] [stdout]    = help: consider adding `scale` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Player`
[INFO] [stdout]  --> src/screen2.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::modules::player::{self, Player};
[INFO] [stdout]   |                                    ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Player`
[INFO] [stdout]  --> src/screen2.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::modules::player::{self, Player};
[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 variable: `width`
[INFO] [stdout]   --> src/modules/player.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         width: f32,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> src/modules/player.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         height: f32) -> Self{
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Collidable` is never used
[INFO] [stdout]   --> src/modules/collision.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait Collidable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_tex_coord` is never used
[INFO] [stdout]   --> src/modules/collision.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn calc_tex_coord(point: Vec2, pos: Vec2, size: Vec2, tex_size: Vec2) -> (usize, usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_mask_bit_set` is never used
[INFO] [stdout]    --> src/modules/collision.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn is_mask_bit_set(mask: &[u8], idx: usize) -> Option<bool> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_point_in_bounds` is never used
[INFO] [stdout]    --> src/modules/collision.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn is_point_in_bounds(point: Vec2, pos: Vec2, size: Vec2) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn check_collision<T, U>(obj1: &T, obj2: &U, skip_pixels: usize) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_one_masked_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn check_one_masked_collision(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_one_rotated_masked_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:333:4
[INFO] [stdout]     |
[INFO] [stdout] 333 | fn check_one_rotated_masked_collision(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_rotated_pixel_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:427:4
[INFO] [stdout]     |
[INFO] [stdout] 427 | fn check_rotated_pixel_collision<T, U>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_rotated_rectangle_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:569:4
[INFO] [stdout]     |
[INFO] [stdout] 569 | fn check_rotated_rectangle_collision(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_point` is never used
[INFO] [stdout]    --> src/modules/collision.rs:678:4
[INFO] [stdout]     |
[INFO] [stdout] 678 | fn rotate_point(point: Vec2, center: Vec2, angle: f32) -> Vec2 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_rotated_bounding_box` is never used
[INFO] [stdout]    --> src/modules/collision.rs:711:4
[INFO] [stdout]     |
[INFO] [stdout] 711 | fn calculate_rotated_bounding_box(pos: Vec2, size: Vec2, angle: f32) -> (Vec2, Vec2) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `move_speed`, `movement`, and `old_pos` are never read
[INFO] [stdout]  --> src/modules/player.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Player {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 5 |     view: StillImage,
[INFO] [stdout] 6 |     move_speed: f32,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 7 |     movement: Vec2,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     old_pos: Vec2
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/modules/player.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Player {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn key_press(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn position(&self) -> Vec2 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn get_x(&self) ->f32{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn get_y(&self) ->f32{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn set_x(&mut self, x: f32){
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn set_y(&mut self, y: f32){
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn set_position(&mut self, x: f32, y: f32){
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn collision_x(&mut self, img_out: StillImage){ {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn collision_y(&mut self, img_out: StillImage){ {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_grid_standard` is never used
[INFO] [stdout]  --> src/screen2.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn draw_grid_standard(grid_size: f32, color: Color) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `width`
[INFO] [stdout]   --> src/modules/player.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         width: f32,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_width`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> src/modules/player.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         height: f32) -> Self{
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Collidable` is never used
[INFO] [stdout]   --> src/modules/collision.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub trait Collidable {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_tex_coord` is never used
[INFO] [stdout]   --> src/modules/collision.rs:95:4
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn calc_tex_coord(point: Vec2, pos: Vec2, size: Vec2, tex_size: Vec2) -> (usize, usize) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_mask_bit_set` is never used
[INFO] [stdout]    --> src/modules/collision.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn is_mask_bit_set(mask: &[u8], idx: usize) -> Option<bool> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_point_in_bounds` is never used
[INFO] [stdout]    --> src/modules/collision.rs:125:4
[INFO] [stdout]     |
[INFO] [stdout] 125 | fn is_point_in_bounds(point: Vec2, pos: Vec2, size: Vec2) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn check_collision<T, U>(obj1: &T, obj2: &U, skip_pixels: usize) -> bool
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_one_masked_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:265:4
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn check_one_masked_collision(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_one_rotated_masked_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:333:4
[INFO] [stdout]     |
[INFO] [stdout] 333 | fn check_one_rotated_masked_collision(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_rotated_pixel_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:427:4
[INFO] [stdout]     |
[INFO] [stdout] 427 | fn check_rotated_pixel_collision<T, U>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_rotated_rectangle_collision` is never used
[INFO] [stdout]    --> src/modules/collision.rs:569:4
[INFO] [stdout]     |
[INFO] [stdout] 569 | fn check_rotated_rectangle_collision(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rotate_point` is never used
[INFO] [stdout]    --> src/modules/collision.rs:678:4
[INFO] [stdout]     |
[INFO] [stdout] 678 | fn rotate_point(point: Vec2, center: Vec2, angle: f32) -> Vec2 {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_rotated_bounding_box` is never used
[INFO] [stdout]    --> src/modules/collision.rs:711:4
[INFO] [stdout]     |
[INFO] [stdout] 711 | fn calculate_rotated_bounding_box(pos: Vec2, size: Vec2, angle: f32) -> (Vec2, Vec2) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `move_speed`, `movement`, and `old_pos` are never read
[INFO] [stdout]  --> src/modules/player.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Player {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 5 |     view: StillImage,
[INFO] [stdout] 6 |     move_speed: f32,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 7 |     movement: Vec2,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     old_pos: Vec2
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/modules/player.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Player {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn key_press(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn position(&self) -> Vec2 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn get_x(&self) ->f32{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn get_y(&self) ->f32{
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn set_x(&mut self, x: f32){
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn set_y(&mut self, y: f32){
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn set_position(&mut self, x: f32, y: f32){
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn collision_x(&mut self, img_out: StillImage){ {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |     pub fn collision_y(&mut self, img_out: StillImage){ {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `draw_grid_standard` is never used
[INFO] [stdout]  --> src/screen2.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn draw_grid_standard(grid_size: f32, color: Color) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.00s
[INFO] running `Command { std: "docker" "inspect" "aea0a5c35b548359fde674eefd8bdbb64d24bcc2269429fc038eb77bbe7e4358", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aea0a5c35b548359fde674eefd8bdbb64d24bcc2269429fc038eb77bbe7e4358", kill_on_drop: false }`
[INFO] [stdout] aea0a5c35b548359fde674eefd8bdbb64d24bcc2269429fc038eb77bbe7e4358
