[INFO] cloning repository https://github.com/themasch/rust-raytracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/themasch/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemasch%2Frust-raytracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemasch%2Frust-raytracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5681da3100688014598113a96e0f42d032d84a56
[INFO] checking themasch/rust-raytracer against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemasch%2Frust-raytracer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/themasch/rust-raytracer
[INFO] finished tweaking git repo https://github.com/themasch/rust-raytracer
[INFO] tweaked toml for git repo https://github.com/themasch/rust-raytracer written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/themasch/rust-raytracer on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/themasch/rust-raytracer 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6936bc39b2b31deb5218f6e83a1b24505e6ca57cb4cd8c7d71da06ba63494aaa
[INFO] running `Command { std: "docker" "start" "-a" "6936bc39b2b31deb5218f6e83a1b24505e6ca57cb4cd8c7d71da06ba63494aaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6936bc39b2b31deb5218f6e83a1b24505e6ca57cb4cd8c7d71da06ba63494aaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6936bc39b2b31deb5218f6e83a1b24505e6ca57cb4cd8c7d71da06ba63494aaa", kill_on_drop: false }`
[INFO] [stdout] 6936bc39b2b31deb5218f6e83a1b24505e6ca57cb4cd8c7d71da06ba63494aaa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 653fed0b549c563438c5080b1939b37a9e30682985b05befc53799fe1b8fc220
[INFO] running `Command { std: "docker" "start" "-a" "653fed0b549c563438c5080b1939b37a9e30682985b05befc53799fe1b8fc220", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]    Compiling rayon-core v1.5.0
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]     Checking bitflags v0.9.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking inflate v0.2.0
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]     Checking assert_approx_eq v1.1.0
[INFO] [stderr]     Checking wavefront_obj v5.1.0
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking gif v0.9.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking crossbeam-epoch v0.7.2
[INFO] [stderr]     Checking num_cpus v1.10.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking threadpool v1.7.1
[INFO] [stderr]     Checking crossbeam-deque v0.6.3
[INFO] [stderr]     Checking rayon v1.1.0
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking png v0.9.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking image v0.15.0
[INFO] [stderr]     Checking raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Vector3`
[INFO] [stdout]  --> src/objects/mod.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cgmath::{Quaternion, Vector3};
[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: `Sphere`
[INFO] [stdout]  --> src/objects/mesh.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use objects::{Sphere, Structure, TextureCoords, WorldPosition};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RayType`
[INFO] [stdout]  --> src/objects/mesh.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use raycast::{Intersection, Ray, RayType};
[INFO] [stdout]   |                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max` and `min`
[INFO] [stdout]  --> src/objects/mesh.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scale`
[INFO] [stdout]  --> src/objects/mesh.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use types::{Direction, Point, Scale};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/objects/mesh.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let w = (1.0 - u - v);
[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] 106 -             let w = (1.0 - u - v);
[INFO] [stdout] 106 +             let w = 1.0 - u - v ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Material` and `SurfaceType`
[INFO] [stdout]  --> src/objects/plane.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use objects::{Material, Structure, SurfaceType, TextureCoords, WorldPosition};
[INFO] [stdout]   |               ^^^^^^^^             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color` and `Scale`
[INFO] [stdout]  --> src/objects/plane.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use types::{Color, Direction, Point, Scale};
[INFO] [stdout]   |             ^^^^^                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scale`
[INFO] [stdout]  --> src/objects/sphere.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use types::{Direction, Point, Scale};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::quad::*`
[INFO] [stdout]   --> src/objects/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use self::quad::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/render.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 93 +         sample(x - 0.25 , (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:93:28
[INFO] [stdout]    |
[INFO] [stdout] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 93 +         sample((x - 0.25), y - 0.25 , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 94 +         sample(x + 0.25 , (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 94 +         sample((x + 0.25), y - 0.25 , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 95 +         sample(x - 0.25 , (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 95 +         sample((x - 0.25), y + 0.25 , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 96 +         sample(x + 0.25 , (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 96 +         sample((x + 0.25), y + 0.25 , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout] 97 +         sample(x , (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                     ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout] 97 +         sample((x), y , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sphere`
[INFO] [stdout]   --> src/main.rs:23:53
[INFO] [stdout]    |
[INFO] [stdout] 23 | use objects::{Material, Mesh, ObjectBuilder, Plane, Sphere};
[INFO] [stdout]    |                                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/objects/mod.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |     structure: Box<Structure + Send + Sync>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     structure: Box<dyn Structure + Send + Sync>,
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Vector3`
[INFO] [stdout]  --> src/objects/mod.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cgmath::{Quaternion, Vector3};
[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: `Sphere`
[INFO] [stdout]  --> src/objects/mesh.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use objects::{Sphere, Structure, TextureCoords, WorldPosition};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RayType`
[INFO] [stdout]  --> src/objects/mesh.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use raycast::{Intersection, Ray, RayType};
[INFO] [stdout]   |                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max` and `min`
[INFO] [stdout]  --> src/objects/mesh.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scale`
[INFO] [stdout]  --> src/objects/mesh.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use types::{Direction, Point, Scale};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/objects/mesh.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let w = (1.0 - u - v);
[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] 106 -             let w = (1.0 - u - v);
[INFO] [stdout] 106 +             let w = 1.0 - u - v ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Material` and `SurfaceType`
[INFO] [stdout]  --> src/objects/plane.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use objects::{Material, Structure, SurfaceType, TextureCoords, WorldPosition};
[INFO] [stdout]   |               ^^^^^^^^             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color` and `Scale`
[INFO] [stdout]  --> src/objects/plane.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use types::{Color, Direction, Point, Scale};
[INFO] [stdout]   |             ^^^^^                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scale`
[INFO] [stdout]  --> src/objects/sphere.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use types::{Direction, Point, Scale};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::quad::*`
[INFO] [stdout]   --> src/objects/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use self::quad::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/render.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 93 +         sample(x - 0.25 , (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:93:28
[INFO] [stdout]    |
[INFO] [stdout] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 93 +         sample((x - 0.25), y - 0.25 , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 94 +         sample(x + 0.25 , (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 94 +         sample((x + 0.25), y - 0.25 , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 95 +         sample(x - 0.25 , (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 95 +         sample((x - 0.25), y + 0.25 , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 96 +         sample(x + 0.25 , (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 96 +         sample((x + 0.25), y + 0.25 , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cgmath::prelude`
[INFO] [stdout]  --> src/objects/quad.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cgmath::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout] 97 +         sample(x , (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                     ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout] 97 +         sample((x), y , scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sphere`
[INFO] [stdout]   --> src/main.rs:23:53
[INFO] [stdout]    |
[INFO] [stdout] 23 | use objects::{Material, Mesh, ObjectBuilder, Plane, Sphere};
[INFO] [stdout]    |                                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmin`
[INFO] [stdout]   --> src/objects/quad.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmax`
[INFO] [stdout]   --> src/objects/quad.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tymin`
[INFO] [stdout]   --> src/objects/quad.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tymax`
[INFO] [stdout]   --> src/objects/quad.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmin`
[INFO] [stdout]   --> src/objects/quad.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let tmin = tymin;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmax`
[INFO] [stdout]   --> src/objects/quad.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let tmax = tymax;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzmin`
[INFO] [stdout]   --> src/objects/quad.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzmax`
[INFO] [stdout]   --> src/objects/quad.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_coordinates`
[INFO] [stdout]    --> src/objects/mod.rs:138:31
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn reflectivity_at(&self, texture_coordinates: TextureCoords) -> Option<f32> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_coordinates`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/objects/mod.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |     structure: Box<Structure + Send + Sync>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     structure: Box<dyn Structure + Send + Sync>,
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]   --> src/raycast.rs:63:41
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn create_prime(x: f64, y: f64, scene: &Scene, camera: &Camera) -> Ray {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/render.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let start = Instant::now();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Texture` is never constructed
[INFO] [stdout]   --> src/objects/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Coloration {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 31 |     Color(Color),
[INFO] [stdout] 32 |     Texture(DynamicImage),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Coloration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `diffuse_texture` are never used
[INFO] [stdout]   --> src/objects/mod.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Material {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 68 |     pub fn new(color: Coloration, albedo: f32) -> Material {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn diffuse_texture(image: DynamicImage, albedo: f32) -> Material {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mesh` is never read
[INFO] [stdout]    --> src/objects/mesh.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 161 |     mesh: obj::Object,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Quad` is never constructed
[INFO] [stdout]  --> src/objects/quad.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Quad {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `intersects` is never used
[INFO] [stdout]   --> src/objects/quad.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Quad {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     pub fn intersects(&self, ray: &Ray, position: &WorldPosition) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sphere` is never constructed
[INFO] [stdout]  --> src/objects/sphere.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Sphere {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create`, `intersect`, `surface_normal`, and `texture_coord` are never used
[INFO] [stdout]   --> src/objects/sphere.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Sphere {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn create(radius: f64) -> Sphere {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     fn intersect(&self, ray: &Ray, position: &WorldPosition) -> Option<f64> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn surface_normal(&self, hit_point: &Point, position: &WorldPosition) -> Direction {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn texture_coord(&self, hit_point: &Point, position: &WorldPosition) -> TextureCoords {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ray_type` is never read
[INFO] [stdout]   --> src/raycast.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Ray {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub ray_type: RayType,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hit_point` is never used
[INFO] [stdout]    --> src/raycast.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl IntersectionResult {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn hit_point(&self) -> &Point {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cgmath::prelude`
[INFO] [stdout]  --> src/objects/quad.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cgmath::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmin`
[INFO] [stdout]   --> src/objects/quad.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmax`
[INFO] [stdout]   --> src/objects/quad.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tymin`
[INFO] [stdout]   --> src/objects/quad.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tymax`
[INFO] [stdout]   --> src/objects/quad.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmin`
[INFO] [stdout]   --> src/objects/quad.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let tmin = tymin;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmax`
[INFO] [stdout]   --> src/objects/quad.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let tmax = tymax;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzmin`
[INFO] [stdout]   --> src/objects/quad.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzmax`
[INFO] [stdout]   --> src/objects/quad.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_coordinates`
[INFO] [stdout]    --> src/objects/mod.rs:138:31
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn reflectivity_at(&self, texture_coordinates: TextureCoords) -> Option<f32> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_coordinates`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]   --> src/raycast.rs:63:41
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn create_prime(x: f64, y: f64, scene: &Scene, camera: &Camera) -> Ray {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/render.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let start = Instant::now();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Texture` is never constructed
[INFO] [stdout]   --> src/objects/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Coloration {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 31 |     Color(Color),
[INFO] [stdout] 32 |     Texture(DynamicImage),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Coloration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `diffuse_texture` are never used
[INFO] [stdout]   --> src/objects/mod.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Material {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 68 |     pub fn new(color: Coloration, albedo: f32) -> Material {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn diffuse_texture(image: DynamicImage, albedo: f32) -> Material {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mesh` is never read
[INFO] [stdout]    --> src/objects/mesh.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 161 |     mesh: obj::Object,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Quad` is never constructed
[INFO] [stdout]  --> src/objects/quad.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Quad {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `intersects` is never used
[INFO] [stdout]   --> src/objects/quad.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Quad {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     pub fn intersects(&self, ray: &Ray, position: &WorldPosition) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ray_type` is never read
[INFO] [stdout]   --> src/raycast.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub struct Ray {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub ray_type: RayType,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hit_point` is never used
[INFO] [stdout]    --> src/raycast.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl IntersectionResult {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn hit_point(&self) -> &Point {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.41s
[INFO] running `Command { std: "docker" "inspect" "653fed0b549c563438c5080b1939b37a9e30682985b05befc53799fe1b8fc220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "653fed0b549c563438c5080b1939b37a9e30682985b05befc53799fe1b8fc220", kill_on_drop: false }`
[INFO] [stdout] 653fed0b549c563438c5080b1939b37a9e30682985b05befc53799fe1b8fc220
