[INFO] cloning repository https://github.com/FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlickerSoul%2FRay-Tracing-in-One-Weekend-Book-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlickerSoul%2FRay-Tracing-in-One-Weekend-Book-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1be23a06ae5a34d24b41f0c341ad2a76abc0459a [INFO] checking FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust/1be23a06ae5a34d24b41f0c341ad2a76abc0459a against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFlickerSoul%2FRay-Tracing-in-One-Weekend-Book-Rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust [INFO] finished tweaking git repo https://github.com/FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust [INFO] tweaked toml for git repo https://github.com/FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FlickerSoul/Ray-Tracing-in-One-Weekend-Book-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e5adc56a34d48ac229fb1b7cf0b754edf83d5299e572db4340ce9764cb39989 [INFO] running `Command { std: "docker" "start" "-a" "7e5adc56a34d48ac229fb1b7cf0b754edf83d5299e572db4340ce9764cb39989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e5adc56a34d48ac229fb1b7cf0b754edf83d5299e572db4340ce9764cb39989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5adc56a34d48ac229fb1b7cf0b754edf83d5299e572db4340ce9764cb39989", kill_on_drop: false }` [INFO] [stdout] 7e5adc56a34d48ac229fb1b7cf0b754edf83d5299e572db4340ce9764cb39989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 463a70394f46b5d30b7f31b982f803ff5c18d07d67aa0ce134b551595f84498a [INFO] running `Command { std: "docker" "start" "-a" "463a70394f46b5d30b7f31b982f803ff5c18d07d67aa0ce134b551595f84498a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CrossProduct` [INFO] [stdout] --> src/objects.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math_traits::{CrossProduct, InnerProduct}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CrossProduct` [INFO] [stdout] --> src/objects.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math_traits::{CrossProduct, InnerProduct}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | fn scatter(&self, ray: &Ray, record: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/material.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | fn scatter(&self, ray: &Ray, record: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/objects.rs:336:28 [INFO] [stdout] | [INFO] [stdout] 336 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/objects.rs:336:45 [INFO] [stdout] | [INFO] [stdout] 336 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/objects.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/objects.rs:375:45 [INFO] [stdout] | [INFO] [stdout] 375 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/objects.rs:415:28 [INFO] [stdout] | [INFO] [stdout] 415 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/objects.rs:415:45 [INFO] [stdout] | [INFO] [stdout] 415 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/objects.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/objects.rs:533:45 [INFO] [stdout] | [INFO] [stdout] 533 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | fn scatter(&self, ray: &Ray, record: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record` [INFO] [stdout] --> src/material.rs:140:34 [INFO] [stdout] | [INFO] [stdout] 140 | fn scatter(&self, ray: &Ray, record: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/objects.rs:336:28 [INFO] [stdout] | [INFO] [stdout] 336 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/objects.rs:336:45 [INFO] [stdout] | [INFO] [stdout] 336 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/objects.rs:375:28 [INFO] [stdout] | [INFO] [stdout] 375 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/objects.rs:375:45 [INFO] [stdout] | [INFO] [stdout] 375 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/objects.rs:415:28 [INFO] [stdout] | [INFO] [stdout] 415 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/objects.rs:415:45 [INFO] [stdout] | [INFO] [stdout] 415 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/objects.rs:533:28 [INFO] [stdout] | [INFO] [stdout] 533 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BvhNode` is never constructed [INFO] [stdout] --> src/bb.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct BvhNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `box_comparator` is never used [INFO] [stdout] --> src/bb.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn box_comparator( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bb.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl BvhNode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 94 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Lambertian { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(albedo: WrappedTextureType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 55 | pub fn new(albedo: Color, fuzz: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_time` [INFO] [stdout] --> src/objects.rs:533:45 [INFO] [stdout] | [INFO] [stdout] 533 | fn bounding_box(&self, start_time: f64, end_time: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 82 | pub fn new(ir: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 128 | pub fn new(texture: WrappedTextureType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `gen_randoms`, `gen_perm`, and `permute` are never used [INFO] [stdout] --> src/noise.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PerlinNoise { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn gen_randoms() -> [f64; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn gen_perm() -> [usize; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn permute(arr: &mut [usize; Self::SIZE], size: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 56 | pub fn new(center: Point3, radius: f64, material: MaterialArc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 165 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `material` is never read [INFO] [stdout] --> src/objects.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 454 | pub struct Box { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 458 | pub material: MaterialArc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_world` is never used [INFO] [stdout] --> src/scene.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn simple_world() -> WorldType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_world` is never used [INFO] [stdout] --> src/scene.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn random_world() -> WorldType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_color` are never used [INFO] [stdout] --> src/texture.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 32 | pub fn new(odd: WrappedTextureType, even: WrappedTextureType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_color(odd: Color, even: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_int` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn random_int(min: isize, max: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_uint` is never used [INFO] [stdout] --> src/utils.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn random_uint(min: usize, max: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `attenuation` should have an upper case name [INFO] [stdout] --> src/material.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | const attenuation: Color = Color::new(1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ATTENUATION` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BvhNode` is never constructed [INFO] [stdout] --> src/bb.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | struct BvhNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `box_comparator` is never used [INFO] [stdout] --> src/bb.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn box_comparator( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bb.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl BvhNode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 94 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Lambertian { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(albedo: WrappedTextureType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 55 | pub fn new(albedo: Color, fuzz: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 82 | pub fn new(ir: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 128 | pub fn new(texture: WrappedTextureType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `gen_randoms`, `gen_perm`, and `permute` are never used [INFO] [stdout] --> src/noise.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PerlinNoise { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn gen_randoms() -> [f64; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn gen_perm() -> [usize; Self::SIZE] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn permute(arr: &mut [usize; Self::SIZE], size: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 56 | pub fn new(center: Point3, radius: f64, material: MaterialArc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 164 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 165 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `material` is never read [INFO] [stdout] --> src/objects.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 454 | pub struct Box { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 458 | pub material: MaterialArc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_world` is never used [INFO] [stdout] --> src/scene.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn simple_world() -> WorldType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_world` is never used [INFO] [stdout] --> src/scene.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn random_world() -> WorldType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_color` are never used [INFO] [stdout] --> src/texture.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 32 | pub fn new(odd: WrappedTextureType, even: WrappedTextureType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn with_color(odd: Color, even: Color) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_int` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn random_int(min: isize, max: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_uint` is never used [INFO] [stdout] --> src/utils.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn random_uint(min: usize, max: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `attenuation` should have an upper case name [INFO] [stdout] --> src/material.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | const attenuation: Color = Color::new(1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `ATTENUATION` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.80s [INFO] running `Command { std: "docker" "inspect" "463a70394f46b5d30b7f31b982f803ff5c18d07d67aa0ce134b551595f84498a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463a70394f46b5d30b7f31b982f803ff5c18d07d67aa0ce134b551595f84498a", kill_on_drop: false }` [INFO] [stdout] 463a70394f46b5d30b7f31b982f803ff5c18d07d67aa0ce134b551595f84498a