[INFO] cloning repository https://github.com/ykafia/rust_path_tracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ykafia/rust_path_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Frust_path_tracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Frust_path_tracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0675c5b236a0bf71acf9629df0746be291d2b0dc
[INFO] checking ykafia/rust_path_tracer against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Frust_path_tracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ykafia/rust_path_tracer on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ykafia/rust_path_tracer
[INFO] finished tweaking git repo https://github.com/ykafia/rust_path_tracer
[INFO] tweaked toml for git repo https://github.com/ykafia/rust_path_tracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ykafia/rust_path_tracer 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded paste-impl v0.1.10
[INFO] [stderr]   Downloaded wayland-sys v0.25.0
[INFO] [stderr]   Downloaded wayland-cursor v0.25.0
[INFO] [stderr]   Downloaded minifb v0.16.0
[INFO] [stderr]   Downloaded wayland-commons v0.25.0
[INFO] [stderr]   Downloaded wayland-client v0.25.0
[INFO] [stderr]   Downloaded wayland-scanner v0.25.0
[INFO] [stderr]   Downloaded deflate v0.8.4
[INFO] [stderr]   Downloaded paste v0.1.10
[INFO] [stderr]   Downloaded wayland-protocols v0.25.0
[INFO] [stderr]   Downloaded image v0.23.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5ea75e268891b52b057eb62d6d06b08ecf7431bed3d3c3aad53a79a88ed38fc5
[INFO] running `Command { std: "docker" "start" "-a" "5ea75e268891b52b057eb62d6d06b08ecf7431bed3d3c3aad53a79a88ed38fc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ea75e268891b52b057eb62d6d06b08ecf7431bed3d3c3aad53a79a88ed38fc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ea75e268891b52b057eb62d6d06b08ecf7431bed3d3c3aad53a79a88ed38fc5", kill_on_drop: false }`
[INFO] [stdout] 5ea75e268891b52b057eb62d6d06b08ecf7431bed3d3c3aad53a79a88ed38fc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 696abf3733de200cd8f2c5c8f2a18fbcd4fc9c6a0fe573c67245cc5e869fad79
[INFO] running `Command { std: "docker" "start" "-a" "696abf3733de200cd8f2c5c8f2a18fbcd4fc9c6a0fe573c67245cc5e869fad79", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling libloading v0.6.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling wayland-scanner v0.25.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling syn v1.0.33
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking wayland-sys v0.25.0
[INFO] [stderr]     Checking smallvec v1.4.0
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]     Checking once_cell v1.4.0
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling xkbcommon-sys v0.7.4
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-rational v0.2.3
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling cc v1.0.55
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling wayland-client v0.25.0
[INFO] [stderr]    Compiling wayland-protocols v0.25.0
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking matrixmultiply v0.2.3
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]    Compiling minifb v0.16.0
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking png v0.16.6
[INFO] [stderr]    Compiling paste-impl v0.1.10
[INFO] [stderr]     Checking xkb v0.2.1
[INFO] [stderr]     Checking tiff v0.5.0
[INFO] [stderr]     Checking paste v0.1.10
[INFO] [stderr]     Checking simba v0.1.5
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking wayland-commons v0.25.0
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking nalgebra v0.21.1
[INFO] [stderr]     Checking image v0.23.6
[INFO] [stderr]     Checking wayland-cursor v0.25.0
[INFO] [stderr]     Checking thracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/material/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/material/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/material/color.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/graphics/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/graphics/sphere.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::*`
[INFO] [stdout]  --> src/graphics/sphere.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/graphics/lights.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 (p.intensity / (x * x + y * y + z * z).sqrt())
[INFO] [stdout]    |                 ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -                 (p.intensity / (x * x + y * y + z * z).sqrt())
[INFO] [stdout] 48 +                 p.intensity / (x * x + y * y + z * z).sqrt()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/utils/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/utils/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoParallelRefIterator`
[INFO] [stdout]  --> src/window/mod.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::iter::{IntoParallelRefIterator,IntoParallelIterator,ParallelIterator, IndexedParallelIterator};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::iter::Chunks`
[INFO] [stdout]  --> src/window/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rayon::iter::Chunks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `material::*`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use material::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use utils::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::gif::Encoder`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use image::gif::Encoder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/material/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/material/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/material/color.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/graphics/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/graphics/sphere.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::*`
[INFO] [stdout]  --> src/graphics/sphere.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::time::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/graphics/lights.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 (p.intensity / (x * x + y * y + z * z).sqrt())
[INFO] [stdout]    |                 ^                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 48 -                 (p.intensity / (x * x + y * y + z * z).sqrt())
[INFO] [stdout] 48 +                 p.intensity / (x * x + y * y + z * z).sqrt()
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
[INFO] [stdout]  --> src/utils/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: the most public imported item is `pub(crate)`
[INFO] [stdout]  --> src/utils/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   = help: reduce the glob import's visibility or increase visibility of imported items
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoParallelRefIterator`
[INFO] [stdout]  --> src/window/mod.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::iter::{IntoParallelRefIterator,IntoParallelIterator,ParallelIterator, IndexedParallelIterator};
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::iter::Chunks`
[INFO] [stdout]  --> src/window/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rayon::iter::Chunks;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `material::*`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use material::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `utils::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use utils::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::gif::Encoder`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use image::gif::Encoder;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]   --> src/graphics/triangle.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(coord: [Vector3<f32>; 3], col: Color, albedo: f32) -> Tri {
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `u32_buffer` is never read
[INFO] [stdout]   --> src/window/mod.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut u32_buffer: Vec<u32> = 
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/window/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut buf = vec![115u8; 3*W*H];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut image = 
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Texture` is never constructed
[INFO] [stdout]   --> src/material/material.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Texture {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_pixel` is never used
[INFO] [stdout]   --> src/material/material.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Texture {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 19 |     pub fn get_pixel(&self, x : usize, y : usize) -> Rgba<u8> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Texture` is never constructed
[INFO] [stdout]   --> src/material/material.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum Surface {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] 38 |     Color(Color),
[INFO] [stdout] 39 |     Texture(DynamicImage)
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Surface` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `textured` is never used
[INFO] [stdout]   --> src/graphics/plane.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Plane {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn textured() -> Plane {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `textured` is never used
[INFO] [stdout]   --> src/graphics/sphere.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn textured(x: f32, y: f32, z: f32,texture_path : &str, radius : f32, albedo : f32) -> Sphere {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Triangle` is never constructed
[INFO] [stdout]  --> src/graphics/element.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Element {
[INFO] [stdout]   |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 5 |     Triangle(Tri)
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/graphics/lights.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl DirectionalLight {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(direction: Vector3<f32>, color: Color, intensity: f32) -> Self { Self { direction, color, intensity } }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PointLight` is never constructed
[INFO] [stdout]   --> src/graphics/lights.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum Light {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] 25 |     DirectionalLight(DirectionalLight),
[INFO] [stdout] 26 |     PointLight(PointLight),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Light` 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: associated functions `new`, `new_defined`, and `calculate_normal` are never used
[INFO] [stdout]   --> src/graphics/triangle.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Tri {
[INFO] [stdout]    | -------- associated functions in this implementation
[INFO] [stdout] 12 |     pub fn new(coord: [Vector3<f32>; 3], col: Color, albedo: f32) -> Tri {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn new_defined() -> Tri {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn calculate_normal(coord: [Vector3<f32>; 3]) -> Vector3<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_Tri_area` is never used
[INFO] [stdout]    --> src/graphics/triangle.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn compute_Tri_area( a : Vector3<f32>, b : Vector3<f32>, intersection : Vector3<f32>) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/graphics/scene.rs:199:17
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 &self.image.put_pixel(x as u32, y as u32, new_buffer[y * self.camera.width + x]);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 let _ = &self.image.put_pixel(x as u32, y as u32, new_buffer[y * self.camera.width + x]);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_Tri_area` should have a snake case name
[INFO] [stdout]    --> src/graphics/triangle.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn compute_Tri_area( a : Vector3<f32>, b : Vector3<f32>, intersection : Vector3<f32>) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_tri_area`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_inside_Tri` should have a snake case name
[INFO] [stdout]    --> src/graphics/triangle.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn check_inside_Tri(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_inside_tri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Tri` should have a snake case name
[INFO] [stdout]    --> src/graphics/triangle.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     Tri: [Vector3<f32>; 3]) -> bool {
[INFO] [stdout]     |     ^^^ help: convert the identifier to snake case: `tri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `col`
[INFO] [stdout]   --> src/graphics/triangle.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(coord: [Vector3<f32>; 3], col: Color, albedo: f32) -> Tri {
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_col`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `u32_buffer` is never read
[INFO] [stdout]   --> src/window/mod.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut u32_buffer: Vec<u32> = 
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/window/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let mut buf = vec![115u8; 3*W*H];
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |     let mut image = 
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Texture` is never constructed
[INFO] [stdout]   --> src/material/material.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Texture {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Texture` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_pixel` is never used
[INFO] [stdout]   --> src/material/material.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Texture {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 19 |     pub fn get_pixel(&self, x : usize, y : usize) -> Rgba<u8> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Texture` is never constructed
[INFO] [stdout]   --> src/material/material.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum Surface {
[INFO] [stdout]    |          ------- variant in this enum
[INFO] [stdout] 38 |     Color(Color),
[INFO] [stdout] 39 |     Texture(DynamicImage)
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Surface` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `textured` is never used
[INFO] [stdout]   --> src/graphics/plane.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Plane {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn textured() -> Plane {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `textured` is never used
[INFO] [stdout]   --> src/graphics/sphere.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn textured(x: f32, y: f32, z: f32,texture_path : &str, radius : f32, albedo : f32) -> Sphere {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Triangle` is never constructed
[INFO] [stdout]  --> src/graphics/element.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Element {
[INFO] [stdout]   |          ------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 5 |     Triangle(Tri)
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/graphics/lights.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl DirectionalLight {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(direction: Vector3<f32>, color: Color, intensity: f32) -> Self { Self { direction, color, intensity } }
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PointLight` is never constructed
[INFO] [stdout]   --> src/graphics/lights.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum Light {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] 25 |     DirectionalLight(DirectionalLight),
[INFO] [stdout] 26 |     PointLight(PointLight),
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Light` 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: associated functions `new`, `new_defined`, and `calculate_normal` are never used
[INFO] [stdout]   --> src/graphics/triangle.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Tri {
[INFO] [stdout]    | -------- associated functions in this implementation
[INFO] [stdout] 12 |     pub fn new(coord: [Vector3<f32>; 3], col: Color, albedo: f32) -> Tri {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn new_defined() -> Tri {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     fn calculate_normal(coord: [Vector3<f32>; 3]) -> Vector3<f32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_Tri_area` is never used
[INFO] [stdout]    --> src/graphics/triangle.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn compute_Tri_area( a : Vector3<f32>, b : Vector3<f32>, intersection : Vector3<f32>) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/graphics/scene.rs:199:17
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 &self.image.put_pixel(x as u32, y as u32, new_buffer[y * self.camera.width + x]);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 199 |                 let _ = &self.image.put_pixel(x as u32, y as u32, new_buffer[y * self.camera.width + x]);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `compute_Tri_area` should have a snake case name
[INFO] [stdout]    --> src/graphics/triangle.rs:143:4
[INFO] [stdout]     |
[INFO] [stdout] 143 | fn compute_Tri_area( a : Vector3<f32>, b : Vector3<f32>, intersection : Vector3<f32>) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_tri_area`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_inside_Tri` should have a snake case name
[INFO] [stdout]    --> src/graphics/triangle.rs:150:4
[INFO] [stdout]     |
[INFO] [stdout] 150 | fn check_inside_Tri(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_inside_tri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Tri` should have a snake case name
[INFO] [stdout]    --> src/graphics/triangle.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     Tri: [Vector3<f32>; 3]) -> bool {
[INFO] [stdout]     |     ^^^ help: convert the identifier to snake case: `tri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.87s
[INFO] running `Command { std: "docker" "inspect" "696abf3733de200cd8f2c5c8f2a18fbcd4fc9c6a0fe573c67245cc5e869fad79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "696abf3733de200cd8f2c5c8f2a18fbcd4fc9c6a0fe573c67245cc5e869fad79", kill_on_drop: false }`
[INFO] [stdout] 696abf3733de200cd8f2c5c8f2a18fbcd4fc9c6a0fe573c67245cc5e869fad79
