[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] 581801b3abc17a9400a964793f0a1b350dd0c172 [INFO] checking dbearden/Ray-Tracer-Challenge against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbearden%2FRay-Tracer-Challenge" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dbearden/Ray-Tracer-Challenge on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-9/source/Cargo.toml [INFO] crate git repo https://github.com/dbearden/Ray-Tracer-Challenge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 343753e14767b4ab7402ea3dd1fa27947e4e3c68ff003ea9d89c9c194033a2d6 [INFO] running `Command { std: "docker" "start" "-a" "343753e14767b4ab7402ea3dd1fa27947e4e3c68ff003ea9d89c9c194033a2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "343753e14767b4ab7402ea3dd1fa27947e4e3c68ff003ea9d89c9c194033a2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343753e14767b4ab7402ea3dd1fa27947e4e3c68ff003ea9d89c9c194033a2d6", kill_on_drop: false }` [INFO] [stdout] 343753e14767b4ab7402ea3dd1fa27947e4e3c68ff003ea9d89c9c194033a2d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01ef4821c3c44e5018518a2a16fb707996817e4c00c4d0c11fe770f0e6c7df80 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "01ef4821c3c44e5018518a2a16fb707996817e4c00c4d0c11fe770f0e6c7df80", 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 `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch4/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch4/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` 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(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch7/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` 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(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch6/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` 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(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch5/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch3/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch3/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch4/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch4/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/bin/ch1/tuple.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dot(&self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/bin/ch1/tuple.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn cross(&self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` 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(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch8/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FRAC_PI_3` [INFO] [stdout] --> src/bin/ch8/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` 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(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch5/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/bin/ch1/tuple.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn dot(&self, other: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/bin/ch1/tuple.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn cross(&self, other: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch3/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch3/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` 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(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch7/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` 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(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch8/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FRAC_PI_3` [INFO] [stdout] --> src/bin/ch8/main.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | f64::consts::{FRAC_PI_2, FRAC_PI_3, FRAC_PI_4}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_generics` 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(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_evaluatable_checked` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/bin/ch6/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_evaluatable_checked)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_at` [INFO] [stdout] --> src/bin/ch2/canvas/mod.rs:28:12 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_at` [INFO] [stdout] --> src/bin/ch4/canvas/mod.rs:28:12 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpose` [INFO] [stdout] --> src/bin/ch4/matrix.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch4/matrix.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / pub const IDENTITY: Matrix<4> = Matrix { [INFO] [stdout] 31 | | data: [ [INFO] [stdout] 32 | | [1.0, 0.0, 0.0, 0.0], [INFO] [stdout] 33 | | [0.0, 1.0, 0.0, 0.0], [INFO] [stdout] ... | [INFO] [stdout] 36 | | ], [INFO] [stdout] 37 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `submatrix` [INFO] [stdout] --> src/bin/ch4/matrix.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn submatrix(&self, row: usize, col: usize) -> Matrix<3> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch4/matrix.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch4/matrix.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `determinant` [INFO] [stdout] --> src/bin/ch4/matrix.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn determinant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch4/matrix.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch4/matrix.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch4/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `submatrix` [INFO] [stdout] --> src/bin/ch4/matrix.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn submatrix(&self, row: usize, col: usize) -> Matrix<2> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch4/matrix.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch4/matrix.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `determinant` [INFO] [stdout] --> src/bin/ch4/matrix.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn determinant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch4/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch4/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch4/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch4/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch4/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `determinant` [INFO] [stdout] --> src/bin/ch4/matrix.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn determinant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch4/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch4/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_at` [INFO] [stdout] --> src/bin/ch5/canvas/mod.rs:28:12 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transpose` [INFO] [stdout] --> src/bin/ch5/matrix.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch5/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch5/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch5/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch5/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch5/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch5/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch5/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch5/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `position` [INFO] [stdout] --> src/bin/ch5/ray.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn position(&self, t: f64) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `intersections` [INFO] [stdout] --> src/bin/ch5/ray.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn intersections(mut vec: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_at` [INFO] [stdout] --> src/bin/ch6/canvas/mod.rs:28:12 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch6/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch6/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch6/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch6/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch6/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch6/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch6/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch6/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `intersections` [INFO] [stdout] --> src/bin/ch6/ray.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn intersections(mut vec: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_transform` [INFO] [stdout] --> src/bin/ch6/ray.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn set_transform(s: Rc>, t: Matrix<4>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_ppm` [INFO] [stdout] --> src/bin/ch3/canvas/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn to_ppm(&self, filename: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch3/matrix.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 91 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 92 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch3/matrix.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch3/matrix.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch3/matrix.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 148 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 149 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch3/matrix.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch3/matrix.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch3/matrix.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch3/matrix.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Canvas` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/ch3/canvas/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/bin/ch3/canvas/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn write(&mut self, x: usize, y: usize, color: Color) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_at` [INFO] [stdout] --> src/bin/ch3/canvas/mod.rs:28:12 [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 function is never used: `to_ppm` [INFO] [stdout] --> src/bin/ch3/canvas/mod.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn to_ppm(&self, filename: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch3/matrix.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 91 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 92 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch3/matrix.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch3/matrix.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch3/matrix.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 148 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 149 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch3/matrix.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch3/matrix.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch3/matrix.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch3/matrix.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_at` [INFO] [stdout] --> src/bin/ch7/canvas/mod.rs:28:12 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch7/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch7/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch7/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch7/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch7/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch7/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch7/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch7/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_transform` [INFO] [stdout] --> src/bin/ch7/ray.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn set_transform(s: Rc>, t: Matrix<4>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/ch7/world.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pixel_at` [INFO] [stdout] --> src/bin/ch8/canvas/mod.rs:28:12 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch8/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch8/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch8/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch8/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch8/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch8/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch8/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch8/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_transform` [INFO] [stdout] --> src/bin/ch8/ray.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn set_transform(s: Rc>, t: Matrix<4>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/ch8/world.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch4/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch4/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch4/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch4/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch4/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch4/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch4/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch4/matrix.rs:164:12 [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/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)]` 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch5/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch5/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch5/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch5/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch5/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch5/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch5/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch5/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch6/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch6/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch6/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch6/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch6/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch6/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch6/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch6/matrix.rs:164:12 [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/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)]` 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: 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)]` 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch7/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch7/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch7/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch7/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch7/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch7/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch7/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch7/matrix.rs:164:12 [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)]` 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: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch8/matrix.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / pub const IDENTITY: Matrix<3> = Matrix { [INFO] [stdout] 93 | | data: [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0], [0.0, 0.0, 1.0]], [INFO] [stdout] 94 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch8/matrix.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch8/matrix.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `IDENTITY` [INFO] [stdout] --> src/bin/ch8/matrix.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub const IDENTITY: Matrix<2> = Matrix { [INFO] [stdout] 150 | | data: [[1.0, 0.0], [0.0, 1.0]], [INFO] [stdout] 151 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minor` [INFO] [stdout] --> src/bin/ch8/matrix.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cofactor` [INFO] [stdout] --> src/bin/ch8/matrix.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_invertible` [INFO] [stdout] --> src/bin/ch8/matrix.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inverse` [INFO] [stdout] --> src/bin/ch8/matrix.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [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)]` 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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.77s [INFO] running `Command { std: "docker" "inspect" "01ef4821c3c44e5018518a2a16fb707996817e4c00c4d0c11fe770f0e6c7df80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ef4821c3c44e5018518a2a16fb707996817e4c00c4d0c11fe770f0e6c7df80", kill_on_drop: false }` [INFO] [stdout] 01ef4821c3c44e5018518a2a16fb707996817e4c00c4d0c11fe770f0e6c7df80