[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] testing Angle7C/ray_v2 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngle7C%2Fray_v2" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Angle7C/ray_v2 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e131a03159d58b3e1e61e77ef2150c6436b8b1ac27e357843731949b83c804ad
[INFO] running `Command { std: "docker" "start" "-a" "e131a03159d58b3e1e61e77ef2150c6436b8b1ac27e357843731949b83c804ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e131a03159d58b3e1e61e77ef2150c6436b8b1ac27e357843731949b83c804ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e131a03159d58b3e1e61e77ef2150c6436b8b1ac27e357843731949b83c804ad", kill_on_drop: false }`
[INFO] [stdout] e131a03159d58b3e1e61e77ef2150c6436b8b1ac27e357843731949b83c804ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] bd1bba41bbb3ff1d29b0ebed3afcb9406517c074a4e024937b930e18714b26cc
[INFO] running `Command { std: "docker" "start" "-a" "bd1bba41bbb3ff1d29b0ebed3afcb9406517c074a4e024937b930e18714b26cc", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling portable-atomic v1.4.3
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling thiserror v1.0.47
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling winnow v0.5.15
[INFO] [stderr]    Compiling console v0.15.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling ordered-float v2.10.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling num-complex v0.4.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling chrono v0.4.28
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling thread-id v4.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling arc-swap v1.6.0
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling obj v0.10.2
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling indicatif v0.17.6
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num v0.4.1
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling gltf-derive v1.3.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.47
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling pin-project v1.1.3
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling exr v1.7.0
[INFO] [stderr]    Compiling tiff v0.9.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling serde_spanned v0.6.3
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling serde-value v0.7.0
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[INFO] [stderr]    Compiling glam v0.23.0
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling gltf-json v1.3.0
[INFO] [stderr]    Compiling log4rs v1.2.0
[INFO] [stderr]    Compiling bvh v0.7.2
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling gltf v1.3.0
[INFO] [stderr]    Compiling 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: 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: 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: 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/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]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being 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]     |                                    ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being 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: `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: 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] 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] 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] 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: unused return value of `std::hint::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 `std::hint::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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.96s
[INFO] running `Command { std: "docker" "inspect" "bd1bba41bbb3ff1d29b0ebed3afcb9406517c074a4e024937b930e18714b26cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd1bba41bbb3ff1d29b0ebed3afcb9406517c074a4e024937b930e18714b26cc", kill_on_drop: false }`
[INFO] [stdout] bd1bba41bbb3ff1d29b0ebed3afcb9406517c074a4e024937b930e18714b26cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 78f16e6bae8cd4a28a4fcf2e9a2200fa24e5bf1c9544903e03678d9b17cfa29e
[INFO] running `Command { std: "docker" "start" "-a" "78f16e6bae8cd4a28a4fcf2e9a2200fa24e5bf1c9544903e03678d9b17cfa29e", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: `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: 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: 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: 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/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]     |                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being 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]     |                                    ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being 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: `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: 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] 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] 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] 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] 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: unused return value of `std::hint::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 `std::hint::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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.50s
[INFO] running `Command { std: "docker" "inspect" "78f16e6bae8cd4a28a4fcf2e9a2200fa24e5bf1c9544903e03678d9b17cfa29e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78f16e6bae8cd4a28a4fcf2e9a2200fa24e5bf1c9544903e03678d9b17cfa29e", kill_on_drop: false }`
[INFO] [stdout] 78f16e6bae8cd4a28a4fcf2e9a2200fa24e5bf1c9544903e03678d9b17cfa29e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 1f05d79ed84a2b52f5f2010acb786d8852b84d12f0ffef7046a65853ef5a3dea
[INFO] running `Command { std: "docker" "start" "-a" "1f05d79ed84a2b52f5f2010acb786d8852b84d12f0ffef7046a65853ef5a3dea", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `build::Context`
[INFO] [stderr]  --> src/main.rs:2:39
[INFO] [stderr]   |
[INFO] [stderr] 2 | use pbrt_core::{tool::{log::log_init, build::Context}, load::Load};
[INFO] [stderr]   |                                       ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `fs::File` and `io::Read`
[INFO] [stderr]  --> src/pbrt_core/tool/build.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{fs::File, io::Read};
[INFO] [stderr]   |           ^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `load::Load`
[INFO] [stderr]  --> src/pbrt_core/tool/build.rs:3:48
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::pbrt_core::{integrator::Integrator, load::Load};
[INFO] [stderr]   |                                                ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `SampleUniform` and `prelude::Distribution`
[INFO] [stderr]  --> src/pbrt_core/tool/func.rs:5:30
[INFO] [stderr]   |
[INFO] [stderr] 5 |     distributions::uniform::{SampleUniform, UniformSampler},
[INFO] [stderr]   |                              ^^^^^^^^^^^^^
[INFO] [stderr] 6 |     prelude::Distribution,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `gltf::mesh::util::tex_coords`
[INFO] [stderr]  --> src/pbrt_core/primitive/shape/triangle.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use gltf::mesh::util::tex_coords;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sampler::concentric_sample_disk`
[INFO] [stderr]  --> src/pbrt_core/primitive/shape/cylinder.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     sampler::concentric_sample_disk,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `UVec4`
[INFO] [stderr]  --> src/pbrt_core/load/gltfload.rs:3:36
[INFO] [stderr]   |
[INFO] [stderr] 3 | use glam::{u32::UVec3, Mat4, Quat, UVec4, Vec2, Vec3, Vec4};
[INFO] [stderr]   |                                    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `obj::Object`
[INFO] [stderr]  --> src/pbrt_core/load/tomlload.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use obj::Object;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `self` and `self`
[INFO] [stderr]   --> src/pbrt_core/load/tomlload.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 |         self,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 17 |         mesh::Mesh,
[INFO] [stderr] 18 |         shape::{self, rectangle::Rectangle, shpere::Shpere, triangle::Triangle, Shape},
[INFO] [stderr]    |                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::pbrt_core::camera::Camera`
[INFO] [stderr]    --> src/pbrt_core/load/mod.rs:137:9
[INFO] [stderr]     |
[INFO] [stderr] 137 |     use crate::pbrt_core::camera::Camera;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `glam::Mat4`
[INFO] [stderr]  --> src/test/mod.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 5 |     use glam::Mat4;
[INFO] [stderr]   |         ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/pbrt_core/bxdf/microfacet_distribution.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     return roughness;
[INFO] [stderr]    |     ---------------- any code following this expression is unreachable
[INFO] [stderr] 33 |     // let mut roughness = roughness;
[INFO] [stderr] 34 |     let limit = 1e-3;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `UniformSampler`
[INFO] [stderr]  --> src/pbrt_core/tool/func.rs:5:45
[INFO] [stderr]   |
[INFO] [stderr] 5 |     distributions::uniform::{SampleUniform, UniformSampler},
[INFO] [stderr]   |                                             ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `du` is assigned to, but never used
[INFO] [stderr]   --> src/pbrt_core/sampler/distribution_1d.rs:51:13
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let mut  du=u-self.cdf[index];
[INFO] [stderr]    |             ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_du` instead
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `du` is never read
[INFO] [stderr]   --> src/pbrt_core/sampler/distribution_1d.rs:53:13
[INFO] [stderr]    |
[INFO] [stderr] 53 |             du/=self.cdf[index+1]-self.cdf[index];
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pdf`
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/cylinder.rs:37:89
[INFO] [stderr]    |
[INFO] [stderr] 37 |     pub fn sample_interaction(&self, common: &mut InteractionCommon, smaple_point: Vec2,pdf:&mut f32) {
[INFO] [stderr]    |                                                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/pbrt_core/primitive/mod.rs:43:17
[INFO] [stderr]    |
[INFO] [stderr] 43 |                 _=>todo!()
[INFO] [stderr]    |                 ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/pbrt_core/primitive/mod.rs:43:17
[INFO] [stderr]    |
[INFO] [stderr] 39 |                 Shape::Rect(rect) => rect.compute_scattering(isct, mode),
[INFO] [stderr]    |                 ----------------- matches some of the same values
[INFO] [stderr] 40 |                 Self::Shpere(sphere) => sphere.compute_scattering(isct, mode),
[INFO] [stderr]    |                 -------------------- matches some of the same values
[INFO] [stderr] 41 |                 Shape::Cylinder(cylinder) => cylinder.compute_scattering(isct, mode),
[INFO] [stderr]    |                 ------------------------- matches some of the same values
[INFO] [stderr] 42 |                 Shape::Disk(disk) => disk.compute_scattering(isct, mode),
[INFO] [stderr]    |                 ----------------- matches some of the same values
[INFO] [stderr] 43 |                 _=>todo!()
[INFO] [stderr]    |                 ^ collectively making this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/pbrt_core/primitive/mod.rs:92:17
[INFO] [stderr]    |
[INFO] [stderr] 92 |                 _=>todo!(),
[INFO] [stderr]    |                 ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/pbrt_core/primitive/mod.rs:92:17
[INFO] [stderr]    |
[INFO] [stderr] 88 |                 Self::Rect(rect) => rect.sample_interaction(common, smaple_point,pdf),
[INFO] [stderr]    |                 ---------------- matches some of the same values
[INFO] [stderr] 89 |                 Self::Shpere(sphere) => sphere.sample_interaction(common, smaple_point,pdf),
[INFO] [stderr]    |                 -------------------- matches some of the same values
[INFO] [stderr] 90 |                 Self::Cylinder(cylinder) => cylinder.sample_interaction(common, smaple_point,pdf),
[INFO] [stderr]    |                 ------------------------ matches some of the same values
[INFO] [stderr] 91 |                 Self::Disk(disk)=>disk.sample_interaction(common, smaple_point,pdf),
[INFO] [stderr]    |                 ---------------- matches some of the same values
[INFO] [stderr] 92 |                 _=>todo!(),
[INFO] [stderr]    |                 ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/pbrt_core/bxdf/mod.rs:89:13
[INFO] [stderr]    |
[INFO] [stderr] 89 |             _ => todo!(),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/pbrt_core/bxdf/mod.rs:89:13
[INFO] [stderr]    |
[INFO] [stderr] 81 |             Self::LambertianReflection(lambert) => lambert.match_type(flag),
[INFO] [stderr]    |             ----------------------------------- matches some of the same values
[INFO] [stderr] 82 |             Self::SpecularReflection(spec_ref) => spec_ref.match_type(flag),
[INFO] [stderr]    |             ---------------------------------- matches some of the same values
[INFO] [stderr] 83 |             Self::OrenNayar(oren) => oren.match_type(flag),
[INFO] [stderr]    |             --------------------- matches some of the same values
[INFO] [stderr] 84 |             Self::PbrDiff(diff) => diff.match_type(flag),
[INFO] [stderr]    |             ------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 89 |             _ => todo!(),
[INFO] [stderr]    |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/pbrt_core/bxdf/mod.rs:102:13
[INFO] [stderr]     |
[INFO] [stderr] 102 |             _ => todo!(),
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/pbrt_core/bxdf/mod.rs:102:13
[INFO] [stderr]     |
[INFO] [stderr]  94 |             Self::LambertianReflection(lam) => lam.f(w_in, w_out),
[INFO] [stderr]     |             ------------------------------- matches some of the same values
[INFO] [stderr]  95 |             Self::SpecularReflection(spec_ref) => spec_ref.f(w_in, w_out),
[INFO] [stderr]     |             ---------------------------------- matches some of the same values
[INFO] [stderr]  96 |             Self::OrenNayar(oren) => oren.f(w_in, w_out),
[INFO] [stderr]     |             --------------------- matches some of the same values
[INFO] [stderr]  97 |             Self::PbrDiff(diff) => diff.f(w_in, w_out),
[INFO] [stderr]     |             ------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 102 |             _ => todo!(),
[INFO] [stderr]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/pbrt_core/bxdf/mod.rs:115:13
[INFO] [stderr]     |
[INFO] [stderr] 115 |             _ => todo!(),
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/pbrt_core/bxdf/mod.rs:115:13
[INFO] [stderr]     |
[INFO] [stderr] 107 |             Self::LambertianReflection(lambert) => lambert.sample_f(wi, w_out, u, pdf),
[INFO] [stderr]     |             ----------------------------------- matches some of the same values
[INFO] [stderr] 108 |             Self::SpecularReflection(spec_ref) => spec_ref.sample_f(wi, w_out, u, pdf),
[INFO] [stderr]     |             ---------------------------------- matches some of the same values
[INFO] [stderr] 109 |             Self::OrenNayar(oren) => oren.sample_f(wi, w_out, u, pdf),
[INFO] [stderr]     |             --------------------- matches some of the same values
[INFO] [stderr] 110 |             Self::PbrDiff(diff) => diff.sample_f(wi, w_out, u, pdf),
[INFO] [stderr]     |             ------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 115 |             _ => todo!(),
[INFO] [stderr]     |             ^ ...and 2 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `i` is never read
[INFO] [stderr]    --> src/pbrt_core/integrator/mod.rs:126:23
[INFO] [stderr]     |
[INFO] [stderr] 126 |             let mut i=0;
[INFO] [stderr]     |                       ^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `sampled_specular` is never read
[INFO] [stderr]    --> src/pbrt_core/integrator/mod.rs:350:36
[INFO] [stderr]     |
[INFO] [stderr] 350 |         let mut sampled_specular = false;
[INFO] [stderr]     |                                    ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `transform_vec`
[INFO] [stderr]   --> src/pbrt_core/load/gltfload.rs:27:67
[INFO] [stderr]    |
[INFO] [stderr] 27 |             let (all_point, all_normal, all_uv, index_vec, nodes, transform_vec, det_index_vec) =
[INFO] [stderr]    |                                                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform_vec`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `material`
[INFO] [stderr]   --> src/pbrt_core/load/gltfload.rs:62:13
[INFO] [stderr]    |
[INFO] [stderr] 62 |         let material = primitive.material();
[INFO] [stderr]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/pbrt_core/load/tomlload.rs:109:17
[INFO] [stderr]     |
[INFO] [stderr] 109 |                 _ => todo!(),
[INFO] [stderr]     |                 ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/pbrt_core/load/tomlload.rs:109:17
[INFO] [stderr]     |
[INFO] [stderr]  83 |                 MaterialToml::Matte { kd, sigma } => {
[INFO] [stderr]     |                 --------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  88 |                 MaterialToml::Plastic { kd, ks, roughness } => {
[INFO] [stderr]     |                 ------------------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  94 |                 MaterialToml::Mirror { kr } => {
[INFO] [stderr]     |                 --------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  98 |                 MaterialToml::Metal { eta, k, roughness } => {
[INFO] [stderr]     |                 ----------------------------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 109 |                 _ => todo!(),
[INFO] [stderr]     |                 ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `str`
[INFO] [stderr]    --> src/pbrt_core/load/mod.rs:144:13
[INFO] [stderr]     |
[INFO] [stderr] 144 |         let str = toml::to_string(&data).unwrap();
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_str`
[INFO] [stderr] 
[INFO] [stderr] warning: field `message` is never read
[INFO] [stderr]  --> src/pbrt_core/tool/error.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct BizError{
[INFO] [stderr]   |            -------- field in this struct
[INFO] [stderr] 4 |     message:String,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `BizError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `shape` is never read
[INFO] [stderr]   --> src/pbrt_core/tool/sence.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct Sence {
[INFO] [stderr]    |            ----- field in this struct
[INFO] [stderr] 14 |     shape: &'static [Box<dyn Primitive>],
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `func_int` is never read
[INFO] [stderr]  --> src/pbrt_core/sampler/distribution_1d.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct Distribution1D {
[INFO] [stderr]   |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 6 |     func_int: f32,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `light` is never read
[INFO] [stderr]    --> src/pbrt_core/primitive/mod.rs:158:5
[INFO] [stderr]     |
[INFO] [stderr] 156 | pub struct GeometricePrimitive<'a> {
[INFO] [stderr]     |            ------------------- field in this struct
[INFO] [stderr] 157 |     primitive: &'a dyn Primitive,
[INFO] [stderr] 158 |     light: Option<&'a dyn LightAble>,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `GeometricePrimitive` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `material` is never read
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/cylinder.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct Cylinder<'a> {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 20 |     material: Option<&'a dyn Material>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Cylinder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `material` is never read
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/disk.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct Disk<'a> {
[INFO] [stderr]    |            ---- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 16 |     material: Option<&'a dyn Material>,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Disk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `remap` is never read
[INFO] [stderr]   --> src/pbrt_core/material/metal.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub struct MetalMaterial<'a> {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 26 |     remap: bool,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `MetalMaterial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `sigma` is never read
[INFO] [stderr]   --> src/pbrt_core/material/plastic.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub struct Plastic<'a> {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 17 |     sigma: Arc<dyn Texture+'a>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Plastic` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `filter` is never read
[INFO] [stderr]   --> src/pbrt_core/texture/image.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct ImageTexture {
[INFO] [stderr]    |            ------------ field in this struct
[INFO] [stderr]  9 |     mipmap: MipMap,
[INFO] [stderr] 10 |     filter: Filter,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ImageTexture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `load_material` is never used
[INFO] [stderr]    --> src/pbrt_core/load/gltfload.rs:113:4
[INFO] [stderr]     |
[INFO] [stderr] 113 | fn load_material<'a, 'b>(
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `po` and `eta` are never read
[INFO] [stderr]  --> src/pbrt_core/bssrdf/mod.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct BSSRDF<'a>{
[INFO] [stderr]   |            ------ fields in this struct
[INFO] [stderr] 4 |     po:&'a SurfaceInteraction<'a>,
[INFO] [stderr]   |     ^^
[INFO] [stderr] 5 |     eta: f32,
[INFO] [stderr]   |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/tool/sence.rs:91:19
[INFO] [stderr]    |
[INFO] [stderr] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction> {
[INFO] [stderr]    |                   ^^^^^ the lifetime is elided here     ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/pbrt_core/primitive/mod.rs:119:19
[INFO] [stderr]     |
[INFO] [stderr] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stderr]     |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]     |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/pbrt_core/primitive/mod.rs:138:19
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction>;
[INFO] [stderr]     |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction<'_>>;
[INFO] [stderr]     |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/pbrt_core/primitive/mod.rs:190:19
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stderr]     |                   ^^^^^                          ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]     |                                                                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/bvh.rs:22:19
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn interacect(&self, ray: &crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stderr]    |                   ^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn interacect(&self, ray: &crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                                                             ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/mod.rs:47:13
[INFO] [stderr]    |
[INFO] [stderr] 47 |             &self,
[INFO] [stderr]    |             ^^^^^ the lifetime is elided here
[INFO] [stderr] 48 |             ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                               ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/rectangle.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 59 |         &self,
[INFO] [stderr]    |         ^^^^^ the lifetime is elided here
[INFO] [stderr] 60 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/shpere.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 53 |         &self,
[INFO] [stderr]    |         ^^^^^ the lifetime is elided here
[INFO] [stderr] 54 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/pbrt_core/primitive/shape/triangle.rs:134:19
[INFO] [stderr]     |
[INFO] [stderr] 134 |     fn interacect(&self, ray: RayDiff) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]     |                   ^^^^^                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 134 |     fn interacect(&self, ray: RayDiff) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]     |                                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/cylinder.rs:81:9
[INFO] [stderr]    |
[INFO] [stderr] 81 |         &self,
[INFO] [stderr]    |         ^^^^^ the lifetime is elided here
[INFO] [stderr] 82 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/disk.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 65 |         &self,
[INFO] [stderr]    |         ^^^^^ the lifetime is elided here
[INFO] [stderr] 66 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::hint::must_use` that must be used
[INFO] [stderr]    --> src/pbrt_core/integrator/mod.rs:164:9
[INFO] [stderr]     |
[INFO] [stderr] 164 |         format!("渲染完成，图像输出:{}", path.display());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 164 |         let _ = format!("渲染完成，图像输出:{}", path.display());
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::hint::must_use` that must be used
[INFO] [stderr]    --> src/pbrt_core/integrator/mod.rs:195:9
[INFO] [stderr]     |
[INFO] [stderr] 195 |         format!("渲染完成，图像输出:{}", path.display());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 195 |         let _ = format!("渲染完成，图像输出:{}", path.display());
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/pbrt_core/load/tomlload.rs:56:59
[INFO] [stderr]    |
[INFO] [stderr] 56 |         let light = Self::load_light(self.light, unsafe { &SHAPE }, textures);
[INFO] [stderr]    |                                                           ^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = 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] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: use `&raw const` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 56 |         let light = Self::load_light(self.light, unsafe { &raw const SHAPE }, textures);
[INFO] [stderr]    |                                                            +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/pbrt_core/load/tomlload.rs:185:22
[INFO] [stderr]     |
[INFO] [stderr] 185 |             unsafe { SHAPE.push(shape) }
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = 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] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/light/mod.rs:45:19
[INFO] [stderr]    |
[INFO] [stderr] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stderr]    |                   ^^^^^ the lifetime is elided here           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/light/mod.rs:69:22
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn get_shape(&self) -> &Shape {
[INFO] [stderr]    |                      ^^^^^     ^^^^^^
[INFO] [stderr]    |                      |         ||
[INFO] [stderr]    |                      |         |the same lifetime is hidden here
[INFO] [stderr]    |                      |         the same lifetime is elided here
[INFO] [stderr]    |                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn get_shape(&self) -> &Shape<'_> {
[INFO] [stderr]    |                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/light/area.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn get_shape(&self) -> &Shape;
[INFO] [stderr]    |                  ^^^^^     ^^^^^^
[INFO] [stderr]    |                  |         ||
[INFO] [stderr]    |                  |         |the same lifetime is hidden here
[INFO] [stderr]    |                  |         the same lifetime is elided here
[INFO] [stderr]    |                  the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn get_shape(&self) -> &Shape<'_>;
[INFO] [stderr]    |                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/light/area.rs:45:18
[INFO] [stderr]    |
[INFO] [stderr] 45 |     fn get_shape(&self) -> &Shape {
[INFO] [stderr]    |                  ^^^^^     ^^^^^^
[INFO] [stderr]    |                  |         ||
[INFO] [stderr]    |                  |         |the same lifetime is hidden here
[INFO] [stderr]    |                  |         the same lifetime is elided here
[INFO] [stderr]    |                  the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 45 |     fn get_shape(&self) -> &Shape<'_> {
[INFO] [stderr]    |                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/pbrt_core/light/area.rs:108:19
[INFO] [stderr]     |
[INFO] [stderr] 108 |     fn interacect(&self, ray: crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stderr]     |                   ^^^^^ the lifetime is elided here                      ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 108 |     fn interacect(&self, ray: crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]     |                                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/light/inf.rs:49:19
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction> {
[INFO] [stderr]    |                   ^^^^^                           ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/pbrt_core/light/point.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |         &self,
[INFO] [stderr]    |         ^^^^^ the lifetime is elided here
[INFO] [stderr] 75 |         _ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/test/mod.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 |         image.save_with_format("skybox.png", image::ImageFormat::Png);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 19 |         let _ = image.save_with_format("skybox.png", image::ImageFormat::Png);
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/test/mod.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |         ObjLoad::load(path.display().to_string().as_str());
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 25 |         let _ = ObjLoad::load(path.display().to_string().as_str());
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `ray_v2` (bin "ray_v2" test) generated 62 warnings (run `cargo fix --bin "ray_v2" -p ray_v2 --tests` to apply 33 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/ray_v2/b32056a22cb952de/deps/ray_v2-b32056a22cb952de)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test pbrt_core::load::test::test_data ... ok
[INFO] [stdout] test test::test::obj_load ... ok
[INFO] [stdout] test test::test::test_mipmap ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test::test::test_mipmap stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test::test::test_mipmap' (27) panicked at src/test/mod.rs:16:9:
[INFO] [stdout] assertion failed: image.is_ok()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x61d474bc6322 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x61d474bc6322 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x61d474bc6322 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x61d474bc6322 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x61d474bddefa - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x61d474bddefa - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x61d474bcba36 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x61d474bcba36 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x61d474ba393f - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x61d474ba393f - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x61d474bbe1b9 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x61d47471974e - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x61d47471974e - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x61d474bbe422 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x61d474bbe422 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x61d474ba3a2a - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x61d474b9ae39 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x61d474ba493d - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x61d474bde63c - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x61d474bde602 - core[8f93d80df273fe75]::panicking::panic
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:150:5
[INFO] [stdout]   20:     0x61d4746cbcb8 - ray_v2[b116760717e6df5]::test::test::test_mipmap
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:16:9
[INFO] [stdout]   21:     0x61d4746cb6c7 - ray_v2[b116760717e6df5]::test::test::test_mipmap::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:13:21
[INFO] [stdout]   22:     0x61d4746cccd6 - <ray_v2[b116760717e6df5]::test::test::test_mipmap::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x61d47470dafb - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x61d47470dafb - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x61d47471a35a - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x61d47471a35a - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   27:     0x61d47471a35a - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x61d47471a35a - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x61d47471a35a - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x61d47471a35a - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x61d47471a35a - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x61d474714824 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x61d474714824 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x61d47471ce52 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   35:     0x61d47471ce52 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   36:     0x61d47471ce52 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x61d47471ce52 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x61d47471ce52 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x61d47471ce52 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   40:     0x61d47471ce52 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x61d474bc5b8f - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   42:     0x61d474bc5b8f - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   43:     0x7b837c0b1aa4 - <unknown>
[INFO] [stdout]   44:     0x7b837c13ea64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test::test::test_mipmap
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin ray_v2`
[INFO] running `Command { std: "docker" "inspect" "1f05d79ed84a2b52f5f2010acb786d8852b84d12f0ffef7046a65853ef5a3dea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f05d79ed84a2b52f5f2010acb786d8852b84d12f0ffef7046a65853ef5a3dea", kill_on_drop: false }`
[INFO] [stdout] 1f05d79ed84a2b52f5f2010acb786d8852b84d12f0ffef7046a65853ef5a3dea
