[INFO] cloning repository https://github.com/DannyvanSwieten/rust_toy_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DannyvanSwieten/rust_toy_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDannyvanSwieten%2Frust_toy_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDannyvanSwieten%2Frust_toy_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce632a36a4f8371c134843d41acae6b08767c81b [INFO] checking DannyvanSwieten/rust_toy_tracer against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDannyvanSwieten%2Frust_toy_tracer" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DannyvanSwieten/rust_toy_tracer on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DannyvanSwieten/rust_toy_tracer [INFO] finished tweaking git repo https://github.com/DannyvanSwieten/rust_toy_tracer [INFO] tweaked toml for git repo https://github.com/DannyvanSwieten/rust_toy_tracer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DannyvanSwieten/rust_toy_tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aad37e3f9930edc55b814d10100d5866582a9bf12e921a49bff38b51c663b512 [INFO] running `Command { std: "docker" "start" "-a" "aad37e3f9930edc55b814d10100d5866582a9bf12e921a49bff38b51c663b512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aad37e3f9930edc55b814d10100d5866582a9bf12e921a49bff38b51c663b512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aad37e3f9930edc55b814d10100d5866582a9bf12e921a49bff38b51c663b512", kill_on_drop: false }` [INFO] [stdout] aad37e3f9930edc55b814d10100d5866582a9bf12e921a49bff38b51c663b512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e396cc92aef85faf85a9a41191a2fc1671ce7e4ddf06004005fe4050e6f8613a [INFO] running `Command { std: "docker" "start" "-a" "e396cc92aef85faf85a9a41191a2fc1671ce7e4ddf06004005fe4050e6f8613a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tobj v3.2.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking tiff v0.7.3 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.5.0 [INFO] [stderr] Checking image v0.24.3 [INFO] [stderr] Checking toy_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/disney_brdf_evaluate.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | (kd) // + gloss_brdf + clear_coat_brdf) * theta [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 289 - (kd) // + gloss_brdf + clear_coat_brdf) * theta [INFO] [stdout] 289 + kd // + gloss_brdf + clear_coat_brdf) * theta [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::disney_brdf_pdf::pdf_lambert` [INFO] [stdout] --> src/disney_brdf_sample.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::disney_brdf_pdf::pdf_lambert; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disney_brdf_pdf::pdf_disney_micro_facet_anisotropic` [INFO] [stdout] --> src/disney_brdf_sample.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | disney_brdf_pdf::pdf_disney_micro_facet_anisotropic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/light.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::disney_brdf_evaluate::*` [INFO] [stdout] --> src/materials.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::disney_brdf_evaluate::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ray::Ray` [INFO] [stdout] --> src/materials.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::disney_brdf_sample::sample_disney_bsdf` [INFO] [stdout] --> src/materials.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::disney_brdf_sample::sample_disney_bsdf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::disney_brdf_sample::sample_disney_diffuse` [INFO] [stdout] --> src/materials.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::disney_brdf_sample::sample_disney_diffuse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rand::sphere` [INFO] [stdout] --> src/materials.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::rand::sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera::Camera` [INFO] [stdout] --> src/raytracer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::camera::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::light::Light` [INFO] [stdout] --> src/raytracer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::light::Light; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirectionalLight` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use light::{DirectionalLight, Lights}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/disney_brdf_evaluate.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | (kd) // + gloss_brdf + clear_coat_brdf) * theta [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 289 - (kd) // + gloss_brdf + clear_coat_brdf) * theta [INFO] [stdout] 289 + kd // + gloss_brdf + clear_coat_brdf) * theta [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::disney_brdf_pdf::pdf_lambert` [INFO] [stdout] --> src/disney_brdf_sample.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::disney_brdf_pdf::pdf_lambert; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `disney_brdf_pdf::pdf_disney_micro_facet_anisotropic` [INFO] [stdout] --> src/disney_brdf_sample.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | disney_brdf_pdf::pdf_disney_micro_facet_anisotropic, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/light.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::disney_brdf_evaluate::*` [INFO] [stdout] --> src/materials.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::disney_brdf_evaluate::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ray::Ray` [INFO] [stdout] --> src/materials.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::disney_brdf_sample::sample_disney_bsdf` [INFO] [stdout] --> src/materials.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::disney_brdf_sample::sample_disney_bsdf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::disney_brdf_sample::sample_disney_diffuse` [INFO] [stdout] --> src/materials.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::disney_brdf_sample::sample_disney_diffuse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rand::sphere` [INFO] [stdout] --> src/materials.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::rand::sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::camera::Camera` [INFO] [stdout] --> src/raytracer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::camera::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::light::Light` [INFO] [stdout] --> src/raytracer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::light::Light; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirectionalLight` [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use light::{DirectionalLight, Lights}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/acceleration_structure.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn geometry(&self, index: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/acceleration_structure.rs:174:28 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn geometry(&self, index: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights` [INFO] [stdout] --> src/default_ray_generation_shader.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | lights: &Lights, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/default_ray_generation_shader.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let mut indirect_light = bounce.color; [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] --> src/default_ray_generation_shader.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let mut direct_light = Color::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights` [INFO] [stdout] --> src/default_ray_generation_shader.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | lights: &Lights, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/default_ray_generation_shader.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let mut indirect_light = bounce.color; [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] --> src/default_ray_generation_shader.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let mut direct_light = Color::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gloss_brdf` [INFO] [stdout] --> src/disney_brdf_evaluate.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let gloss_brdf = evaluate_disney_anisotropic_specular( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gloss_brdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clear_coat_brdf` [INFO] [stdout] --> src/disney_brdf_evaluate.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | let clear_coat_brdf = evaluate_disney_clear_coat( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clear_coat_brdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/disney_brdf_evaluate.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let theta = dot(normal, wi).max(0.001); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gloss_brdf` [INFO] [stdout] --> src/disney_brdf_evaluate.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let gloss_brdf = evaluate_disney_anisotropic_specular( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gloss_brdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clear_coat_brdf` [INFO] [stdout] --> src/disney_brdf_evaluate.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | let clear_coat_brdf = evaluate_disney_clear_coat( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clear_coat_brdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/disney_brdf_evaluate.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | let theta = dot(normal, wi).max(0.001); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/disney_brdf_sample.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let r = rand::float(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cull` [INFO] [stdout] --> src/hittable.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | cull: bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `closest` is never read [INFO] [stdout] --> src/hittable.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | closest = t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/hittable.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let duration = start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/disney_brdf_sample.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let r = rand::float(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cull` [INFO] [stdout] --> src/hittable.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | cull: bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `closest` is never read [INFO] [stdout] --> src/hittable.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | closest = t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/hittable.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let duration = start.elapsed(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_to_world` [INFO] [stdout] --> src/hittable.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | object_to_world: &Transform, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_to_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/hittable.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cull` [INFO] [stdout] --> src/hittable.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | cull: bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/hittable.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | t_min: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/hittable.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | t_max: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersection` [INFO] [stdout] --> src/hittable.rs:329:51 [INFO] [stdout] | [INFO] [stdout] 329 | fn normal(&self, object_to_world: &Transform, intersection: &Intersection) -> Normal { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_to_world` [INFO] [stdout] --> src/hittable.rs:333:18 [INFO] [stdout] | [INFO] [stdout] 333 | fn uv(&self, object_to_world: &Transform, intersection: &Intersection) -> TextureCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_to_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersection` [INFO] [stdout] --> src/hittable.rs:333:47 [INFO] [stdout] | [INFO] [stdout] 333 | fn uv(&self, object_to_world: &Transform, intersection: &Intersection) -> TextureCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_to_world` [INFO] [stdout] --> src/hittable.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | object_to_world: &Transform, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_to_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/hittable.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | ray: &Ray, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cull` [INFO] [stdout] --> src/hittable.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | cull: bool, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/hittable.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | t_min: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/hittable.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | t_max: f32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersection` [INFO] [stdout] --> src/hittable.rs:329:51 [INFO] [stdout] | [INFO] [stdout] 329 | fn normal(&self, object_to_world: &Transform, intersection: &Intersection) -> Normal { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_to_world` [INFO] [stdout] --> src/hittable.rs:333:18 [INFO] [stdout] | [INFO] [stdout] 333 | fn uv(&self, object_to_world: &Transform, intersection: &Intersection) -> TextureCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_to_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersection` [INFO] [stdout] --> src/hittable.rs:333:47 [INFO] [stdout] | [INFO] [stdout] 333 | fn uv(&self, object_to_world: &Transform, intersection: &Intersection) -> TextureCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cos_theta` [INFO] [stdout] --> src/materials.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let cos_theta = saturate(dot(&dir, &hit_record.normal)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cos_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cos_theta` [INFO] [stdout] --> src/materials.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let cos_theta = saturate(dot(&dir, &hit_record.normal)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cos_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/texture.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> src/texture.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/texture.rs:73:69 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resources` [INFO] [stdout] --> src/texture.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resources` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> src/texture.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/texture.rs:73:69 [INFO] [stdout] | [INFO] [stdout] 73 | fn sample(&self, resources: &Resources, uv: &TextureCoordinate, position: &Position) -> Color { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mut lights = Lights::new(); [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] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | let mut lights = Lights::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/default_camera.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DefaultCamera { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | w: Direction, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `k` is never read [INFO] [stdout] --> src/hittable.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct XYRect { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 314 | k: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x0`, `x1`, `z0`, `z1`, and `k` are never read [INFO] [stdout] --> src/hittable.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct XZRect { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 349 | x0: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 350 | x1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 351 | z0: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 352 | z1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 353 | k: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y0`, `y1`, `z0`, `z1`, and `k` are never read [INFO] [stdout] --> src/hittable.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct YZRect { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 356 | y0: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 357 | y1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 358 | z0: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 359 | z1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 360 | k: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `radius` and `intensity` are never read [INFO] [stdout] --> src/light.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SphericalLight { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 39 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | intensity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `albedo` is never read [INFO] [stdout] --> src/materials.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MirrorMaterial { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 48 | albedo: DefaultKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `albedo` and `ior` are never read [INFO] [stdout] --> src/materials.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct TranslucentMaterial { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 77 | albedo: DefaultKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | ior: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_id` is never read [INFO] [stdout] --> src/texture.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ImageTexture { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 65 | image_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/default_camera.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct DefaultCamera { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | w: Direction, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `k` is never read [INFO] [stdout] --> src/hittable.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct XYRect { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 314 | k: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x0`, `x1`, `z0`, `z1`, and `k` are never read [INFO] [stdout] --> src/hittable.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct XZRect { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 349 | x0: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 350 | x1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 351 | z0: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 352 | z1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 353 | k: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y0`, `y1`, `z0`, `z1`, and `k` are never read [INFO] [stdout] --> src/hittable.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 355 | pub struct YZRect { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 356 | y0: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 357 | y1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 358 | z0: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 359 | z1: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 360 | k: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `radius` and `intensity` are never read [INFO] [stdout] --> src/light.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SphericalLight { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 39 | radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | intensity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `albedo` is never read [INFO] [stdout] --> src/materials.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct MirrorMaterial { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 48 | albedo: DefaultKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `albedo` and `ior` are never read [INFO] [stdout] --> src/materials.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct TranslucentMaterial { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 77 | albedo: DefaultKey, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 78 | ior: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `image_id` is never read [INFO] [stdout] --> src/texture.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct ImageTexture { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 65 | image_id: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/acceleration_structure.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | let geometry = hittables.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `SlotMap>` does not implement `Clone`, so calling `clone` on `&SlotMap>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/acceleration_structure.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | let geometry = hittables.clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `SlotMap>` does not implement `Clone`, so calling `clone` on `&SlotMap>` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/disney_brdf_pdf.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | total * 0.5; [INFO] [stdout] | ^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = total * 0.5; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/disney_brdf_pdf.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | total * 0.5; [INFO] [stdout] | ^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = total * 0.5; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `toy_tracer` (bin "toy_tracer" test) due to 2 previous errors; 45 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `toy_tracer` (bin "toy_tracer") due to 2 previous errors; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e396cc92aef85faf85a9a41191a2fc1671ce7e4ddf06004005fe4050e6f8613a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e396cc92aef85faf85a9a41191a2fc1671ce7e4ddf06004005fe4050e6f8613a", kill_on_drop: false }` [INFO] [stdout] e396cc92aef85faf85a9a41191a2fc1671ce7e4ddf06004005fe4050e6f8613a