[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 master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAngle7C%2Fray_v2" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Angle7C/ray_v2 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unsafe-any-ors v1.0.0
[INFO] [stderr]   Downloaded typemap-ors v1.0.0
[INFO] [stderr]   Downloaded destructure_traitobject v0.2.0
[INFO] [stderr]   Downloaded toml v0.7.8
[INFO] [stderr]   Downloaded log-mdc v0.1.0
[INFO] [stderr]   Downloaded gltf-derive v1.3.0
[INFO] [stderr]   Downloaded thread-id v4.2.0
[INFO] [stderr]   Downloaded fdeflate v0.3.0
[INFO] [stderr]   Downloaded gltf-json v1.3.0
[INFO] [stderr]   Downloaded gltf v1.3.0
[INFO] [stderr]   Downloaded half v2.2.1
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.15
[INFO] [stderr]   Downloaded rayon-core v1.11.0
[INFO] [stderr]   Downloaded winnow v0.5.15
[INFO] [stderr]   Downloaded arc-swap v1.6.0
[INFO] [stderr]   Downloaded log4rs v1.2.0
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.3
[INFO] [stderr]   Downloaded rayon v1.7.0
[INFO] [stderr]   Downloaded serde_spanned v0.6.3
[INFO] [stderr]   Downloaded exr v1.7.0
[INFO] [stderr]   Downloaded chrono v0.4.28
[INFO] [stderr]   Downloaded glam v0.23.0
[INFO] [stderr]   Downloaded bvh v0.7.2
[INFO] [stderr]   Downloaded tiff v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c53746873632619e50e7f1633a46717076f3bb1d92366b82f14745f846e161c
[INFO] running `Command { std: "docker" "start" "-a" "8c53746873632619e50e7f1633a46717076f3bb1d92366b82f14745f846e161c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c53746873632619e50e7f1633a46717076f3bb1d92366b82f14745f846e161c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c53746873632619e50e7f1633a46717076f3bb1d92366b82f14745f846e161c", kill_on_drop: false }`
[INFO] [stdout] 8c53746873632619e50e7f1633a46717076f3bb1d92366b82f14745f846e161c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 156cdc5b1c390904e0a2f0ff632091918c23e520a80db9f17d7fec012565c610
[INFO] running `Command { std: "docker" "start" "-a" "156cdc5b1c390904e0a2f0ff632091918c23e520a80db9f17d7fec012565c610", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling num-bigint v0.4.4
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling serde_json v1.0.105
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling flate2 v1.0.27
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling bytemuck v1.13.1
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling thiserror v1.0.47
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling destructure_traitobject v0.2.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling portable-atomic v1.4.3
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling unsafe-any-ors v1.0.0
[INFO] [stderr]    Compiling tiff v0.9.0
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling num-complex v0.4.4
[INFO] [stderr]    Compiling ordered-float v2.10.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling winnow v0.5.15
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling console v0.15.7
[INFO] [stderr]    Compiling chrono v0.4.28
[INFO] [stderr]    Compiling num v0.4.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling typemap-ors v1.0.0
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling thread-id v4.2.0
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling log-mdc v0.1.0
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling arc-swap v1.6.0
[INFO] [stderr]    Compiling indicatif v0.17.6
[INFO] [stderr]    Compiling obj v0.10.2
[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 thiserror-impl v1.0.47
[INFO] [stderr]    Compiling gltf-derive v1.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 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 glam v0.23.0
[INFO] [stderr]    Compiling serde_yaml v0.8.26
[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 toml v0.7.8
[INFO] [stderr]    Compiling bvh v0.7.2
[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)]` 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: value assigned to `i` is never read
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:126:21
[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]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/pbrt_core/bxdf/microfacet_distribution.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return roughness;
[INFO] [stdout]    |     ---------------- any code following this expression is unreachable
[INFO] [stdout] 33 |     // let mut roughness = roughness;
[INFO] [stdout] 34 |     let limit = 1e-3;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` 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:18
[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)]` 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] 
[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)]` 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: unused variable: `i`
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut i=0;
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut i=0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sampled_specular` is never read
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:350:17
[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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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]    |                   ^^^^^ this lifetime flows to the output                 ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             &self,
[INFO] [stdout]    |             ^^^^^ this lifetime flows to the output
[INFO] [stdout] 48 |             ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                     ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/rectangle.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 60 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/shpere.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 54 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/cylinder.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 82 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/disk.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 66 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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/nightly/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)]` 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/nightly/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: lifetime flowing from input to output with different syntax can be 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]    |                   ^^^^^ this lifetime flows to the output     ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout]    |                      |         the lifetimes get resolved as `'_`
[INFO] [stdout]    |                      this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get_shape(&self) -> &Shape<'_> {
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout]    |                  |         the lifetimes get resolved as `'_`
[INFO] [stdout]    |                  this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn get_shape(&self) -> &Shape<'_>;
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout]    |                  |         the lifetimes get resolved as `'_`
[INFO] [stdout]    |                  this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn get_shape(&self) -> &Shape<'_> {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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]     |                   ^^^^^ this lifetime flows to the output                ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/light/point.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 75 |         _ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 8m 14s
[INFO] running `Command { std: "docker" "inspect" "156cdc5b1c390904e0a2f0ff632091918c23e520a80db9f17d7fec012565c610", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "156cdc5b1c390904e0a2f0ff632091918c23e520a80db9f17d7fec012565c610", kill_on_drop: false }`
[INFO] [stdout] 156cdc5b1c390904e0a2f0ff632091918c23e520a80db9f17d7fec012565c610
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b82495279d8d9436b80e697935b5e39abac56d4914de308bb7417850e38b0858
[INFO] running `Command { std: "docker" "start" "-a" "b82495279d8d9436b80e697935b5e39abac56d4914de308bb7417850e38b0858", 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)]` 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: value assigned to `i` is never read
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:126:21
[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]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/pbrt_core/bxdf/microfacet_distribution.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     return roughness;
[INFO] [stdout]    |     ---------------- any code following this expression is unreachable
[INFO] [stdout] 33 |     // let mut roughness = roughness;
[INFO] [stdout] 34 |     let limit = 1e-3;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` 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:18
[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)]` 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] 
[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)]` 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: unused variable: `i`
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:177:17
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut i=0;
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:177:13
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let mut i=0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sampled_specular` is never read
[INFO] [stdout]    --> src/pbrt_core/integrator/mod.rs:350:17
[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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]     |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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]    |                   ^^^^^ this lifetime flows to the output                 ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/mod.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |             &self,
[INFO] [stdout]    |             ^^^^^ this lifetime flows to the output
[INFO] [stdout] 48 |             ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                     ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/rectangle.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 60 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/shpere.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 54 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/cylinder.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 82 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/primitive/shape/disk.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 66 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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/nightly/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)]` 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/nightly/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: lifetime flowing from input to output with different syntax can be 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]    |                   ^^^^^ this lifetime flows to the output     ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout]    |                      |         the lifetimes get resolved as `'_`
[INFO] [stdout]    |                      this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 69 |     pub fn get_shape(&self) -> &Shape<'_> {
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout]    |                  |         the lifetimes get resolved as `'_`
[INFO] [stdout]    |                  this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn get_shape(&self) -> &Shape<'_>;
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stdout]    |                  |         the lifetimes get resolved as `'_`
[INFO] [stdout]    |                  this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 45 |     fn get_shape(&self) -> &Shape<'_> {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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]     |                   ^^^^^ this lifetime flows to the output                ------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/pbrt_core/light/point.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         &self,
[INFO] [stdout]    |         ^^^^^ this lifetime flows to the output
[INFO] [stdout] 75 |         _ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stdout] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stdout]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 29.53s
[INFO] running `Command { std: "docker" "inspect" "b82495279d8d9436b80e697935b5e39abac56d4914de308bb7417850e38b0858", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b82495279d8d9436b80e697935b5e39abac56d4914de308bb7417850e38b0858", kill_on_drop: false }`
[INFO] [stdout] b82495279d8d9436b80e697935b5e39abac56d4914de308bb7417850e38b0858
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a5259735852954fd19808577ca8f7420b72416687bd13e910ab6f53766f1c8b5
[INFO] running `Command { std: "docker" "start" "-a" "a5259735852954fd19808577ca8f7420b72416687bd13e910ab6f53766f1c8b5", 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)]` 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: value assigned to `i` is never read
[INFO] [stderr]    --> src/pbrt_core/integrator/mod.rs:126:21
[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]     = note: `#[warn(unused_assignments)]` on by default
[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)]` 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:18
[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)]` 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] 
[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)]` 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: unused variable: `i`
[INFO] [stderr]    --> src/pbrt_core/integrator/mod.rs:177:17
[INFO] [stderr]     |
[INFO] [stderr] 177 |         let mut i=0;
[INFO] [stderr]     |                 ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/pbrt_core/integrator/mod.rs:177:13
[INFO] [stderr]     |
[INFO] [stderr] 177 |         let mut i=0;
[INFO] [stderr]     |             ----^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `sampled_specular` is never read
[INFO] [stderr]    --> src/pbrt_core/integrator/mod.rs:350:17
[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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_`
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 91 |     fn interacect(&self, ray: super::RayDiff) -> Option<super::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 119 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]     |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn interacect(&self, ray: &RayDiff) -> Option<SurfaceInteraction<'_>>;
[INFO] [stderr]     |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 190 |     fn interacect(&self, ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]     |                                                                    ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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]    |                   ^^^^^ this lifetime flows to the output                 ------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn interacect(&self, ray: &crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                                                             ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/mod.rs:47:13
[INFO] [stderr]    |
[INFO] [stderr] 47 |             &self,
[INFO] [stderr]    |             ^^^^^ this lifetime flows to the output
[INFO] [stderr] 48 |             ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                     ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 49 |         ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                               ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/rectangle.rs:59:9
[INFO] [stderr]    |
[INFO] [stderr] 59 |         &self,
[INFO] [stderr]    |         ^^^^^ this lifetime flows to the output
[INFO] [stderr] 60 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 61 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/shpere.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 53 |         &self,
[INFO] [stderr]    |         ^^^^^ this lifetime flows to the output
[INFO] [stderr] 54 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 55 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 134 |     fn interacect(&self, ray: RayDiff) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]     |                                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/cylinder.rs:81:9
[INFO] [stderr]    |
[INFO] [stderr] 81 |         &self,
[INFO] [stderr]    |         ^^^^^ this lifetime flows to the output
[INFO] [stderr] 82 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 83 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/pbrt_core/primitive/shape/disk.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 65 |         &self,
[INFO] [stderr]    |         ^^^^^ this lifetime flows to the output
[INFO] [stderr] 66 |         ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 67 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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/nightly/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)]` 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/nightly/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: lifetime flowing from input to output with different syntax can be 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]    |                   ^^^^^ this lifetime flows to the output     ------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 45 |     fn interacect(&self, ray: super::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr]    |                      |         the lifetimes get resolved as `'_`
[INFO] [stderr]    |                      this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 69 |     pub fn get_shape(&self) -> &Shape<'_> {
[INFO] [stderr]    |                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr]    |                  |         the lifetimes get resolved as `'_`
[INFO] [stderr]    |                  this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 17 |     fn get_shape(&self) -> &Shape<'_>;
[INFO] [stderr]    |                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_`
[INFO] [stderr]    |                  |         the lifetimes get resolved as `'_`
[INFO] [stderr]    |                  this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 45 |     fn get_shape(&self) -> &Shape<'_> {
[INFO] [stderr]    |                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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]     |                   ^^^^^ this lifetime flows to the output                ------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 108 |     fn interacect(&self, ray: crate::pbrt_core::tool::RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]     |                                                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_`
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 49 |     fn interacect(&self, _ray: RayDiff) -> Option<SurfaceInteraction<'_>> {
[INFO] [stderr]    |                                                                     ++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/pbrt_core/light/point.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |         &self,
[INFO] [stderr]    |         ^^^^^ this lifetime flows to the output
[INFO] [stderr] 75 |         _ray: crate::pbrt_core::tool::RayDiff,
[INFO] [stderr] 76 |     ) -> Option<crate::pbrt_core::tool::SurfaceInteraction> {
[INFO] [stderr]    |                 ------------------------------------------ the lifetime gets resolved as `'_`
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 64 warnings (run `cargo fix --bin "ray_v2" --tests` to apply 12 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ray_v2-e06dbac634bbcbbe)
[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' panicked at src/test/mod.rs:16:9:
[INFO] [stdout] assertion failed: image.is_ok()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5d3ee22371d2 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5d3ee22371d2 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5d3ee22371d2 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5d3ee22371d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5d3ee225ed53 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5d3ee225ed53 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x5d3ee2233eb3 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5d3ee2233eb3 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5d3ee2237022 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5d3ee223874c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5d3ee22385a2 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5d3ee211a854 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5d3ee211a854 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5d3ee223922b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5d3ee223922b - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5d3ee2238ec6 - std::panicking::begin_panic_handler::{{closure}}::he11808bc797ee921
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:699:13
[INFO] [stdout]   16:     0x5d3ee22376d9 - std::sys::backtrace::__rust_end_short_backtrace::h9418807cb7346258
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x5d3ee2238b8d - __rustc[18fb429eef004894]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5d3ee225caa0 - core::panicking::panic_fmt::hd890aeb12c3a3fc3
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5d3ee225cb0c - core::panicking::panic::h318cb8731d7e290d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panicking.rs:145:5
[INFO] [stdout]   20:     0x5d3ee2086df9 - ray_v2::test::test::test_mipmap::hcbae070ffef085e5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:16:9
[INFO] [stdout]   21:     0x5d3ee20928a9 - ray_v2::test::test::test_mipmap::{{closure}}::h7a712d3c9ff1e4fb
[INFO] [stdout]                                at /opt/rustwide/workdir/src/test/mod.rs:13:21
[INFO] [stdout]   22:     0x5d3ee20928a9 - core::ops::function::FnOnce::call_once::h30e18637c9dc52ee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5d3ee211ffdb - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5d3ee211ffdb - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   25:     0x5d3ee211f1ce - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   26:     0x5d3ee211f1ce - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5d3ee211f1ce - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   28:     0x5d3ee211f1ce - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   29:     0x5d3ee211f1ce - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x5d3ee211f1ce - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   31:     0x5d3ee211f1ce - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   32:     0x5d3ee20e2d44 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   33:     0x5d3ee20e2d44 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x5d3ee20e671a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x5d3ee20e671a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5d3ee20e671a - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   37:     0x5d3ee20e671a - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   38:     0x5d3ee20e671a - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x5d3ee20e671a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x5d3ee20e671a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5d3ee223c567 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   42:     0x5d3ee223c567 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5d3ee223c567 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   44:     0x7bee067e9aa4 - <unknown>
[INFO] [stdout]   45:     0x7bee06876a34 - clone
[INFO] [stdout]   46:                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.07s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin ray_v2`
[INFO] running `Command { std: "docker" "inspect" "a5259735852954fd19808577ca8f7420b72416687bd13e910ab6f53766f1c8b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5259735852954fd19808577ca8f7420b72416687bd13e910ab6f53766f1c8b5", kill_on_drop: false }`
[INFO] [stdout] a5259735852954fd19808577ca8f7420b72416687bd13e910ab6f53766f1c8b5
