[INFO] cloning repository https://github.com/MinusKelvin/pbr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MinusKelvin/pbr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinusKelvin%2Fpbr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinusKelvin%2Fpbr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50011938fe08dbbcb0b2692afa41591c2213313c [INFO] checking MinusKelvin/pbr against master#bfc05d6b072585dfd0c792ec1b8728c08a3511fe for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinusKelvin%2Fpbr" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MinusKelvin/pbr [INFO] finished tweaking git repo https://github.com/MinusKelvin/pbr [INFO] tweaked toml for git repo https://github.com/MinusKelvin/pbr written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MinusKelvin/pbr on toolchain bfc05d6b072585dfd0c792ec1b8728c08a3511fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MinusKelvin/pbr 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" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui-winit v0.31.0 [INFO] [stderr] Downloaded ecolor v0.31.0 [INFO] [stderr] Downloaded egui-wgpu v0.31.0 [INFO] [stderr] Downloaded webbrowser v1.0.3 [INFO] [stderr] Downloaded emath v0.31.0 [INFO] [stderr] Downloaded wgpu v24.0.1 [INFO] [stderr] Downloaded wgpu-core v24.0.0 [INFO] [stderr] Downloaded wgpu-hal v24.0.0 [INFO] [stderr] Downloaded egui v0.31.0 [INFO] [stderr] Downloaded glam v0.30.0 [INFO] [stderr] Downloaded epaint_default_fonts v0.31.0 [INFO] [stderr] Downloaded epaint v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 462781ed145fe8fd025dfce1aa18e43ffad253cb6191b04c19fe3ff124d58115 [INFO] running `Command { std: "docker" "start" "-a" "462781ed145fe8fd025dfce1aa18e43ffad253cb6191b04c19fe3ff124d58115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "462781ed145fe8fd025dfce1aa18e43ffad253cb6191b04c19fe3ff124d58115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "462781ed145fe8fd025dfce1aa18e43ffad253cb6191b04c19fe3ff124d58115", kill_on_drop: false }` [INFO] [stdout] 462781ed145fe8fd025dfce1aa18e43ffad253cb6191b04c19fe3ff124d58115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99186c337419d106e0e336f3440dba1cf0760e5a155440f7af05e20e26d7a8ad [INFO] running `Command { std: "docker" "start" "-a" "99186c337419d106e0e336f3440dba1cf0760e5a155440f7af05e20e26d7a8ad", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling cc v1.2.15 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling wgpu-hal v24.0.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling wgpu-core v24.0.0 [INFO] [stderr] Checking epaint_default_fonts v0.31.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Compiling wgpu v24.0.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking type-map v0.5.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking wgpu-types v24.0.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.11 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking emath v0.31.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking glam v0.30.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ecolor v0.31.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking epaint v0.31.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking glam v0.29.2 [INFO] [stderr] Checking egui v0.31.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking wayland-protocols v0.32.6 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking webbrowser v1.0.3 [INFO] [stderr] Checking pbr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `phong::*` [INFO] [stdout] --> src/brdf.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use phong::*; [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] --> src/bvh.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | fn build_bvh_node(objs: &mut [(usize, &(dyn Object))]) -> BvhNode { [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] 36 - fn build_bvh_node(objs: &mut [(usize, &(dyn Object))]) -> BvhNode { [INFO] [stdout] 36 + fn build_bvh_node(objs: &mut [(usize, &dyn Object )]) -> BvhNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LightSample` [INFO] [stdout] --> src/scene.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::light::{Light, LightSample}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReciprocalSpectrum` [INFO] [stdout] --> src/scene_description.rs:18:85 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::spectrum::{AmplifiedSpectrum, ConstantSpectrum, PiecewiseLinearSpectrum, ReciprocalSpectrum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `phong::*` [INFO] [stdout] --> src/brdf.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use phong::*; [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] --> src/bvh.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | fn build_bvh_node(objs: &mut [(usize, &(dyn Object))]) -> BvhNode { [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] 36 - fn build_bvh_node(objs: &mut [(usize, &(dyn Object))]) -> BvhNode { [INFO] [stdout] 36 + fn build_bvh_node(objs: &mut [(usize, &dyn Object )]) -> BvhNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LightSample` [INFO] [stdout] --> src/scene.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::light::{Light, LightSample}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReciprocalSpectrum` [INFO] [stdout] --> src/scene_description.rs:18:85 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::spectrum::{AmplifiedSpectrum, ConstantSpectrum, PiecewiseLinearSpectrum, ReciprocalSpectrum}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spectrum` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use spectrum::{Spectrum, VISIBLE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Spectrum` [INFO] [stdout] --> src/main.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | use spectrum::{Spectrum, VISIBLE}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/scene.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pos: DVec3, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambdas` [INFO] [stdout] --> src/scene.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | lambdas: DVec4, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambdas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/scene.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn light_pmf(&self, pos: DVec3, lambdas: DVec4, light: &dyn Light) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambdas` [INFO] [stdout] --> src/scene.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn light_pmf(&self, pos: DVec3, lambdas: DVec4, light: &dyn Light) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambdas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light` [INFO] [stdout] --> src/scene.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn light_pmf(&self, pos: DVec3, lambdas: DVec4, light: &dyn Light) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spectrum.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut data: Vec<_> = (VISIBLE.start as usize..VISIBLE.end as usize) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/vol_trace.rs:265:72 [INFO] [stdout] | [INFO] [stdout] 265 | let t_maj = sample_tmaj(pos, dir, medium, t_max, lambdas, |p, mp, majorant, t_maj| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `terminate_secondary` is never read [INFO] [stdout] --> src/brdf.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BrdfSample { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub terminate_secondary: bool, [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 `CompositeBrdf` is never constructed [INFO] [stdout] --> src/brdf.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct CompositeBrdf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `effectively_smooth` is never used [INFO] [stdout] --> src/brdf.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl TrowbridgeReitzDistribution { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn effectively_smooth(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhongSpecularBrdf` is never constructed [INFO] [stdout] --> src/brdf/phong.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PhongSpecularBrdf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhongRetroBrdf` is never constructed [INFO] [stdout] --> src/brdf/phong.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct PhongRetroBrdf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThinDielectricBrdf` is never constructed [INFO] [stdout] --> src/brdf/dielectric.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ThinDielectricBrdf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `emission` is never read [INFO] [stdout] --> src/material.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 11 | pub emission: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emission_sample` is never used [INFO] [stdout] --> src/material.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait MaterialErased: Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 18 | fn emission_sample(&self, lambdas: DVec4) -> DVec4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `density_coefficient` is never used [INFO] [stdout] --> src/medium.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 185 | impl AtmosphereDryAir { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 186 | fn density_coefficient(&self, lambdas: DVec4) -> DVec4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `test` is never used [INFO] [stdout] --> src/objects/voxel.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl VoxelOctree { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 42 | pub fn test(materials: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_trace` is never used [INFO] [stdout] --> src/path_trace.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn path_trace( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transmittance` is never used [INFO] [stdout] --> src/path_trace.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn transmittance<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `light_emission` is never used [INFO] [stdout] --> src/scene.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scene { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn light_emission( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReciprocalSpectrum` is never constructed [INFO] [stdout] --> src/spectrum.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct ReciprocalSpectrum(pub S); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blackbody` is never constructed [INFO] [stdout] --> src/spectrum/physical.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Blackbody { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 77 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option; [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] 20 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 28 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 40 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 102 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 211 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:234:16 [INFO] [stdout] | [INFO] [stdout] 234 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 234 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects/voxel.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 107 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn raycast(&self, origin: DVec3, direction: DVec3, mut max_t: f64) -> Option { [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] 29 | pub fn raycast(&self, origin: DVec3, direction: DVec3, mut max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/scene.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pos: DVec3, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambdas` [INFO] [stdout] --> src/scene.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | lambdas: DVec4, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambdas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/scene.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn light_pmf(&self, pos: DVec3, lambdas: DVec4, light: &dyn Light) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambdas` [INFO] [stdout] --> src/scene.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn light_pmf(&self, pos: DVec3, lambdas: DVec4, light: &dyn Light) -> f64 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambdas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light` [INFO] [stdout] --> src/scene.rs:55:57 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn light_pmf(&self, pos: DVec3, lambdas: DVec4, light: &dyn Light) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spectrum.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut data: Vec<_> = (VISIBLE.start as usize..VISIBLE.end as usize) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/vol_trace.rs:265:72 [INFO] [stdout] | [INFO] [stdout] 265 | let t_maj = sample_tmaj(pos, dir, medium, t_max, lambdas, |p, mp, majorant, t_maj| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `terminate_secondary` is never read [INFO] [stdout] --> src/brdf.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BrdfSample { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub terminate_secondary: bool, [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 `CompositeBrdf` is never constructed [INFO] [stdout] --> src/brdf.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct CompositeBrdf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `effectively_smooth` is never used [INFO] [stdout] --> src/brdf.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl TrowbridgeReitzDistribution { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn effectively_smooth(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhongSpecularBrdf` is never constructed [INFO] [stdout] --> src/brdf/phong.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PhongSpecularBrdf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PhongRetroBrdf` is never constructed [INFO] [stdout] --> src/brdf/phong.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct PhongRetroBrdf { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThinDielectricBrdf` is never constructed [INFO] [stdout] --> src/brdf/dielectric.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ThinDielectricBrdf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `emission` is never read [INFO] [stdout] --> src/material.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Material { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 11 | pub emission: E, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `emission_sample` is never used [INFO] [stdout] --> src/material.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait MaterialErased: Send + Sync { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 18 | fn emission_sample(&self, lambdas: DVec4) -> DVec4; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `density_coefficient` is never used [INFO] [stdout] --> src/medium.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 185 | impl AtmosphereDryAir { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 186 | fn density_coefficient(&self, lambdas: DVec4) -> DVec4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `test` is never used [INFO] [stdout] --> src/objects/voxel.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl VoxelOctree { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 42 | pub fn test(materials: Vec>) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_trace` is never used [INFO] [stdout] --> src/path_trace.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn path_trace( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transmittance` is never used [INFO] [stdout] --> src/path_trace.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn transmittance<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `light_emission` is never used [INFO] [stdout] --> src/scene.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scene { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn light_emission( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReciprocalSpectrum` is never constructed [INFO] [stdout] --> src/spectrum.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct ReciprocalSpectrum(pub S); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blackbody` is never constructed [INFO] [stdout] --> src/spectrum/physical.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Blackbody { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bvh.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 77 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 77 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option; [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] 20 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 28 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 40 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:102:16 [INFO] [stdout] | [INFO] [stdout] 102 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 102 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 211 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects.rs:234:16 [INFO] [stdout] | [INFO] [stdout] 234 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 234 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/objects/voxel.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option { [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] 107 | fn raycast(&self, origin: DVec3, direction: DVec3, max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scene.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn raycast(&self, origin: DVec3, direction: DVec3, mut max_t: f64) -> Option { [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] 29 | pub fn raycast(&self, origin: DVec3, direction: DVec3, mut max_t: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wayland-protocols-wlr v0.3.6 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.6 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking egui-winit v0.31.0 [INFO] [stderr] Checking egui-wgpu v0.31.0 [INFO] [stderr] Checking viewer v0.1.0 (/opt/rustwide/workdir/viewer) [INFO] [stdout] warning: unused imports: `Slider` and `Widget` [INFO] [stdout] --> viewer/src/tonemap/none.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Slider, Ui, Widget}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> viewer/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> viewer/src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Slider` and `Widget` [INFO] [stdout] --> viewer/src/tonemap/none.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Slider, Ui, Widget}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> viewer/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> viewer/src/main.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "99186c337419d106e0e336f3440dba1cf0760e5a155440f7af05e20e26d7a8ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99186c337419d106e0e336f3440dba1cf0760e5a155440f7af05e20e26d7a8ad", kill_on_drop: false }` [INFO] [stdout] 99186c337419d106e0e336f3440dba1cf0760e5a155440f7af05e20e26d7a8ad