[INFO] cloning repository https://github.com/dbearden/Ray-Tracer-Challenge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dbearden/Ray-Tracer-Challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbearden%2FRay-Tracer-Challenge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbearden%2FRay-Tracer-Challenge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 784d088220536f64b204a6a82a857f3b44ab9f67
[INFO] checking dbearden/Ray-Tracer-Challenge against master#61cc47e367d7be91e13bcd01e4e96e0e233d4f6d for pr-133502-18
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbearden%2FRay-Tracer-Challenge" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dbearden/Ray-Tracer-Challenge
[INFO] finished tweaking git repo https://github.com/dbearden/Ray-Tracer-Challenge
[INFO] tweaked toml for git repo https://github.com/dbearden/Ray-Tracer-Challenge written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dbearden/Ray-Tracer-Challenge on toolchain 61cc47e367d7be91e13bcd01e4e96e0e233d4f6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dbearden/Ray-Tracer-Challenge 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" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded autocfg v1.0.1
[INFO] [stderr]   Downloaded float-cmp v0.8.0
[INFO] [stderr]   Downloaded num-traits v0.2.14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a08d0beb9418972d8b7cf36090c91be89408498fd4328186e0c840d6aa03880
[INFO] running `Command { std: "docker" "start" "-a" "5a08d0beb9418972d8b7cf36090c91be89408498fd4328186e0c840d6aa03880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a08d0beb9418972d8b7cf36090c91be89408498fd4328186e0c840d6aa03880", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a08d0beb9418972d8b7cf36090c91be89408498fd4328186e0c840d6aa03880", kill_on_drop: false }`
[INFO] [stdout] 5a08d0beb9418972d8b7cf36090c91be89408498fd4328186e0c840d6aa03880
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 46db0895f42a636436834d4a7f880c08e93e2d4fa1568f4f04dd4dfa0714ec46
[INFO] running `Command { std: "docker" "start" "-a" "46db0895f42a636436834d4a7f880c08e93e2d4fa1568f4f04dd4dfa0714ec46", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking float-cmp v0.8.0
[INFO] [stderr]     Checking ray_tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch5/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch13/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DEFAULT_REFLECTION_COUNT`
[INFO] [stdout]  --> src/bin/ch13/camera.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     DEFAULT_REFLECTION_COUNT,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/materials.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Stripe`
[INFO] [stdout]  --> src/bin/ch13/materials.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Stripe,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/pattern/stripe.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shape::Shape`
[INFO] [stdout]  --> src/bin/ch13/pattern/stripe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shape::Shape,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/pattern/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transformations::Transformation`
[INFO] [stdout]   --> src/bin/ch13/pattern/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     transformations::Transformation,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `World`
[INFO] [stdout]  --> src/bin/ch13/ray.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::world::{Computations, World};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/bin/ch13/shape/cube.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     tuple::{Point, Tuple, Vector},
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/shape/plane.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{f64::EPSILON, rc::Rc};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch13/shape/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/shape/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch13/shape/sphere.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/shape/mod.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Intersection` and `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch13/shape/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pattern::Pattern,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::assert_matches::assert_matches`
[INFO] [stdout]   --> src/bin/ch13/world.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::assert_matches::assert_matches;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `materials::Material`
[INFO] [stdout]   --> src/bin/ch13/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use materials::Material;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FRAC_PI_3`, `FRAC_PI_4`, and `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch13/main.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                              ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cone`, `Gradient`, `Ring`, and `lights::PointLight`
[INFO] [stdout]   --> src/bin/ch13/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     lights::PointLight,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     pattern::{Checkerboard, Gradient, Pattern, Ring, Stripe},
[INFO] [stdout]    |                             ^^^^^^^^           ^^^^
[INFO] [stdout] 35 |     shape::{Cone, Cylinder},
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch10/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Stripe`
[INFO] [stdout]  --> src/bin/ch10/materials.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Stripe,
[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: `shape::Shape`
[INFO] [stdout]  --> src/bin/ch10/pattern/stripe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shape::Shape,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/pattern/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::world::World`
[INFO] [stdout]  --> src/bin/ch10/ray.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::world::World;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch10/shape/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/shape/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch10/shape/sphere.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/shape/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]   --> src/bin/ch10/shape/mod.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `any::type_name`
[INFO] [stdout]   --> src/bin/ch10/shape/mod.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         any::type_name,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefMut`
[INFO] [stdout]    --> src/bin/ch10/world.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |     use std::cell::RefMut;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch10/main.rs:21:52
[INFO] [stdout]    |
[INFO] [stdout] 21 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch5/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[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 `transpose` is never used
[INFO] [stdout]   --> src/bin/ch5/matrix.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<const N: usize> Matrix<N> {
[INFO] [stdout]    | ------------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn transpose(&self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch5/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch5/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `position` is never used
[INFO] [stdout]   --> src/bin/ch5/ray.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn position(&self, t: f64) -> Point {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `object` is never read
[INFO] [stdout]   --> src/bin/ch5/ray.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct Intersection {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 51 |     t: f64,
[INFO] [stdout] 52 |     object: Rc<RefCell<dyn Shape>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Intersection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `intersections` is never used
[INFO] [stdout]   --> src/bin/ch5/ray.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn intersections(mut vec: Vec<Intersection>) -> Vec<Intersection> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `id` is never used
[INFO] [stdout]  --> src/bin/ch5/shapes/mod.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub trait Shape: Debug {
[INFO] [stdout]   |           ----- method in this trait
[INFO] [stdout] 8 |     fn id(&self) -> usize;
[INFO] [stdout]   |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shearing`, `rotation_x`, `rotation_y`, and `rotation_z` are never used
[INFO] [stdout]  --> src/bin/ch5/transformations.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Transformation {
[INFO] [stdout]   |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 4 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 5 |     fn rotation_x(&self, r: f64) -> Self;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 6 |     fn rotation_y(&self, r: f64) -> Self;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 7 |     fn rotation_z(&self, r: f64) -> Self;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cross` is never used
[INFO] [stdout]   --> src/bin/ch5/tuple/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch11/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Stripe`
[INFO] [stdout]  --> src/bin/ch11/materials.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Stripe,
[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: `f64::consts::FRAC_2_PI`
[INFO] [stdout]   --> src/bin/ch11/materials.rs:90:43
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use std::{f64::consts::FRAC_1_SQRT_2, f64::consts::FRAC_2_PI};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Intersection`, `Plane`, and `Ray`
[INFO] [stdout]   --> src/bin/ch11/materials.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |         ray::{Intersection, Ray},
[INFO] [stdout]    |               ^^^^^^^^^^^^  ^^^
[INFO] [stdout] 95 |         shape::{Plane, Sphere},
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shape::Shape`
[INFO] [stdout]  --> src/bin/ch11/pattern/stripe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shape::Shape,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/pattern/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `World`
[INFO] [stdout]  --> src/bin/ch11/ray.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::world::{Computations, World};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DEFAULT_REFLECTION_COUNT` and `tuple::Color`
[INFO] [stdout]   --> src/bin/ch11/ray.rs:94:73
[INFO] [stdout]    |
[INFO] [stdout] 94 |         matrix::Matrix, shape::Sphere, transformations::Transformation, tuple::Color,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^
[INFO] [stdout] 95 |         world::prepare_computations, DEFAULT_REFLECTION_COUNT,
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch11/shape/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/shape/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch11/shape/sphere.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/shape/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]   --> src/bin/ch11/shape/mod.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `any::type_name`
[INFO] [stdout]   --> src/bin/ch11/shape/mod.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         any::type_name,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot` and `cross` are never used
[INFO] [stdout]   --> src/bin/ch1/tuple.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl Vector {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn dot(&self, other: Self) -> f64 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cell::RefMut`
[INFO] [stdout]    --> src/bin/ch11/world.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 |         cell::RefMut,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FRAC_PI_3`, `FRAC_PI_4`, and `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch11/main.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                              ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Gradient`, `Ring`, `Stripe`, and `lights::PointLight`
[INFO] [stdout]   --> src/bin/ch11/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     lights::PointLight,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     pattern::{Checkerboard, Gradient, Pattern, Ring, Stripe},
[INFO] [stdout]    |                             ^^^^^^^^           ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bin/ch13/pattern/mod.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn pattern_at_shape(&self, shape: &Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] 20 |     fn pattern_at_shape(&self, shape: &dyn Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch12/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DEFAULT_REFLECTION_COUNT`
[INFO] [stdout]  --> src/bin/ch12/camera.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     DEFAULT_REFLECTION_COUNT,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/materials.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Stripe`
[INFO] [stdout]  --> src/bin/ch12/materials.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Stripe,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/pattern/stripe.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shape::Shape`
[INFO] [stdout]  --> src/bin/ch12/pattern/stripe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shape::Shape,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/pattern/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transformations::Transformation`
[INFO] [stdout]   --> src/bin/ch12/pattern/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     transformations::Transformation,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `World`
[INFO] [stdout]  --> src/bin/ch12/ray.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::world::{Computations, World};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/bin/ch12/shape/cube.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     tuple::{Point, Tuple, Vector},
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/shape/plane.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{f64::EPSILON, rc::Rc};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch12/shape/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/shape/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch12/shape/sphere.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/shape/mod.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Intersection` and `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch12/shape/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pattern::Pattern,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `materials::Material`
[INFO] [stdout]   --> src/bin/ch12/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use materials::Material;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FRAC_PI_3`, `FRAC_PI_4`, and `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch12/main.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                              ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Gradient`, `Ring`, and `lights::PointLight`
[INFO] [stdout]   --> src/bin/ch12/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     lights::PointLight,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     pattern::{Checkerboard, Gradient, Pattern, Ring, Stripe},
[INFO] [stdout]    |                             ^^^^^^^^           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch3/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bin/ch10/pattern/mod.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn pattern_at_shape(&self, shape: &Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] 20 |     fn pattern_at_shape(&self, shape: &dyn Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch8/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::is_separator`
[INFO] [stdout]  --> src/bin/ch8/world.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, path::is_separator, rc::Rc};
[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: `FRAC_PI_3`
[INFO] [stdout]   --> src/bin/ch8/main.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4},
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bin/ch12/pattern/mod.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn pattern_at_shape(&self, shape: &Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] 20 |     fn pattern_at_shape(&self, shape: &dyn Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_ppm` is never used
[INFO] [stdout]   --> src/bin/ch3/canvas/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn to_ppm(&self, filename: &str) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch3/matrix.rs:90:15
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  90 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch3/matrix.rs:147:15
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 147 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot`, `cross`, `magnitude`, and `normalize` are never used
[INFO] [stdout]   --> src/bin/ch3/tuple/mod.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn dot(&self, other: Self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn magnitude(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn normalize(&self) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch3/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vector::Vector`
[INFO] [stdout]  --> src/bin/ch3/tuple/mod.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use vector::Vector;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch12/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Stripe`
[INFO] [stdout]  --> src/bin/ch12/materials.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Stripe,
[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: `f64::consts::FRAC_2_PI`
[INFO] [stdout]   --> src/bin/ch12/materials.rs:90:43
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use std::{f64::consts::FRAC_1_SQRT_2, f64::consts::FRAC_2_PI};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Intersection`, `Plane`, and `Ray`
[INFO] [stdout]   --> src/bin/ch12/materials.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |         ray::{Intersection, Ray},
[INFO] [stdout]    |               ^^^^^^^^^^^^  ^^^
[INFO] [stdout] 95 |         shape::{Plane, Sphere},
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shape::Shape`
[INFO] [stdout]  --> src/bin/ch12/pattern/stripe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shape::Shape,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/pattern/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `World`
[INFO] [stdout]  --> src/bin/ch12/ray.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::world::{Computations, World};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DEFAULT_REFLECTION_COUNT` and `tuple::Color`
[INFO] [stdout]   --> src/bin/ch12/ray.rs:94:73
[INFO] [stdout]    |
[INFO] [stdout] 94 |         matrix::Matrix, shape::Sphere, transformations::Transformation, tuple::Color,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^
[INFO] [stdout] 95 |         world::prepare_computations, DEFAULT_REFLECTION_COUNT,
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/bin/ch12/shape/cube.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     tuple::{Point, Tuple, Vector},
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch12/shape/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/shape/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch12/shape/sphere.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch12/shape/mod.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]   --> src/bin/ch12/shape/mod.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Canvas` is never constructed
[INFO] [stdout]  --> src/bin/ch3/canvas/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Canvas {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write`, `pixel_at`, and `to_ppm` are never used
[INFO] [stdout]   --> src/bin/ch3/canvas/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(width: usize, height: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn write(&mut self, x: usize, y: usize, color: Color) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn to_ppm(&self, filename: &str) -> io::Result<()> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch3/matrix.rs:90:15
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  90 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch3/matrix.rs:147:15
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 147 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot`, `cross`, `magnitude`, and `normalize` are never used
[INFO] [stdout]   --> src/bin/ch3/tuple/mod.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn dot(&self, other: Self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn magnitude(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn normalize(&self) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Color` is never constructed
[INFO] [stdout]  --> src/bin/ch3/tuple/color.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Color {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch3/tuple/color.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Color {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(red: f64, green: f64, blue: f64) -> Color {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `any::type_name`
[INFO] [stdout]   --> src/bin/ch12/shape/mod.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         any::type_name,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cell::RefMut`
[INFO] [stdout]    --> src/bin/ch12/world.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 |         cell::RefMut,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `materials::Material`
[INFO] [stdout]   --> src/bin/ch12/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use materials::Material;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FRAC_PI_3`, `FRAC_PI_4`, and `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch12/main.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                              ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Gradient`, `Ring`, and `lights::PointLight`
[INFO] [stdout]   --> src/bin/ch12/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     lights::PointLight,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     pattern::{Checkerboard, Gradient, Pattern, Ring, Stripe},
[INFO] [stdout]    |                             ^^^^^^^^           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch12/shape/sphere.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch12/ray.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{pattern::Pattern, shape::Shape};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch12/shape/plane.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch5/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bin/ch12/pattern/mod.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn pattern_at_shape(&self, shape: &Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] 20 |     fn pattern_at_shape(&self, shape: &dyn Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bin/ch11/pattern/mod.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn pattern_at_shape(&self, shape: &Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] 20 |     fn pattern_at_shape(&self, shape: &dyn Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch12/pattern/checkerboard.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch12/pattern/gradient.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch12/pattern/ring.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch12/shape/cube.rs:58:33
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn set_transform(&mut self, transform: crate::matrix::Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch13/shape/plane.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch13/ray.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{pattern::Pattern, shape::Shape};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch13/shape/sphere.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/bin/ch12/shape/cube.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn set_material(&mut self, material: crate::materials::Material) {
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch12/shape/plane.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/pattern/checkerboard.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/pattern/gradient.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/pattern/ring.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch7/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `float_cmp` is never used
[INFO] [stdout]    --> src/bin/ch12/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn float_cmp(first: &f64, second: &f64) -> std::cmp::Ordering {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field_of_view` is never read
[INFO] [stdout]   --> src/bin/ch12/camera.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub field_of_view: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch12/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch12/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch12/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `transform` is never used
[INFO] [stdout]   --> src/bin/ch12/pattern/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Pattern: Debug {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn transform(&self) -> Matrix<4>;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Gradient` is never constructed
[INFO] [stdout]  --> src/bin/ch12/pattern/gradient.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Gradient {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch12/pattern/gradient.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Gradient {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ring` is never constructed
[INFO] [stdout]  --> src/bin/ch12/pattern/ring.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Ring {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch12/pattern/ring.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Ring {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_transform`, `set_material`, and `get_mut_material` are never used
[INFO] [stdout]   --> src/bin/ch12/shape/mod.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 22 |     fn get_material(&self) -> &Material;
[INFO] [stdout] 23 |     fn set_material(&mut self, material: Material);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 24 |     fn get_mut_material(&mut self) -> &mut Material;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shearing`, `rotation_x`, `rotation_y`, and `rotation_z` are never used
[INFO] [stdout]   --> src/bin/ch12/transformations.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Transformation {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  9 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 10 |     fn rotation_x(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 11 |     fn rotation_y(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 12 |     fn rotation_z(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `magnitude` is never used
[INFO] [stdout]   --> src/bin/ch12/tuple/color.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Color {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn magnitude(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch12/world.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl World {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read
[INFO] [stdout]    --> src/bin/ch12/world.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Computations {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 159 |     pub t: f64,
[INFO] [stdout]     |         ^
[INFO] [stdout] 160 |     pub object: Rc<RefCell<dyn Shape>>,
[INFO] [stdout] 161 |     pub point: Point,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub inside: bool,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/shape/cone.rs:75:33
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/bin/ch13/shape/cone.rs:83:32
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn set_material(&mut self, material: Material) {
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/shape/cube.rs:58:33
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn set_transform(&mut self, transform: crate::matrix::Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/bin/ch13/shape/cube.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn set_material(&mut self, material: crate::materials::Material) {
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/shape/cylinder.rs:76:33
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn set_transform(&mut self, transform: crate::matrix::Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/bin/ch13/shape/cylinder.rs:84:32
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn set_material(&mut self, material: crate::materials::Material) {
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch13/shape/plane.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `float_cmp` is never used
[INFO] [stdout]    --> src/bin/ch13/main.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn float_cmp(first: &f64, second: &f64) -> std::cmp::Ordering {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field_of_view` is never read
[INFO] [stdout]   --> src/bin/ch13/camera.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub field_of_view: f64,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch13/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch13/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch13/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `transform` is never used
[INFO] [stdout]   --> src/bin/ch13/pattern/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Pattern: Debug {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn transform(&self) -> Matrix<4>;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Gradient` is never constructed
[INFO] [stdout]  --> src/bin/ch13/pattern/gradient.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Gradient {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch13/pattern/gradient.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Gradient {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ring` is never constructed
[INFO] [stdout]  --> src/bin/ch13/pattern/ring.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Ring {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch13/pattern/ring.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Ring {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_transform`, `set_material`, and `get_mut_material` are never used
[INFO] [stdout]   --> src/bin/ch13/shape/mod.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 25 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 26 |     fn get_material(&self) -> &Material;
[INFO] [stdout] 27 |     fn set_material(&mut self, material: Material);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 28 |     fn get_mut_material(&mut self) -> &mut Material;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cone` is never constructed
[INFO] [stdout]   --> src/bin/ch13/shape/cone.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Cone {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_cap` is never used
[INFO] [stdout]   --> src/bin/ch13/shape/cone.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn check_cap(ray: &Ray, t: f64, y: f64) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `intersect_caps` are never used
[INFO] [stdout]   --> src/bin/ch13/shape/cone.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Cone {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 31 |     pub fn new(id: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn intersect_caps(&self, ray: &Ray, xs: &mut Vec<f64>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shearing`, `rotation_x`, `rotation_y`, and `rotation_z` are never used
[INFO] [stdout]   --> src/bin/ch13/transformations.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Transformation {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  9 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 10 |     fn rotation_x(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 11 |     fn rotation_y(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 12 |     fn rotation_z(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `magnitude` is never used
[INFO] [stdout]   --> src/bin/ch13/tuple/color.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Color {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn magnitude(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch13/world.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl World {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read
[INFO] [stdout]    --> src/bin/ch13/world.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct Computations {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 160 |     pub t: f64,
[INFO] [stdout]     |         ^
[INFO] [stdout] 161 |     pub object: Rc<RefCell<dyn Shape>>,
[INFO] [stdout] 162 |     pub point: Point,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub inside: bool,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch10/shape/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pattern::Pattern,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch10/shape/sphere.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch10/ray.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{pattern::Pattern, shape::Shape};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch10/shape/plane.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Write`
[INFO] [stdout]  --> src/bin/ch2/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{io::Write};
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `w`, `dot`, and `cross` are never used
[INFO] [stdout]   --> src/bin/ch2/tuple/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn w(&self) -> f64;
[INFO] [stdout]    |        ^
[INFO] [stdout] 16 |     fn dot(&self, other: Self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch6/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch10/pattern/checkerboard.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch10/pattern/gradient.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch5/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch5/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cross` is never used
[INFO] [stdout]   --> src/bin/ch5/tuple/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch10/pattern/ring.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch5/transformations.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch5/transformations.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch5/transformations.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch5/transformations.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot` and `cross` are never used
[INFO] [stdout]   --> src/bin/ch1/tuple.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl Vector {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn dot(&self, other: Self) -> f64 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch10/shape/plane.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch4/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pattern`
[INFO] [stdout]   --> src/bin/ch11/main.rs:32:39
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pattern::{Checkerboard, Gradient, Pattern, Ring, Stripe},
[INFO] [stdout]    |                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch11/shape/sphere.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch11/shape/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pattern::Pattern,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch11/ray.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{pattern::Pattern, shape::Shape};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch11/shape/plane.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch6/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch6/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch6/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `intersections` is never used
[INFO] [stdout]   --> src/bin/ch6/ray.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn intersections(mut vec: Vec<Intersection>) -> Vec<Intersection> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_transform` is never used
[INFO] [stdout]   --> src/bin/ch6/ray.rs:77:8
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn set_transform(s: Rc<RefCell<dyn Shape>>, t: Matrix<4>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id` and `set_transform` are never used
[INFO] [stdout]   --> src/bin/ch6/shapes/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] 12 |     fn id(&self) -> usize;
[INFO] [stdout]    |        ^^
[INFO] [stdout] 13 |     fn transform(&self) -> Matrix<4>;
[INFO] [stdout] 14 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Transformation` is never used
[INFO] [stdout]  --> src/bin/ch6/transformations.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Transformation {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cross` is never used
[INFO] [stdout]   --> src/bin/ch6/tuple/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch8/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch8/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch8/transformations.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch8/transformations.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch8/transformations.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch8/transformations.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/ch10/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut pattern = Checkerboard::new(Color::WHITE, Color::BLACK);
[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: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch10/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch10/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_material` is never used
[INFO] [stdout]   --> src/bin/ch10/shape/mod.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn set_material(&mut self, material: Material);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch6/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch10/transformations.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch4/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch10/transformations.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch10/transformations.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch10/transformations.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch11/pattern/checkerboard.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch11/pattern/gradient.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `transpose` is never used
[INFO] [stdout]   --> src/bin/ch4/matrix.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl<const N: usize> Matrix<N> {
[INFO] [stdout]    | ------------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn transpose(&self) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/bin/ch4/matrix.rs:30:15
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl Matrix<4> {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 30 |     pub const IDENTITY: Matrix<4> = Matrix {
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn submatrix(&self, row: usize, col: usize) -> Matrix<3> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn determinant(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bin/ch4/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn submatrix(&self, row: usize, col: usize) -> Matrix<2> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     pub fn determinant(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `determinant`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch4/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn determinant(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `scaling`, `shearing`, `rotation_x`, and `rotation_y` are never used
[INFO] [stdout]  --> src/bin/ch4/transformations.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Transformation {
[INFO] [stdout]   |           -------------- methods in this trait
[INFO] [stdout] 2 |     fn translation(&self, x: f64, y: f64, z: f64) -> Self;
[INFO] [stdout] 3 |     fn scaling(&self, x: f64, y: f64, z: f64) -> Self;
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 4 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 5 |     fn rotation_x(&self, r: f64) -> Self;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 6 |     fn rotation_y(&self, r: f64) -> Self;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot`, `cross`, `magnitude`, and `normalize` are never used
[INFO] [stdout]   --> src/bin/ch4/tuple/mod.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn dot(&self, other: Self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn magnitude(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn normalize(&self) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch11/pattern/ring.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch7/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch7/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch7/transformations.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch7/transformations.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch7/transformations.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch7/transformations.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch11/shape/plane.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/ch11/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut pattern = Checkerboard::new(Color::WHITE, Color::BLACK);
[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: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch11/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch11/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_material` is never used
[INFO] [stdout]   --> src/bin/ch11/shape/mod.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 21 |     fn set_material(&mut self, material: Material);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `magnitude` is never used
[INFO] [stdout]   --> src/bin/ch11/tuple/color.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Color {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn magnitude(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Schlick_approximation_under_total_internal_reflection` should have a snake case name
[INFO] [stdout]    --> src/bin/ch11/ray.rs:348:8
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn Schlick_approximation_under_total_internal_reflection() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `schlick_approximation_under_total_internal_reflection`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch11/transformations.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch11/transformations.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch11/transformations.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch11/transformations.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch7/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch9/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::world::World`
[INFO] [stdout]  --> src/bin/ch9/ray.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::world::World;
[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: `rc::Rc`
[INFO] [stdout]  --> src/bin/ch9/shapes/plane.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{f64::EPSILON, rc::Rc};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch9/shapes/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch9/shapes/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch9/shapes/sphere.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch9/shapes/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]   --> src/bin/ch9/shapes/mod.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::is_separator`
[INFO] [stdout]  --> src/bin/ch9/world.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, path::is_separator, rc::Rc};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch9/main.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::Write`
[INFO] [stdout]  --> src/bin/ch2/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{io::Write};
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `w`, `dot`, and `cross` are never used
[INFO] [stdout]   --> src/bin/ch2/tuple/mod.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn w(&self) -> f64;
[INFO] [stdout]    |        ^
[INFO] [stdout] 16 |     fn dot(&self, other: Self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[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 `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch2/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch11/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DEFAULT_REFLECTION_COUNT`
[INFO] [stdout]  --> src/bin/ch11/camera.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     DEFAULT_REFLECTION_COUNT,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/materials.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Stripe`
[INFO] [stdout]  --> src/bin/ch11/materials.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Stripe,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/pattern/stripe.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shape::Shape`
[INFO] [stdout]  --> src/bin/ch11/pattern/stripe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shape::Shape,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/pattern/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transformations::Transformation`
[INFO] [stdout]   --> src/bin/ch11/pattern/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     transformations::Transformation,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `World`
[INFO] [stdout]  --> src/bin/ch11/ray.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::world::{Computations, World};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/shape/plane.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{f64::EPSILON, rc::Rc};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch11/shape/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/shape/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch11/shape/sphere.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch11/shape/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Intersection` and `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch11/shape/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pattern::Pattern,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FRAC_PI_3`, `FRAC_PI_4`, and `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch11/main.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                              ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Gradient`, `Ring`, `Stripe`, and `lights::PointLight`
[INFO] [stdout]   --> src/bin/ch11/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     lights::PointLight,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     pattern::{Checkerboard, Gradient, Pattern, Ring, Stripe},
[INFO] [stdout]    |                             ^^^^^^^^           ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch10/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/materials.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{cell::RefCell, rc::Rc};
[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: `pattern::Stripe`
[INFO] [stdout]  --> src/bin/ch10/materials.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Stripe,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/pattern/stripe.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shape::Shape`
[INFO] [stdout]  --> src/bin/ch10/pattern/stripe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shape::Shape,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/pattern/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `transformations::Transformation`
[INFO] [stdout]   --> src/bin/ch10/pattern/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     transformations::Transformation,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::world::World`
[INFO] [stdout]  --> src/bin/ch10/ray.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::world::World;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/shape/plane.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{f64::EPSILON, rc::Rc};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch10/shape/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/shape/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch10/shape/sphere.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch10/shape/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Intersection` and `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch10/shape/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pattern::Pattern,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch10/main.rs:21:52
[INFO] [stdout]    |
[INFO] [stdout] 21 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bin/ch11/pattern/mod.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn pattern_at_shape(&self, shape: &Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] 20 |     fn pattern_at_shape(&self, shape: &dyn Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field_of_view` is never read
[INFO] [stdout]   --> src/bin/ch7/camera.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub field_of_view: f64,
[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 `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch7/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch12/shape/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pattern::Pattern,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch12/shape/sphere.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch12/ray.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{pattern::Pattern, shape::Shape};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch12/shape/plane.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch7/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch7/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_transform` is never used
[INFO] [stdout]   --> src/bin/ch7/ray.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn set_transform(s: Rc<RefCell<dyn Shape>>, t: Matrix<4>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_transform` and `get_mut_material` are never used
[INFO] [stdout]   --> src/bin/ch7/shapes/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 15 |     fn material(&self) -> Material;
[INFO] [stdout] 16 |     fn get_mut_material(&mut self) -> &mut Material;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shearing` and `rotation_z` are never used
[INFO] [stdout]   --> src/bin/ch7/transformations.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Transformation {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  9 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn rotation_z(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch7/world.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl World {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `t` and `inside` are never read
[INFO] [stdout]   --> src/bin/ch7/world.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Computations {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 63 |     t: f64,
[INFO] [stdout]    |     ^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     inside: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch8/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::is_separator`
[INFO] [stdout]  --> src/bin/ch8/world.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, path::is_separator, rc::Rc};
[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: `FRAC_PI_3`
[INFO] [stdout]   --> src/bin/ch8/main.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4},
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bin/ch10/pattern/mod.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn pattern_at_shape(&self, shape: &Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] 20 |     fn pattern_at_shape(&self, shape: &dyn Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch9/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::world::World`
[INFO] [stdout]  --> src/bin/ch9/ray.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::world::World;
[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: `Tuple`
[INFO] [stdout]  --> src/bin/ch9/ray.rs:9:20
[INFO] [stdout]   |
[INFO] [stdout] 9 |     tuple::{Point, Tuple, Vector},
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch9/shapes/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]   --> src/bin/ch9/shapes/plane.rs:63:15
[INFO] [stdout]    |
[INFO] [stdout] 63 |     use std::{borrow::BorrowMut, cell::RefCell};
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch9/shapes/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch9/shapes/sphere.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch9/shapes/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]   --> src/bin/ch9/shapes/mod.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `any::type_name`
[INFO] [stdout]   --> src/bin/ch9/shapes/mod.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         any::type_name,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `path::is_separator`
[INFO] [stdout]  --> src/bin/ch9/world.rs:1:26
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, path::is_separator, rc::Rc};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cell::RefMut`
[INFO] [stdout]    --> src/bin/ch9/world.rs:163:34
[INFO] [stdout]     |
[INFO] [stdout] 163 |     use std::{borrow::BorrowMut, cell::RefMut};
[INFO] [stdout]     |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch9/main.rs:20:52
[INFO] [stdout]    |
[INFO] [stdout] 20 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pattern`
[INFO] [stdout]   --> src/bin/ch11/main.rs:32:39
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pattern::{Checkerboard, Gradient, Pattern, Ring, Stripe},
[INFO] [stdout]    |                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch11/shape/sphere.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch11/ray.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{pattern::Pattern, shape::Shape};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch11/shape/plane.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch12/pattern/checkerboard.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch12/pattern/gradient.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch12/pattern/ring.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch9/shapes/plane.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch10/shape/sphere.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch11/pattern/checkerboard.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch11/pattern/gradient.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch11/pattern/ring.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch10/ray.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{pattern::Pattern, shape::Shape};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Tuple`
[INFO] [stdout]  --> src/bin/ch10/ray.rs:8:20
[INFO] [stdout]   |
[INFO] [stdout] 8 |     tuple::{Point, Tuple, Vector},
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch10/shape/plane.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field_of_view` is never read
[INFO] [stdout]   --> src/bin/ch9/camera.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub field_of_view: f64,
[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 `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch9/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch9/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch9/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_transform` and `get_mut_material` are never used
[INFO] [stdout]   --> src/bin/ch9/shapes/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 19 |     fn get_material(&self) -> Material;
[INFO] [stdout] 20 |     fn get_mut_material(self: &mut Self) -> &mut Material;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shearing` and `rotation_z` are never used
[INFO] [stdout]   --> src/bin/ch9/transformations.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Transformation {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  9 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn rotation_z(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch9/world.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl World {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read
[INFO] [stdout]   --> src/bin/ch9/world.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct Computations {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 78 |     t: f64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 79 |     object: Rc<RefCell<dyn Shape>>,
[INFO] [stdout] 80 |     point: Point,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     inside: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch11/shape/plane.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch12/shape/cube.rs:58:33
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn set_transform(&mut self, transform: crate::matrix::Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/bin/ch12/shape/cube.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn set_material(&mut self, material: crate::materials::Material) {
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch12/shape/plane.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `field_of_view` is never read
[INFO] [stdout]   --> src/bin/ch8/camera.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub field_of_view: f64,
[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 `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch8/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch8/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch8/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_transform` is never used
[INFO] [stdout]   --> src/bin/ch8/ray.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn set_transform(s: Rc<RefCell<dyn Shape>>, t: Matrix<4>) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_transform` and `get_mut_material` are never used
[INFO] [stdout]   --> src/bin/ch8/shapes/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 15 |     fn material(&self) -> Material;
[INFO] [stdout] 16 |     fn get_mut_material(&mut self) -> &mut Material;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shearing` and `rotation_z` are never used
[INFO] [stdout]   --> src/bin/ch8/transformations.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Transformation {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  9 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn rotation_z(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch8/world.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl World {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read
[INFO] [stdout]   --> src/bin/ch8/world.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct Computations {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 64 |     t: f64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 65 |     object: Rc<RefCell<dyn Shape>>,
[INFO] [stdout] 66 |     point: Point,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     inside: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch13/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch10/pattern/checkerboard.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch10/pattern/gradient.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Stripe`
[INFO] [stdout]  --> src/bin/ch13/materials.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Stripe,
[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: `f64::consts::FRAC_2_PI`
[INFO] [stdout]   --> src/bin/ch13/materials.rs:90:43
[INFO] [stdout]    |
[INFO] [stdout] 90 |     use std::{f64::consts::FRAC_1_SQRT_2, f64::consts::FRAC_2_PI};
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Intersection`, `Plane`, and `Ray`
[INFO] [stdout]   --> src/bin/ch13/materials.rs:94:15
[INFO] [stdout]    |
[INFO] [stdout] 94 |         ray::{Intersection, Ray},
[INFO] [stdout]    |               ^^^^^^^^^^^^  ^^^
[INFO] [stdout] 95 |         shape::{Plane, Sphere},
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch10/pattern/ring.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `shape::Shape`
[INFO] [stdout]  --> src/bin/ch13/pattern/stripe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     shape::Shape,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/pattern/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `World`
[INFO] [stdout]  --> src/bin/ch13/ray.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::world::{Computations, World};
[INFO] [stdout]   |                                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DEFAULT_REFLECTION_COUNT` and `tuple::Color`
[INFO] [stdout]   --> src/bin/ch13/ray.rs:94:73
[INFO] [stdout]    |
[INFO] [stdout] 94 |         matrix::Matrix, shape::Sphere, transformations::Transformation, tuple::Color,
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^
[INFO] [stdout] 95 |         world::prepare_computations, DEFAULT_REFLECTION_COUNT,
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/bin/ch13/shape/cube.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 |     tuple::{Point, Tuple, Vector},
[INFO] [stdout]   |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch6/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch6/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `cross` is never used
[INFO] [stdout]   --> src/bin/ch6/tuple/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch6/transformations.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch6/transformations.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch6/transformations.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch6/transformations.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `float_cmp::approx_eq`
[INFO] [stdout]  --> src/bin/ch13/shape/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use float_cmp::approx_eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/shape/sphere.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]  --> src/bin/ch13/shape/sphere.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     ray::{Intersection, Ray},
[INFO] [stdout]   |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]  --> src/bin/ch13/shape/mod.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::{cell::RefCell, fmt::Debug, rc::Rc};
[INFO] [stdout]   |           ^^^^^^^^^^^^^              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Intersection`
[INFO] [stdout]   --> src/bin/ch13/shape/mod.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ray::{Intersection, Ray},
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `any::type_name`
[INFO] [stdout]   --> src/bin/ch13/shape/mod.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         any::type_name,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cell::RefMut`
[INFO] [stdout]    --> src/bin/ch13/world.rs:276:9
[INFO] [stdout]     |
[INFO] [stdout] 276 |         cell::RefMut,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `materials::Material`
[INFO] [stdout]   --> src/bin/ch13/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use materials::Material;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FRAC_PI_3`, `FRAC_PI_4`, and `FRAC_PI_6`
[INFO] [stdout]   --> src/bin/ch13/main.rs:24:30
[INFO] [stdout]    |
[INFO] [stdout] 24 |     f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4, FRAC_PI_6},
[INFO] [stdout]    |                              ^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cone`, `Gradient`, `Ring`, and `lights::PointLight`
[INFO] [stdout]   --> src/bin/ch13/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     lights::PointLight,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     pattern::{Checkerboard, Gradient, Pattern, Ring, Stripe},
[INFO] [stdout]    |                             ^^^^^^^^           ^^^^
[INFO] [stdout] 35 |     shape::{Cone, Cylinder},
[INFO] [stdout]    |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch10/shape/plane.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/ch11/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let mut pattern = Checkerboard::new(Color::WHITE, Color::BLACK);
[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: field `field_of_view` is never read
[INFO] [stdout]   --> src/bin/ch11/camera.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub field_of_view: f64,
[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 `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch11/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch11/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch11/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `transform` and `set_transform` are never used
[INFO] [stdout]   --> src/bin/ch11/pattern/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Pattern: Debug {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn transform(&self) -> Matrix<4>;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 25 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Gradient` is never constructed
[INFO] [stdout]  --> src/bin/ch11/pattern/gradient.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Gradient {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch11/pattern/gradient.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Gradient {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ring` is never constructed
[INFO] [stdout]  --> src/bin/ch11/pattern/ring.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Ring {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch11/pattern/ring.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Ring {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stripe` is never constructed
[INFO] [stdout]   --> src/bin/ch11/pattern/stripe.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Stripe {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch11/pattern/stripe.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Stripe {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 21 |     pub fn new(a: Color, b: Color) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_transform`, `set_material`, and `get_mut_material` are never used
[INFO] [stdout]   --> src/bin/ch11/shape/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 20 |     fn get_material(&self) -> &Material;
[INFO] [stdout] 21 |     fn set_material(&mut self, material: Material);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 22 |     fn get_mut_material(&mut self) -> &mut Material;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shearing`, `rotation_y`, and `rotation_z` are never used
[INFO] [stdout]   --> src/bin/ch11/transformations.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Transformation {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  9 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 10 |     fn rotation_x(&self, r: f64) -> Self;
[INFO] [stdout] 11 |     fn rotation_y(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 12 |     fn rotation_z(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `magnitude` is never used
[INFO] [stdout]   --> src/bin/ch11/tuple/color.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Color {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn magnitude(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch11/world.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl World {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read
[INFO] [stdout]    --> src/bin/ch11/world.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Computations {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 159 |     pub t: f64,
[INFO] [stdout]     |         ^
[INFO] [stdout] 160 |     pub object: Rc<RefCell<dyn Shape>>,
[INFO] [stdout] 161 |     pub point: Point,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub inside: bool,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/ch10/main.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut pattern = Checkerboard::new(Color::WHITE, Color::BLACK);
[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: field `field_of_view` is never read
[INFO] [stdout]   --> src/bin/ch10/camera.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     pub field_of_view: f64,
[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 `pixel_at` is never used
[INFO] [stdout]   --> src/bin/ch10/canvas/mod.rs:28:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn pixel_at(&self, x: usize, y: usize) -> Color {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch10/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch10/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `transform` and `set_transform` are never used
[INFO] [stdout]   --> src/bin/ch10/pattern/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Pattern: Debug {
[INFO] [stdout]    |           ------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn transform(&self) -> Matrix<4>;
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 25 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_transform`, `set_material`, and `get_mut_material` are never used
[INFO] [stdout]   --> src/bin/ch10/shape/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn set_transform(&mut self, transform: Matrix<4>);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 20 |     fn get_material(&self) -> &Material;
[INFO] [stdout] 21 |     fn set_material(&mut self, material: Material);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 22 |     fn get_mut_material(&mut self) -> &mut Material;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shearing` and `rotation_z` are never used
[INFO] [stdout]   --> src/bin/ch10/transformations.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait Transformation {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  9 |     fn shearing(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     fn rotation_z(&self, r: f64) -> Self;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/ch10/world.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl World {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `t`, `point`, and `inside` are never read
[INFO] [stdout]   --> src/bin/ch10/world.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct Computations {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 78 |     t: f64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 79 |     object: Rc<RefCell<dyn Shape>>,
[INFO] [stdout] 80 |     point: Point,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     inside: bool,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes
[INFO] [stdout]  --> src/bin/ch4/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(generic_const_exprs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #76560 <https://github.com/rust-lang/rust/issues/76560> for more information
[INFO] [stdout]   = note: `#[warn(incomplete_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/bin/ch13/pattern/mod.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn pattern_at_shape(&self, shape: &Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) 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] 20 |     fn pattern_at_shape(&self, shape: &dyn Shape, point: &Point) -> Color {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `float_cmp` is never used
[INFO] [stdout]    --> src/bin/ch12/main.rs:144:4
[INFO] [stdout]     |
[INFO] [stdout] 144 | fn float_cmp(first: &f64, second: &f64) -> std::cmp::Ordering {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch12/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch12/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_material` is never used
[INFO] [stdout]   --> src/bin/ch12/shape/mod.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn set_material(&mut self, material: Material);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `magnitude` is never used
[INFO] [stdout]   --> src/bin/ch12/tuple/color.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Color {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn magnitude(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Schlick_approximation_under_total_internal_reflection` should have a snake case name
[INFO] [stdout]    --> src/bin/ch12/ray.rs:348:8
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn Schlick_approximation_under_total_internal_reflection() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `schlick_approximation_under_total_internal_reflection`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch12/transformations.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch12/transformations.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch12/transformations.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch12/transformations.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::BorrowMut`
[INFO] [stdout]    --> src/bin/ch9/world.rs:163:15
[INFO] [stdout]     |
[INFO] [stdout] 163 |     use std::{borrow::BorrowMut, cell::RefMut};
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch9/shapes/plane.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch9/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch4/matrix.rs:92:15
[INFO] [stdout]     |
[INFO] [stdout]  91 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  92 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch9/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch4/matrix.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 148 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 149 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `dot`, `cross`, `magnitude`, and `normalize` are never used
[INFO] [stdout]   --> src/bin/ch4/tuple/mod.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait Tuple: Add + Sub + Neg + Mul<f64> + Div<f64> + Sized {
[INFO] [stdout]    |           ----- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 16 |     fn dot(&self, other: Self) -> f64 {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cross(&self, other: Self) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn magnitude(&self) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn normalize(&self) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch4/transformations.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch4/transformations.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch4/transformations.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch4/transformations.rs:171:13
[INFO] [stdout]     |
[INFO] [stdout] 171 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch9/transformations.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch9/transformations.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch9/transformations.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch9/transformations.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch13/shape/sphere.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]  --> src/bin/ch13/shape/plane.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pattern::Pattern,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch13/ray.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{pattern::Pattern, shape::Shape};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pattern::Pattern`
[INFO] [stdout]   --> src/bin/ch13/shape/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pattern::Pattern,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/pattern/checkerboard.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/pattern/gradient.rs:34:33
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/pattern/ring.rs:29:33
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/shape/cone.rs:75:33
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn set_transform(&mut self, transform: Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/bin/ch13/shape/cone.rs:83:32
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn set_material(&mut self, material: Material) {
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/shape/cube.rs:58:33
[INFO] [stdout]    |
[INFO] [stdout] 58 |     fn set_transform(&mut self, transform: crate::matrix::Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/bin/ch13/shape/cube.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn set_material(&mut self, material: crate::materials::Material) {
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform`
[INFO] [stdout]   --> src/bin/ch13/shape/cylinder.rs:76:33
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn set_transform(&mut self, transform: crate::matrix::Matrix<4>) {
[INFO] [stdout]    |                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/bin/ch13/shape/cylinder.rs:84:32
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn set_material(&mut self, material: crate::materials::Material) {
[INFO] [stdout]    |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/bin/ch13/shape/plane.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn local_normal_at(&self, p: &crate::tuple::Point) -> crate::tuple::Vector {
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `float_cmp` is never used
[INFO] [stdout]    --> src/bin/ch13/main.rs:160:4
[INFO] [stdout]     |
[INFO] [stdout] 160 | fn float_cmp(first: &f64, second: &f64) -> std::cmp::Ordering {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch13/matrix.rs:98:15
[INFO] [stdout]     |
[INFO] [stdout]  97 | impl Matrix<3> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  98 |     pub const IDENTITY: Matrix<3> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `IDENTITY`, `minor`, `cofactor`, `is_invertible`, and `inverse` are never used
[INFO] [stdout]    --> src/bin/ch13/matrix.rs:155:15
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl Matrix<2> {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 155 |     pub const IDENTITY: Matrix<2> = Matrix {
[INFO] [stdout]     |               ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 158 |     pub fn minor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_invertible(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn inverse(&self) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_material` is never used
[INFO] [stdout]   --> src/bin/ch13/shape/mod.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub trait Shape: Debug {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn set_material(&mut self, material: Material);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `magnitude` is never used
[INFO] [stdout]   --> src/bin/ch13/tuple/color.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Color {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn magnitude(&self) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `Schlick_approximation_under_total_internal_reflection` should have a snake case name
[INFO] [stdout]    --> src/bin/ch13/ray.rs:348:8
[INFO] [stdout]     |
[INFO] [stdout] 348 |     fn Schlick_approximation_under_total_internal_reflection() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `schlick_approximation_under_total_internal_reflection`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A` should have a snake case name
[INFO] [stdout]    --> src/bin/ch13/transformations.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |         let A = Matrix::<4>::IDENTITY.rotation_x(FRAC_PI_2);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]    --> src/bin/ch13/transformations.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let B = Matrix::<4>::IDENTITY.scaling(5.0, 5.0, 5.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]    --> src/bin/ch13/transformations.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |         let C = Matrix::<4>::IDENTITY.translation(10.0, 5.0, 7.0);
[INFO] [stdout]     |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T` should have a snake case name
[INFO] [stdout]    --> src/bin/ch13/transformations.rs:190:13
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let T = Matrix::<4>::IDENTITY
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.66s
[INFO] running `Command { std: "docker" "inspect" "46db0895f42a636436834d4a7f880c08e93e2d4fa1568f4f04dd4dfa0714ec46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46db0895f42a636436834d4a7f880c08e93e2d4fa1568f4f04dd4dfa0714ec46", kill_on_drop: false }`
[INFO] [stdout] 46db0895f42a636436834d4a7f880c08e93e2d4fa1568f4f04dd4dfa0714ec46
