[INFO] cloning repository https://github.com/jalberse/shimmer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jalberse/shimmer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjalberse%2Fshimmer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjalberse%2Fshimmer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2059a49f41d797334bb54a5931cc4b8afea393c [INFO] checking jalberse/shimmer against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjalberse%2Fshimmer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jalberse/shimmer on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jalberse/shimmer [INFO] finished tweaking git repo https://github.com/jalberse/shimmer [INFO] tweaked toml for git repo https://github.com/jalberse/shimmer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jalberse/shimmer 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string-interner v0.14.0 [INFO] [stderr] Downloaded fdeflate v0.3.3 [INFO] [stderr] Downloaded auto_ops v0.3.0 [INFO] [stderr] Downloaded float_next_after v1.0.0 [INFO] [stderr] Downloaded png v0.17.10 [INFO] [stderr] Downloaded half v2.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.76 [INFO] [stderr] Downloaded fast_polynomial v0.1.0 [INFO] [stderr] Downloaded rgb2spec v0.1.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca47c3eb874cd4a255978077536662c213597dc1427e28390183d7a5f6bdd064 [INFO] running `Command { std: "docker" "start" "-a" "ca47c3eb874cd4a255978077536662c213597dc1427e28390183d7a5f6bdd064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca47c3eb874cd4a255978077536662c213597dc1427e28390183d7a5f6bdd064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca47c3eb874cd4a255978077536662c213597dc1427e28390183d7a5f6bdd064", kill_on_drop: false }` [INFO] [stdout] ca47c3eb874cd4a255978077536662c213597dc1427e28390183d7a5f6bdd064 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 831aaf3d6a756d4e3105f56d755eb70ce08a9b98693912454176ef42d30a774e [INFO] running `Command { std: "docker" "start" "-a" "831aaf3d6a756d4e3105f56d755eb70ce08a9b98693912454176ef42d30a774e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking crossbeam-epoch v0.9.15 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ahash v0.7.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking fast_polynomial v0.1.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Checking pdqselect v0.1.1 [INFO] [stderr] Checking rgb2spec v0.1.1 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking auto_ops v0.3.0 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking string-interner v0.14.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking shimmer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/camera.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 760 | lambda: &SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/camera.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | 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_transform` [INFO] [stdout] --> src/film.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | camera_transform: &CameraTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/film.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | loc: &FileLoc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/film.rs:1009:9 [INFO] [stdout] | [INFO] [stdout] 1009 | lambda: &SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/filter.rs:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn create(parameters: &mut ParameterDictionary, loc: &FileLoc) -> BoxFilter { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/image.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/image.rs:876:38 [INFO] [stdout] | [INFO] [stdout] 876 | fn write_pfm(&self, path: &Path, metadata: &ImageMetadata) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_space` [INFO] [stdout] --> src/integrator.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | color_space: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_index` [INFO] [stdout] --> src/integrator.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | 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: `sample_index` [INFO] [stdout] --> src/integrator.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | 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: `scratch_buffer` [INFO] [stdout] --> src/integrator.rs:671:9 [INFO] [stdout] | [INFO] [stdout] 671 | scratch_buffer: &mut Bump, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interaction.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut r = Ray::spawn_ray_to_both_offset(self.pi, self.n, self.time, it.pi, it.n); [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: unused variable: `camera_transform` [INFO] [stdout] --> src/light.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | camera_transform: &CameraTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/light.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | p: Point3f, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/light.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | n: Normal3f, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> src/light.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | uv: Point2f, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/light.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | w: Vector3f, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/light.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | lambda: &SampledWavelengths, [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] --> src/light.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | pub 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] --> src/light.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 329 | pub 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: `medium` [INFO] [stdout] --> src/light.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | medium: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium` [INFO] [stdout] --> src/light.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | medium: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/light.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | loc: &FileLoc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha_tex` [INFO] [stdout] --> src/light.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | alpha_tex: Arc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/light.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let mut l = parameters.get_one_spectrum( [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene_bounds` [INFO] [stdout] --> src/light.rs:629:30 [INFO] [stdout] | [INFO] [stdout] 629 | fn preprocess(&mut self, scene_bounds: &Bounds3f) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scene_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/light.rs:732:18 [INFO] [stdout] | [INFO] [stdout] 732 | 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] --> src/camera.rs:760:9 [INFO] [stdout] | [INFO] [stdout] 760 | lambda: &SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/camera.rs:782:9 [INFO] [stdout] | [INFO] [stdout] 782 | 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_transform` [INFO] [stdout] --> src/film.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | camera_transform: &CameraTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `named_materials` [INFO] [stdout] --> src/material.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | named_materials: &HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_named_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cached_spectra` [INFO] [stdout] --> src/material.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | cached_spectra: &mut HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cached_spectra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/film.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | loc: &FileLoc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/film.rs:1009:9 [INFO] [stdout] | [INFO] [stdout] 1009 | lambda: &SampledWavelengths, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lambda` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/filter.rs:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn create(parameters: &mut ParameterDictionary, loc: &FileLoc) -> BoxFilter { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_res` [INFO] [stdout] --> src/sampler.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | full_res: Point2i, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/image.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_loc` [INFO] [stdout] --> src/sampler.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | file_loc: &FileLoc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/sampler.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 117 | fn start_pixel_sample(&mut self, p: Point2i, sample_index: i32, dimension: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_index` [INFO] [stdout] --> src/sampler.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | fn start_pixel_sample(&mut self, p: Point2i, sample_index: i32, dimension: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimension` [INFO] [stdout] --> src/sampler.rs:117:69 [INFO] [stdout] | [INFO] [stdout] 117 | fn start_pixel_sample(&mut self, p: Point2i, sample_index: i32, dimension: i32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/image.rs:876:38 [INFO] [stdout] | [INFO] [stdout] 876 | fn write_pfm(&self, path: &Path, metadata: &ImageMetadata) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color_space` [INFO] [stdout] --> src/integrator.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | color_space: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_color_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_index` [INFO] [stdout] --> src/integrator.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | 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: `sample_index` [INFO] [stdout] --> src/integrator.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | 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: `scratch_buffer` [INFO] [stdout] --> src/integrator.rs:671:9 [INFO] [stdout] | [INFO] [stdout] 671 | scratch_buffer: &mut Bump, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scratch_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interaction.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let mut r = Ray::spawn_ray_to_both_offset(self.pi, self.n, self.time, it.pi, it.n); [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: unused variable: `camera_transform` [INFO] [stdout] --> src/light.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | camera_transform: &CameraTransform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/light.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | p: Point3f, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/light.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | n: Normal3f, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> src/light.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | uv: Point2f, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/light.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | w: Vector3f, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lambda` [INFO] [stdout] --> src/light.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | lambda: &SampledWavelengths, [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] --> src/light.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | pub 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] --> src/light.rs:329:33 [INFO] [stdout] | [INFO] [stdout] 329 | pub 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: `medium` [INFO] [stdout] --> src/light.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | medium: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `medium` [INFO] [stdout] --> src/light.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | medium: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_medium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loc` [INFO] [stdout] --> src/light.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | loc: &FileLoc, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha_tex` [INFO] [stdout] --> src/light.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | alpha_tex: Arc, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha_tex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/light.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let mut l = parameters.get_one_spectrum( [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene_bounds` [INFO] [stdout] --> src/light.rs:629:30 [INFO] [stdout] | [INFO] [stdout] 629 | fn preprocess(&mut self, scene_bounds: &Bounds3f) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scene_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/light.rs:732:18 [INFO] [stdout] | [INFO] [stdout] 732 | 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: `render_from_texture` [INFO] [stdout] --> src/texture.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | render_from_texture: Transform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_from_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `named_materials` [INFO] [stdout] --> src/material.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | named_materials: &HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_named_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cached_spectra` [INFO] [stdout] --> src/material.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | cached_spectra: &mut HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cached_spectra` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_res` [INFO] [stdout] --> src/sampler.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | full_res: Point2i, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_loc` [INFO] [stdout] --> src/sampler.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | file_loc: &FileLoc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/sampler.rs:117:38 [INFO] [stdout] | [INFO] [stdout] 117 | fn start_pixel_sample(&mut self, p: Point2i, sample_index: i32, dimension: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_index` [INFO] [stdout] --> src/sampler.rs:117:50 [INFO] [stdout] | [INFO] [stdout] 117 | fn start_pixel_sample(&mut self, p: Point2i, sample_index: i32, dimension: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dimension` [INFO] [stdout] --> src/sampler.rs:117:69 [INFO] [stdout] | [INFO] [stdout] 117 | fn start_pixel_sample(&mut self, p: Point2i, sample_index: i32, dimension: i32) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dimension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_from_texture` [INFO] [stdout] --> src/texture.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | render_from_texture: Transform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_from_texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time_0` and `time_1` are never read [INFO] [stdout] --> src/bounding_box.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct HitTimes { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 567 | time_0: Float, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 568 | time_1: Float, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_from_camera_n`, `render_from_camera_p`, `camera_from_render_r`, `camera_from_render_rd`, and `generate_ray_differential` are never used [INFO] [stdout] --> src/camera.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl CameraBase { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn render_from_camera_n(&self, n: &Normal3f) -> Normal3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn render_from_camera_p(&self, p: &Point3f) -> Point3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn camera_from_render_r(&self, r: &Ray, _time: Float) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn camera_from_render_rd(&self, r: &RayDifferential, _time: Float) -> RayDifferential { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn generate_ray_differential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ray` and `weight` are never read [INFO] [stdout] --> src/camera.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct CameraRay { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 447 | ray: Ray, [INFO] [stdout] | ^^^ [INFO] [stdout] 448 | weight: SampledSpectrum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raster_from_screen` and `screen_from_raster` are never read [INFO] [stdout] --> src/camera.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 597 | struct ProjectiveCameraBase { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 601 | raster_from_screen: Transform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 602 | screen_from_raster: Transform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectiveCameraBase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_search_directory` is never used [INFO] [stdout] --> src/file.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn set_search_directory(options: &mut Options, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/film.rs:967:5 [INFO] [stdout] | [INFO] [stdout] 965 | pub struct VisibleSurface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 966 | /// Point in space [INFO] [stdout] 967 | p: Point3f, [INFO] [stdout] | ^ [INFO] [stdout] 968 | /// Normal [INFO] [stdout] 969 | n: Normal3f, [INFO] [stdout] | ^ [INFO] [stdout] 970 | /// Shading normal [INFO] [stdout] 971 | ns: Normal3f, [INFO] [stdout] | ^^ [INFO] [stdout] 972 | uv: Point2f, [INFO] [stdout] | ^^ [INFO] [stdout] 973 | time: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | dpdx: Vector3f, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 979 | dpdy: Vector3f, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 982 | albedo: SampledSpectrum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_pixel` and `weight` are never read [INFO] [stdout] --> src/image.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ResampleWeight { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 70 | first_pixel: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | weight: [Float; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lights` is never read [INFO] [stdout] --> src/integrator.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct IntegratorBase { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | lights: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `displacement` and `normal_map` are never read [INFO] [stdout] --> src/material.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct DiffuseMaterial { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 145 | reflectance: Arc, [INFO] [stdout] 146 | displacement: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 147 | normal_map: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiffuseMaterial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wo` is never read [INFO] [stdout] --> src/material.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct MaterialEvalContext { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 235 | tex_ctx: TextureEvalContext, [INFO] [stdout] 236 | wo: Vector3f, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> src/sampler.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct IndependentSampler { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 83 | /// Store seed for determinism in start_pixel_sample(). [INFO] [stdout] 84 | seed: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndependentSampler` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIE_ILLUM_D5000` is never used [INFO] [stdout] --> src/spectra/named_spectrum.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | const CIE_ILLUM_D5000: [Float; 214] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `st`, `dsdx`, `dsdy`, `dtdx`, and `dtdy` are never read [INFO] [stdout] --> src/texture.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct TexCoord2D { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 235 | st: Point2f, [INFO] [stdout] | ^^ [INFO] [stdout] 236 | dsdx: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] 237 | dsdy: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] 238 | dtdx: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] 239 | dtdy: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `p`, `dpdx`, `dpdy`, and `n` are never read [INFO] [stdout] --> src/texture.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct TextureEvalContext { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 244 | p: Point3f, [INFO] [stdout] | ^ [INFO] [stdout] 245 | dpdx: Vector3f, [INFO] [stdout] | ^^^^ [INFO] [stdout] 246 | dpdy: Vector3f, [INFO] [stdout] | ^^^^ [INFO] [stdout] 247 | n: Normal3f, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> src/vecmath/frame.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | x: Vector3f, [INFO] [stdout] | ^ [INFO] [stdout] 10 | y: Vector3f, [INFO] [stdout] | ^ [INFO] [stdout] 11 | z: Vector3f, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vecmath/frame.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(x: Vector3f, y: Vector3f, z: Vector3f) -> Frame { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_xz(x: Vector3f, z: Vector3f) -> Frame { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_xy(x: Vector3f, y: Vector3f) -> Frame { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn from_z + Copy>(z: T) -> Frame { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn from_x + Copy>(x: T) -> Frame { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_y + Copy>(y: T) -> Frame { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn to_local(&self, v: Vector3f) -> Vector3f { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn to_local_n(&self, n: Normal3f) -> Normal3f { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `time_0` and `time_1` are never read [INFO] [stdout] --> src/bounding_box.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 566 | pub struct HitTimes { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 567 | time_0: Float, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 568 | time_1: Float, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `render_from_camera_n`, `render_from_camera_p`, `camera_from_render_r`, `camera_from_render_rd`, and `generate_ray_differential` are never used [INFO] [stdout] --> src/camera.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl CameraBase { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn render_from_camera_n(&self, n: &Normal3f) -> Normal3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn render_from_camera_p(&self, p: &Point3f) -> Point3f { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | pub fn camera_from_render_r(&self, r: &Ray, _time: Float) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn camera_from_render_rd(&self, r: &RayDifferential, _time: Float) -> RayDifferential { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn generate_ray_differential( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ray` and `weight` are never read [INFO] [stdout] --> src/camera.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 446 | pub struct CameraRay { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 447 | ray: Ray, [INFO] [stdout] | ^^^ [INFO] [stdout] 448 | weight: SampledSpectrum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raster_from_screen` and `screen_from_raster` are never read [INFO] [stdout] --> src/camera.rs:601:5 [INFO] [stdout] | [INFO] [stdout] 597 | struct ProjectiveCameraBase { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 601 | raster_from_screen: Transform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 602 | screen_from_raster: Transform, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProjectiveCameraBase` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_search_directory` is never used [INFO] [stdout] --> src/file.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn set_search_directory(options: &mut Options, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/film.rs:967:5 [INFO] [stdout] | [INFO] [stdout] 965 | pub struct VisibleSurface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 966 | /// Point in space [INFO] [stdout] 967 | p: Point3f, [INFO] [stdout] | ^ [INFO] [stdout] 968 | /// Normal [INFO] [stdout] 969 | n: Normal3f, [INFO] [stdout] | ^ [INFO] [stdout] 970 | /// Shading normal [INFO] [stdout] 971 | ns: Normal3f, [INFO] [stdout] | ^^ [INFO] [stdout] 972 | uv: Point2f, [INFO] [stdout] | ^^ [INFO] [stdout] 973 | time: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | dpdx: Vector3f, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 979 | dpdy: Vector3f, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 982 | albedo: SampledSpectrum, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_pixel` and `weight` are never read [INFO] [stdout] --> src/image.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ResampleWeight { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 70 | first_pixel: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 71 | weight: [Float; 4], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lights` is never read [INFO] [stdout] --> src/integrator.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct IntegratorBase { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | lights: Arc>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `displacement` and `normal_map` are never read [INFO] [stdout] --> src/material.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct DiffuseMaterial { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 145 | reflectance: Arc, [INFO] [stdout] 146 | displacement: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 147 | normal_map: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiffuseMaterial` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wo` is never read [INFO] [stdout] --> src/material.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct MaterialEvalContext { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 235 | tex_ctx: TextureEvalContext, [INFO] [stdout] 236 | wo: Vector3f, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> src/sampler.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct IndependentSampler { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 83 | /// Store seed for determinism in start_pixel_sample(). [INFO] [stdout] 84 | seed: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndependentSampler` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CIE_ILLUM_D5000` is never used [INFO] [stdout] --> src/spectra/named_spectrum.rs:305:7 [INFO] [stdout] | [INFO] [stdout] 305 | const CIE_ILLUM_D5000: [Float; 214] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `st`, `dsdx`, `dsdy`, `dtdx`, and `dtdy` are never read [INFO] [stdout] --> src/texture.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub struct TexCoord2D { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 235 | st: Point2f, [INFO] [stdout] | ^^ [INFO] [stdout] 236 | dsdx: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] 237 | dsdy: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] 238 | dtdx: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] 239 | dtdy: Float, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `p`, `dpdx`, `dpdy`, and `n` are never read [INFO] [stdout] --> src/texture.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub struct TextureEvalContext { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 244 | p: Point3f, [INFO] [stdout] | ^ [INFO] [stdout] 245 | dpdx: Vector3f, [INFO] [stdout] | ^^^^ [INFO] [stdout] 246 | dpdy: Vector3f, [INFO] [stdout] | ^^^^ [INFO] [stdout] 247 | n: Normal3f, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x`, `y`, and `z` are never read [INFO] [stdout] --> src/vecmath/frame.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Frame { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | x: Vector3f, [INFO] [stdout] | ^ [INFO] [stdout] 10 | y: Vector3f, [INFO] [stdout] | ^ [INFO] [stdout] 11 | z: Vector3f, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vecmath/frame.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Frame { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 15 | pub fn new(x: Vector3f, y: Vector3f, z: Vector3f) -> Frame { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn from_xz(x: Vector3f, z: Vector3f) -> Frame { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn from_xy(x: Vector3f, y: Vector3f) -> Frame { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn from_z + Copy>(z: T) -> Frame { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn from_x + Copy>(x: T) -> Frame { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn from_y + Copy>(y: T) -> Frame { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn to_local(&self, v: Vector3f) -> Vector3f { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn to_local_n(&self, n: Normal3f) -> Normal3f { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.49s [INFO] running `Command { std: "docker" "inspect" "831aaf3d6a756d4e3105f56d755eb70ce08a9b98693912454176ef42d30a774e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "831aaf3d6a756d4e3105f56d755eb70ce08a9b98693912454176ef42d30a774e", kill_on_drop: false }` [INFO] [stdout] 831aaf3d6a756d4e3105f56d755eb70ce08a9b98693912454176ef42d30a774e