[INFO] cloning repository https://github.com/catgg64/Cat-Engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/catgg64/Cat-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatgg64%2FCat-Engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatgg64%2FCat-Engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e1c260afa4977d52f6f3a979332ce3c53f825666
[INFO] checking catgg64/Cat-Engine against try#63132bd615c9bf75e93af8405d00064212331708 for pr-153975
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcatgg64%2FCat-Engine" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/catgg64/Cat-Engine
[INFO] finished tweaking git repo https://github.com/catgg64/Cat-Engine
[INFO] tweaked toml for git repo https://github.com/catgg64/Cat-Engine written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/catgg64/Cat-Engine on toolchain 63132bd615c9bf75e93af8405d00064212331708
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/catgg64/Cat-Engine 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" "+63132bd615c9bf75e93af8405d00064212331708" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 35f65cfc5819bb581fc5b9506931fb5d4fea134a1b2a94dc73cc06320157219a
[INFO] running `Command { std: "docker" "start" "-a" "35f65cfc5819bb581fc5b9506931fb5d4fea134a1b2a94dc73cc06320157219a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "35f65cfc5819bb581fc5b9506931fb5d4fea134a1b2a94dc73cc06320157219a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35f65cfc5819bb581fc5b9506931fb5d4fea134a1b2a94dc73cc06320157219a", kill_on_drop: false }`
[INFO] [stdout] 35f65cfc5819bb581fc5b9506931fb5d4fea134a1b2a94dc73cc06320157219a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+63132bd615c9bf75e93af8405d00064212331708" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31ec3e2538ea2830683fc2bae0f9170588cf5a684b6eed40dd43cd9dba6ed618
[INFO] running `Command { std: "docker" "start" "-a" "31ec3e2538ea2830683fc2bae0f9170588cf5a684b6eed40dd43cd9dba6ed618", kill_on_drop: false }`
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling sdl2 v0.36.0
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking glam v0.25.0
[INFO] [stderr]    Compiling sdl2-sys v0.36.0
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking gif v0.13.3
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking jpeg-decoder v0.3.2
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]    Compiling zerocopy-derive v0.8.39
[INFO] [stderr]     Checking zerocopy v0.8.39
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking exr v1.74.0
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]     Checking cat_engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `render::TextureCreator` and `video::WindowContext`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::{ render::TextureCreator, video::Window, video::WindowContext, *};
[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: `render::TextureCreator` and `video::WindowContext`
[INFO] [stdout]  --> src/lib.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::{ render::TextureCreator, video::Window, video::WindowContext, *};
[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: `sdl2::video::GLProfile`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::video::GLProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::video::surface`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::video::surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/input.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::color::Color`
[INFO] [stdout]  --> src/video/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::color::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::render::Canvas`
[INFO] [stdout]  --> src/video/graphics.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::render::Canvas;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CatEngine`
[INFO] [stdout]  --> src/video/graphics.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{CatEngine, Renderer};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::color::Color`
[INFO] [stdout]  --> src/video/graphics.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::color::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/video/graphics.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::shape::point::{self, Point};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::video::surface::Surface`
[INFO] [stdout]  --> src/video/graphics.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::video::surface::Surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]  --> src/video/graphics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::ReadDir`
[INFO] [stdout]  --> src/video/graphics.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs::ReadDir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec4`
[INFO] [stdout]  --> src/video/graphics.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | use glam::{ Mat4, Vec2, Vec3, Vec4, Quat };
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/video/graphics.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]   --> src/video/graphics.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::ptr;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::video::GLProfile`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::video::GLProfile;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/video/graphics.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let yaw_radians = (yaw as f64);
[INFO] [stdout]    |                           ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 90 -         let yaw_radians = (yaw as f64);
[INFO] [stdout] 90 +         let yaw_radians = yaw as f64 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::video::surface`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::video::surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/input.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::color::Color`
[INFO] [stdout]  --> src/video/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::color::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::render::Canvas`
[INFO] [stdout]  --> src/video/graphics.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::render::Canvas;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CatEngine`
[INFO] [stdout]  --> src/video/graphics.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{CatEngine, Renderer};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::color::Color`
[INFO] [stdout]  --> src/video/graphics.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::color::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/video/graphics.rs:5:27
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::shape::point::{self, Point};
[INFO] [stdout]   |                           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::video::surface::Surface`
[INFO] [stdout]  --> src/video/graphics.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::video::surface::Surface;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]  --> src/video/graphics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::f64::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::ReadDir`
[INFO] [stdout]  --> src/video/graphics.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs::ReadDir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vec4`
[INFO] [stdout]  --> src/video/graphics.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 9 | use glam::{ Mat4, Vec2, Vec3, Vec4, Quat };
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/video/graphics.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr`
[INFO] [stdout]   --> src/video/graphics.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::ptr;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/video/graphics.rs:90:27
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let yaw_radians = (yaw as f64);
[INFO] [stdout]    |                           ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 90 -         let yaw_radians = (yaw as f64);
[INFO] [stdout] 90 +         let yaw_radians = yaw as f64 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/video/graphics.rs:91:29
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let pitch_radians = (pitch as f64);
[INFO] [stdout]    |                             ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 91 -         let pitch_radians = (pitch as f64);
[INFO] [stdout] 91 +         let pitch_radians = pitch as f64 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::color::Color`
[INFO] [stdout]  --> src/video/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use crate::color::Color;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::*`
[INFO] [stdout]    --> src/video/mod.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     use sdl2::*;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Canvas` and `TextureCreator`
[INFO] [stdout]    --> src/video/mod.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |     use sdl2::render::{Canvas, TextureCreator};
[INFO] [stdout]     |                        ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowContext`
[INFO] [stdout]    --> src/video/mod.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |     use sdl2::video::{ WindowContext };
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shape::rect::Rect`
[INFO] [stdout]    --> src/video/mod.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use crate::shape::rect::Rect;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::PixelFormatEnum`
[INFO] [stdout]    --> src/video/mod.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     use sdl2::pixels::PixelFormatEnum;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/video/graphics.rs:91:29
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let pitch_radians = (pitch as f64);
[INFO] [stdout]    |                             ^            ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 91 -         let pitch_radians = (pitch as f64);
[INFO] [stdout] 91 +         let pitch_radians = pitch as f64 ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::color::Color`
[INFO] [stdout]  --> src/video/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use crate::color::Color;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::*`
[INFO] [stdout]    --> src/video/mod.rs:101:9
[INFO] [stdout]     |
[INFO] [stdout] 101 |     use sdl2::*;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Canvas` and `TextureCreator`
[INFO] [stdout]    --> src/video/mod.rs:102:24
[INFO] [stdout]     |
[INFO] [stdout] 102 |     use sdl2::render::{Canvas, TextureCreator};
[INFO] [stdout]     |                        ^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowContext`
[INFO] [stdout]    --> src/video/mod.rs:103:24
[INFO] [stdout]     |
[INFO] [stdout] 103 |     use sdl2::video::{ WindowContext };
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::shape::rect::Rect`
[INFO] [stdout]    --> src/video/mod.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |     use crate::shape::rect::Rect;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::pixels::PixelFormatEnum`
[INFO] [stdout]    --> src/video/mod.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |     use sdl2::pixels::PixelFormatEnum;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `projected_x` is never read
[INFO] [stdout]    --> src/video/graphics.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut projected_x: f64 = 0.0;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `projected_y` is never read
[INFO] [stdout]    --> src/video/graphics.rs:107:36
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut projected_y: f64 = 0.0;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `projected_x` is never read
[INFO] [stdout]    --> src/video/graphics.rs:106:36
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let mut projected_x: f64 = 0.0;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `projected_y` is never read
[INFO] [stdout]    --> src/video/graphics.rs:107:36
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut projected_y: f64 = 0.0;
[INFO] [stdout]     |                                    ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `model`
[INFO] [stdout]    --> src/video/graphics.rs:300:13
[INFO] [stdout]     |
[INFO] [stdout] 300 |         let model =
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_model`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indices`
[INFO] [stdout]    --> src/video/graphics.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 304 |         let indices: [u32; 36] = [
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `model`
[INFO] [stdout]    --> src/video/graphics.rs:300:13
[INFO] [stdout]     |
[INFO] [stdout] 300 |         let model =
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_model`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `indices`
[INFO] [stdout]    --> src/video/graphics.rs:304:13
[INFO] [stdout]     |
[INFO] [stdout] 304 |         let indices: [u32; 36] = [
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_indices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut running: bool = true;
[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/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut renderer = Renderer::new(width as f32, height as f32, fov, 0.01, 1000.0);
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/lib.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         unsafe {
[INFO] [stdout]     |         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 164 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut running: bool = true;
[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/lib.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut renderer = Renderer::new(width as f32, height as f32, fov, 0.01, 1000.0);
[INFO] [stdout]    |             ----^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/lib.rs:164:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         unsafe {
[INFO] [stdout]     |         ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 164 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv0`
[INFO] [stdout]    --> src/lib.rs:500:9
[INFO] [stdout]     |
[INFO] [stdout] 500 |         uv0: (f32, f32),
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uv0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv0`
[INFO] [stdout]    --> src/lib.rs:500:9
[INFO] [stdout]     |
[INFO] [stdout] 500 |         uv0: (f32, f32),
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uv0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv1`
[INFO] [stdout]    --> src/lib.rs:501:9
[INFO] [stdout]     |
[INFO] [stdout] 501 |         uv1: (f32, f32),
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uv1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv2`
[INFO] [stdout]    --> src/lib.rs:502:9
[INFO] [stdout]     |
[INFO] [stdout] 502 |         uv2: (f32, f32),
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uv2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_index`
[INFO] [stdout]    --> src/lib.rs:503:9
[INFO] [stdout]     |
[INFO] [stdout] 503 |         texture_index: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cube_vbo` is never read
[INFO] [stdout]    --> src/lib.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Renderer {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     cube_vbo: u32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MeshVertex` is never constructed
[INFO] [stdout]    --> src/video/graphics.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | struct MeshVertex {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vbo` and `ebo` are never read
[INFO] [stdout]    --> src/video/graphics.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct Mesh {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 137 |     vao: u32,
[INFO] [stdout] 138 |     vbo: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 139 |     ebo: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vbo` is never read
[INFO] [stdout]    --> src/video/graphics.rs:240:5
[INFO] [stdout]     |
[INFO] [stdout] 238 | pub struct Cube {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 239 |     vao: u32,
[INFO] [stdout] 240 |     vbo: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv1`
[INFO] [stdout]    --> src/lib.rs:501:9
[INFO] [stdout]     |
[INFO] [stdout] 501 |         uv1: (f32, f32),
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uv1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv2`
[INFO] [stdout]    --> src/lib.rs:502:9
[INFO] [stdout]     |
[INFO] [stdout] 502 |         uv2: (f32, f32),
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uv2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_index`
[INFO] [stdout]    --> src/lib.rs:503:9
[INFO] [stdout]     |
[INFO] [stdout] 503 |         texture_index: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cube_vbo` is never read
[INFO] [stdout]    --> src/lib.rs:130:5
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub struct Renderer {
[INFO] [stdout]     |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 130 |     cube_vbo: u32,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MeshVertex` is never constructed
[INFO] [stdout]    --> src/video/graphics.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | struct MeshVertex {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `vbo` and `ebo` are never read
[INFO] [stdout]    --> src/video/graphics.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub struct Mesh {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] 137 |     vao: u32,
[INFO] [stdout] 138 |     vbo: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 139 |     ebo: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vbo` is never read
[INFO] [stdout]    --> src/video/graphics.rs:240:5
[INFO] [stdout]     |
[INFO] [stdout] 238 | pub struct Cube {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 239 |     vao: u32,
[INFO] [stdout] 240 |     vbo: u32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/video/graphics.rs:394:39
[INFO] [stdout]     |
[INFO] [stdout] 394 |         let og_vertex_scr = vertex_src.clone();
[INFO] [stdout]     |                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/video/graphics.rs:395:43
[INFO] [stdout]     |
[INFO] [stdout] 395 |         let og_fragment_src = fragment_src.clone();
[INFO] [stdout]     |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/video/graphics.rs:394:39
[INFO] [stdout]     |
[INFO] [stdout] 394 |         let og_vertex_scr = vertex_src.clone();
[INFO] [stdout]     |                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/video/graphics.rs:395:43
[INFO] [stdout]     |
[INFO] [stdout] 395 |         let og_fragment_src = fragment_src.clone();
[INFO] [stdout]     |                                           ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 26s
[INFO] running `Command { std: "docker" "inspect" "31ec3e2538ea2830683fc2bae0f9170588cf5a684b6eed40dd43cd9dba6ed618", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31ec3e2538ea2830683fc2bae0f9170588cf5a684b6eed40dd43cd9dba6ed618", kill_on_drop: false }`
[INFO] [stdout] 31ec3e2538ea2830683fc2bae0f9170588cf5a684b6eed40dd43cd9dba6ed618
