[INFO] cloning repository https://github.com/jake-yukich/luxst [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jake-yukich/luxst" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjake-yukich%2Fluxst", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjake-yukich%2Fluxst'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c39080d7f54f27f92485ef2a09aea82b9d2516c [INFO] checking jake-yukich/luxst against try#409ef99a7d4dc96ae91f65d4b48413ed174514d6 for pr-137633 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjake-yukich%2Fluxst" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jake-yukich/luxst on toolchain 409ef99a7d4dc96ae91f65d4b48413ed174514d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jake-yukich/luxst [INFO] finished tweaking git repo https://github.com/jake-yukich/luxst [INFO] tweaked toml for git repo https://github.com/jake-yukich/luxst written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jake-yukich/luxst 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" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d0f48d742d25ff808044747e25299a0aca4b2420203a03a425f6b9b1454b276 [INFO] running `Command { std: "docker" "start" "-a" "2d0f48d742d25ff808044747e25299a0aca4b2420203a03a425f6b9b1454b276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d0f48d742d25ff808044747e25299a0aca4b2420203a03a425f6b9b1454b276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d0f48d742d25ff808044747e25299a0aca4b2420203a03a425f6b9b1454b276", kill_on_drop: false }` [INFO] [stdout] 2d0f48d742d25ff808044747e25299a0aca4b2420203a03a425f6b9b1454b276 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+409ef99a7d4dc96ae91f65d4b48413ed174514d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 546bbf70b3f760692b8e272f6d3a42c086f2a660bab897d07b16f187c73afdcb [INFO] running `Command { std: "docker" "start" "-a" "546bbf70b3f760692b8e272f6d3a42c086f2a660bab897d07b16f187c73afdcb", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking fdeflate v0.3.5 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking luxst v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `add`, `scale`, `normalize`, and `length` are never used [INFO] [stdout] --> src/common.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vec3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn scale(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn normalize(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn length(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scale` and `add` are never used [INFO] [stdout] --> src/common.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn scale(&self, t: f64) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn add(&self, other: &Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `specular` and `reflective` are never read [INFO] [stdout] --> src/common.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 69 | pub color: Color, [INFO] [stdout] 70 | pub specular: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | pub reflective: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `direction` is never read [INFO] [stdout] --> src/common.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | Directional { direction: Vec3 }, [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/common.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | Point { position: Vec3 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `light_type`, `intensity`, and `color` are never read [INFO] [stdout] --> src/common.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Light { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 128 | pub light_type: LightType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 129 | pub intensity: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 130 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lights` is never read [INFO] [stdout] --> src/common.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 218 | pub spheres: Vec, [INFO] [stdout] 219 | pub lights: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_lighting` is never used [INFO] [stdout] --> src/raytracer_v2_lights.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn compute_lighting(point: &Vec3, normal: &Vec3, lights: &[Light]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/raytracer_v2_lights.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn trace(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &[Sphere], lights: &[Light]) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/raytracer_v2_lights.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_lighting` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn compute_lighting(point: &Vec3, normal: &Vec3, view: &Vec3, specular: Option, lights: &[Light]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_diffuse_intensity` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn calculate_diffuse_intensity(normal: &Vec3, direction: &Vec3, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_specular_intensity` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn calculate_specular_intensity(normal: &Vec3, light_dir: &Vec3, view: &Vec3, specular: Option, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn trace(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &[Sphere], lights: &[Light]) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_lighting` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_lighting(point: &Vec3, normal: &Vec3, view: &Vec3, specular: Option, lights: &[Light], spheres: &[Sphere]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_diffuse_intensity` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn calculate_diffuse_intensity(normal: &Vec3, direction: &Vec3, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_specular_intensity` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn calculate_specular_intensity(normal: &Vec3, light_dir: &Vec3, view: &Vec3, specular: Option, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn trace(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &[Sphere], lights: &[Light]) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_intersection` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn closest_intersection<'a>(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &'a [Sphere]) -> (Option<&'a Sphere>, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_lighting` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_lighting(point: &Vec3, normal: &Vec3, view: &Vec3, specular: Option, lights: &[Light], spheres: &[Sphere]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_diffuse_intensity` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn calculate_diffuse_intensity(normal: &Vec3, direction: &Vec3, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_specular_intensity` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn calculate_specular_intensity(normal: &Vec3, light_dir: &Vec3, view: &Vec3, specular: Option, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect_ray` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn reflect_ray(normal: &Vec3, ray: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn trace(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &[Sphere], lights: &[Light], recursion_depth: u32) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_intersection` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn closest_intersection<'a>(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &'a [Sphere]) -> (Option<&'a Sphere>, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `scale`, `normalize`, and `length` are never used [INFO] [stdout] --> src/common.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vec3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add(&self, other: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn scale(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn normalize(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn length(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scale` and `add` are never used [INFO] [stdout] --> src/common.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Color { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn scale(&self, t: f64) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn add(&self, other: &Color) -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `specular` and `reflective` are never read [INFO] [stdout] --> src/common.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 69 | pub color: Color, [INFO] [stdout] 70 | pub specular: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | pub reflective: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `direction` is never read [INFO] [stdout] --> src/common.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | Directional { direction: Vec3 }, [INFO] [stdout] | ----------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/common.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | Point { position: Vec3 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `light_type`, `intensity`, and `color` are never read [INFO] [stdout] --> src/common.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Light { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 128 | pub light_type: LightType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 129 | pub intensity: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 130 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lights` is never read [INFO] [stdout] --> src/common.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 218 | pub spheres: Vec, [INFO] [stdout] 219 | pub lights: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_lighting` is never used [INFO] [stdout] --> src/raytracer_v2_lights.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn compute_lighting(point: &Vec3, normal: &Vec3, lights: &[Light]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/raytracer_v2_lights.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn trace(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &[Sphere], lights: &[Light]) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/raytracer_v2_lights.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_lighting` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn compute_lighting(point: &Vec3, normal: &Vec3, view: &Vec3, specular: Option, lights: &[Light]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_diffuse_intensity` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn calculate_diffuse_intensity(normal: &Vec3, direction: &Vec3, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_specular_intensity` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn calculate_specular_intensity(normal: &Vec3, light_dir: &Vec3, view: &Vec3, specular: Option, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn trace(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &[Sphere], lights: &[Light]) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/raytracer_v3_specular.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_lighting` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_lighting(point: &Vec3, normal: &Vec3, view: &Vec3, specular: Option, lights: &[Light], spheres: &[Sphere]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_diffuse_intensity` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn calculate_diffuse_intensity(normal: &Vec3, direction: &Vec3, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_specular_intensity` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn calculate_specular_intensity(normal: &Vec3, light_dir: &Vec3, view: &Vec3, specular: Option, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn trace(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &[Sphere], lights: &[Light]) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_intersection` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn closest_intersection<'a>(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &'a [Sphere]) -> (Option<&'a Sphere>, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/raytracer_v4_shadows.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_lighting` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn compute_lighting(point: &Vec3, normal: &Vec3, view: &Vec3, specular: Option, lights: &[Light], spheres: &[Sphere]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_diffuse_intensity` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn calculate_diffuse_intensity(normal: &Vec3, direction: &Vec3, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_specular_intensity` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn calculate_specular_intensity(normal: &Vec3, light_dir: &Vec3, view: &Vec3, specular: Option, intensity: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reflect_ray` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn reflect_ray(normal: &Vec3, ray: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `trace` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn trace(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &[Sphere], lights: &[Light], recursion_depth: u32) -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closest_intersection` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn closest_intersection<'a>(origin: &Vec3, direction: &Vec3, t_min: f64, t_max: f64, spheres: &'a [Sphere]) -> (Option<&'a Sphere>, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/raytracer_v5_reflections.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.66s [INFO] running `Command { std: "docker" "inspect" "546bbf70b3f760692b8e272f6d3a42c086f2a660bab897d07b16f187c73afdcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546bbf70b3f760692b8e272f6d3a42c086f2a660bab897d07b16f187c73afdcb", kill_on_drop: false }` [INFO] [stdout] 546bbf70b3f760692b8e272f6d3a42c086f2a660bab897d07b16f187c73afdcb