[INFO] cloning repository https://github.com/gdvaud/ray-tracing-in-one-weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gdvaud/ray-tracing-in-one-weekend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdvaud%2Fray-tracing-in-one-weekend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdvaud%2Fray-tracing-in-one-weekend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 143a0ed8cdd71f782184230c29eadafa48cf58a1 [INFO] building gdvaud/ray-tracing-in-one-weekend against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdvaud%2Fray-tracing-in-one-weekend" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gdvaud/ray-tracing-in-one-weekend [INFO] finished tweaking git repo https://github.com/gdvaud/ray-tracing-in-one-weekend [INFO] tweaked toml for git repo https://github.com/gdvaud/ray-tracing-in-one-weekend written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gdvaud/ray-tracing-in-one-weekend on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gdvaud/ray-tracing-in-one-weekend 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.45 [INFO] [stderr] Downloaded target-lexicon v0.12.15 [INFO] [stderr] Downloaded bitstream-io v2.5.0 [INFO] [stderr] Downloaded ravif v0.11.9 [INFO] [stderr] Downloaded portable-atomic v1.7.0 [INFO] [stderr] Downloaded glam v0.28.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a6069727bb30bdd616c363cfbc5be313f9078a44f1f639067d06f07c5efd7b3 [INFO] running `Command { std: "docker" "start" "-a" "3a6069727bb30bdd616c363cfbc5be313f9078a44f1f639067d06f07c5efd7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a6069727bb30bdd616c363cfbc5be313f9078a44f1f639067d06f07c5efd7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6069727bb30bdd616c363cfbc5be313f9078a44f1f639067d06f07c5efd7b3", kill_on_drop: false }` [INFO] [stdout] 3a6069727bb30bdd616c363cfbc5be313f9078a44f1f639067d06f07c5efd7b3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c936a57a864b4c507e73c61abb509ba98aa272cd34c4c3946ece10a3946fd0bc [INFO] running `Command { std: "docker" "start" "-a" "c936a57a864b4c507e73c61abb509ba98aa272cd34c4c3946ece10a3946fd0bc", kill_on_drop: false }` [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.5.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling rgb v0.8.45 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling glam v0.28.0 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling clap v4.5.11 [INFO] [stderr] Compiling ravif v0.11.9 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/crates/core) [INFO] [stdout] warning: unused import: `Pointer` [INFO] [stdout] --> crates/core/src/render/renderer.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Pointer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::interval::Interval` [INFO] [stdout] --> crates/core/src/render/texture/image_texture.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::interval::Interval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> crates/core/src/world/shape/quad.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> crates/core/src/utils/math.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{Vec3, DVec3, DVec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | let u = (point.x - point.x.floor()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - let u = (point.x - point.x.floor()); [INFO] [stdout] 32 + let u = point.x - point.x.floor() ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let v = (point.y - point.y.floor()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - let v = (point.y - point.y.floor()); [INFO] [stdout] 33 + let v = point.y - point.y.floor() ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let w = (point.z - point.z.floor()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - let w = (point.z - point.z.floor()); [INFO] [stdout] 34 + let w = point.z - point.z.floor() ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Float` [INFO] [stdout] --> crates/core/src/utils/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num::Float; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> crates/core/src/utils/image.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | use image::{GenericImageView, ImageBuffer, ImageError, ImageReader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> crates/core/src/render/material/mod.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn scatter(&self, ray: &Ray, hit: &HitRecord) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> crates/core/src/render/material/mod.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | fn scatter(&self, ray: &Ray, hit: &HitRecord) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> crates/core/src/render/material/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | fn emitted(&self, uv: Vector2, point: Point3) -> Color { Color::default() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> crates/core/src/render/material/mod.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | fn emitted(&self, uv: Vector2, point: Point3) -> Color { Color::default() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> crates/core/src/render/texture/image_texture.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn value(&self, uv: Vector2, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> crates/core/src/render/texture/noise_texture.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | fn value(&self, uv: Vector2, point: Point3) -> Color { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> crates/core/src/world/shape/quad.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Some(uv) => Some( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..Self::COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `focus_dist` is never read [INFO] [stdout] --> crates/core/src/render/camera.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | focus_dist: Float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_ppm` is never used [INFO] [stdout] --> crates/core/src/utils/image.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn write_ppm(out: &'_ mut dyn io::Write, image: &Image) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `trilinear_interpolation` is never used [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 14 | impl PerlinNoise { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn trilinear_interpolation(c: &mut [[[Float; 2]; 2]; 2], u: Float, v: Float, w: Float) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pad_to_minimums` is never used [INFO] [stdout] --> crates/core/src/utils/aabb.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 14 | impl Aabb { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn pad_to_minimums(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> crates/core/src/utils/thread_pool.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 22 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.50s [INFO] running `Command { std: "docker" "inspect" "c936a57a864b4c507e73c61abb509ba98aa272cd34c4c3946ece10a3946fd0bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c936a57a864b4c507e73c61abb509ba98aa272cd34c4c3946ece10a3946fd0bc", kill_on_drop: false }` [INFO] [stdout] c936a57a864b4c507e73c61abb509ba98aa272cd34c4c3946ece10a3946fd0bc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f2d7aa90f54f897eb9b314335d3b21b7b639bd14bcbd623698b3ff8122e27ef [INFO] running `Command { std: "docker" "start" "-a" "4f2d7aa90f54f897eb9b314335d3b21b7b639bd14bcbd623698b3ff8122e27ef", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stdout] warning: unused import: `Pointer` [INFO] [stdout] --> crates/core/src/render/renderer.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Pointer}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::interval::Interval` [INFO] [stdout] --> crates/core/src/render/texture/image_texture.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::interval::Interval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dyn_clone::DynClone` [INFO] [stdout] --> crates/core/src/world/shape/quad.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dyn_clone::DynClone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> crates/core/src/utils/math.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use glam::{Vec3, DVec3, DVec2}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | let u = (point.x - point.x.floor()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - let u = (point.x - point.x.floor()); [INFO] [stdout] 32 + let u = point.x - point.x.floor() ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | let v = (point.y - point.y.floor()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - let v = (point.y - point.y.floor()); [INFO] [stdout] 33 + let v = point.y - point.y.floor() ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let w = (point.z - point.z.floor()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - let w = (point.z - point.z.floor()); [INFO] [stdout] 34 + let w = point.z - point.z.floor() ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Float` [INFO] [stdout] --> crates/core/src/utils/color.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num::Float; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> crates/core/src/utils/image.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | use image::{GenericImageView, ImageBuffer, ImageError, ImageReader}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> crates/core/src/render/material/mod.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn scatter(&self, ray: &Ray, hit: &HitRecord) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> crates/core/src/render/material/mod.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | fn scatter(&self, ray: &Ray, hit: &HitRecord) -> Option { None } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> crates/core/src/render/material/mod.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | fn emitted(&self, uv: Vector2, point: Point3) -> Color { Color::default() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> crates/core/src/render/material/mod.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | fn emitted(&self, uv: Vector2, point: Point3) -> Color { Color::default() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> crates/core/src/render/texture/image_texture.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn value(&self, uv: Vector2, point: Point3) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> crates/core/src/render/texture/noise_texture.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | fn value(&self, uv: Vector2, point: Point3) -> Color { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv` [INFO] [stdout] --> crates/core/src/world/shape/quad.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Some(uv) => Some( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..Self::COUNT { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | for i in 0..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `focus_dist` is never read [INFO] [stdout] --> crates/core/src/render/camera.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | focus_dist: Float, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Camera` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_ppm` is never used [INFO] [stdout] --> crates/core/src/utils/image.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn write_ppm(out: &'_ mut dyn io::Write, image: &Image) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `trilinear_interpolation` is never used [INFO] [stdout] --> crates/core/src/utils/random/perlin.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 14 | impl PerlinNoise { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | fn trilinear_interpolation(c: &mut [[[Float; 2]; 2]; 2], u: Float, v: Float, w: Float) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pad_to_minimums` is never used [INFO] [stdout] --> crates/core/src/utils/aabb.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 14 | impl Aabb { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn pad_to_minimums(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> crates/core/src/utils/thread_pool.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 22 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 23 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.95s [INFO] running `Command { std: "docker" "inspect" "4f2d7aa90f54f897eb9b314335d3b21b7b639bd14bcbd623698b3ff8122e27ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2d7aa90f54f897eb9b314335d3b21b7b639bd14bcbd623698b3ff8122e27ef", kill_on_drop: false }` [INFO] [stdout] 4f2d7aa90f54f897eb9b314335d3b21b7b639bd14bcbd623698b3ff8122e27ef