[INFO] cloning repository https://github.com/mattmacf98/raytracing-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattmacf98/raytracing-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattmacf98%2Fraytracing-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattmacf98%2Fraytracing-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7f08157b1317ad78620cc19afb3a1dff520d11e [INFO] checking mattmacf98/raytracing-rust against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattmacf98%2Fraytracing-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattmacf98/raytracing-rust on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattmacf98/raytracing-rust [INFO] finished tweaking git repo https://github.com/mattmacf98/raytracing-rust [INFO] tweaked toml for git repo https://github.com/mattmacf98/raytracing-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mattmacf98/raytracing-rust 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 613ce1e536c93a5296e3039d7ad8e5822991c2d9b0aa3fc8a3169b470ed54b59 [INFO] running `Command { std: "docker" "start" "-a" "613ce1e536c93a5296e3039d7ad8e5822991c2d9b0aa3fc8a3169b470ed54b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "613ce1e536c93a5296e3039d7ad8e5822991c2d9b0aa3fc8a3169b470ed54b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "613ce1e536c93a5296e3039d7ad8e5822991c2d9b0aa3fc8a3169b470ed54b59", kill_on_drop: false }` [INFO] [stdout] 613ce1e536c93a5296e3039d7ad8e5822991c2d9b0aa3fc8a3169b470ed54b59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a856311c5a7fa67c49fdbffd6be7628125591e1a02a87825be1e85fdd8d3d397 [INFO] running `Command { std: "docker" "start" "-a" "a856311c5a7fa67c49fdbffd6be7628125591e1a02a87825be1e85fdd8d3d397", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking bitstream-io v2.5.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Checking fdeflate v0.3.6 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking bytemuck v1.19.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking zune-jpeg v0.4.13 [INFO] [stderr] Checking image-webp v0.2.0 [INFO] [stderr] Checking png v0.17.14 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.4 [INFO] [stderr] Checking ray-tracing-one-weekend v0.1.0 (/opt/rustwide/workdir/ray-tracing-one-weekend) [INFO] [stdout] warning: unused imports: `self` and `vec2::Vec2` [INFO] [stdout] --> ray-tracing-one-weekend/src/quad.rs:3:142 [INFO] [stdout] | [INFO] [stdout] 3 | ...able_list::HittableList, material::Material, ray::Ray, vec2::Vec2, vec3::{self, cross, dot, unit_vector, Point3, Vec3}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosinePdf`, `dot`, `random_double_range`, and `vec2::UV` [INFO] [stdout] --> ray-tracing-one-weekend/src/camera.rs:5:85 [INFO] [stdout] | [INFO] [stdout] 5 | ...e, random_double_range}, hittable::Hittable, hittable_list::HittableList, pdf::{CosinePdf, HittablePdf, MixturePdf, Pdf}, ray::Ray, vec2::UV, vec3::{self, dot, P... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:3:170 [INFO] [stdout] | [INFO] [stdout] 3 | ...herePdf}, ray::Ray, texture::{SolidColor, Texture}, vec3::{self, dot, random_unit_vector, unit_vector, Point3, Vec3}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_double` [INFO] [stdout] --> ray-tracing-one-weekend/src/perlin.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::{random_double, random_int_range}, vec3::{dot, Point3, Vec3}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interval::Interval` [INFO] [stdout] --> ray-tracing-one-weekend/src/texture_image.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{color::Color, interval::Interval, texture::Texture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `vec2::Vec2` [INFO] [stdout] --> ray-tracing-one-weekend/src/quad.rs:3:142 [INFO] [stdout] | [INFO] [stdout] 3 | ...able_list::HittableList, material::Material, ray::Ray, vec2::Vec2, vec3::{self, cross, dot, unit_vector, Point3, Vec3}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CosinePdf`, `dot`, `random_double_range`, and `vec2::UV` [INFO] [stdout] --> ray-tracing-one-weekend/src/camera.rs:5:85 [INFO] [stdout] | [INFO] [stdout] 5 | ...e, random_double_range}, hittable::Hittable, hittable_list::HittableList, pdf::{CosinePdf, HittablePdf, MixturePdf, Pdf}, ray::Ray, vec2::UV, vec3::{self, dot, P... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:3:170 [INFO] [stdout] | [INFO] [stdout] 3 | ...herePdf}, ray::Ray, texture::{SolidColor, Texture}, vec3::{self, dot, random_unit_vector, unit_vector, Point3, Vec3}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random_double` [INFO] [stdout] --> ray-tracing-one-weekend/src/perlin.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{common::{random_double, random_int_range}, vec3::{dot, Point3, Vec3}}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `interval::Interval` [INFO] [stdout] --> ray-tracing-one-weekend/src/texture_image.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{color::Color, interval::Interval, texture::Texture}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> ray-tracing-one-weekend/src/hittable.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn pdf_value(&self, origin: Point3, direction: Vec3) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> ray-tracing-one-weekend/src/hittable.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn pdf_value(&self, origin: Point3, direction: Vec3) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> ray-tracing-one-weekend/src/hittable.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | fn random(&self, origin: Point3) -> Vec3 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_rec` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | fn emitted(&self, hit_rec: &HitRecord, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn emitted(&self, hit_rec: &HitRecord, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> ray-tracing-one-weekend/src/hittable.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn pdf_value(&self, origin: Point3, direction: Vec3) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction` [INFO] [stdout] --> ray-tracing-one-weekend/src/hittable.rs:30:41 [INFO] [stdout] | [INFO] [stdout] 30 | fn pdf_value(&self, origin: Point3, direction: Vec3) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | fn emitted(&self, hit_rec: &HitRecord, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin` [INFO] [stdout] --> ray-tracing-one-weekend/src/hittable.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | fn random(&self, origin: Point3) -> Vec3 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | fn emitted(&self, hit_rec: &HitRecord, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:226:56 [INFO] [stdout] | [INFO] [stdout] 226 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_rec` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | fn emitted(&self, hit_rec: &HitRecord, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | fn emitted(&self, hit_rec: &HitRecord, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:13:52 [INFO] [stdout] | [INFO] [stdout] 13 | fn emitted(&self, hit_rec: &HitRecord, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | fn emitted(&self, hit_rec: &HitRecord, u: f64, v: f64, p: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> ray-tracing-one-weekend/src/noise_texture.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_color(&self, u: f64, v:f64, point: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:16:56 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:226:56 [INFO] [stdout] | [INFO] [stdout] 226 | fn scatter_pdf(&self, r_in: &Ray, rec: &HitRecord, scattered: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> ray-tracing-one-weekend/src/noise_texture.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_color(&self, u: f64, v:f64, point: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> ray-tracing-one-weekend/src/noise_texture.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_color(&self, u: f64, v:f64, point: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> ray-tracing-one-weekend/src/noise_texture.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_color(&self, u: f64, v:f64, point: &Point3) -> Color { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aluminum` [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let aluminum = Arc::new(Metal::from_color(Color::new(0.8, 0.85, 0.88), 0.0)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aluminum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aluminum` [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let aluminum = Arc::new(Metal::from_color(Color::new(0.8, 0.85, 0.88), 0.0)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aluminum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASPECT_RATIO` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const ASPECT_RATIO: f64 = 3.0 / 2.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_WIDTH` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const IMAGE_WIDTH: i32 = 400; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_HEIGHT` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const IMAGE_HEIGHT: i32 = (IMAGE_WIDTH as f64 / ASPECT_RATIO) as i32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_smoke` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn cornell_smoke() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn simple_light() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quads` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn quads() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_spheres` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn perlin_spheres() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn earth() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkered_spheres` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn checkered_spheres() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn random_scene() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Lambertian { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(albedo: Box) -> Lambertian { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 84 | pub fn new(albedo: Box, f: f64) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 164 | pub fn new(albedo: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_color` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl Isotropic { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 198 | pub fn new(albedo: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn from_color(albedo_color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_rgb` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/texture.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SolidColor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from_rgb(red: f64, green: f64, blue: f64) -> SolidColor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_colors` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/texture.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 39 | pub fn new(scale: f64, even: Box, odd: Box) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_colors(scale: f64, color1: Color, color2: Color) -> CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `perlin_generate_perm`, and `permute` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/perlin.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Perlin { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn perlin_generate_perm() -> [i32; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn permute(n: usize, p: &mut [i32; 256]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/texture_image.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TextureImage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(image_file: &str) -> TextureImage { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> ray-tracing-one-weekend/src/interval.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Interval { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | pub min: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | pub max: f64 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interval` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_sub_intervals`, `expand`, `size`, `contains`, and `surrounds` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/interval.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(min: f64, max: f64) -> Interval { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_sub_intervals(a: Interval, b: Interval) -> Interval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn expand(&self, delta: f64) -> Interval { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn surrounds(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/noise_texture.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(scale: f64) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_color` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/constant_medium.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 13 | pub fn new(boundary: Arc, density: f64, phase_function: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_color(boundary: Arc, density: f64, albedo: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u` and `v` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/onb.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Onb { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn u(&self) -> Vec3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn v(&self) -> Vec3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASPECT_RATIO` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const ASPECT_RATIO: f64 = 3.0 / 2.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_WIDTH` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const IMAGE_WIDTH: i32 = 400; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IMAGE_HEIGHT` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const IMAGE_HEIGHT: i32 = (IMAGE_WIDTH as f64 / ASPECT_RATIO) as i32; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_smoke` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn cornell_smoke() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn simple_light() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quads` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn quads() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `perlin_spheres` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn perlin_spheres() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `earth` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:201:4 [INFO] [stdout] | [INFO] [stdout] 201 | fn earth() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkered_spheres` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn checkered_spheres() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/main.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn random_scene() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Lambertian { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(albedo: Box) -> Lambertian { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 84 | pub fn new(albedo: Box, f: f64) -> Metal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 164 | pub fn new(albedo: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_color` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/material.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl Isotropic { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 198 | pub fn new(albedo: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn from_color(albedo_color: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_rgb` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/texture.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SolidColor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from_rgb(red: f64, green: f64, blue: f64) -> SolidColor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_colors` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/texture.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 39 | pub fn new(scale: f64, even: Box, odd: Box) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn from_colors(scale: f64, color1: Color, color2: Color) -> CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `perlin_generate_perm`, and `permute` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/perlin.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Perlin { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn perlin_generate_perm() -> [i32; 256] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn permute(n: usize, p: &mut [i32; 256]) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/texture_image.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TextureImage { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(image_file: &str) -> TextureImage { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> ray-tracing-one-weekend/src/interval.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Interval { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 3 | pub min: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 4 | pub max: f64 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interval` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_sub_intervals`, `expand`, `size`, `contains`, and `surrounds` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/interval.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new(min: f64, max: f64) -> Interval { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn from_sub_intervals(a: Interval, b: Interval) -> Interval { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn expand(&self, delta: f64) -> Interval { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn surrounds(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> ray-tracing-one-weekend/src/noise_texture.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(scale: f64) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_color` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/constant_medium.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 13 | pub fn new(boundary: Arc, density: f64, phase_function: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from_color(boundary: Arc, density: f64, albedo: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u` and `v` are never used [INFO] [stdout] --> ray-tracing-one-weekend/src/onb.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Onb { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn u(&self) -> Vec3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn v(&self) -> Vec3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.03s [INFO] running `Command { std: "docker" "inspect" "a856311c5a7fa67c49fdbffd6be7628125591e1a02a87825be1e85fdd8d3d397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a856311c5a7fa67c49fdbffd6be7628125591e1a02a87825be1e85fdd8d3d397", kill_on_drop: false }` [INFO] [stdout] a856311c5a7fa67c49fdbffd6be7628125591e1a02a87825be1e85fdd8d3d397