[INFO] cloning repository https://github.com/WillCusick/lili [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WillCusick/lili" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillCusick%2Flili", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillCusick%2Flili'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 885b2db51c1101ebb197f2f9f5139b6b62d94723 [INFO] checking WillCusick/lili/885b2db51c1101ebb197f2f9f5139b6b62d94723 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillCusick%2Flili" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WillCusick/lili on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WillCusick/lili [INFO] finished tweaking git repo https://github.com/WillCusick/lili [INFO] tweaked toml for git repo https://github.com/WillCusick/lili written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WillCusick/lili 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fast_polynomial v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b48f96b165dc5bc26be9229c93f9bc459dd34624a8270ecea468f35acfa4e7d [INFO] running `Command { std: "docker" "start" "-a" "6b48f96b165dc5bc26be9229c93f9bc459dd34624a8270ecea468f35acfa4e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b48f96b165dc5bc26be9229c93f9bc459dd34624a8270ecea468f35acfa4e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b48f96b165dc5bc26be9229c93f9bc459dd34624a8270ecea468f35acfa4e7d", kill_on_drop: false }` [INFO] [stdout] 6b48f96b165dc5bc26be9229c93f9bc459dd34624a8270ecea468f35acfa4e7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d2122177863d623574a76ff066ca70fca3d5b9c0bc8237fa793588460dddae1 [INFO] running `Command { std: "docker" "start" "-a" "4d2122177863d623574a76ff066ca70fca3d5b9c0bc8237fa793588460dddae1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking auto_ops v0.3.0 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking fast_polynomial v0.1.0 [INFO] [stderr] Checking lili v0.1.0 (/opt/rustwide/workdir/lili) [INFO] [stdout] warning: unexpected `cfg` condition name: `f64` [INFO] [stdout] --> lili/src/math/float.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(f64))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "f64"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(f64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(f64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `f64` [INFO] [stdout] --> lili/src/math/float.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(f64)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "f64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(f64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(f64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `f64` [INFO] [stdout] --> lili/src/math/float.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg(not(f64))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "f64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(f64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(f64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `f64` [INFO] [stdout] --> lili/src/math/float.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | #[cfg(f64)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "f64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(f64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(f64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `f64` [INFO] [stdout] --> lili/src/math/float.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(f64))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "f64"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(f64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(f64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `f64` [INFO] [stdout] --> lili/src/math/float.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(f64)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "f64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(f64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(f64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `f64` [INFO] [stdout] --> lili/src/math/float.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg(not(f64))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "f64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(f64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(f64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `f64` [INFO] [stdout] --> lili/src/math/float.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | #[cfg(f64)] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "f64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(f64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(f64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> lili/src/cpu/integrator.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn sample_uniform_sphere(u: Point2f) -> Vector3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> lili/src/cpu/integrator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn abs_dot(a: &Vector3f, b: &Vector3f) -> Float { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> lili/src/cpu/integrator.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn abs_dot(a: &Vector3f, b: &Vector3f) -> Float { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> lili/src/cpu/integrator.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn intersect(&self, ray: &Ray, t_max: Float) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> lili/src/cpu/integrator.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn intersect(&self, ray: &Ray, t_max: Float) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> lili/src/cpu/integrator.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect_p(&self, ray: &Ray, t_max: Float) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> lili/src/cpu/integrator.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect_p(&self, ray: &Ray, t_max: Float) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> lili/src/cpu/integrator.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn preprocess(&mut self, bounds: &Bounds3f) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> lili/src/cpu/integrator.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | fn le(&self, ray: &Ray, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn le(&self, ray: &Ray, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> lili/src/cpu/integrator.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | fn f(&self, wo: &Vector3f, wp: &Vector3f) -> SampledSpectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wp` [INFO] [stdout] --> lili/src/cpu/integrator.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | fn f(&self, wo: &Vector3f, wp: &Vector3f) -> SampledSpectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> lili/src/cpu/integrator.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | fn le(&self, wo: &Vector3f, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | fn le(&self, wo: &Vector3f, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> lili/src/cpu/integrator.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | lambda: &SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> lili/src/cpu/integrator.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | camera: &Camera, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch_buffer` [INFO] [stdout] --> lili/src/cpu/integrator.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | scratch_buffer: &ScratchBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> lili/src/cpu/integrator.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | sampler: &Sampler, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wp` [INFO] [stdout] --> lili/src/cpu/integrator.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | fn spawn_ray(&self, wp: &Vector3f) -> RayDifferential { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> lili/src/cpu/integrator.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | fn start_pixel_sample(&self, pixel: &Point2i, sample_index: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_index` [INFO] [stdout] --> lili/src/cpu/integrator.rs:120:51 [INFO] [stdout] | [INFO] [stdout] 120 | fn start_pixel_sample(&self, pixel: &Point2i, sample_index: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_sample` [INFO] [stdout] --> lili/src/cpu/integrator.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | camera_sample: CameraSample, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | lambda: &SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> lili/src/cpu/integrator.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | fn sample_wavelengths(&self, sample: Float) -> SampledWavelengths { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> lili/src/cpu/integrator.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | pixel: Point2i, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> lili/src/cpu/integrator.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | l: SampledSpectrum, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | lambda: SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_surface` [INFO] [stdout] --> lili/src/cpu/integrator.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | visible_surface: &VisibleSurface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_weight` [INFO] [stdout] --> lili/src/cpu/integrator.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | filter_weight: Float, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> lili/src/cpu/integrator.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | fn new(sampler: &Sampler, pixel: Point2i, filter: Filter) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> lili/src/cpu/integrator.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | fn new(sampler: &Sampler, pixel: Point2i, filter: Filter) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> lili/src/cpu/integrator.rs:187:47 [INFO] [stdout] | [INFO] [stdout] 187 | fn new(sampler: &Sampler, pixel: Point2i, filter: Filter) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> lili/src/cpu/integrator.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | fn new(total: i64, message: &str, quiet: bool) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> lili/src/cpu/integrator.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | fn new(total: i64, message: &str, quiet: bool) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quiet` [INFO] [stdout] --> lili/src/cpu/integrator.rs:217:39 [INFO] [stdout] | [INFO] [stdout] 217 | fn new(total: i64, message: &str, quiet: bool) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quiet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> lili/src/cpu/integrator.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | fn update(&self, progress: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wavelength` [INFO] [stdout] --> lili/src/cpu/integrator.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | fn new(wavelength: Float) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wavelength` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> lili/src/cpu/integrator.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | fn mul(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> lili/src/cpu/integrator.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | fn mul(self, rhs: Float) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> lili/src/cpu/integrator.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | fn div(self, rhs: Float) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> lili/src/cpu/integrator.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_diff_scale` [INFO] [stdout] --> lili/src/cpu/integrator.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | let ray_diff_scale = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_diff_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> lili/src/cpu/integrator.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | let l = ray.weight [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lili/src/cpu/integrator.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | let mut camera_ray = camera.generate_ray_differential(camera_sample, &lambda); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lili/src/cpu/integrator.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let mut l = SampledSpectrum::new(0.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lili/src/cpu/integrator.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | if let Some(mut ray) = camera_ray { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filenames` [INFO] [stdout] --> lili/src/scene.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_files(filenames: Vec) -> BasicScene { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filenames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> lili/src/lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(options: &Options) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> lili/src/lib.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn render(&self, scene: BasicScene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_uniform_sphere` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn sample_uniform_sphere(u: Point2f) -> Vector3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs_dot` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn abs_dot(a: &Vector3f, b: &Vector3f) -> Float { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Primitive` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Primitive {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `intersect`, `intersect_p`, `bounds`, and `valid` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Primitive { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 25 | fn intersect(&self, ray: &Ray, t_max: Float) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn intersect_p(&self, ray: &Ray, t_max: Float) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn bounds(&self) -> Bounds3f { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Light` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | enum Light { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `preprocess`, `light_type`, and `le` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Light { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 49 | fn preprocess(&mut self, bounds: &Bounds3f) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn light_type(&self) -> LightType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn le(&self, ray: &Ray, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LightType` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum LightType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bsdf` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct Bsdf {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `f` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Bsdf { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 72 | fn f(&self, wo: &Vector3f, wp: &Vector3f) -> SampledSpectrum { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shading` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct Shading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShapeIntersection` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct ShapeIntersection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `le`, `bsdf`, and `spawn_ray` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl ShapeIntersection { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 87 | fn le(&self, wo: &Vector3f, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn bsdf( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn spawn_ray(&self, wp: &Vector3f) -> RayDifferential { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SurfaceInteraction` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | struct SurfaceInteraction {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds3f` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct Bounds3f {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bounds3f` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sampler` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct Sampler {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `samples_per_pixel`, `start_pixel_sample`, `get_1d`, and `get_2d` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Sampler { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 116 | fn samples_per_pixel(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn start_pixel_sample(&self, pixel: &Point2i, sample_index: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn get_1d(&self) -> Float { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn get_2d(&self) -> Point2f { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScratchBuffer` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct ScratchBuffer {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScratchBuffer` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_ray_differential` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 141 | fn generate_ray_differential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Film` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | struct Film {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_bounds`, `sample_wavelengths`, `filter`, `uses_visible_surface`, and `add_sample` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl Film { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 153 | fn pixel_bounds(&self) -> Bounds2i { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn sample_wavelengths(&self, sample: Float) -> SampledWavelengths { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn filter(&self) -> Filter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn uses_visible_surface(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn add_sample( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraSample` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | struct CameraSample { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl CameraSample { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 187 | fn new(sampler: &Sampler, pixel: Point2i, filter: Filter) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct Filter {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds2i` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | struct Bounds2i {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `area`, `x`, and `y` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 196 | impl Bounds2i { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 197 | fn area(&self) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn x(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn y(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Renderer` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | trait Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressReporter` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | struct ProgressReporter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl ProgressReporter { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 217 | fn new(total: i64, message: &str, quiet: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn update(&self, progress: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraRayDifferential` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | struct CameraRayDifferential { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampledWavelengths` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | struct SampledWavelengths {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `nonzero` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 236 | impl SampledSpectrum { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 237 | fn new(wavelength: Float) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn nonzero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisibleSurface` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | struct VisibleSurface {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VisibleSurface` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntersectorTrait` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | trait IntersectorTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AggregateIntersector` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | struct AggregateIntersector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | impl AggregateIntersector { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 296 | fn new(aggregate: Primitive, mut lights: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PixelEvaluator` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | trait PixelEvaluator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTileIntegrator` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | struct ImageTileIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 358 | impl ImageTileIntegrator { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] 359 | fn new(camera: Camera, sampler: Sampler, pixel_evaluator: E) -> ImageTileIntegrator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RadianceComputer` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | trait RadianceComputer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RayIntegrator` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | struct RayIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 427 | impl RayIntegrator { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 428 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> lili/src/cpu/integrator.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | fn sample_uniform_sphere(u: Point2f) -> Vector3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomWalkIntegrator` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | struct RandomWalkIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `li_random_walk` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 496 | impl RandomWalkIntegrator { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 497 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | fn li_random_walk( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> lili/src/cpu/integrator.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | fn abs_dot(a: &Vector3f, b: &Vector3f) -> Float { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> lili/src/cpu/integrator.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn abs_dot(a: &Vector3f, b: &Vector3f) -> Float { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample`, `pmf`, and `u_remapped` are never read [INFO] [stdout] --> lili/src/math/sampling.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DiscreteSample { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | sample: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | pmf: Float, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | u_remapped: Float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> lili/src/cpu/integrator.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn intersect(&self, ray: &Ray, t_max: Float) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Distance` is never used [INFO] [stdout] --> lili/src/math/points.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait Distance: Sub + Sized [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> lili/src/cpu/integrator.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn intersect(&self, ray: &Ray, t_max: Float) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> lili/src/cpu/integrator.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect_p(&self, ray: &Ray, t_max: Float) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> lili/src/cpu/integrator.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn intersect_p(&self, ray: &Ray, t_max: Float) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> lili/src/cpu/integrator.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | fn preprocess(&mut self, bounds: &Bounds3f) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> lili/src/cpu/integrator.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | fn le(&self, ray: &Ray, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | fn le(&self, ray: &Ray, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> lili/src/cpu/integrator.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | fn f(&self, wo: &Vector3f, wp: &Vector3f) -> SampledSpectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wp` [INFO] [stdout] --> lili/src/cpu/integrator.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | fn f(&self, wo: &Vector3f, wp: &Vector3f) -> SampledSpectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wo` [INFO] [stdout] --> lili/src/cpu/integrator.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 87 | fn le(&self, wo: &Vector3f, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | fn le(&self, wo: &Vector3f, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> lili/src/cpu/integrator.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | lambda: &SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> lili/src/cpu/integrator.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | camera: &Camera, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scratch_buffer` [INFO] [stdout] --> lili/src/cpu/integrator.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | scratch_buffer: &ScratchBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> lili/src/cpu/integrator.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | sampler: &Sampler, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wp` [INFO] [stdout] --> lili/src/cpu/integrator.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | fn spawn_ray(&self, wp: &Vector3f) -> RayDifferential { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_wp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> lili/src/cpu/integrator.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | fn start_pixel_sample(&self, pixel: &Point2i, sample_index: i32) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_index` [INFO] [stdout] --> lili/src/cpu/integrator.rs:120:51 [INFO] [stdout] | [INFO] [stdout] 120 | fn start_pixel_sample(&self, pixel: &Point2i, sample_index: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera_sample` [INFO] [stdout] --> lili/src/cpu/integrator.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | camera_sample: CameraSample, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | lambda: &SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> lili/src/cpu/integrator.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | fn sample_wavelengths(&self, sample: Float) -> SampledWavelengths { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> lili/src/cpu/integrator.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | pixel: Point2i, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> lili/src/cpu/integrator.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | l: SampledSpectrum, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> lili/src/cpu/integrator.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | lambda: SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visible_surface` [INFO] [stdout] --> lili/src/cpu/integrator.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | visible_surface: &VisibleSurface, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visible_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter_weight` [INFO] [stdout] --> lili/src/cpu/integrator.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | filter_weight: Float, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sampler` [INFO] [stdout] --> lili/src/cpu/integrator.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | fn new(sampler: &Sampler, pixel: Point2i, filter: Filter) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> lili/src/cpu/integrator.rs:187:31 [INFO] [stdout] | [INFO] [stdout] 187 | fn new(sampler: &Sampler, pixel: Point2i, filter: Filter) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filter` [INFO] [stdout] --> lili/src/cpu/integrator.rs:187:47 [INFO] [stdout] | [INFO] [stdout] 187 | fn new(sampler: &Sampler, pixel: Point2i, filter: Filter) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total` [INFO] [stdout] --> lili/src/cpu/integrator.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | fn new(total: i64, message: &str, quiet: bool) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_total` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> lili/src/cpu/integrator.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | fn new(total: i64, message: &str, quiet: bool) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `quiet` [INFO] [stdout] --> lili/src/cpu/integrator.rs:217:39 [INFO] [stdout] | [INFO] [stdout] 217 | fn new(total: i64, message: &str, quiet: bool) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_quiet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> lili/src/cpu/integrator.rs:221:22 [INFO] [stdout] | [INFO] [stdout] 221 | fn update(&self, progress: i32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wavelength` [INFO] [stdout] --> lili/src/cpu/integrator.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | fn new(wavelength: Float) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wavelength` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> lili/src/cpu/integrator.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | fn mul(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> lili/src/cpu/integrator.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | fn mul(self, rhs: Float) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> lili/src/cpu/integrator.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | fn div(self, rhs: Float) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rhs` [INFO] [stdout] --> lili/src/cpu/integrator.rs:273:18 [INFO] [stdout] | [INFO] [stdout] 273 | fn add(self, rhs: Self) -> Self::Output { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_diff_scale` [INFO] [stdout] --> lili/src/cpu/integrator.rs:460:17 [INFO] [stdout] | [INFO] [stdout] 460 | let ray_diff_scale = [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_diff_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> lili/src/cpu/integrator.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | let l = ray.weight [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lili/src/cpu/integrator.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | let mut camera_ray = camera.generate_ray_differential(camera_sample, &lambda); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lili/src/cpu/integrator.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let mut l = SampledSpectrum::new(0.0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> lili/src/cpu/integrator.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | if let Some(mut ray) = camera_ray { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filenames` [INFO] [stdout] --> lili/src/scene.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_files(filenames: Vec) -> BasicScene { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filenames` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> lili/src/lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(options: &Options) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> lili/src/lib.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn render(&self, scene: BasicScene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_uniform_sphere` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn sample_uniform_sphere(u: Point2f) -> Vector3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `abs_dot` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn abs_dot(a: &Vector3f, b: &Vector3f) -> Float { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Primitive` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Primitive {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `intersect`, `intersect_p`, `bounds`, and `valid` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Primitive { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 25 | fn intersect(&self, ray: &Ray, t_max: Float) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn intersect_p(&self, ray: &Ray, t_max: Float) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn bounds(&self) -> Bounds3f { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | fn valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Light` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 43 | enum Light { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `preprocess`, `light_type`, and `le` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Light { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 49 | fn preprocess(&mut self, bounds: &Bounds3f) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn light_type(&self) -> LightType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn le(&self, ray: &Ray, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LightType` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum LightType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bsdf` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct Bsdf {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `f` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Bsdf { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 72 | fn f(&self, wo: &Vector3f, wp: &Vector3f) -> SampledSpectrum { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Shading` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | struct Shading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShapeIntersection` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct ShapeIntersection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `le`, `bsdf`, and `spawn_ray` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl ShapeIntersection { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 87 | fn le(&self, wo: &Vector3f, lambda: &SampledWavelengths) -> SampledSpectrum { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn bsdf( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn spawn_ray(&self, wp: &Vector3f) -> RayDifferential { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SurfaceInteraction` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | struct SurfaceInteraction {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds3f` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct Bounds3f {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bounds3f` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sampler` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | struct Sampler {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `samples_per_pixel`, `start_pixel_sample`, `get_1d`, and `get_2d` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Sampler { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 116 | fn samples_per_pixel(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn start_pixel_sample(&self, pixel: &Point2i, sample_index: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn get_1d(&self) -> Float { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn get_2d(&self) -> Point2f { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScratchBuffer` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | struct ScratchBuffer {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScratchBuffer` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Camera` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_ray_differential` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 140 | impl Camera { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 141 | fn generate_ray_differential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Film` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | struct Film {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pixel_bounds`, `sample_wavelengths`, `filter`, `uses_visible_surface`, and `add_sample` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl Film { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 153 | fn pixel_bounds(&self) -> Bounds2i { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn sample_wavelengths(&self, sample: Float) -> SampledWavelengths { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn filter(&self) -> Filter { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn uses_visible_surface(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn add_sample( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraSample` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | struct CameraSample { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl CameraSample { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 187 | fn new(sampler: &Sampler, pixel: Point2i, filter: Filter) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Filter` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct Filter {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bounds2i` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | struct Bounds2i {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `area`, `x`, and `y` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 196 | impl Bounds2i { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 197 | fn area(&self) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn x(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 205 | fn y(&self) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Renderer` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | trait Renderer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressReporter` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | struct ProgressReporter {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 216 | impl ProgressReporter { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 217 | fn new(total: i64, message: &str, quiet: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | fn update(&self, progress: i32) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraRayDifferential` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | struct CameraRayDifferential { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SampledWavelengths` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:231:8 [INFO] [stdout] | [INFO] [stdout] 231 | struct SampledWavelengths {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `nonzero` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:237:8 [INFO] [stdout] | [INFO] [stdout] 236 | impl SampledSpectrum { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 237 | fn new(wavelength: Float) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | fn nonzero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisibleSurface` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:279:8 [INFO] [stdout] | [INFO] [stdout] 279 | struct VisibleSurface {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VisibleSurface` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntersectorTrait` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | trait IntersectorTrait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AggregateIntersector` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | struct AggregateIntersector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 295 | impl AggregateIntersector { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 296 | fn new(aggregate: Primitive, mut lights: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PixelEvaluator` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | trait PixelEvaluator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTileIntegrator` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:350:8 [INFO] [stdout] | [INFO] [stdout] 350 | struct ImageTileIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 358 | impl ImageTileIntegrator { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] 359 | fn new(camera: Camera, sampler: Sampler, pixel_evaluator: E) -> ImageTileIntegrator { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RadianceComputer` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:411:7 [INFO] [stdout] | [INFO] [stdout] 411 | trait RadianceComputer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RayIntegrator` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | struct RayIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 427 | impl RayIntegrator { [INFO] [stdout] | ------------------------------------------ associated function in this implementation [INFO] [stdout] 428 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RandomWalkIntegrator` is never constructed [INFO] [stdout] --> lili/src/cpu/integrator.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 490 | struct RandomWalkIntegrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `li_random_walk` are never used [INFO] [stdout] --> lili/src/cpu/integrator.rs:497:8 [INFO] [stdout] | [INFO] [stdout] 496 | impl RandomWalkIntegrator { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 497 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | fn li_random_walk( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample`, `pmf`, and `u_remapped` are never read [INFO] [stdout] --> lili/src/math/sampling.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct DiscreteSample { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | sample: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | pmf: Float, [INFO] [stdout] | ^^^ [INFO] [stdout] 54 | u_remapped: Float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Distance` is never used [INFO] [stdout] --> lili/src/math/points.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | trait Distance: Sub + Sized [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 100 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking ll v0.1.0 (/opt/rustwide/workdir/ll) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.54s [INFO] running `Command { std: "docker" "inspect" "4d2122177863d623574a76ff066ca70fca3d5b9c0bc8237fa793588460dddae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d2122177863d623574a76ff066ca70fca3d5b9c0bc8237fa793588460dddae1", kill_on_drop: false }` [INFO] [stdout] 4d2122177863d623574a76ff066ca70fca3d5b9c0bc8237fa793588460dddae1