[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] building FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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-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/FlickerSoul/Ray-Tracing-in-One-Weekend-Book-Rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-1-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da8b4f7a100a0fe92e3f850c6f37c1c3044adea35d72dede3d954e43be344b8a [INFO] running `Command { std: "docker" "start" "-a" "da8b4f7a100a0fe92e3f850c6f37c1c3044adea35d72dede3d954e43be344b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da8b4f7a100a0fe92e3f850c6f37c1c3044adea35d72dede3d954e43be344b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da8b4f7a100a0fe92e3f850c6f37c1c3044adea35d72dede3d954e43be344b8a", kill_on_drop: false }` [INFO] [stdout] da8b4f7a100a0fe92e3f850c6f37c1c3044adea35d72dede3d954e43be344b8a [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70e45f448357e7966b3bb62eabcc5bc7e1a698e9670f8004e84e87e2ebce2d27 [INFO] running `Command { std: "docker" "start" "-a" "70e45f448357e7966b3bb62eabcc5bc7e1a698e9670f8004e84e87e2ebce2d27", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling 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 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.99s [INFO] running `Command { std: "docker" "inspect" "70e45f448357e7966b3bb62eabcc5bc7e1a698e9670f8004e84e87e2ebce2d27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e45f448357e7966b3bb62eabcc5bc7e1a698e9670f8004e84e87e2ebce2d27", kill_on_drop: false }` [INFO] [stdout] 70e45f448357e7966b3bb62eabcc5bc7e1a698e9670f8004e84e87e2ebce2d27 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e7420b70a7e1fd56f2406c0a9911142aa30bb6cc7bf44b8e2bcad99fa79c992 [INFO] running `Command { std: "docker" "start" "-a" "8e7420b70a7e1fd56f2406c0a9911142aa30bb6cc7bf44b8e2bcad99fa79c992", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "8e7420b70a7e1fd56f2406c0a9911142aa30bb6cc7bf44b8e2bcad99fa79c992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e7420b70a7e1fd56f2406c0a9911142aa30bb6cc7bf44b8e2bcad99fa79c992", kill_on_drop: false }` [INFO] [stdout] 8e7420b70a7e1fd56f2406c0a9911142aa30bb6cc7bf44b8e2bcad99fa79c992