[INFO] cloning repository https://github.com/Angle7C/ray_v2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Angle7C/ray_v2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngle7C%2Fray_v2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngle7C%2Fray_v2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a600653686a1c517e8055b0a3bad800628b6b3d9
[INFO] checking Angle7C/ray_v2 against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngle7C%2Fray_v2" "/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/Angle7C/ray_v2
[INFO] finished tweaking git repo https://github.com/Angle7C/ray_v2
[INFO] tweaked toml for git repo https://github.com/Angle7C/ray_v2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Angle7C/ray_v2 on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Angle7C/ray_v2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4420dd48dbb378238be58ff1b3ea265c1920cc345a12c322d9e7fb14138e6260
[INFO] running `Command { std: "docker" "start" "-a" "4420dd48dbb378238be58ff1b3ea265c1920cc345a12c322d9e7fb14138e6260", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4420dd48dbb378238be58ff1b3ea265c1920cc345a12c322d9e7fb14138e6260", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4420dd48dbb378238be58ff1b3ea265c1920cc345a12c322d9e7fb14138e6260", kill_on_drop: false }`
[INFO] [stdout] 4420dd48dbb378238be58ff1b3ea265c1920cc345a12c322d9e7fb14138e6260
[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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e78ab05f70f3199202e84d334fa949246c8c930a4a0d7f342545ea8904179668
[INFO] running `Command { std: "docker" "start" "-a" "e78ab05f70f3199202e84d334fa949246c8c930a4a0d7f342545ea8904179668", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking fdeflate v0.3.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling thiserror v1.0.47
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking bytemuck v1.13.1
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling portable-atomic v1.4.3
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking hashbrown v0.14.0
[INFO] [stderr]     Checking half v2.2.1
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking flate2 v1.0.27
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking png v0.17.10
[INFO] [stderr]     Checking unsafe-any-ors v1.0.0
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking indexmap v2.0.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking winnow v0.5.15
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking typemap-ors v1.0.0
[INFO] [stderr]     Checking console v0.15.7
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking thread-id v4.2.0
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]     Checking arc-swap v1.6.0
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking obj v0.10.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]     Checking ordered-float v2.10.0
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking chrono v0.4.28
[INFO] [stderr]     Checking indicatif v0.17.6
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking tiff v0.9.0
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.47
[INFO] [stderr]    Compiling gltf-derive v1.3.0
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stderr]     Checking exr v1.7.0
[INFO] [stderr]     Checking image v0.24.7
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking toml_datetime v0.6.3
[INFO] [stderr]     Checking serde_spanned v0.6.3
[INFO] [stderr]     Checking glam v0.23.0
[INFO] [stderr]     Checking serde_yaml v0.8.26
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking toml_edit v0.19.15
[INFO] [stderr]     Checking gltf-json v1.3.0
[INFO] [stderr]     Checking log4rs v1.2.0
[INFO] [stderr]     Checking toml v0.7.8
[INFO] [stderr]     Checking bvh v0.7.2
[INFO] [stderr]     Checking gltf v1.3.0
[INFO] [stderr]     Checking ray_v2 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `build::Context`
[INFO] [stdout]  --> src/main.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pbrt_core::{tool::{log::log_init, build::Context}, load::Load};
[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: `fs::File` and `io::Read`
[INFO] [stdout]  --> src/pbrt_core/tool/build.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Read};
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `load::Load`
[INFO] [stdout]  --> src/pbrt_core/tool/build.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::pbrt_core::{integrator::Integrator, load::Load};
[INFO] [stdout]   |                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SampleUniform` and `prelude::Distribution`
[INFO] [stdout]  --> src/pbrt_core/tool/func.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     distributions::uniform::{SampleUniform, UniformSampler},
[INFO] [stdout]   |                              ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     prelude::Distribution,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gltf::mesh::util::tex_coords`
[INFO] [stdout]  --> src/pbrt_core/primitive/shape/triangle.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use gltf::mesh::util::tex_coords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sampler::concentric_sample_disk`
[INFO] [stdout]  --> src/pbrt_core/primitive/shape/cylinder.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     sampler::concentric_sample_disk,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UVec4`
[INFO] [stdout]  --> src/pbrt_core/load/gltfload.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use glam::{u32::UVec3, Mat4, Quat, UVec4, Vec2, Vec3, Vec4};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `obj::Object`
[INFO] [stdout]  --> src/pbrt_core/load/tomlload.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use obj::Object;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `self`
[INFO] [stdout]   --> src/pbrt_core/load/tomlload.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 17 |         mesh::Mesh,
[INFO] [stdout] 18 |         shape::{self, rectangle::Rectangle, shpere::Shpere, triangle::Triangle, Shape},
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `build::Context`
[INFO] [stdout]  --> src/main.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use pbrt_core::{tool::{log::log_init, build::Context}, load::Load};
[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: `fs::File` and `io::Read`
[INFO] [stdout]  --> src/pbrt_core/tool/build.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, io::Read};
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `load::Load`
[INFO] [stdout]  --> src/pbrt_core/tool/build.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::pbrt_core::{integrator::Integrator, load::Load};
[INFO] [stdout]   |                                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SampleUniform` and `prelude::Distribution`
[INFO] [stdout]  --> src/pbrt_core/tool/func.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     distributions::uniform::{SampleUniform, UniformSampler},
[INFO] [stdout]   |                              ^^^^^^^^^^^^^
[INFO] [stdout] 6 |     prelude::Distribution,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gltf::mesh::util::tex_coords`
[INFO] [stdout]  --> src/pbrt_core/primitive/shape/triangle.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use gltf::mesh::util::tex_coords;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sampler::concentric_sample_disk`
[INFO] [stdout]  --> src/pbrt_core/primitive/shape/cylinder.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     sampler::concentric_sample_disk,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pbrt_core::camera::Camera`
[INFO] [stdout]    --> src/pbrt_core/load/mod.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use crate::pbrt_core::camera::Camera;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glam::Mat4`
[INFO] [stdout]  --> src/test/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use glam::Mat4;
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UVec4`
[INFO] [stdout]  --> src/pbrt_core/load/gltfload.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use glam::{u32::UVec3, Mat4, Quat, UVec4, Vec2, Vec3, Vec4};
[INFO] [stdout]   |                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `obj::Object`
[INFO] [stdout]  --> src/pbrt_core/load/tomlload.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use obj::Object;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `self`
[INFO] [stdout]   --> src/pbrt_core/load/tomlload.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         self,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 17 |         mesh::Mesh,
[INFO] [stdout] 18 |         shape::{self, rectangle::Rectangle, shpere::Shpere, triangle::Triangle, Shape},
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/pbrt_core/bxdf/microfacet_distribution.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return roughness;
[INFO] [stdout]    |     ---------------- any code following this expression is unreachable
[INFO] [stdout] 33 |     // let mut roughness = roughness;
[INFO] [stdout] 34 |     let limit = 1e-3;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/pbrt_core/bxdf/microfacet_distribution.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return roughness;
[INFO] [stdout]    |     ---------------- any code following this expression is unreachable
[INFO] [stdout] 33 |     // let mut roughness = roughness;
[INFO] [stdout] 34 |     let limit = 1e-3;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UniformSampler`
[INFO] [stdout]  --> src/pbrt_core/tool/func.rs:5:45
[INFO] [stdout]   |
[INFO] [stdout] 5 |     distributions::uniform::{SampleUniform, UniformSampler},
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UniformSampler`
[INFO] [stdout]  --> src/pbrt_core/tool/func.rs:5:45
[INFO] [stdout]   |
[INFO] [stdout] 5 |     distributions::uniform::{SampleUniform, UniformSampler},
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `du` is assigned to, but never used
[INFO] [stdout]   --> src/pbrt_core/sampler/distribution_1d.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let mut  du=u-self.cdf[index];
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_du` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `du` is never read
[INFO] [stdout]   --> src/pbrt_core/sampler/distribution_1d.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             du/=self.cdf[index+1]-self.cdf[index];
[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: variable `du` is assigned to, but never used
[INFO] [stdout]   --> src/pbrt_core/sampler/distribution_1d.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let mut  du=u-self.cdf[index];
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_du` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `du` is never read
[INFO] [stdout]   --> src/pbrt_core/sampler/distribution_1d.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout] 53 |             du/=self.cdf[index+1]-self.cdf[index];
[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: `pdf`
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/cylinder.rs:37:89
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn sample_interaction(&self, common: &mut InteractionCommon, smaple_point: Vec2,pdf:&mut f32) {
[INFO] [stdout]    |                                                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/cylinder.rs:37:89
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub fn sample_interaction(&self, common: &mut InteractionCommon, smaple_point: Vec2,pdf:&mut f32) {
[INFO] [stdout]    |                                                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 _=>todo!()
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 Shape::Rect(rect) => rect.compute_scattering(isct, mode),
[INFO] [stdout]    |                 ----------------- matches some of the same values
[INFO] [stdout] 40 |                 Self::Shpere(sphere) => sphere.compute_scattering(isct, mode),
[INFO] [stdout]    |                 -------------------- matches some of the same values
[INFO] [stdout] 41 |                 Shape::Cylinder(cylinder) => cylinder.compute_scattering(isct, mode),
[INFO] [stdout]    |                 ------------------------- matches some of the same values
[INFO] [stdout] 42 |                 Shape::Disk(disk) => disk.compute_scattering(isct, mode),
[INFO] [stdout]    |                 ----------------- matches some of the same values
[INFO] [stdout] 43 |                 _=>todo!()
[INFO] [stdout]    |                 ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 _=>todo!()
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 Shape::Rect(rect) => rect.compute_scattering(isct, mode),
[INFO] [stdout]    |                 ----------------- matches some of the same values
[INFO] [stdout] 40 |                 Self::Shpere(sphere) => sphere.compute_scattering(isct, mode),
[INFO] [stdout]    |                 -------------------- matches some of the same values
[INFO] [stdout] 41 |                 Shape::Cylinder(cylinder) => cylinder.compute_scattering(isct, mode),
[INFO] [stdout]    |                 ------------------------- matches some of the same values
[INFO] [stdout] 42 |                 Shape::Disk(disk) => disk.compute_scattering(isct, mode),
[INFO] [stdout]    |                 ----------------- matches some of the same values
[INFO] [stdout] 43 |                 _=>todo!()
[INFO] [stdout]    |                 ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 _=>todo!(),
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 Self::Rect(rect) => rect.sample_interaction(common, smaple_point,pdf),
[INFO] [stdout]    |                 ---------------- matches some of the same values
[INFO] [stdout] 89 |                 Self::Shpere(sphere) => sphere.sample_interaction(common, smaple_point,pdf),
[INFO] [stdout]    |                 -------------------- matches some of the same values
[INFO] [stdout] 90 |                 Self::Cylinder(cylinder) => cylinder.sample_interaction(common, smaple_point,pdf),
[INFO] [stdout]    |                 ------------------------ matches some of the same values
[INFO] [stdout] 91 |                 Self::Disk(disk)=>disk.sample_interaction(common, smaple_point,pdf),
[INFO] [stdout]    |                 ---------------- matches some of the same values
[INFO] [stdout] 92 |                 _=>todo!(),
[INFO] [stdout]    |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 _=>todo!(),
[INFO] [stdout]    |                 ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |                 Self::Rect(rect) => rect.sample_interaction(common, smaple_point,pdf),
[INFO] [stdout]    |                 ---------------- matches some of the same values
[INFO] [stdout] 89 |                 Self::Shpere(sphere) => sphere.sample_interaction(common, smaple_point,pdf),
[INFO] [stdout]    |                 -------------------- matches some of the same values
[INFO] [stdout] 90 |                 Self::Cylinder(cylinder) => cylinder.sample_interaction(common, smaple_point,pdf),
[INFO] [stdout]    |                 ------------------------ matches some of the same values
[INFO] [stdout] 91 |                 Self::Disk(disk)=>disk.sample_interaction(common, smaple_point,pdf),
[INFO] [stdout]    |                 ---------------- matches some of the same values
[INFO] [stdout] 92 |                 _=>todo!(),
[INFO] [stdout]    |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/pbrt_core/bxdf/mod.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             _ => todo!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/pbrt_core/bxdf/mod.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             Self::LambertianReflection(lambert) => lambert.match_type(flag),
[INFO] [stdout]    |             ----------------------------------- matches some of the same values
[INFO] [stdout] 82 |             Self::SpecularReflection(spec_ref) => spec_ref.match_type(flag),
[INFO] [stdout]    |             ---------------------------------- matches some of the same values
[INFO] [stdout] 83 |             Self::OrenNayar(oren) => oren.match_type(flag),
[INFO] [stdout]    |             --------------------- matches some of the same values
[INFO] [stdout] 84 |             Self::PbrDiff(diff) => diff.match_type(flag),
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 89 |             _ => todo!(),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/pbrt_core/bxdf/mod.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             _ => todo!(),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/pbrt_core/bxdf/mod.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout]  94 |             Self::LambertianReflection(lam) => lam.f(w_in, w_out),
[INFO] [stdout]     |             ------------------------------- matches some of the same values
[INFO] [stdout]  95 |             Self::SpecularReflection(spec_ref) => spec_ref.f(w_in, w_out),
[INFO] [stdout]     |             ---------------------------------- matches some of the same values
[INFO] [stdout]  96 |             Self::OrenNayar(oren) => oren.f(w_in, w_out),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout]  97 |             Self::PbrDiff(diff) => diff.f(w_in, w_out),
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 102 |             _ => todo!(),
[INFO] [stdout]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/pbrt_core/bxdf/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             _ => todo!(),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/pbrt_core/bxdf/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |             Self::LambertianReflection(lambert) => lambert.sample_f(wi, w_out, u, pdf),
[INFO] [stdout]     |             ----------------------------------- matches some of the same values
[INFO] [stdout] 108 |             Self::SpecularReflection(spec_ref) => spec_ref.sample_f(wi, w_out, u, pdf),
[INFO] [stdout]     |             ---------------------------------- matches some of the same values
[INFO] [stdout] 109 |             Self::OrenNayar(oren) => oren.sample_f(wi, w_out, u, pdf),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 110 |             Self::PbrDiff(diff) => diff.sample_f(wi, w_out, u, pdf),
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 115 |             _ => todo!(),
[INFO] [stdout]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/pbrt_core/bxdf/mod.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             _ => todo!(),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/pbrt_core/bxdf/mod.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             Self::LambertianReflection(lambert) => lambert.match_type(flag),
[INFO] [stdout]    |             ----------------------------------- matches some of the same values
[INFO] [stdout] 82 |             Self::SpecularReflection(spec_ref) => spec_ref.match_type(flag),
[INFO] [stdout]    |             ---------------------------------- matches some of the same values
[INFO] [stdout] 83 |             Self::OrenNayar(oren) => oren.match_type(flag),
[INFO] [stdout]    |             --------------------- matches some of the same values
[INFO] [stdout] 84 |             Self::PbrDiff(diff) => diff.match_type(flag),
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 89 |             _ => todo!(),
[INFO] [stdout]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/pbrt_core/bxdf/mod.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             _ => todo!(),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/pbrt_core/bxdf/mod.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout]  94 |             Self::LambertianReflection(lam) => lam.f(w_in, w_out),
[INFO] [stdout]     |             ------------------------------- matches some of the same values
[INFO] [stdout]  95 |             Self::SpecularReflection(spec_ref) => spec_ref.f(w_in, w_out),
[INFO] [stdout]     |             ---------------------------------- matches some of the same values
[INFO] [stdout]  96 |             Self::OrenNayar(oren) => oren.f(w_in, w_out),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout]  97 |             Self::PbrDiff(diff) => diff.f(w_in, w_out),
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 102 |             _ => todo!(),
[INFO] [stdout]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/pbrt_core/bxdf/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             _ => todo!(),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/pbrt_core/bxdf/mod.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |             Self::LambertianReflection(lambert) => lambert.sample_f(wi, w_out, u, pdf),
[INFO] [stdout]     |             ----------------------------------- matches some of the same values
[INFO] [stdout] 108 |             Self::SpecularReflection(spec_ref) => spec_ref.sample_f(wi, w_out, u, pdf),
[INFO] [stdout]     |             ---------------------------------- matches some of the same values
[INFO] [stdout] 109 |             Self::OrenNayar(oren) => oren.sample_f(wi, w_out, u, pdf),
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] 110 |             Self::PbrDiff(diff) => diff.sample_f(wi, w_out, u, pdf),
[INFO] [stdout]     |             ------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 115 |             _ => todo!(),
[INFO] [stdout]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let mut i=0;
[INFO] [stdout]     |                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 133 |                     i=0;
[INFO] [stdout]     |                     --- `i` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let mut i=0;
[INFO] [stdout]     |                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 133 |                     i=0;
[INFO] [stdout]     |                     --- `i` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sampled_specular` is never read
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:350:36
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let mut sampled_specular = false;
[INFO] [stdout]     |                                    ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 362 |             sampled_specular = BxDFType::Specular as u32 & smapled_type > 0;
[INFO] [stdout]     |             --------------------------------------------------------------- `sampled_specular` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sampled_specular` is never read
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:350:36
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let mut sampled_specular = false;
[INFO] [stdout]     |                                    ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 362 |             sampled_specular = BxDFType::Specular as u32 & smapled_type > 0;
[INFO] [stdout]     |             --------------------------------------------------------------- `sampled_specular` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform_vec`
[INFO] [stdout]   --> src/pbrt_core/load/gltfload.rs:27:67
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let (all_point, all_normal, all_uv, index_vec, nodes, transform_vec, det_index_vec) =
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `transform_vec`
[INFO] [stdout]   --> src/pbrt_core/load/gltfload.rs:27:67
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let (all_point, all_normal, all_uv, index_vec, nodes, transform_vec, det_index_vec) =
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/pbrt_core/load/gltfload.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let material = primitive.material();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]   --> src/pbrt_core/load/gltfload.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let material = primitive.material();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/pbrt_core/load/tomlload.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 _ => todo!(),
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/pbrt_core/load/tomlload.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout]  83 |                 MaterialToml::Matte { kd, sigma } => {
[INFO] [stdout]     |                 --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  88 |                 MaterialToml::Plastic { kd, ks, roughness } => {
[INFO] [stdout]     |                 ------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  94 |                 MaterialToml::Mirror { kr } => {
[INFO] [stdout]     |                 --------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  98 |                 MaterialToml::Metal { eta, k, roughness } => {
[INFO] [stdout]     |                 ----------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 109 |                 _ => todo!(),
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/pbrt_core/load/tomlload.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 _ => todo!(),
[INFO] [stdout]     |                 ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/pbrt_core/load/tomlload.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout]  83 |                 MaterialToml::Matte { kd, sigma } => {
[INFO] [stdout]     |                 --------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  88 |                 MaterialToml::Plastic { kd, ks, roughness } => {
[INFO] [stdout]     |                 ------------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  94 |                 MaterialToml::Mirror { kr } => {
[INFO] [stdout]     |                 --------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  98 |                 MaterialToml::Metal { eta, k, roughness } => {
[INFO] [stdout]     |                 ----------------------------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 109 |                 _ => todo!(),
[INFO] [stdout]     |                 ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `str`
[INFO] [stdout]    --> src/pbrt_core/load/mod.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |         let str = toml::to_string(&data).unwrap();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `BizError` is never constructed
[INFO] [stdout]  --> src/pbrt_core/tool/error.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct BizError{
[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_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `message` is never read
[INFO] [stdout]  --> src/pbrt_core/tool/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct BizError{
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 4 |     message:String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BizError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shape` is never read
[INFO] [stdout]   --> src/pbrt_core/tool/sence.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Sence {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 14 |     shape: &'static [Box<dyn Primitive>],
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `func_int` is never read
[INFO] [stdout]  --> src/pbrt_core/sampler/distribution_1d.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Distribution1D {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |     func_int: f32,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `light` is never read
[INFO] [stdout]    --> src/pbrt_core/primitive/mod.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct GeometricePrimitive<'a> {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] 157 |     primitive: &'a dyn Primitive,
[INFO] [stdout] 158 |     light: Option<&'a dyn LightAble>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GeometricePrimitive` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `material` is never read
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/cylinder.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Cylinder<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     material: Option<&'a dyn Material>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cylinder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `material` is never read
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/disk.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Disk<'a> {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     material: Option<&'a dyn Material>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Disk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `remap` is never read
[INFO] [stdout]   --> src/pbrt_core/material/metal.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct MetalMaterial<'a> {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     remap: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetalMaterial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sigma` is never read
[INFO] [stdout]   --> src/pbrt_core/material/plastic.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Plastic<'a> {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     sigma: Arc<dyn Texture+'a>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Plastic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `SpecularTransmission` is never constructed
[INFO] [stdout]   --> src/pbrt_core/bxdf/specular.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct SpecularTransmission {
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `ScaleTexture` is never constructed
[INFO] [stdout]  --> src/pbrt_core/texture/scale.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ScaleTexture{
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filter` is never read
[INFO] [stdout]   --> src/pbrt_core/texture/image.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ImageTexture {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout]  9 |     mipmap: MipMap,
[INFO] [stdout] 10 |     filter: Filter,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageTexture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_material` is never used
[INFO] [stdout]    --> src/pbrt_core/load/gltfload.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn load_material<'a, 'b>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `BSSRDF` is never constructed
[INFO] [stdout]  --> src/pbrt_core/bssrdf/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct BSSRDF<'a>{
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `po` and `eta` are never read
[INFO] [stdout]  --> src/pbrt_core/bssrdf/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct BSSRDF<'a>{
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 4 |     po:&'a SurfaceInteraction<'a>,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 5 |     eta: f32,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/tool/sence.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here     ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/primitive/mod.rs:119:19
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]     |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/primitive/mod.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction>;
[INFO] [stdout]     |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/primitive/mod.rs:190:19
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]     |                   ^^^^^                          ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/bvh.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn interacect(&self, ray: &crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn interacect(&self, ray: &crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             &self,
[INFO] [stdout]    |             ^^^^^ the lifetime is elided here
[INFO] [stdout] 48 |             ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/rectangle.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 60 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/shpere.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 54 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `BizError` is never constructed
[INFO] [stdout]  --> src/pbrt_core/tool/error.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct BizError{
[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_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `message` is never read
[INFO] [stdout]  --> src/pbrt_core/tool/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct BizError{
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 4 |     message:String,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BizError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `shape` is never read
[INFO] [stdout]   --> src/pbrt_core/tool/sence.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Sence {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 14 |     shape: &'static [Box<dyn Primitive>],
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/primitive/shape/triangle.rs:134:19
[INFO] [stdout]     |
[INFO] [stdout] 134 |     fn interacect(&self, ray: RayDiff) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]     |                   ^^^^^                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 134 |     fn interacect(&self, ray: RayDiff) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `func_int` is never read
[INFO] [stdout]  --> src/pbrt_core/sampler/distribution_1d.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Distribution1D {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 6 |     func_int: f32,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `light` is never read
[INFO] [stdout]    --> src/pbrt_core/primitive/mod.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub struct GeometricePrimitive<'a> {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] 157 |     primitive: &'a dyn Primitive,
[INFO] [stdout] 158 |     light: Option<&'a dyn LightAble>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GeometricePrimitive` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/cylinder.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 82 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `material` is never read
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/cylinder.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Cylinder<'a> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     material: Option<&'a dyn Material>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cylinder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `material` is never read
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/disk.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Disk<'a> {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 16 |     material: Option<&'a dyn Material>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Disk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `remap` is never read
[INFO] [stdout]   --> src/pbrt_core/material/metal.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct MetalMaterial<'a> {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     remap: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetalMaterial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/disk.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 66 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sigma` is never read
[INFO] [stdout]   --> src/pbrt_core/material/plastic.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Plastic<'a> {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     sigma: Arc<dyn Texture+'a>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Plastic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `SpecularTransmission` is never constructed
[INFO] [stdout]   --> src/pbrt_core/bxdf/specular.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct SpecularTransmission {
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `ScaleTexture` is never constructed
[INFO] [stdout]  --> src/pbrt_core/texture/scale.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct ScaleTexture{
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filter` is never read
[INFO] [stdout]   --> src/pbrt_core/texture/image.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct ImageTexture {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout]  9 |     mipmap: MipMap,
[INFO] [stdout] 10 |     filter: Filter,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ImageTexture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_material` is never used
[INFO] [stdout]    --> src/pbrt_core/load/gltfload.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn load_material<'a, 'b>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `BSSRDF` is never constructed
[INFO] [stdout]  --> src/pbrt_core/bssrdf/mod.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct BSSRDF<'a>{
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `po` and `eta` are never read
[INFO] [stdout]  --> src/pbrt_core/bssrdf/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct BSSRDF<'a>{
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 4 |     po:&'a SurfaceInteraction<'a>,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 5 |     eta: f32,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `must_use` that must be used
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         format!("渲染完成，图像输出:{}", path.display());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let _ = format!("渲染完成，图像输出:{}", path.display());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `must_use` that must be used
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |         format!("渲染完成，图像输出:{}", path.display());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let _ = format!("渲染完成，图像输出:{}", path.display());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/tool/sence.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here     ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/primitive/mod.rs:119:19
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]     |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/primitive/mod.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction>;
[INFO] [stdout]     |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/primitive/mod.rs:190:19
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]     |                   ^^^^^                          ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/bvh.rs:22:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn interacect(&self, ray: &crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn interacect(&self, ray: &crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/pbrt_core/load/tomlload.rs:56:59
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let light = Self::load_light(self.light, unsafe { &SHAPE }, textures);
[INFO] [stdout]    |                                                           ^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let light = Self::load_light(self.light, unsafe { &raw const SHAPE }, textures);
[INFO] [stdout]    |                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             &self,
[INFO] [stdout]    |             ^^^^^ the lifetime is elided here
[INFO] [stdout] 48 |             ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/pbrt_core/load/tomlload.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |             unsafe { SHAPE.push(shape) }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/rectangle.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 60 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/shpere.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 54 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/primitive/shape/triangle.rs:134:19
[INFO] [stdout]     |
[INFO] [stdout] 134 |     fn interacect(&self, ray: RayDiff) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]     |                   ^^^^^                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 134 |     fn interacect(&self, ray: RayDiff) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/cylinder.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 82 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/disk.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 66 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/mod.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `must_use` that must be used
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:164:9
[INFO] [stdout]     |
[INFO] [stdout] 164 |         format!("渲染完成，图像输出:{}", path.display());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 164 |         let _ = format!("渲染完成，图像输出:{}", path.display());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/mod.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get_shape(&self) -> &Shape {
[INFO] [stdout]    |                      ^^^^^     ^^^^^^
[INFO] [stdout]    |                      |         ||
[INFO] [stdout]    |                      |         |the same lifetime is hidden here
[INFO] [stdout]    |                      |         the same lifetime is elided here
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get_shape(&self) -> &Shape<'_> {
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `must_use` that must be used
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 195 |         format!("渲染完成，图像输出:{}", path.display());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 195 |         let _ = format!("渲染完成，图像输出:{}", path.display());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/area.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn get_shape(&self) -> &Shape;
[INFO] [stdout]    |                  ^^^^^     ^^^^^^
[INFO] [stdout]    |                  |         ||
[INFO] [stdout]    |                  |         |the same lifetime is hidden here
[INFO] [stdout]    |                  |         the same lifetime is elided here
[INFO] [stdout]    |                  the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn get_shape(&self) -> &Shape<'_>;
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/area.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn get_shape(&self) -> &Shape {
[INFO] [stdout]    |                  ^^^^^     ^^^^^^
[INFO] [stdout]    |                  |         ||
[INFO] [stdout]    |                  |         |the same lifetime is hidden here
[INFO] [stdout]    |                  |         the same lifetime is elided here
[INFO] [stdout]    |                  the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn get_shape(&self) -> &Shape<'_> {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/light/area.rs:108:19
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn interacect(&self, ray: crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]     |                   ^^^^^ the lifetime is elided here                      ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn interacect(&self, ray: crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/inf.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/point.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 75 |         _ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/pbrt_core/load/tomlload.rs:56:59
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let light = Self::load_light(self.light, unsafe { &SHAPE }, textures);
[INFO] [stdout]    |                                                           ^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let light = Self::load_light(self.light, unsafe { &raw const SHAPE }, textures);
[INFO] [stdout]    |                                                            +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/pbrt_core/load/tomlload.rs:185:22
[INFO] [stdout]     |
[INFO] [stdout] 185 |             unsafe { SHAPE.push(shape) }
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/mod.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                   ^^^^^ the lifetime is elided here           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/mod.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get_shape(&self) -> &Shape {
[INFO] [stdout]    |                      ^^^^^     ^^^^^^
[INFO] [stdout]    |                      |         ||
[INFO] [stdout]    |                      |         |the same lifetime is hidden here
[INFO] [stdout]    |                      |         the same lifetime is elided here
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get_shape(&self) -> &Shape<'_> {
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/area.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn get_shape(&self) -> &Shape;
[INFO] [stdout]    |                  ^^^^^     ^^^^^^
[INFO] [stdout]    |                  |         ||
[INFO] [stdout]    |                  |         |the same lifetime is hidden here
[INFO] [stdout]    |                  |         the same lifetime is elided here
[INFO] [stdout]    |                  the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn get_shape(&self) -> &Shape<'_>;
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/area.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn get_shape(&self) -> &Shape {
[INFO] [stdout]    |                  ^^^^^     ^^^^^^
[INFO] [stdout]    |                  |         ||
[INFO] [stdout]    |                  |         |the same lifetime is hidden here
[INFO] [stdout]    |                  |         the same lifetime is elided here
[INFO] [stdout]    |                  the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn get_shape(&self) -> &Shape<'_> {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/pbrt_core/light/area.rs:108:19
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn interacect(&self, ray: crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]     |                   ^^^^^ the lifetime is elided here                      ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 108 |     fn interacect(&self, ray: crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/inf.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/pbrt_core/light/point.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] 75 |         _ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/test/mod.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         image.save_with_format("skybox.png", image::ImageFormat::Png);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let _ = image.save_with_format("skybox.png", image::ImageFormat::Png);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/test/mod.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         ObjLoad::load(path.display().to_string().as_str());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let _ = ObjLoad::load(path.display().to_string().as_str());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ray_v2` (bin "ray_v2") due to 4 previous errors; 57 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ray_v2` (bin "ray_v2" test) due to 4 previous errors; 62 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e78ab05f70f3199202e84d334fa949246c8c930a4a0d7f342545ea8904179668", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e78ab05f70f3199202e84d334fa949246c8c930a4a0d7f342545ea8904179668", kill_on_drop: false }`
[INFO] [stdout] e78ab05f70f3199202e84d334fa949246c8c930a4a0d7f342545ea8904179668
