[INFO] cloning repository https://github.com/omasyo/raytracing.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omasyo/raytracing.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomasyo%2Fraytracing.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomasyo%2Fraytracing.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53b7455443f8bb1ddf308daf9928a66959cab11a [INFO] testing omasyo/raytracing.rs against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomasyo%2Fraytracing.rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/omasyo/raytracing.rs [INFO] finished tweaking git repo https://github.com/omasyo/raytracing.rs [INFO] tweaked toml for git repo https://github.com/omasyo/raytracing.rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/omasyo/raytracing.rs on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/omasyo/raytracing.rs 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded drm-sys v0.7.0 [INFO] [stderr] Downloaded toml_datetime v0.7.3 [INFO] [stderr] Downloaded ctor-lite v0.1.0 [INFO] [stderr] Downloaded drm-ffi v0.8.0 [INFO] [stderr] Downloaded tiny-xlib v0.2.4 [INFO] [stderr] Downloaded toml_parser v1.0.4 [INFO] [stderr] Downloaded drm v0.12.0 [INFO] [stderr] Downloaded sobol_burley v0.5.0 [INFO] [stderr] Downloaded cc v1.2.41 [INFO] [stderr] Downloaded toml_edit v0.23.7 [INFO] [stderr] Downloaded imgref v1.12.0 [INFO] [stderr] Downloaded flate2 v1.1.4 [INFO] [stderr] Downloaded moxcms v0.7.7 [INFO] [stderr] Downloaded pxfm v0.1.25 [INFO] [stderr] Downloaded linux-raw-sys v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db65e805b3e64d90aad8b80be90d3a504960c8b1abe47cc150ccee812b73be38 [INFO] running `Command { std: "docker" "start" "-a" "db65e805b3e64d90aad8b80be90d3a504960c8b1abe47cc150ccee812b73be38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db65e805b3e64d90aad8b80be90d3a504960c8b1abe47cc150ccee812b73be38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db65e805b3e64d90aad8b80be90d3a504960c8b1abe47cc150ccee812b73be38", kill_on_drop: false }` [INFO] [stdout] db65e805b3e64d90aad8b80be90d3a504960c8b1abe47cc150ccee812b73be38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1d7ca653e7984ec0e853176a097b92cf553eebb2a0a3a49dbb367b51aa978ed [INFO] running `Command { std: "docker" "start" "-a" "c1d7ca653e7984ec0e853176a097b92cf553eebb2a0a3a49dbb367b51aa978ed", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling drm-sys v0.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling linux-raw-sys v0.6.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling tiny-xlib v0.2.4 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling softbuffer v0.4.6 [INFO] [stderr] Compiling winit v0.30.12 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling sobol_burley v0.5.0 [INFO] [stderr] Compiling ctor-lite v0.1.0 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling dpi v0.1.2 [INFO] [stderr] Compiling glam v0.30.8 [INFO] [stderr] Compiling drm-ffi v0.8.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.32.9 [INFO] [stderr] Compiling wayland-cursor v0.31.11 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling gethostname v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling drm v0.12.0 [INFO] [stderr] Compiling moxcms v0.7.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.9 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.9 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling raytracing-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/hittable/transform.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Add; [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: `glam::Vec3` [INFO] [stdout] --> src/interval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_count` [INFO] [stdout] --> src/camera.rs:164:41 [INFO] [stdout] | [INFO] [stdout] 164 | fn get_ray(&self, pixel_loc: usize, loop_count: u32) -> Ray { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/color.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let v = self.value; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material/mod.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option { [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] --> src/material/mod.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material/mod.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [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] --> src/material/mod.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [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] --> src/material/mod.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sqrt_spp`, `recip_sqrt_spp`, `u`, `v`, and `w` are never read [INFO] [stdout] --> src/camera.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | sqrt_spp: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | recip_sqrt_spp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | u: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 60 | v: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 61 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_square_stratified` is never used [INFO] [stdout] --> src/camera.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn sample_square_stratified(pixel: u32, loop_count: u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rgb` is never used [INFO] [stdout] --> src/color.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn rgb(&self) -> (u8, u8, u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable/hittable_list.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittable/constant_medium.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(boundary: Arc, density: f32, texture: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material/texture/checker_texture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(scale: f32, even: Box, odd: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 03s [INFO] running `Command { std: "docker" "inspect" "c1d7ca653e7984ec0e853176a097b92cf553eebb2a0a3a49dbb367b51aa978ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d7ca653e7984ec0e853176a097b92cf553eebb2a0a3a49dbb367b51aa978ed", kill_on_drop: false }` [INFO] [stdout] c1d7ca653e7984ec0e853176a097b92cf553eebb2a0a3a49dbb367b51aa978ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07c04d715c2798a557612439f00532851fb2ed97b9c75547e1bd13e1fc53b494 [INFO] running `Command { std: "docker" "start" "-a" "07c04d715c2798a557612439f00532851fb2ed97b9c75547e1bd13e1fc53b494", kill_on_drop: false }` [INFO] [stderr] Compiling raytracing-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/hittable/transform.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Add; [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: `glam::Vec3` [INFO] [stdout] --> src/interval.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::Vec3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `loop_count` [INFO] [stdout] --> src/camera.rs:164:41 [INFO] [stdout] | [INFO] [stdout] 164 | fn get_ray(&self, pixel_loc: usize, loop_count: u32) -> Ray { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/color.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | let v = self.value; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material/mod.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option { [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] --> src/material/mod.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material/mod.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [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] --> src/material/mod.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [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] --> src/material/mod.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sqrt_spp`, `recip_sqrt_spp`, `u`, `v`, and `w` are never read [INFO] [stdout] --> src/camera.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | sqrt_spp: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | recip_sqrt_spp: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | u: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 60 | v: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 61 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_square_stratified` is never used [INFO] [stdout] --> src/camera.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn sample_square_stratified(pixel: u32, loop_count: u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rgb` is never used [INFO] [stdout] --> src/color.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn rgb(&self) -> (u8, u8, u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable/hittable_list.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hittable/constant_medium.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(boundary: Arc, density: f32, texture: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material/texture/checker_texture.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(scale: f32, even: Box, odd: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "07c04d715c2798a557612439f00532851fb2ed97b9c75547e1bd13e1fc53b494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c04d715c2798a557612439f00532851fb2ed97b9c75547e1bd13e1fc53b494", kill_on_drop: false }` [INFO] [stdout] 07c04d715c2798a557612439f00532851fb2ed97b9c75547e1bd13e1fc53b494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eff893b8e60a28237a16c9cef3a0f6a8d4fa69f59c203193d9ccdb417bff8450 [INFO] running `Command { std: "docker" "start" "-a" "eff893b8e60a28237a16c9cef3a0f6a8d4fa69f59c203193d9ccdb417bff8450", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::ops::Add` [INFO] [stderr] --> src/hittable/transform.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ops::Add; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `glam::Vec3` [INFO] [stderr] --> src/interval.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use glam::Vec3; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `loop_count` [INFO] [stderr] --> src/camera.rs:164:41 [INFO] [stderr] | [INFO] [stderr] 164 | fn get_ray(&self, pixel_loc: usize, loop_count: u32) -> Ray { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loop_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/color.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | let v = self.value; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> src/material/mod.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rec` [INFO] [stderr] --> src/material/mod.rs:19:35 [INFO] [stderr] | [INFO] [stderr] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/material/mod.rs:23:23 [INFO] [stderr] | [INFO] [stderr] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/material/mod.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/material/mod.rs:23:39 [INFO] [stderr] | [INFO] [stderr] 23 | fn emitted(&self, u: f32, v: f32, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: fields `sqrt_spp`, `recip_sqrt_spp`, `u`, `v`, and `w` are never read [INFO] [stderr] --> src/camera.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 47 | pub struct Camera { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 55 | sqrt_spp: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 56 | recip_sqrt_spp: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | u: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] 60 | v: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] 61 | w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `sample_square_stratified` is never used [INFO] [stderr] --> src/camera.rs:213:4 [INFO] [stderr] | [INFO] [stderr] 213 | fn sample_square_stratified(pixel: u32, loop_count: u32) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `rgb` is never used [INFO] [stderr] --> src/color.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl Color { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn rgb(&self) -> (u8, u8, u8) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear` is never used [INFO] [stderr] --> src/hittable/hittable_list.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl HittableList { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/hittable/constant_medium.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl ConstantMedium { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 18 | pub fn new(boundary: Arc, density: f32, texture: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/material/texture/checker_texture.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl CheckerTexture { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 13 | pub fn new(scale: f32, even: Box, odd: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `raytracing-rs` (bin "raytracing-rs" test) generated 15 warnings (run `cargo fix --bin "raytracing-rs" -p raytracing-rs --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracing_rs-924a26ffb74f2167) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eff893b8e60a28237a16c9cef3a0f6a8d4fa69f59c203193d9ccdb417bff8450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eff893b8e60a28237a16c9cef3a0f6a8d4fa69f59c203193d9ccdb417bff8450", kill_on_drop: false }` [INFO] [stdout] eff893b8e60a28237a16c9cef3a0f6a8d4fa69f59c203193d9ccdb417bff8450