[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] a3f17fce4318c975588bb3eeab564f98c5f2a995
[INFO] checking patrickcsullivan/rtc against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickcsullivan%2Frtc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/patrickcsullivan/rtc on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 94 packages to latest compatible versions
[INFO] [stderr]       Adding bitflags v1.3.2 (available: v2.11.1)
[INFO] [stderr]       Adding bvh v0.5.0 (available: v0.12.0)
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.6.1)
[INFO] [stderr]       Adding float_next_after v0.1.5 (available: v2.0.0)
[INFO] [stderr]       Adding image v0.23.14 (available: v0.25.10)
[INFO] [stderr]       Adding rand v0.8.6 (available: v0.10.1)
[INFO] [stderr]       Adding rand_chacha v0.3.1 (available: v0.10.0)
[INFO] [stderr]       Adding ron v0.6.6 (available: v0.12.1)
[INFO] [stderr]       Adding spirv-std v0.4.0-alpha.8 (available: v0.4.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 994d6eb60a95f30ac7e0275dbda890c55de280f663547613911426f5c7b8dd7b
[INFO] running `Command { std: "docker" "start" "-a" "994d6eb60a95f30ac7e0275dbda890c55de280f663547613911426f5c7b8dd7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "994d6eb60a95f30ac7e0275dbda890c55de280f663547613911426f5c7b8dd7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "994d6eb60a95f30ac7e0275dbda890c55de280f663547613911426f5c7b8dd7b", kill_on_drop: false }`
[INFO] [stdout] 994d6eb60a95f30ac7e0275dbda890c55de280f663547613911426f5c7b8dd7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8d8cc906b97a29ece7bb83361afbcfb67ccdf873d740c9b7ce74c4c16f66075b
[INFO] running `Command { std: "docker" "start" "-a" "8d8cc906b97a29ece7bb83361afbcfb67ccdf873d740c9b7ce74c4c16f66075b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]     Checking weezl v0.1.12
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking glam v0.13.1
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]     Checking typed-arena v2.0.2
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking float_next_after v0.1.5
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking bvh v0.5.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking nom_stl v0.2.2
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking mesh v0.1.0 (/opt/rustwide/workdir/mesh)
[INFO] [stdout] warning: unused import: `SquareMatrix`
[INFO] [stdout]  --> mesh/src/lib.rs:5:66
[INFO] [stdout]   |
[INFO] [stdout] 5 |     num_traits::identities, InnerSpace, Matrix4, Point2, Point3, SquareMatrix, Transform, Vector3,
[INFO] [stdout]   |                                                                  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SquareMatrix`
[INFO] [stdout]  --> mesh/src/lib.rs:5:66
[INFO] [stdout]   |
[INFO] [stdout] 5 |     num_traits::identities, InnerSpace, Matrix4, Point2, Point3, SquareMatrix, Transform, Vector3,
[INFO] [stdout]   |                                                                  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking ron v0.6.6
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking renderer v0.1.0 (/opt/rustwide/workdir/renderer)
[INFO] [stdout] warning: unused import: `LambertianDiffuseTransmission`
[INFO] [stdout]  --> renderer/src/bsdf/mod.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use lambertian::{LambertianDiffuseReflection, LambertianDiffuseTransmission};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BaseNum` and `InnerSpace`
[INFO] [stdout]  --> renderer/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`, and `interaction::SurfaceInteraction`
[INFO] [stdout]  --> renderer/src/integrator/whitted.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 |     bsdf::BxdfType, camera::Camera, color::RgbaSpectrum, 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: `typed_arena::Arena`
[INFO] [stdout]  --> renderer/src/integrator/whitted.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use typed_arena::Arena;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Zero` and `point2`
[INFO] [stdout]   --> renderer/src/integrator/mod.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use cgmath::{point2, Point2, Zero};
[INFO] [stdout]    |              ^^^^^^          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Matrix4` and `Transform`
[INFO] [stdout]  --> renderer/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`, and `Transform`
[INFO] [stdout]  --> renderer/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]  --> renderer/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]  --> renderer/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]  --> renderer/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: `LambertianDiffuseTransmission`
[INFO] [stdout]  --> renderer/src/bsdf/mod.rs:9:51
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub use lambertian::{LambertianDiffuseReflection, LambertianDiffuseTransmission};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BaseNum` and `InnerSpace`
[INFO] [stdout]  --> renderer/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`, and `interaction::SurfaceInteraction`
[INFO] [stdout]  --> renderer/src/integrator/whitted.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 |     bsdf::BxdfType, camera::Camera, color::RgbaSpectrum, 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: `typed_arena::Arena`
[INFO] [stdout]  --> renderer/src/integrator/whitted.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use typed_arena::Arena;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Zero` and `point2`
[INFO] [stdout]   --> renderer/src/integrator/mod.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | use cgmath::{point2, Point2, Zero};
[INFO] [stdout]    |              ^^^^^^          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Matrix4` and `Transform`
[INFO] [stdout]  --> renderer/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`, and `Transform`
[INFO] [stdout]  --> renderer/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]  --> renderer/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]  --> renderer/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]  --> renderer/src/material/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::TransportMode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wo`
[INFO] [stdout]   --> renderer/src/bsdf/bxdf.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         wo: &Vector3<f32>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_wo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]   --> renderer/src/bsdf/bxdf.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         sample: Point2<f32>,
[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]   --> renderer/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]   --> renderer/src/bsdf/bxdf.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn rho_hd(&self, wo: &Vector3<f32>, samples: &[Point2<f32>]) -> RgbaSpectrum {
[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]   --> renderer/src/bsdf/bxdf.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn rho_hd(&self, wo: &Vector3<f32>, samples: &[Point2<f32>]) -> RgbaSpectrum {
[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]   --> renderer/src/bsdf/bxdf.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn rho_hh(&self, samples1: &[Point2<f32>], samples2: &[Point2<f32>]) -> RgbaSpectrum {
[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]   --> renderer/src/bsdf/bxdf.rs:90:48
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn rho_hh(&self, samples1: &[Point2<f32>], samples2: &[Point2<f32>]) -> RgbaSpectrum {
[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]   --> renderer/src/bsdf/lambertian.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         wo: &Vector3<f32>,
[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]   --> renderer/src/bsdf/lambertian.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         sample: Point2<f32>,
[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]   --> renderer/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]   --> renderer/src/bsdf/lambertian.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         wo: &Vector3<f32>,
[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]   --> renderer/src/bsdf/lambertian.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         sample: Point2<f32>,
[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]   --> renderer/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: `wo`
[INFO] [stdout]   --> renderer/src/bsdf/bxdf.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         wo: &Vector3<f32>,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_wo`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]   --> renderer/src/bsdf/bxdf.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         sample: Point2<f32>,
[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]   --> renderer/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]   --> renderer/src/bsdf/bxdf.rs:81:22
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn rho_hd(&self, wo: &Vector3<f32>, samples: &[Point2<f32>]) -> RgbaSpectrum {
[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]   --> renderer/src/bsdf/bxdf.rs:81:41
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn rho_hd(&self, wo: &Vector3<f32>, samples: &[Point2<f32>]) -> RgbaSpectrum {
[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]   --> renderer/src/bsdf/bxdf.rs:90:22
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn rho_hh(&self, samples1: &[Point2<f32>], samples2: &[Point2<f32>]) -> RgbaSpectrum {
[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]   --> renderer/src/bsdf/bxdf.rs:90:48
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn rho_hh(&self, samples1: &[Point2<f32>], samples2: &[Point2<f32>]) -> RgbaSpectrum {
[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]   --> renderer/src/bsdf/lambertian.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         wo: &Vector3<f32>,
[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]   --> renderer/src/bsdf/lambertian.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         sample: Point2<f32>,
[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]   --> renderer/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]   --> renderer/src/bsdf/lambertian.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         wo: &Vector3<f32>,
[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]   --> renderer/src/bsdf/lambertian.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         sample: Point2<f32>,
[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]   --> renderer/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: `vis`
[INFO] [stdout]   --> renderer/src/integrator/whitted.rs:46:42
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let (incident_light, wi, vis, pdf) = light.sample_li(&interaction, &sample);
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_vis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sample_count` is assigned to, but never used
[INFO] [stdout]    --> renderer/src/integrator/mod.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let mut sample_count = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_sample_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sample_count` is never read
[INFO] [stdout]    --> renderer/src/integrator/mod.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 sample_count += 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vis`
[INFO] [stdout]   --> renderer/src/integrator/whitted.rs:46:42
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let (incident_light, wi, vis, pdf) = light.sample_li(&interaction, &sample);
[INFO] [stdout]    |                                          ^^^ help: if this is intentional, prefix it with an underscore: `_vis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `sample_count` is assigned to, but never used
[INFO] [stdout]    --> renderer/src/integrator/mod.rs:101:17
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let mut sample_count = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_sample_count` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sample_count` is never read
[INFO] [stdout]    --> renderer/src/integrator/mod.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 sample_count += 1;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remaining`
[INFO] [stdout]   --> renderer/src/simple/ray_tracer.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         remaining: usize,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv_hit`
[INFO] [stdout]    --> renderer/src/triangle.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         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: methods `rho_hd` and `rho_hh` are never used
[INFO] [stdout]    --> renderer/src/bsdf/mod.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Bsdf {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn rho_hd(&self, wo: &Vector3<f32>, samples: &[Point2<f32>], flags: BxdfType) -> RgbaSpectrum {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn rho_hh(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FresnelSpecularReflection` is never constructed
[INFO] [stdout]  --> renderer/src/bsdf/fresnel.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FresnelSpecularReflection {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `dielectric` and `conductor` are never used
[INFO] [stdout]   --> renderer/src/bsdf/fresnel.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl FresnelSpecularReflection {
[INFO] [stdout]    | ------------------------------ associated functions in this implementation
[INFO] [stdout] 16 |     pub fn dielectric(r: RgbaSpectrum, eta_i: f32, eta_t: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn conductor(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FresnelSpecularTransmission` is never constructed
[INFO] [stdout]   --> renderer/src/bsdf/fresnel.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct FresnelSpecularTransmission {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dielectric` is never used
[INFO] [stdout]   --> renderer/src/bsdf/fresnel.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl FresnelSpecularTransmission {
[INFO] [stdout]    | -------------------------------- associated function in this implementation
[INFO] [stdout] 80 |     pub fn dielectric(
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Fresnel` is never used
[INFO] [stdout]    --> renderer/src/bsdf/fresnel.rs:153:6
[INFO] [stdout]     |
[INFO] [stdout] 153 | enum Fresnel {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evaluate` is never used
[INFO] [stdout]    --> renderer/src/bsdf/fresnel.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 177 | impl Fresnel {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn evaluate(&self, cos_theta_i: f32) -> RgbaSpectrum {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fresnel_dielectric` is never used
[INFO] [stdout]    --> renderer/src/bsdf/fresnel.rs:202:4
[INFO] [stdout]     |
[INFO] [stdout] 202 | fn fresnel_dielectric(cos_theta_i: f32, eta_i: f32, eta_t: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fresnel_conductor` is never used
[INFO] [stdout]    --> renderer/src/bsdf/fresnel.rs:242:4
[INFO] [stdout]     |
[INFO] [stdout] 242 | fn fresnel_conductor(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cos_theta` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn cos_theta(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tan_theta` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn tan_theta(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tan2_theta` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn tan2_theta(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cos2_phi` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn cos2_phi(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sin2_phi` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn sin2_phi(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reflect` is never used
[INFO] [stdout]    --> renderer/src/bsdf/geometry.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn reflect(w: &Vector3<f32>) -> Vector3<f32> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refract` is never used
[INFO] [stdout]    --> renderer/src/bsdf/geometry.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn refract(wi: &Vector3<f32>, n: &Vector3<f32>, eta: f32) -> Option<Vector3<f32>> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LambertianDiffuseTransmission` is never constructed
[INFO] [stdout]   --> renderer/src/bsdf/lambertian.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct LambertianDiffuseTransmission {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> renderer/src/bsdf/lambertian.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl LambertianDiffuseTransmission {
[INFO] [stdout]    | ---------------------------------- associated function in this implementation
[INFO] [stdout] 60 |     pub fn new(r: RgbaSpectrum) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScaledBxdf` is never constructed
[INFO] [stdout]  --> renderer/src/bsdf/scale.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ScaledBxdf {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> renderer/src/bsdf/scale.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ScaledBxdf {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(bxdf: Box<dyn Bxdf>, scale: RgbaSpectrum) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `camera_to_screen`, `screen_to_raster`, and `raster_to_screen` are never read
[INFO] [stdout]   --> renderer/src/camera/orthographic.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OrthographicCamera {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     camera_to_screen: Matrix4<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     screen_to_raster: Matrix4<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     raster_to_screen: Matrix4<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> renderer/src/demo.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Axis2` is never used
[INFO] [stdout]  --> renderer/src/geometry/axis.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Axis2 {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `into_point2` is never used
[INFO] [stdout]  --> renderer/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 `into_point3` is never used
[INFO] [stdout]   --> renderer/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 `identity4` is never used
[INFO] [stdout]  --> renderer/src/geometry/matrix.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn identity4<S: BaseFloat>() -> Matrix4<S> {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `face_forward` is never used
[INFO] [stdout]   --> renderer/src/geometry/vector.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn face_forward<S: BaseNum>(v1: Vector3<S>, v2: Vector3<S>) -> Vector3<S> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `PlasticMaterial` is never constructed
[INFO] [stdout]   --> renderer/src/material/mod.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct PlasticMaterial {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kd`, `ks`, `roughness`, and `remap_roughness` are never read
[INFO] [stdout]   --> renderer/src/material/mod.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct PlasticMaterial {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 68 |     /// Diffuse reflection.
[INFO] [stdout] 69 |     kd: RgbaSpectrum,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     ks: RgbaSpectrum,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 73 |
[INFO] [stdout] 74 |     roughness: f32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 75 |
[INFO] [stdout] 76 |     remap_roughness: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Texture` is never used
[INFO] [stdout]  --> renderer/src/texture.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Texture<T> {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConstantTexture` is never constructed
[INFO] [stdout]  --> renderer/src/texture.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ConstantTexture<T: Clone> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> renderer/src/texture.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T: Clone> ConstantTexture<T> {
[INFO] [stdout]    | --------------------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remaining`
[INFO] [stdout]   --> renderer/src/simple/ray_tracer.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         remaining: usize,
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remaining`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uv_hit`
[INFO] [stdout]    --> renderer/src/triangle.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         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] [stderr] error: could not compile `renderer` (lib) due to 1 previous error; 59 warnings emitted
[INFO] [stdout] warning: methods `rho_hd` and `rho_hh` are never used
[INFO] [stdout]    --> renderer/src/bsdf/mod.rs:143:8
[INFO] [stdout]     |
[INFO] [stdout]  51 | impl Bsdf {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 143 |     fn rho_hd(&self, wo: &Vector3<f32>, samples: &[Point2<f32>], flags: BxdfType) -> RgbaSpectrum {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     fn rho_hh(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: struct `FresnelSpecularReflection` is never constructed
[INFO] [stdout]  --> renderer/src/bsdf/fresnel.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FresnelSpecularReflection {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `dielectric` and `conductor` are never used
[INFO] [stdout]   --> renderer/src/bsdf/fresnel.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl FresnelSpecularReflection {
[INFO] [stdout]    | ------------------------------ associated functions in this implementation
[INFO] [stdout] 16 |     pub fn dielectric(r: RgbaSpectrum, eta_i: f32, eta_t: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn conductor(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FresnelSpecularTransmission` is never constructed
[INFO] [stdout]   --> renderer/src/bsdf/fresnel.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct FresnelSpecularTransmission {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `dielectric` is never used
[INFO] [stdout]   --> renderer/src/bsdf/fresnel.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | impl FresnelSpecularTransmission {
[INFO] [stdout]    | -------------------------------- associated function in this implementation
[INFO] [stdout] 80 |     pub fn dielectric(
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Fresnel` is never used
[INFO] [stdout]    --> renderer/src/bsdf/fresnel.rs:153:6
[INFO] [stdout]     |
[INFO] [stdout] 153 | enum Fresnel {
[INFO] [stdout]     |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `evaluate` is never used
[INFO] [stdout]    --> renderer/src/bsdf/fresnel.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 177 | impl Fresnel {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn evaluate(&self, cos_theta_i: f32) -> RgbaSpectrum {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fresnel_dielectric` is never used
[INFO] [stdout]    --> renderer/src/bsdf/fresnel.rs:202:4
[INFO] [stdout]     |
[INFO] [stdout] 202 | fn fresnel_dielectric(cos_theta_i: f32, eta_i: f32, eta_t: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fresnel_conductor` is never used
[INFO] [stdout]    --> renderer/src/bsdf/fresnel.rs:242:4
[INFO] [stdout]     |
[INFO] [stdout] 242 | fn fresnel_conductor(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cos_theta` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub fn cos_theta(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tan_theta` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn tan_theta(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `tan2_theta` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn tan2_theta(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cos2_phi` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn cos2_phi(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sin2_phi` is never used
[INFO] [stdout]   --> renderer/src/bsdf/geometry.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn sin2_phi(w: &Vector3<f32>) -> f32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reflect` is never used
[INFO] [stdout]    --> renderer/src/bsdf/geometry.rs:103:8
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub fn reflect(w: &Vector3<f32>) -> Vector3<f32> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `refract` is never used
[INFO] [stdout]    --> renderer/src/bsdf/geometry.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn refract(wi: &Vector3<f32>, n: &Vector3<f32>, eta: f32) -> Option<Vector3<f32>> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LambertianDiffuseTransmission` is never constructed
[INFO] [stdout]   --> renderer/src/bsdf/lambertian.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct LambertianDiffuseTransmission {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> renderer/src/bsdf/lambertian.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl LambertianDiffuseTransmission {
[INFO] [stdout]    | ---------------------------------- associated function in this implementation
[INFO] [stdout] 60 |     pub fn new(r: RgbaSpectrum) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ScaledBxdf` is never constructed
[INFO] [stdout]  --> renderer/src/bsdf/scale.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ScaledBxdf {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> renderer/src/bsdf/scale.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl ScaledBxdf {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(bxdf: Box<dyn Bxdf>, scale: RgbaSpectrum) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `camera_to_screen`, `screen_to_raster`, and `raster_to_screen` are never read
[INFO] [stdout]   --> renderer/src/camera/orthographic.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct OrthographicCamera {
[INFO] [stdout]    |            ------------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     camera_to_screen: Matrix4<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 22 |     screen_to_raster: Matrix4<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 23 |     raster_to_screen: Matrix4<f32>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> renderer/src/demo.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Axis2` is never used
[INFO] [stdout]  --> renderer/src/geometry/axis.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum Axis2 {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `face_forward` is never used
[INFO] [stdout]   --> renderer/src/geometry/vector.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn face_forward<S: BaseNum>(v1: Vector3<S>, v2: Vector3<S>) -> Vector3<S> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `PlasticMaterial` is never constructed
[INFO] [stdout]   --> renderer/src/material/mod.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct PlasticMaterial {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kd`, `ks`, `roughness`, and `remap_roughness` are never read
[INFO] [stdout]   --> renderer/src/material/mod.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub struct PlasticMaterial {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 68 |     /// Diffuse reflection.
[INFO] [stdout] 69 |     kd: RgbaSpectrum,
[INFO] [stdout]    |     ^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     ks: RgbaSpectrum,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 73 |
[INFO] [stdout] 74 |     roughness: f32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 75 |
[INFO] [stdout] 76 |     remap_roughness: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Texture` is never used
[INFO] [stdout]  --> renderer/src/texture.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Texture<T> {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ConstantTexture` is never constructed
[INFO] [stdout]  --> renderer/src/texture.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct ConstantTexture<T: Clone> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> renderer/src/texture.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T: Clone> ConstantTexture<T> {
[INFO] [stdout]    | --------------------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new(value: T) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `renderer` (lib test) due to 1 previous error; 56 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8d8cc906b97a29ece7bb83361afbcfb67ccdf873d740c9b7ce74c4c16f66075b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d8cc906b97a29ece7bb83361afbcfb67ccdf873d740c9b7ce74c4c16f66075b", kill_on_drop: false }`
[INFO] [stdout] 8d8cc906b97a29ece7bb83361afbcfb67ccdf873d740c9b7ce74c4c16f66075b
