[INFO] cloning repository https://github.com/phillipweinstock/Graphics_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phillipweinstock/Graphics_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphillipweinstock%2FGraphics_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphillipweinstock%2FGraphics_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbb8ae81178575e894e94d353914b65fe9a93e77 [INFO] checking phillipweinstock/Graphics_rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphillipweinstock%2FGraphics_rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phillipweinstock/Graphics_rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phillipweinstock/Graphics_rust [INFO] finished tweaking git repo https://github.com/phillipweinstock/Graphics_rust [INFO] tweaked toml for git repo https://github.com/phillipweinstock/Graphics_rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/phillipweinstock/Graphics_rust 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a1f7f312e0d3281ece779f484b705fbbd731dbb7e670b71e2d43b49c773b4b9 [INFO] running `Command { std: "docker" "start" "-a" "3a1f7f312e0d3281ece779f484b705fbbd731dbb7e670b71e2d43b49c773b4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a1f7f312e0d3281ece779f484b705fbbd731dbb7e670b71e2d43b49c773b4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a1f7f312e0d3281ece779f484b705fbbd731dbb7e670b71e2d43b49c773b4b9", kill_on_drop: false }` [INFO] [stdout] 3a1f7f312e0d3281ece779f484b705fbbd731dbb7e670b71e2d43b49c773b4b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e99b98fa8a5f43b9e5bf28f520636babc8957f4b5618b1349a06e5c9f5e5196 [INFO] running `Command { std: "docker" "start" "-a" "3e99b98fa8a5f43b9e5bf28f520636babc8957f4b5618b1349a06e5c9f5e5196", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking rayon-core v1.12.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking graphics_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colour::vec3::Vec3` [INFO] [stdout] --> src/colour.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::{colour::vec3::Vec3, vec3::Vec3 as Colour}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/hittable.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{sync::Arc, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colour::vec3::Vec3` [INFO] [stdout] --> src/colour.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::{colour::vec3::Vec3, vec3::Vec3 as Colour}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/hittable.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{sync::Arc, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materia_right` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let materia_right = Material::Metal { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materia_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `R` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let R = (PI / 4.0).cos(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cross`, `x`, `y`, `z`, and `near_zero` are never used [INFO] [stdout] --> src/vec3.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait VectorProperties { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 195 | fn cross(&self, rhs: &Vec3) -> Vec3; //Cross product [INFO] [stdout] | ^^^^^ [INFO] [stdout] 196 | fn unit(&self) -> Vec3; [INFO] [stdout] 197 | fn x(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 198 | fn y(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 199 | fn z(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 200 | fn near_zero(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HitRecordProperties` is never used [INFO] [stdout] --> src/hittable.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait HitRecordProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `origin` and `direction` are never used [INFO] [stdout] --> src/ray.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait RayProperties { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 12 | fn origin(&self) -> Vec3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn direction(&self) -> Vec3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let R = (PI / 4.0).cos(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materia_right` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let materia_right = Material::Metal { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materia_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `R` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let R = (PI / 4.0).cos(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cross`, `x`, `y`, `z`, and `near_zero` are never used [INFO] [stdout] --> src/vec3.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait VectorProperties { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 195 | fn cross(&self, rhs: &Vec3) -> Vec3; //Cross product [INFO] [stdout] | ^^^^^ [INFO] [stdout] 196 | fn unit(&self) -> Vec3; [INFO] [stdout] 197 | fn x(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 198 | fn y(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 199 | fn z(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 200 | fn near_zero(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HitRecordProperties` is never used [INFO] [stdout] --> src/hittable.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait HitRecordProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `origin` and `direction` are never used [INFO] [stdout] --> src/ray.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait RayProperties { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 12 | fn origin(&self) -> Vec3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn direction(&self) -> Vec3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let R = (PI / 4.0).cos(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.04s [INFO] running `Command { std: "docker" "inspect" "3e99b98fa8a5f43b9e5bf28f520636babc8957f4b5618b1349a06e5c9f5e5196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e99b98fa8a5f43b9e5bf28f520636babc8957f4b5618b1349a06e5c9f5e5196", kill_on_drop: false }` [INFO] [stdout] 3e99b98fa8a5f43b9e5bf28f520636babc8957f4b5618b1349a06e5c9f5e5196 [INFO] checking phillipweinstock/Graphics_rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphillipweinstock%2FGraphics_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/phillipweinstock/Graphics_rust on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/phillipweinstock/Graphics_rust [INFO] finished tweaking git repo https://github.com/phillipweinstock/Graphics_rust [INFO] tweaked toml for git repo https://github.com/phillipweinstock/Graphics_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/phillipweinstock/Graphics_rust 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6afb99c4ce0c85322f3f2f0f4a94840b312ad9349cc53fb2a32b9c439fe33052 [INFO] running `Command { std: "docker" "start" "-a" "6afb99c4ce0c85322f3f2f0f4a94840b312ad9349cc53fb2a32b9c439fe33052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6afb99c4ce0c85322f3f2f0f4a94840b312ad9349cc53fb2a32b9c439fe33052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6afb99c4ce0c85322f3f2f0f4a94840b312ad9349cc53fb2a32b9c439fe33052", kill_on_drop: false }` [INFO] [stdout] 6afb99c4ce0c85322f3f2f0f4a94840b312ad9349cc53fb2a32b9c439fe33052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01c828b0fc561bb35ef695d9ff42f5167a09fa11ac0887a1ed95e0119281b329 [INFO] running `Command { std: "docker" "start" "-a" "01c828b0fc561bb35ef695d9ff42f5167a09fa11ac0887a1ed95e0119281b329", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon-core v1.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking graphics_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `colour::vec3::Vec3` [INFO] [stdout] --> src/colour.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::{colour::vec3::Vec3, vec3::Vec3 as Colour}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/hittable.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{sync::Arc, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colour::vec3::Vec3` [INFO] [stdout] --> src/colour.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub use crate::{colour::vec3::Vec3, vec3::Vec3 as Colour}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/hittable.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{sync::Arc, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materia_right` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let materia_right = Material::Metal { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materia_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `R` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let R = (PI / 4.0).cos(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cross`, `x`, `y`, `z`, and `near_zero` are never used [INFO] [stdout] --> src/vec3.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait VectorProperties { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 195 | fn cross(&self, rhs: &Vec3) -> Vec3; //Cross product [INFO] [stdout] | ^^^^^ [INFO] [stdout] 196 | fn unit(&self) -> Vec3; [INFO] [stdout] 197 | fn x(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 198 | fn y(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 199 | fn z(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 200 | fn near_zero(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HitRecordProperties` is never used [INFO] [stdout] --> src/hittable.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait HitRecordProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `origin` and `direction` are never used [INFO] [stdout] --> src/ray.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait RayProperties { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 12 | fn origin(&self) -> Vec3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn direction(&self) -> Vec3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let R = (PI / 4.0).cos(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materia_right` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let materia_right = Material::Metal { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materia_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `R` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let R = (PI / 4.0).cos(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cross`, `x`, `y`, `z`, and `near_zero` are never used [INFO] [stdout] --> src/vec3.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 192 | pub trait VectorProperties { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 195 | fn cross(&self, rhs: &Vec3) -> Vec3; //Cross product [INFO] [stdout] | ^^^^^ [INFO] [stdout] 196 | fn unit(&self) -> Vec3; [INFO] [stdout] 197 | fn x(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 198 | fn y(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 199 | fn z(&self) -> f64; [INFO] [stdout] | ^ [INFO] [stdout] 200 | fn near_zero(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HitRecordProperties` is never used [INFO] [stdout] --> src/hittable.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | trait HitRecordProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `origin` and `direction` are never used [INFO] [stdout] --> src/ray.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait RayProperties { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 12 | fn origin(&self) -> Vec3; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | fn direction(&self) -> Vec3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let R = (PI / 4.0).cos(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.60s [INFO] running `Command { std: "docker" "inspect" "01c828b0fc561bb35ef695d9ff42f5167a09fa11ac0887a1ed95e0119281b329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01c828b0fc561bb35ef695d9ff42f5167a09fa11ac0887a1ed95e0119281b329", kill_on_drop: false }` [INFO] [stdout] 01c828b0fc561bb35ef695d9ff42f5167a09fa11ac0887a1ed95e0119281b329