[INFO] cloning repository https://github.com/patrickcsullivan/rtc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickcsullivan/rtc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickcsullivan%2Frtc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickcsullivan%2Frtc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 571b8959f6e458970695771fa99caa3c2b8a7f77 [INFO] checking patrickcsullivan/rtc against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickcsullivan%2Frtc" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/patrickcsullivan/rtc on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/patrickcsullivan/rtc [INFO] finished tweaking git repo https://github.com/patrickcsullivan/rtc [INFO] tweaked toml for git repo https://github.com/patrickcsullivan/rtc written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/patrickcsullivan/rtc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spirv-std-macros v0.4.0-alpha.10 [INFO] [stderr] Downloaded float_next_after v0.1.5 [INFO] [stderr] Downloaded spirv-types v0.4.0-alpha.10 [INFO] [stderr] Downloaded spirv-std v0.4.0-alpha.8 [INFO] [stderr] Downloaded bvh v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75a068299b623633b45983f8b745333506a41b69a2363ed09c6ff39f15fb154c [INFO] running `Command { std: "docker" "start" "-a" "75a068299b623633b45983f8b745333506a41b69a2363ed09c6ff39f15fb154c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75a068299b623633b45983f8b745333506a41b69a2363ed09c6ff39f15fb154c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75a068299b623633b45983f8b745333506a41b69a2363ed09c6ff39f15fb154c", kill_on_drop: false }` [INFO] [stdout] 75a068299b623633b45983f8b745333506a41b69a2363ed09c6ff39f15fb154c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9607157742cec664e2c5005a56953ea7c990281906ee035a0e08e35ad04cc87e [INFO] running `Command { std: "docker" "start" "-a" "9607157742cec664e2c5005a56953ea7c990281906ee035a0e08e35ad04cc87e", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking glam v0.13.1 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Checking nom_stl v0.2.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking bvh v0.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rtc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::number` [INFO] [stdout] --> src/color/rgb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::number; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxFilter`, `ConstantSampler`, `Material`, `Shape`, `geometry::matrix::identity4` [INFO] [stdout] --> src/demo.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | filter::{BoxFilter, MitchellFilter}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | geometry::matrix::identity4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | material::{Material, MatteMaterial}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | primitive::PrimitiveAggregate, [INFO] [stdout] 11 | sampler::{ConstantSampler, StratifiedSampler}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | scene::Scene, [INFO] [stdout] 13 | shape::{Mesh, Shape}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FRAC_PI_4` [INFO] [stdout] --> src/demo.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::consts::{FRAC_PI_4, PI}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BaseNum`, `InnerSpace` [INFO] [stdout] --> src/geometry/point.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cgmath::{BaseNum, InnerSpace, Point2, Point3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `camera::Camera`, `filter::Filter`, `geometry::bounds::Bounds2`, `interaction::SurfaceInteraction` [INFO] [stdout] --> src/integrator/whitted.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | bsdf::BxdfType, camera::Camera, color::RgbSpectrum, filter::Filter, geometry::bounds::Bounds2, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | interaction::SurfaceInteraction, ray::Ray, sampler::IncrementalSampler, scene::Scene, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `point2` [INFO] [stdout] --> src/integrator/mod.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use cgmath::{point2, Point2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Transform` [INFO] [stdout] --> src/interaction/offset.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{point3, InnerSpace, Matrix4, Point3, Transform, Vector3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InnerSpace`, `Matrix4`, `Transform` [INFO] [stdout] --> src/interaction/mod.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::{InnerSpace, Matrix4, Point3, Transform, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Light` [INFO] [stdout] --> src/light/point.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Light, LightFlags, VisibilityTester}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/light/point.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::{InnerSpace, Matrix4, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::TransportMode` [INFO] [stdout] --> src/material/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::TransportMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Matrix4` [INFO] [stdout] --> src/shape/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cgmath::Matrix4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::number` [INFO] [stdout] --> src/color/rgb.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::number; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BoxFilter`, `ConstantSampler`, `Material`, `Shape`, `geometry::matrix::identity4` [INFO] [stdout] --> src/demo.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | filter::{BoxFilter, MitchellFilter}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | geometry::matrix::identity4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | material::{Material, MatteMaterial}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | primitive::PrimitiveAggregate, [INFO] [stdout] 11 | sampler::{ConstantSampler, StratifiedSampler}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | scene::Scene, [INFO] [stdout] 13 | shape::{Mesh, Shape}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FRAC_PI_4` [INFO] [stdout] --> src/demo.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use std::f32::consts::{FRAC_PI_4, PI}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BaseNum`, `InnerSpace` [INFO] [stdout] --> src/geometry/point.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use cgmath::{BaseNum, InnerSpace, Point2, Point3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `camera::Camera`, `filter::Filter`, `geometry::bounds::Bounds2`, `interaction::SurfaceInteraction` [INFO] [stdout] --> src/integrator/whitted.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | bsdf::BxdfType, camera::Camera, color::RgbSpectrum, filter::Filter, geometry::bounds::Bounds2, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | interaction::SurfaceInteraction, ray::Ray, sampler::IncrementalSampler, scene::Scene, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `point2` [INFO] [stdout] --> src/integrator/mod.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use cgmath::{point2, Point2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Transform` [INFO] [stdout] --> src/interaction/offset.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{point3, InnerSpace, Matrix4, Point3, Transform, Vector3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `InnerSpace`, `Matrix4`, `Transform` [INFO] [stdout] --> src/interaction/mod.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::{InnerSpace, Matrix4, Point3, Transform, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Light` [INFO] [stdout] --> src/light/point.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{Light, LightFlags, VisibilityTester}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/light/point.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use cgmath::{InnerSpace, Matrix4, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::TransportMode` [INFO] [stdout] --> src/material/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::TransportMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point3`, `Vector3` [INFO] [stdout] --> src/shape/mesh/triangle.rs:485:40 [INFO] [stdout] | [INFO] [stdout] 485 | use cgmath::{point2, point3, vec3, Point3, Vector3}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Matrix4` [INFO] [stdout] --> src/shape/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use cgmath::Matrix4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/bsdf/bxdf.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | wo: &Vector3, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/bsdf/bxdf.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | sample: Point2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampled_type` [INFO] [stdout] --> src/bsdf/bxdf.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | sampled_type: BxdfType, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampled_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/bsdf/bxdf.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | fn rho_hd(&self, wo: &Vector3, samples: &[Point2]) -> RgbSpectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples` [INFO] [stdout] --> src/bsdf/bxdf.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | fn rho_hd(&self, wo: &Vector3, samples: &[Point2]) -> RgbSpectrum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples1` [INFO] [stdout] --> src/bsdf/bxdf.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | fn rho_hh(&self, samples1: &[Point2], samples2: &[Point2]) -> RgbSpectrum { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples2` [INFO] [stdout] --> src/bsdf/bxdf.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | fn rho_hh(&self, samples1: &[Point2], samples2: &[Point2]) -> RgbSpectrum { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/bsdf/lambertian.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | wo: &Vector3, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/bsdf/lambertian.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | sample: Point2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampled_type` [INFO] [stdout] --> src/bsdf/lambertian.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | sampled_type: BxdfType, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampled_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/bsdf/lambertian.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | wo: &Vector3, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/bsdf/lambertian.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | sample: Point2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampled_type` [INFO] [stdout] --> src/bsdf/lambertian.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | sampled_type: BxdfType, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampled_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spectrum_arena` [INFO] [stdout] --> src/integrator/whitted.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | spectrum_arena: &mut Arena, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spectrum_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv_hit` [INFO] [stdout] --> src/shape/mesh/triangle.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let uv_hit = point::add_point2(vec![b0 * uv0, b1 * uv1, b2 * uv2]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_uv_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/bsdf/bxdf.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | wo: &Vector3, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/bsdf/bxdf.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | sample: Point2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampled_type` [INFO] [stdout] --> src/bsdf/bxdf.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | sampled_type: BxdfType, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampled_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/bsdf/bxdf.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | fn rho_hd(&self, wo: &Vector3, samples: &[Point2]) -> RgbSpectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples` [INFO] [stdout] --> src/bsdf/bxdf.rs:81:41 [INFO] [stdout] | [INFO] [stdout] 81 | fn rho_hd(&self, wo: &Vector3, samples: &[Point2]) -> RgbSpectrum { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples1` [INFO] [stdout] --> src/bsdf/bxdf.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | fn rho_hh(&self, samples1: &[Point2], samples2: &[Point2]) -> RgbSpectrum { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples2` [INFO] [stdout] --> src/bsdf/bxdf.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | fn rho_hh(&self, samples1: &[Point2], samples2: &[Point2]) -> RgbSpectrum { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/bsdf/lambertian.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | wo: &Vector3, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/bsdf/lambertian.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | sample: Point2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampled_type` [INFO] [stdout] --> src/bsdf/lambertian.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | sampled_type: BxdfType, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampled_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> src/bsdf/lambertian.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | wo: &Vector3, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/bsdf/lambertian.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | sample: Point2, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampled_type` [INFO] [stdout] --> src/bsdf/lambertian.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | sampled_type: BxdfType, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampled_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spectrum_arena` [INFO] [stdout] --> src/integrator/whitted.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | spectrum_arena: &mut Arena, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_spectrum_arena` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv_hit` [INFO] [stdout] --> src/shape/mesh/triangle.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let uv_hit = point::add_point2(vec![b0 * uv0, b1 * uv1, b2 * uv2]); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_uv_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `interaction` [INFO] [stdout] --> src/shape/mesh/triangle.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | if let Some((t, interaction)) = result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_interaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dielectric` [INFO] [stdout] --> src/bsdf/fresnel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn dielectric(r: RgbSpectrum, eta_i: f32, eta_t: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `conductor` [INFO] [stdout] --> src/bsdf/fresnel.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn conductor( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dielectric` [INFO] [stdout] --> src/bsdf/fresnel.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn dielectric( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dielectric` [INFO] [stdout] --> src/bsdf/fresnel.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / Dielectric { [INFO] [stdout] 156 | | /// The index of refraction for the incident media. [INFO] [stdout] 157 | | eta_i: f32, [INFO] [stdout] 158 | | [INFO] [stdout] 159 | | /// The index of refraction for the transmitted media. [INFO] [stdout] 160 | | eta_t: f32, [INFO] [stdout] 161 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conductor` [INFO] [stdout] --> src/bsdf/fresnel.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / Conductor { [INFO] [stdout] 166 | | /// The index of refraction across a spectrum for the incident media. [INFO] [stdout] 167 | | eta_i: RgbSpectrum, [INFO] [stdout] 168 | | [INFO] [stdout] ... | [INFO] [stdout] 173 | | k: RgbSpectrum, [INFO] [stdout] 174 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tan_theta` [INFO] [stdout] --> src/bsdf/geometry.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn tan_theta(w: &Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tan2_theta` [INFO] [stdout] --> src/bsdf/geometry.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn tan2_theta(w: &Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cos2_phi` [INFO] [stdout] --> src/bsdf/geometry.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn cos2_phi(w: &Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sin2_phi` [INFO] [stdout] --> src/bsdf/geometry.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn sin2_phi(w: &Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bsdf/lambertian.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(r: RgbSpectrum) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bsdf/scale.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(bxdf: Box, scale: RgbSpectrum) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_with_type` [INFO] [stdout] --> src/bsdf/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn count_with_type(&self, ty: BxdfType) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_local_to_world` [INFO] [stdout] --> src/bsdf/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn transform_local_to_world(&self, v: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rho_hd` [INFO] [stdout] --> src/bsdf/mod.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn rho_hd(&self, wo: &Vector3, samples: &[Point2], flags: BxdfType) -> RgbSpectrum { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rho_hh` [INFO] [stdout] --> src/bsdf/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn rho_hh( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `camera_to_screen` [INFO] [stdout] --> src/camera/orthographic.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | camera_to_screen: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_to_raster` [INFO] [stdout] --> src/camera/orthographic.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | screen_to_raster: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `raster_to_screen` [INFO] [stdout] --> src/camera/orthographic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | raster_to_screen: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/camera/sample.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(film_point: Point2, lens_point: Point2, time: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_film_shift` [INFO] [stdout] --> src/camera/sample.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_film_shift(&self, film_shift: Vector2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `at_pixel_center` [INFO] [stdout] --> src/camera/sample.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn at_pixel_center(pixel: Point2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/filter/box_filter.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(half_width: f32, half_height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/filter/precomputed.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(filter: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/geometry/axis.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | X, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/geometry/axis.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Y, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_point2` [INFO] [stdout] --> src/geometry/baycentric.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn into_point2( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_point3` [INFO] [stdout] --> src/geometry/baycentric.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn into_point3( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identity4` [INFO] [stdout] --> src/geometry/matrix.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn identity4() -> Matrix4 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reflect` [INFO] [stdout] --> src/geometry/vector.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn reflect(incoming: Vector3, normal: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/interaction/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `power` [INFO] [stdout] --> src/light/point.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn power(&self) -> RgbSpectrum { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preprocess` [INFO] [stdout] --> src/light/point.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn preprocess(&mut self, _scene: &Scene) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flags` [INFO] [stdout] --> src/light/point.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn flags(&self) -> LightFlags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `power` [INFO] [stdout] --> src/light/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn power(&self) -> RgbSpectrum { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preprocess` [INFO] [stdout] --> src/light/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn preprocess(&mut self, scene: &Scene) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flags` [INFO] [stdout] --> src/light/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn flags(&self) -> LightFlags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PlasticMaterial` [INFO] [stdout] --> src/material/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PlasticMaterial { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Primitive` [INFO] [stdout] --> src/primitive/aggregate.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Primitive(Primitive<'msh, 'mtrx, 'mtrl>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `primitive` [INFO] [stdout] --> src/primitive/aggregate.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn primitive( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_space_vertices` [INFO] [stdout] --> src/shape/mesh/triangle.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn object_space_vertices(&self) -> (Point3, Point3, Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_to_world` [INFO] [stdout] --> src/shape/mesh/triangle.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn object_to_world(&self) -> &'mtrx Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `world_to_object` [INFO] [stdout] --> src/shape/mesh/triangle.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn world_to_object(&self) -> &'mtrx Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `does_ray_intersect` [INFO] [stdout] --> src/shape/mesh/triangle.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | fn does_ray_intersect(&self, ray: &Ray) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surface_area` [INFO] [stdout] --> src/shape/mesh/triangle.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn surface_area(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tangents` [INFO] [stdout] --> src/shape/mesh/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn tangents(mut self, tangents: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uvs` [INFO] [stdout] --> src/shape/mesh/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn uvs(mut self, uvs: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `triangle` [INFO] [stdout] --> src/shape/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn triangle(mesh: &'mtrx Mesh, index_in_mesh: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dielectric` [INFO] [stdout] --> src/bsdf/fresnel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn dielectric(r: RgbSpectrum, eta_i: f32, eta_t: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `conductor` [INFO] [stdout] --> src/bsdf/fresnel.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn conductor( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dielectric` [INFO] [stdout] --> src/bsdf/fresnel.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn dielectric( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dielectric` [INFO] [stdout] --> src/bsdf/fresnel.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / Dielectric { [INFO] [stdout] 156 | | /// The index of refraction for the incident media. [INFO] [stdout] 157 | | eta_i: f32, [INFO] [stdout] 158 | | [INFO] [stdout] 159 | | /// The index of refraction for the transmitted media. [INFO] [stdout] 160 | | eta_t: f32, [INFO] [stdout] 161 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Conductor` [INFO] [stdout] --> src/bsdf/fresnel.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / Conductor { [INFO] [stdout] 166 | | /// The index of refraction across a spectrum for the incident media. [INFO] [stdout] 167 | | eta_i: RgbSpectrum, [INFO] [stdout] 168 | | [INFO] [stdout] ... | [INFO] [stdout] 173 | | k: RgbSpectrum, [INFO] [stdout] 174 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tan_theta` [INFO] [stdout] --> src/bsdf/geometry.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn tan_theta(w: &Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tan2_theta` [INFO] [stdout] --> src/bsdf/geometry.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn tan2_theta(w: &Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cos2_phi` [INFO] [stdout] --> src/bsdf/geometry.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn cos2_phi(w: &Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sin2_phi` [INFO] [stdout] --> src/bsdf/geometry.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn sin2_phi(w: &Vector3) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bsdf/lambertian.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn new(r: RgbSpectrum) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bsdf/scale.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(bxdf: Box, scale: RgbSpectrum) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count_with_type` [INFO] [stdout] --> src/bsdf/mod.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn count_with_type(&self, ty: BxdfType) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_local_to_world` [INFO] [stdout] --> src/bsdf/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn transform_local_to_world(&self, v: &Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rho_hd` [INFO] [stdout] --> src/bsdf/mod.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | fn rho_hd(&self, wo: &Vector3, samples: &[Point2], flags: BxdfType) -> RgbSpectrum { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rho_hh` [INFO] [stdout] --> src/bsdf/mod.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn rho_hh( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `camera_to_screen` [INFO] [stdout] --> src/camera/orthographic.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | camera_to_screen: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_to_raster` [INFO] [stdout] --> src/camera/orthographic.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | screen_to_raster: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `raster_to_screen` [INFO] [stdout] --> src/camera/orthographic.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | raster_to_screen: Matrix4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/camera/sample.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(film_point: Point2, lens_point: Point2, time: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_film_shift` [INFO] [stdout] --> src/camera/sample.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_film_shift(&self, film_shift: Vector2) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/filter/box_filter.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(half_width: f32, half_height: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/filter/precomputed.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(filter: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `X` [INFO] [stdout] --> src/geometry/axis.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | X, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Y` [INFO] [stdout] --> src/geometry/axis.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Y, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/interaction/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `power` [INFO] [stdout] --> src/light/point.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn power(&self) -> RgbSpectrum { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preprocess` [INFO] [stdout] --> src/light/point.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn preprocess(&mut self, _scene: &Scene) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flags` [INFO] [stdout] --> src/light/point.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn flags(&self) -> LightFlags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `power` [INFO] [stdout] --> src/light/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn power(&self) -> RgbSpectrum { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `preprocess` [INFO] [stdout] --> src/light/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn preprocess(&mut self, scene: &Scene) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flags` [INFO] [stdout] --> src/light/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn flags(&self) -> LightFlags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PlasticMaterial` [INFO] [stdout] --> src/material/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct PlasticMaterial { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Primitive` [INFO] [stdout] --> src/primitive/aggregate.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Primitive(Primitive<'msh, 'mtrx, 'mtrl>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `primitive` [INFO] [stdout] --> src/primitive/aggregate.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn primitive( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_space_vertices` [INFO] [stdout] --> src/shape/mesh/triangle.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn object_space_vertices(&self) -> (Point3, Point3, Point3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `object_to_world` [INFO] [stdout] --> src/shape/mesh/triangle.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn object_to_world(&self) -> &'mtrx Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `world_to_object` [INFO] [stdout] --> src/shape/mesh/triangle.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn world_to_object(&self) -> &'mtrx Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `does_ray_intersect` [INFO] [stdout] --> src/shape/mesh/triangle.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | fn does_ray_intersect(&self, ray: &Ray) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `surface_area` [INFO] [stdout] --> src/shape/mesh/triangle.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn surface_area(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tangents` [INFO] [stdout] --> src/shape/mesh/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn tangents(mut self, tangents: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `uvs` [INFO] [stdout] --> src/shape/mesh/mod.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn uvs(mut self, uvs: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `triangle` [INFO] [stdout] --> src/shape/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn triangle(mesh: &'mtrx Mesh, index_in_mesh: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.00s [INFO] running `Command { std: "docker" "inspect" "9607157742cec664e2c5005a56953ea7c990281906ee035a0e08e35ad04cc87e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9607157742cec664e2c5005a56953ea7c990281906ee035a0e08e35ad04cc87e", kill_on_drop: false }` [INFO] [stdout] 9607157742cec664e2c5005a56953ea7c990281906ee035a0e08e35ad04cc87e