[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 try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fykafia%2Frust_path_tracer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ykafia/rust_path_tracer on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.1
[INFO] [stderr]   Downloaded num_cpus v1.12.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.6
[INFO] [stderr]   Downloaded simba v0.1.5
[INFO] [stderr]   Downloaded paste v0.1.10
[INFO] [stderr]   Downloaded downcast-rs v1.1.1
[INFO] [stderr]   Downloaded wayland-cursor v0.25.0
[INFO] [stderr]   Downloaded wayland-scanner v0.25.0
[INFO] [stderr]   Downloaded num-iter v0.1.40
[INFO] [stderr]   Downloaded proc-macro-hack v0.5.15
[INFO] [stderr]   Downloaded c2-chacha v0.2.3
[INFO] [stderr]   Downloaded wayland-sys v0.25.0
[INFO] [stderr]   Downloaded paste-impl v0.1.10
[INFO] [stderr]   Downloaded rand_chacha v0.2.1
[INFO] [stderr]   Downloaded wayland-commons v0.25.0
[INFO] [stderr]   Downloaded bytemuck v1.2.0
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.6
[INFO] [stderr]   Downloaded num-rational v0.2.3
[INFO] [stderr]   Downloaded xkbcommon-sys v0.7.4
[INFO] [stderr]   Downloaded libloading v0.6.2
[INFO] [stderr]   Downloaded tiff v0.5.0
[INFO] [stderr]   Downloaded xkb v0.2.1
[INFO] [stderr]   Downloaded generic-array v0.13.2
[INFO] [stderr]   Downloaded gif v0.10.3
[INFO] [stderr]   Downloaded quote v1.0.3
[INFO] [stderr]   Downloaded miniz_oxide v0.3.6
[INFO] [stderr]   Downloaded cc v1.0.55
[INFO] [stderr]   Downloaded deflate v0.8.4
[INFO] [stderr]   Downloaded wayland-client v0.25.0
[INFO] [stderr]   Downloaded nalgebra v0.21.1
[INFO] [stderr]   Downloaded num-rational v0.3.0
[INFO] [stderr]   Downloaded png v0.16.6
[INFO] [stderr]   Downloaded minifb v0.16.0
[INFO] [stderr]   Downloaded wayland-protocols v0.25.0
[INFO] [stderr]   Downloaded sdl2 v0.32.2
[INFO] [stderr]   Downloaded syn v1.0.33
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.18
[INFO] [stderr]   Downloaded image v0.23.6
[INFO] [stderr]   Downloaded sdl2-sys v0.32.6
[INFO] [stderr]   Downloaded orbclient v0.3.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 28e614d58d2b56b19eeb35a55979218936483fdcbdea49d779eff1c3cbc292b1
[INFO] running `Command { std: "docker" "start" "-a" "28e614d58d2b56b19eeb35a55979218936483fdcbdea49d779eff1c3cbc292b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "28e614d58d2b56b19eeb35a55979218936483fdcbdea49d779eff1c3cbc292b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28e614d58d2b56b19eeb35a55979218936483fdcbdea49d779eff1c3cbc292b1", kill_on_drop: false }`
[INFO] [stdout] 28e614d58d2b56b19eeb35a55979218936483fdcbdea49d779eff1c3cbc292b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 437b552e61fc2fc4bae9f54e7cd53ba7943b699f97917e8a79f9b11973fc507c
[INFO] running `Command { std: "docker" "start" "-a" "437b552e61fc2fc4bae9f54e7cd53ba7943b699f97917e8a79f9b11973fc507c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling libloading v0.6.2
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]    Compiling syn v1.0.33
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]     Checking once_cell v1.4.0
[INFO] [stderr]     Checking smallvec v1.4.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.15
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking wayland-sys v0.25.0
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling xkbcommon-sys v0.7.4
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-rational v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling cc v1.0.55
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking matrixmultiply v0.2.3
[INFO] [stderr]    Compiling wayland-scanner v0.25.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking tiff v0.5.0
[INFO] [stderr]     Checking png v0.16.6
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking xkb v0.2.1
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]    Compiling minifb v0.16.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]    Compiling wayland-client v0.25.0
[INFO] [stderr]    Compiling wayland-protocols v0.25.0
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking rand_distr v0.2.2
[INFO] [stderr]    Compiling paste-impl v0.1.10
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking image v0.23.6
[INFO] [stderr]     Checking paste v0.1.10
[INFO] [stderr]     Checking simba v0.1.5
[INFO] [stderr]     Checking nalgebra v0.21.1
[INFO] [stderr]     Checking wayland-commons v0.25.0
[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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `u32_buffer` is never read
[INFO] [stdout]   --> src/window/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | /         buf
[INFO] [stdout] 22 | |         .into_par_iter()
[INFO] [stdout] 23 | |         .chunks(3)
[INFO] [stdout] 24 | |         .map(|v| ((v[0] as u32) << 16) | ((v[1] as u32) << 8) | v[2] as u32)
[INFO] [stdout] 25 | |         .collect();
[INFO] [stdout]    | |__________________^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 62 |           u32_buffer = 
[INFO] [stdout]    |           ---------- `u32_buffer` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs: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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default
[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: method `simple_intersect` is never used
[INFO] [stdout]  --> src/utils/traits.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Intersectable {
[INFO] [stdout]   |           ------------- method in this trait
[INFO] [stdout] 4 |     fn intersect(&self, ray: &Ray) -> Option<PointInfo>;
[INFO] [stdout] 5 |     fn simple_intersect(&self, ray:&Ray) -> bool;
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `u32_buffer` is never read
[INFO] [stdout]   --> src/window/mod.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 | /         buf
[INFO] [stdout] 22 | |         .into_par_iter()
[INFO] [stdout] 23 | |         .chunks(3)
[INFO] [stdout] 24 | |         .map(|v| ((v[0] as u32) << 16) | ((v[1] as u32) << 8) | v[2] as u32)
[INFO] [stdout] 25 | |         .collect();
[INFO] [stdout]    | |__________________^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 62 |           u32_buffer = 
[INFO] [stdout]    |           ---------- `u32_buffer` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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: 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: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(nonstandard_style)]`) on by default
[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 `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: 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: method `simple_intersect` is never used
[INFO] [stdout]  --> src/utils/traits.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Intersectable {
[INFO] [stdout]   |           ------------- method in this trait
[INFO] [stdout] 4 |     fn intersect(&self, ray: &Ray) -> Option<PointInfo>;
[INFO] [stdout] 5 |     fn simple_intersect(&self, ray:&Ray) -> bool;
[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)]` (part of `#[warn(unused)]`) 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: 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: 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)]` (part of `#[warn(nonstandard_style)]`) 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 37.67s
[INFO] running `Command { std: "docker" "inspect" "437b552e61fc2fc4bae9f54e7cd53ba7943b699f97917e8a79f9b11973fc507c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "437b552e61fc2fc4bae9f54e7cd53ba7943b699f97917e8a79f9b11973fc507c", kill_on_drop: false }`
[INFO] [stdout] 437b552e61fc2fc4bae9f54e7cd53ba7943b699f97917e8a79f9b11973fc507c
