[INFO] cloning repository https://github.com/brody715/toy-ray-tracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brody715/toy-ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrody715%2Ftoy-ray-tracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrody715%2Ftoy-ray-tracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4b6ae0e3787c9949a3307fd50d7fc5d5adee0991
[INFO] checking brody715/toy-ray-tracer against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrody715%2Ftoy-ray-tracer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/brody715/toy-ray-tracer
[INFO] finished tweaking git repo https://github.com/brody715/toy-ray-tracer
[INFO] tweaked toml for git repo https://github.com/brody715/toy-ray-tracer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brody715/toy-ray-tracer on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/brody715/toy-ray-tracer 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.10.0
[INFO] [stderr]   Downloaded tobj v3.2.1
[INFO] [stderr]   Downloaded thread_local v1.1.4
[INFO] [stderr]   Downloaded quote v1.0.16
[INFO] [stderr]   Downloaded value-bag v1.0.0-alpha.8
[INFO] [stderr]   Downloaded schemars v0.8.8
[INFO] [stderr]   Downloaded clap-verbosity-flag v1.0.0
[INFO] [stderr]   Downloaded derive-new v0.5.9
[INFO] [stderr]   Downloaded nalgebra-macros v0.1.0
[INFO] [stderr]   Downloaded gltf-derive v1.0.0
[INFO] [stderr]   Downloaded enumflags2_derive v0.7.4
[INFO] [stderr]   Downloaded enumflags2 v0.7.5
[INFO] [stderr]   Downloaded pretty_env_logger v0.4.0
[INFO] [stderr]   Downloaded dyn-clone v1.0.5
[INFO] [stderr]   Downloaded which v4.2.5
[INFO] [stderr]   Downloaded humantime v1.3.0
[INFO] [stderr]   Downloaded rand v0.4.6
[INFO] [stderr]   Downloaded addr2line v0.17.0
[INFO] [stderr]   Downloaded rustc-demangle v0.1.21
[INFO] [stderr]   Downloaded serde_derive_internals v0.25.0
[INFO] [stderr]   Downloaded clap_derive v3.1.4
[INFO] [stderr]   Downloaded anyhow v1.0.56
[INFO] [stderr]   Downloaded gltf v1.0.0
[INFO] [stderr]   Downloaded safe_arch v0.6.0
[INFO] [stderr]   Downloaded backtrace v0.3.65
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.4
[INFO] [stderr]   Downloaded wide v0.7.4
[INFO] [stderr]   Downloaded rquickjs-core v0.1.5
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.8
[INFO] [stderr]   Downloaded matrixmultiply v0.3.2
[INFO] [stderr]   Downloaded simba v0.7.1
[INFO] [stderr]   Downloaded cgmath v0.18.0
[INFO] [stderr]   Downloaded clap v3.1.6
[INFO] [stderr]   Downloaded object v0.28.4
[INFO] [stderr]   Downloaded syn v1.0.89
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.8
[INFO] [stderr]   Downloaded approx v0.4.0
[INFO] [stderr]   Downloaded gltf-json v1.0.0
[INFO] [stderr]   Downloaded schemars_derive v0.8.8
[INFO] [stderr]   Downloaded relative-path v1.7.0
[INFO] [stderr]   Downloaded rquickjs v0.1.5
[INFO] [stderr]   Downloaded nalgebra v0.30.1
[INFO] [stderr]   Downloaded libc v0.2.121
[INFO] [stderr]   Downloaded gimli v0.26.1
[INFO] [stderr]   Downloaded rquickjs-sys v0.1.5
[INFO] [stderr]   Downloaded easy-gltf v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1b19ab9ff72b42f5a33be746e10182e9cdd3cf4153758a01e1641ec38c0f3f22
[INFO] running `Command { std: "docker" "start" "-a" "1b19ab9ff72b42f5a33be746e10182e9cdd3cf4153758a01e1641ec38c0f3f22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b19ab9ff72b42f5a33be746e10182e9cdd3cf4153758a01e1641ec38c0f3f22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b19ab9ff72b42f5a33be746e10182e9cdd3cf4153758a01e1641ec38c0f3f22", kill_on_drop: false }`
[INFO] [stdout] 1b19ab9ff72b42f5a33be746e10182e9cdd3cf4153758a01e1641ec38c0f3f22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a1f512b4b11f89da967807e83bedeb2c57279307dec1f4b512cb9c86ec0bd9df
[INFO] running `Command { std: "docker" "start" "-a" "a1f512b4b11f89da967807e83bedeb2c57279307dec1f4b512cb9c86ec0bd9df", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]     Checking bytemuck v1.8.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.8
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking getrandom v0.2.5
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]     Checking crossbeam-channel v0.5.4
[INFO] [stderr]     Checking miniz_oxide v0.5.1
[INFO] [stderr]     Checking lock_api v0.4.6
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling rquickjs-sys v0.1.5
[INFO] [stderr]     Checking spin v0.9.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking deflate v1.0.0
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking flate2 v1.0.22
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]    Compiling backtrace v0.3.65
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking safe_arch v0.6.0
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking half v1.8.2
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking lebe v0.5.1
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking jpeg-decoder v0.2.2
[INFO] [stderr]     Checking wide v0.7.4
[INFO] [stderr]     Checking tiff v0.7.1
[INFO] [stderr]     Checking gif v0.11.3
[INFO] [stderr]     Checking png v0.17.5
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking object v0.28.4
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde_derive_internals v0.25.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking relative-path v1.7.0
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling schemars v0.8.8
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking dyn-clone v1.0.5
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking tobj v3.2.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking thread_local v1.1.4
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking toy-ray-tracer-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling ctor v0.1.22
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling gltf-derive v1.0.0
[INFO] [stderr]    Compiling clap_derive v3.1.4
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling schemars_derive v0.8.8
[INFO] [stderr]    Compiling enumflags2_derive v0.7.4
[INFO] [stderr]     Checking enumflags2 v0.7.5
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]    Compiling derive-new v0.5.9
[INFO] [stderr]     Checking pretty_env_logger v0.4.0
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking flume v0.10.12
[INFO] [stderr]     Checking exr v1.4.1
[INFO] [stderr]     Checking clap v3.1.6
[INFO] [stderr]     Checking clap-verbosity-flag v1.0.0
[INFO] [stderr]     Checking image v0.24.1
[INFO] [stderr]     Checking num-complex v0.4.0
[INFO] [stderr]     Checking simba v0.7.1
[INFO] [stderr]     Checking gltf-json v1.0.0
[INFO] [stderr]     Checking gltf v1.0.0
[INFO] [stderr]     Checking easy-gltf v0.1.5
[INFO] [stderr]     Checking nalgebra v0.30.1
[INFO] [stderr]     Checking rquickjs-core v0.1.5
[INFO] [stderr]     Checking rquickjs v0.1.5
[INFO] [stderr]     Checking toy_ray_tracer v0.1.0 (/opt/rustwide/workdir/toy_ray_tracer)
[INFO] [stdout] warning: unused import: `nalgebra::Matrix3`
[INFO] [stdout]  --> toy_ray_tracer/src/bxdfs/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nalgebra::Matrix3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> toy_ray_tracer/src/core/primitive.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub type PrimitiveRef<'a> = &'a (dyn Primitive);
[INFO] [stdout]    |                                 ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 19 - pub type PrimitiveRef<'a> = &'a (dyn Primitive);
[INFO] [stdout] 19 + pub type PrimitiveRef<'a> = &'a dyn Primitive ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NopSampler` and `SamplerType`
[INFO] [stdout]  --> toy_ray_tracer/src/math/mod.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use sampler::{NopSampler, Sampler, SamplerPtr, SamplerType};
[INFO] [stdout]   |                   ^^^^^^^^^^                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MeshBundle`
[INFO] [stdout]  --> toy_ray_tracer/src/scene_builder/loaders/mod.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use mesh::{MeshBundle, MeshLoader};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nalgebra::Matrix3`
[INFO] [stdout]  --> toy_ray_tracer/src/bxdfs/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nalgebra::Matrix3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> toy_ray_tracer/src/core/primitive.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub type PrimitiveRef<'a> = &'a (dyn Primitive);
[INFO] [stdout]    |                                 ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 19 - pub type PrimitiveRef<'a> = &'a (dyn Primitive);
[INFO] [stdout] 19 + pub type PrimitiveRef<'a> = &'a dyn Primitive ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NopSampler` and `SamplerType`
[INFO] [stdout]  --> toy_ray_tracer/src/math/mod.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use sampler::{NopSampler, Sampler, SamplerPtr, SamplerType};
[INFO] [stdout]   |                   ^^^^^^^^^^                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MeshBundle`
[INFO] [stdout]  --> toy_ray_tracer/src/scene_builder/loaders/mod.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use mesh::{MeshBundle, MeshLoader};
[INFO] [stdout]   |                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SamplerType` is never used
[INFO] [stdout]  --> toy_ray_tracer/src/math/sampler.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum SamplerType {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NopSampler` is never constructed
[INFO] [stdout]   --> toy_ray_tracer/src/math/sampler.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct NopSampler {}
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> toy_ray_tracer/src/math/sampler.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl NopSampler {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 25 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SceneExtendItemConfig` is never constructed
[INFO] [stdout]   --> toy_ray_tracer/src/scene_builder/types.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct SceneExtendItemConfig {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiskRandomFixedSampler` is never constructed
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct DiskRandomFixedSampler {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 175 | impl DiskRandomFixedSampler {
[INFO] [stdout]     | --------------------------- associated function in this implementation
[INFO] [stdout] 176 |     pub fn new(disk: DiskData, block_size: [i32; 2]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiskUniformSampler` is never constructed
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:198:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | struct DiskUniformSampler {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:203:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl DiskUniformSampler {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 203 |     pub fn new(disk: DiskData, block_size: [i32; 2]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiskBlueNoiseSampler` is never constructed
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout] 230 | struct DiskBlueNoiseSampler {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `halton_sequense_2d`, and `radical_inverse` are never used
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:235:12
[INFO] [stdout]     |
[INFO] [stdout] 234 | impl DiskBlueNoiseSampler {
[INFO] [stdout]     | ------------------------- associated functions in this implementation
[INFO] [stdout] 235 |     pub fn new(disk: DiskData, block_size: [i32; 2]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     fn halton_sequense_2d(idx: i32) -> (f32, f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 256 |     fn radical_inverse(n: i32, base: i32) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertex_normals` is never read
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/triangle.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct TriangleMeshStorage {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub vertex_normals: Vec<Vec3f>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/accelerators/bvh.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn intersect(&self, ray: &Ray, t_min: f32, mut t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn intersect(&self, ray: &Ray, t_min: f32, mut t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/core/primitive.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction>;
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/core/primitive.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction>;
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> toy_ray_tracer/src/core/shape.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction>;
[INFO] [stdout]   |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]   |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/core/vec.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub(crate) fn iter(&self) -> std::slice::Iter<Vec3f> {
[INFO] [stdout]    |                        ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub(crate) fn iter(&self) -> std::slice::Iter<'_, Vec3f> {
[INFO] [stdout]    |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/geometry.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/transform.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 19 |     ) -> Option<crate::core::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ) -> Option<crate::core::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/primitive_list.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn intersect_impl(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                       ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn intersect_impl(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/primitive_list.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/primitive_list.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> toy_ray_tracer/src/scene_builder/builder.rs:402:52
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let texture: TexturePtr<Vec3f> = match conf.clone() {
[INFO] [stdout]     |                                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `AorB<TextureConfig<JVec3f>, JVec3f>` does not implement `Clone`, so calling `clone` on `&AorB<TextureConfig<JVec3f>, JVec3f>` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 402 -         let texture: TexturePtr<Vec3f> = match conf.clone() {
[INFO] [stdout] 402 +         let texture: TexturePtr<Vec3f> = match conf {
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `AorB<TextureConfig<JVec3f>, JVec3f>`, implement `Clone` for it
[INFO] [stdout]    --> toy_ray_tracer/src/scene_builder/types.rs:216:1
[INFO] [stdout]     |
[INFO] [stdout] 216 + #[derive(Clone)]
[INFO] [stdout] 217 | pub enum AorB<A, B> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/cube.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/cylinder.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/cylinder.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 127 |     ) -> Option<SurfaceInteraction> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 127 |     ) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/disk.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/pyramid.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 30 |     ) -> Option<crate::core::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     ) -> Option<crate::core::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/rect.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/regular_polygon.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 67 |     ) -> Option<crate::core::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ) -> Option<crate::core::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/shape_list.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 46 |     ) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 46 |     ) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/sphere.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/triangle.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 47 |     ) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     ) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SamplerType` is never used
[INFO] [stdout]  --> toy_ray_tracer/src/math/sampler.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum SamplerType {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NopSampler` is never constructed
[INFO] [stdout]   --> toy_ray_tracer/src/math/sampler.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct NopSampler {}
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> toy_ray_tracer/src/math/sampler.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl NopSampler {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 25 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SceneExtendItemConfig` is never constructed
[INFO] [stdout]   --> toy_ray_tracer/src/scene_builder/types.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub struct SceneExtendItemConfig {}
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiskRandomFixedSampler` is never constructed
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:171:8
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct DiskRandomFixedSampler {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:176:12
[INFO] [stdout]     |
[INFO] [stdout] 175 | impl DiskRandomFixedSampler {
[INFO] [stdout]     | --------------------------- associated function in this implementation
[INFO] [stdout] 176 |     pub fn new(disk: DiskData, block_size: [i32; 2]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiskUniformSampler` is never constructed
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:198:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | struct DiskUniformSampler {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:203:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl DiskUniformSampler {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 203 |     pub fn new(disk: DiskData, block_size: [i32; 2]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DiskBlueNoiseSampler` is never constructed
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout] 230 | struct DiskBlueNoiseSampler {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `halton_sequense_2d`, and `radical_inverse` are never used
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/disk.rs:235:12
[INFO] [stdout]     |
[INFO] [stdout] 234 | impl DiskBlueNoiseSampler {
[INFO] [stdout]     | ------------------------- associated functions in this implementation
[INFO] [stdout] 235 |     pub fn new(disk: DiskData, block_size: [i32; 2]) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     fn halton_sequense_2d(idx: i32) -> (f32, f32) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 256 |     fn radical_inverse(n: i32, base: i32) -> f32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vertex_normals` is never read
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/triangle.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct TriangleMeshStorage {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub vertex_normals: Vec<Vec3f>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/accelerators/bvh.rs:87:18
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn intersect(&self, ray: &Ray, t_min: f32, mut t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                       ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn intersect(&self, ray: &Ray, t_min: f32, mut t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/core/primitive.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction>;
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/core/primitive.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction>;
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]  --> toy_ray_tracer/src/core/shape.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction>;
[INFO] [stdout]   |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]   |
[INFO] [stdout]   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>>;
[INFO] [stdout]   |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/core/vec.rs:48:24
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub(crate) fn iter(&self) -> std::slice::Iter<Vec3f> {
[INFO] [stdout]    |                        ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub(crate) fn iter(&self) -> std::slice::Iter<'_, Vec3f> {
[INFO] [stdout]    |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/geometry.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/transform.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 19 |     ) -> Option<crate::core::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     ) -> Option<crate::core::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/primitive_list.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn intersect_impl(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                       ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn intersect_impl(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/primitive_list.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/primitives/primitive_list.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> toy_ray_tracer/src/scene_builder/builder.rs:402:52
[INFO] [stdout]     |
[INFO] [stdout] 402 |         let texture: TexturePtr<Vec3f> = match conf.clone() {
[INFO] [stdout]     |                                                    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `AorB<TextureConfig<JVec3f>, JVec3f>` does not implement `Clone`, so calling `clone` on `&AorB<TextureConfig<JVec3f>, JVec3f>` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 402 -         let texture: TexturePtr<Vec3f> = match conf.clone() {
[INFO] [stdout] 402 +         let texture: TexturePtr<Vec3f> = match conf {
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `AorB<TextureConfig<JVec3f>, JVec3f>`, implement `Clone` for it
[INFO] [stdout]    --> toy_ray_tracer/src/scene_builder/types.rs:216:1
[INFO] [stdout]     |
[INFO] [stdout] 216 + #[derive(Clone)]
[INFO] [stdout] 217 | pub enum AorB<A, B> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/cube.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/cylinder.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> toy_ray_tracer/src/shapes/cylinder.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         &self,
[INFO] [stdout]     |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 127 |     ) -> Option<SurfaceInteraction> {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 127 |     ) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]     |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/disk.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 59 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/pyramid.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 30 |     ) -> Option<crate::core::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 30 |     ) -> Option<crate::core::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/rect.rs:82:18
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/regular_polygon.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 67 |     ) -> Option<crate::core::SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     ) -> Option<crate::core::SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/shape_list.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 46 |     ) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 46 |     ) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/sphere.rs:38:18
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                                                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> toy_ray_tracer/src/shapes/triangle.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         &self,
[INFO] [stdout]    |         ^^^^^ the lifetime is elided here
[INFO] [stdout] ...
[INFO] [stdout] 47 |     ) -> Option<SurfaceInteraction> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     ) -> Option<SurfaceInteraction<'_>> {
[INFO] [stdout]    |                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s
[INFO] running `Command { std: "docker" "inspect" "a1f512b4b11f89da967807e83bedeb2c57279307dec1f4b512cb9c86ec0bd9df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1f512b4b11f89da967807e83bedeb2c57279307dec1f4b512cb9c86ec0bd9df", kill_on_drop: false }`
[INFO] [stdout] a1f512b4b11f89da967807e83bedeb2c57279307dec1f4b512cb9c86ec0bd9df
