[INFO] cloning repository https://github.com/jhmcwhirter/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/jhmcwhirter/ray-tracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhmcwhirter%2Fray-tracer-challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhmcwhirter%2Fray-tracer-challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecb254f71c82e7219de93fc42f5604b8ed1f7a1a [INFO] checking jhmcwhirter/ray-tracer-challenge against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhmcwhirter%2Fray-tracer-challenge" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhmcwhirter/ray-tracer-challenge on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jhmcwhirter/ray-tracer-challenge [INFO] finished tweaking git repo https://github.com/jhmcwhirter/ray-tracer-challenge [INFO] tweaked toml for git repo https://github.com/jhmcwhirter/ray-tracer-challenge written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jhmcwhirter/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd304e787acdfecc11a550221d39f7827455965cfa901ca6af1ee133cb25a8ec [INFO] running `Command { std: "docker" "start" "-a" "bd304e787acdfecc11a550221d39f7827455965cfa901ca6af1ee133cb25a8ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd304e787acdfecc11a550221d39f7827455965cfa901ca6af1ee133cb25a8ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd304e787acdfecc11a550221d39f7827455965cfa901ca6af1ee133cb25a8ec", kill_on_drop: false }` [INFO] [stdout] bd304e787acdfecc11a550221d39f7827455965cfa901ca6af1ee133cb25a8ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 858382aee744c3afe646aedc717dd314379063d1a7e7d9f5c523880950dd7a9c [INFO] running `Command { std: "docker" "start" "-a" "858382aee744c3afe646aedc717dd314379063d1a7e7d9f5c523880950dd7a9c", kill_on_drop: false }` [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/transformations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tuple::Tuple` [INFO] [stdout] --> src/transformations.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::tuple::Tuple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::matrix::Matrix` [INFO] [stdout] --> src/transformations.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::matrix::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next` is never read [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | let mut next = start; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rad` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | fn rad(deg: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tuple.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Tuple { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn equals(&self, t: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn magnitude(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn normalize(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn dot(&self, t: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn cross(&self, t: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn vector(x: f64, y: f64, z: f64) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_at` and `fill_with` are never used [INFO] [stdout] --> src/canvas.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Canvas{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn pixel_at(&self, x: usize, y: usize) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn fill_with(&mut self, color: Tuple) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/canvas.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | struct Pixel { x: usize, y: usize, color: Tuple } [INFO] [stdout] | ----- ^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/matrix.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn equals(&self, m: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rows(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn cols(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn determinant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn submatrix(&self, row: usize, col: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn scaling(x: f64, y: f64, z: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn scale(&self, x: f64, y: f64, z: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn rotation_x(r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn rotate_x(&self, r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn rotation_y(r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn rotate_y(&self, r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn shearing(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn shear(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/ray.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Ray{ pub origin: Tuple, direction: Tuple } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `position` are never used [INFO] [stdout] --> src/ray.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 4 | impl Ray{ [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 5 | pub fn new(origin: Tuple, direction: Tuple) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub fn position(&self, t: f64) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | fs::write(filename, ppm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = fs::write(filename, ppm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next` is never read [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | let mut next = start; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/tuple.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Tuple { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/canvas.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | struct Pixel { x: usize, y: usize, color: Tuple } [INFO] [stdout] | ----- ^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate_y` and `shear` are never used [INFO] [stdout] --> src/matrix.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Matrix { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn rotate_y(&self, r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn shear(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | fs::write(filename, ppm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = fs::write(filename, ppm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "858382aee744c3afe646aedc717dd314379063d1a7e7d9f5c523880950dd7a9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "858382aee744c3afe646aedc717dd314379063d1a7e7d9f5c523880950dd7a9c", kill_on_drop: false }` [INFO] [stdout] 858382aee744c3afe646aedc717dd314379063d1a7e7d9f5c523880950dd7a9c [INFO] checking jhmcwhirter/ray-tracer-challenge against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhmcwhirter%2Fray-tracer-challenge" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhmcwhirter/ray-tracer-challenge on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jhmcwhirter/ray-tracer-challenge [INFO] finished tweaking git repo https://github.com/jhmcwhirter/ray-tracer-challenge [INFO] tweaked toml for git repo https://github.com/jhmcwhirter/ray-tracer-challenge written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jhmcwhirter/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc500bea55e2e1670c823fae7c1bd1b218c7ba0c5b42a53dcd74b620ee90d8d [INFO] running `Command { std: "docker" "start" "-a" "2fc500bea55e2e1670c823fae7c1bd1b218c7ba0c5b42a53dcd74b620ee90d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc500bea55e2e1670c823fae7c1bd1b218c7ba0c5b42a53dcd74b620ee90d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc500bea55e2e1670c823fae7c1bd1b218c7ba0c5b42a53dcd74b620ee90d8d", kill_on_drop: false }` [INFO] [stdout] 2fc500bea55e2e1670c823fae7c1bd1b218c7ba0c5b42a53dcd74b620ee90d8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10634b50ab2cd1f07a10d44f6faa0427976b15daa2bbfac62478899d7a9645a0 [INFO] running `Command { std: "docker" "start" "-a" "10634b50ab2cd1f07a10d44f6faa0427976b15daa2bbfac62478899d7a9645a0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking ray-tracer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: value assigned to `next` is never read [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | let mut next = start; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/tuple.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Tuple { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/canvas.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | struct Pixel { x: usize, y: usize, color: Tuple } [INFO] [stdout] | ----- ^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate_y` and `shear` are never used [INFO] [stdout] --> src/matrix.rs:143:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Matrix { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn rotate_y(&self, r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn shear(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | fs::write(filename, ppm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = fs::write(filename, ppm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/transformations.rs (3 fixes) [INFO] [stdout] warning: value assigned to `next` is never read [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | let mut next = start; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rad` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | fn rad(deg: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tuple.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Tuple { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn equals(&self, t: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn magnitude(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn normalize(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn dot(&self, t: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn cross(&self, t: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn vector(x: f64, y: f64, z: f64) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_at` and `fill_with` are never used [INFO] [stdout] --> src/canvas.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Canvas{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn pixel_at(&self, x: usize, y: usize) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn fill_with(&mut self, color: Tuple) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/canvas.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | struct Pixel { x: usize, y: usize, color: Tuple } [INFO] [stdout] | ----- ^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/matrix.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn equals(&self, m: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rows(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn cols(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn determinant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn submatrix(&self, row: usize, col: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn scaling(x: f64, y: f64, z: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn scale(&self, x: f64, y: f64, z: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn rotation_x(r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn rotate_x(&self, r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn rotation_y(r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn rotate_y(&self, r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn shearing(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn shear(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/ray.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Ray{ pub origin: Tuple, direction: Tuple } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `position` are never used [INFO] [stdout] --> src/ray.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 4 | impl Ray{ [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 5 | pub fn new(origin: Tuple, direction: Tuple) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub fn position(&self, t: f64) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | fs::write(filename, ppm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = fs::write(filename, ppm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ray-tracer v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: value assigned to `next` is never read [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | let mut next = start; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rad` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | fn rad(deg: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tuple.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Tuple { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn equals(&self, t: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn magnitude(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn normalize(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn dot(&self, t: Self) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn cross(&self, t: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn vector(x: f64, y: f64, z: f64) -> Tuple { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_at` and `fill_with` are never used [INFO] [stdout] --> src/canvas.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 5 | impl Canvas{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn pixel_at(&self, x: usize, y: usize) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn fill_with(&mut self, color: Tuple) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/canvas.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | struct Pixel { x: usize, y: usize, color: Tuple } [INFO] [stdout] | ----- ^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/matrix.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 6 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn equals(&self, m: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn rows(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn cols(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn transpose(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn determinant(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn submatrix(&self, row: usize, col: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn minor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn cofactor(&self, row: usize, col: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn invertible(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn inverse(&self) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn scaling(x: f64, y: f64, z: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn scale(&self, x: f64, y: f64, z: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn rotation_x(r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn rotate_x(&self, r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn rotation_y(r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn rotate_y(&self, r: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn shearing(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn shear(&self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/ray.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Ray{ pub origin: Tuple, direction: Tuple } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `position` are never used [INFO] [stdout] --> src/ray.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 4 | impl Ray{ [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 5 | pub fn new(origin: Tuple, direction: Tuple) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub fn position(&self, t: f64) -> Tuple { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | fs::write(filename, ppm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = fs::write(filename, ppm); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | let t = Matrix::translation(5.0, -3.0, 2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | let p = Tuple::point(-3.0, 4.0, 5.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | assert!((t * p).equals(Tuple::point(2.0, 1.0, 7.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | let t = Matrix::translation(5.0, -3.0, 2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | let p = Tuple::point(-3.0, 4.0, 5.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | assert!((i * p).equals(Tuple::point(-8.0, 7.0, 3.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | let t = Matrix::translation(5.0, -3.0, 2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | let v = Tuple::vector(-3.0, 4.0, 5.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | let t = Matrix::scaling(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | let p = Tuple::point(-4.0, 6.0, 8.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | assert!((t * p).equals(Tuple::point(-8.0, 18.0, 32.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | let t = Matrix::scaling(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | let v = Tuple::vector(-4.0, 6.0, 8.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | assert!((t * v).equals(Tuple::vector(-8.0, 18.0, 32.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | let t = Matrix::scaling(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | let v = Tuple::vector(-4.0, 6.0, 8.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | assert!((i * v).equals(Tuple::vector(-2.0, 2.0, 2.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | let t = Matrix::scaling(-1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | let p = Tuple::point(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | assert!((t * p).equals(Tuple::point(-2.0, 3.0, 4.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | let p = Tuple::point(0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | let hq = Matrix::rotation_x(PI/4.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | let hq = Matrix::rotation_x(PI/4.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | let fq = Matrix::rotation_x(PI/2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | let fq = Matrix::rotation_x(PI/2.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | assert!((hq * p).equals(Tuple::point(0.0, f64::sqrt(2.0) / 2.0, f64::sqrt(2.0) / 2.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 52 | assert!((fq * p).equals(Tuple::point(0.0, 0.0, 1.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | let p = Tuple::point(0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | let hq = Matrix::rotation_x(PI/4.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | let hq = Matrix::rotation_x(PI/4.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | assert!((inv * p).equals(Tuple::point(0.0, f64::sqrt(2.0) / 2.0, -(f64::sqrt(2.0) / 2.0)))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | let p = Tuple::point(0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | let hq = Matrix::rotation_y(PI/4.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | let hq = Matrix::rotation_y(PI/4.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | let fq = Matrix::rotation_y(PI/2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | let fq = Matrix::rotation_y(PI/2.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | assert!((hq * p).equals(Tuple::point(f64::sqrt(2.0) / 2.0, 0.0, f64::sqrt(2.0) / 2.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | assert!((fq * p).equals(Tuple::point(1.0, 0.0, 0.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | let p = Tuple::point(0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | let hq = Matrix::rotation_z(PI/4.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | let hq = Matrix::rotation_z(PI/4.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | let fq = Matrix::rotation_z(PI/2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | let fq = Matrix::rotation_z(PI/2.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 74 | assert!((hq * p).equals(Tuple::point(-(f64::sqrt(2.0) / 2.0), f64::sqrt(2.0) / 2.0, 0.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:75:27 [INFO] [stdout] | [INFO] [stdout] 75 | assert!((fq * p).equals(Tuple::point(-1.0, 0.0, 0.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | let s = Matrix::shearing(1.0, 0.0, 0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | let p = Tuple::point(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | assert!((s * p).equals(Tuple::point(5.0, 3.0, 4.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | let s = Matrix::shearing(0.0, 1.0, 0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | let p = Tuple::point(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | assert!((s * p).equals(Tuple::point(6.0, 3.0, 4.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | let s = Matrix::shearing(0.0, 0.0, 1.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:92:11 [INFO] [stdout] | [INFO] [stdout] 92 | let p = Tuple::point(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | assert!((s * p).equals(Tuple::point(2.0, 5.0, 4.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | let s = Matrix::shearing(0.0, 0.0, 0.0, 1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | let p = Tuple::point(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | assert!((s * p).equals(Tuple::point(2.0, 7.0, 4.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | let s = Matrix::shearing(0.0, 0.0, 0.0, 0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | let p = Tuple::point(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | assert!((s * p).equals(Tuple::point(2.0, 3.0, 6.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | let s = Matrix::shearing(0.0, 0.0, 0.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:110:11 [INFO] [stdout] | [INFO] [stdout] 110 | let p = Tuple::point(2.0, 3.0, 4.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | assert!((s * p).equals(Tuple::point(2.0, 3.0, 7.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | let p = Tuple::point(1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:116:11 [INFO] [stdout] | [INFO] [stdout] 116 | let a = Matrix::rotation_x(PI/2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | let a = Matrix::rotation_x(PI/2.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | let b = Matrix::scaling(5.0, 5.0, 5.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | let c = Matrix::translation(10.0, 5.0, 7.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(p2.equals(Tuple::point(1.0, -1.0, 0.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(p3.equals(Tuple::point(5.0, -5.0, 0.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(p4.equals(Tuple::point(15.0, 0.0, 7.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | let p = Tuple::point(1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | let a = Matrix::rotation_x(PI/2.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | let a = Matrix::rotation_x(PI/2.0); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:130:11 [INFO] [stdout] | [INFO] [stdout] 130 | let b = Matrix::scaling(5.0, 5.0, 5.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | let c = Matrix::translation(10.0, 5.0, 7.0); [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | assert!((t * p).equals(Tuple::point(15.0, 0.0, 7.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | let p = Tuple::point(1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix` [INFO] [stdout] --> src/transformations.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | let t = Matrix::identity() [INFO] [stdout] | ^^^^^^ use of undeclared type `Matrix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Matrix; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PI` in this scope [INFO] [stdout] --> src/transformations.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | .rotate_x(PI/2.0) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use core::f64::consts::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::PI; [INFO] [stdout] | [INFO] [stdout] 2 + use std::f32::consts::PI; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tuple` [INFO] [stdout] --> src/transformations.rs:142:26 [INFO] [stdout] | [INFO] [stdout] 142 | assert!((t * p).equals(Tuple::point(15.0, 0.0, 7.0))); [INFO] [stdout] | ^^^^^ use of undeclared type `Tuple` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use core::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use crate::Tuple; [INFO] [stdout] | [INFO] [stdout] 2 + use std::marker::Tuple; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `next` is never read [INFO] [stdout] --> src/main.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | let mut next = start; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracer` (bin "ray-tracer" test) due to 82 previous errors; 1 warning emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "10634b50ab2cd1f07a10d44f6faa0427976b15daa2bbfac62478899d7a9645a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10634b50ab2cd1f07a10d44f6faa0427976b15daa2bbfac62478899d7a9645a0", kill_on_drop: false }` [INFO] [stdout] 10634b50ab2cd1f07a10d44f6faa0427976b15daa2bbfac62478899d7a9645a0