[INFO] cloning repository https://github.com/Oya-Tomo/build_your_own_raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Oya-Tomo/build_your_own_raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOya-Tomo%2Fbuild_your_own_raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOya-Tomo%2Fbuild_your_own_raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a810d99f84b9a48581ecad270715bd9f74324ab1 [INFO] checking Oya-Tomo/build_your_own_raytracer against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOya-Tomo%2Fbuild_your_own_raytracer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Oya-Tomo/build_your_own_raytracer [INFO] finished tweaking git repo https://github.com/Oya-Tomo/build_your_own_raytracer [INFO] tweaked toml for git repo https://github.com/Oya-Tomo/build_your_own_raytracer written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Oya-Tomo/build_your_own_raytracer on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Oya-Tomo/build_your_own_raytracer 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" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c46734d839548f4842ba9aed7c5a1f7b198d592ba7e010266e7acbace72eee0 [INFO] running `Command { std: "docker" "start" "-a" "0c46734d839548f4842ba9aed7c5a1f7b198d592ba7e010266e7acbace72eee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c46734d839548f4842ba9aed7c5a1f7b198d592ba7e010266e7acbace72eee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c46734d839548f4842ba9aed7c5a1f7b198d592ba7e010266e7acbace72eee0", kill_on_drop: false }` [INFO] [stdout] 0c46734d839548f4842ba9aed7c5a1f7b198d592ba7e010266e7acbace72eee0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cc2ef99221d9d9d870beab6ab87e5f7ecfbc67dc8d7ad59b1143a0fcf3c4689 [INFO] running `Command { std: "docker" "start" "-a" "5cc2ef99221d9d9d870beab6ab87e5f7ecfbc67dc8d7ad59b1143a0fcf3c4689", kill_on_drop: false }` [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking pxfm v0.1.25 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking zune-jpeg v0.4.21 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking moxcms v0.7.9 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.8 [INFO] [stderr] Checking build_your_own_raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vec3` [INFO] [stdout] --> src/raytracer/raytracer.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use super::vector::{Float, Vec3}; [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: `super::*` [INFO] [stdout] --> src/raytracer/vector.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `material` is never used [INFO] [stdout] --> src/raytracer/mod.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 79 | pub trait Surface { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 85 | fn material(&self) -> Material; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reinhard` is never constructed [INFO] [stdout] --> src/raytracer/image.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Reinhard { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_exposure` are never used [INFO] [stdout] --> src/raytracer/image.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Reinhard { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 45 | /// Create a new Reinhard tone mapper with default exposure. [INFO] [stdout] 46 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_exposure(exposure: Float) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_exposure` is never used [INFO] [stdout] --> src/raytracer/image.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl Exposure { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn with_exposure(exposure: Float) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_pixel`, `get_pixel_mut`, `average_luminance`, and `apply_exposure` are never used [INFO] [stdout] --> src/raytracer/image.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl Image { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn get_pixel(&self, x: usize, y: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn get_pixel_mut(&mut self, x: usize, y: usize) -> Option<&mut Color> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn average_luminance(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn apply_exposure(&mut self, exposure: Float) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_point`, `surface_area`, and `luminous_flux` are never used [INFO] [stdout] --> src/raytracer/light.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Light { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn contains_point(&self, point: Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn surface_area(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn luminous_flux(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/raytracer/material.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Material { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn matte(albedo: Color, diffuse_rate: Float) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn transparent(albedo: Color, transmission_rate: Float, refractive_index: Float) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn diffuse_surface() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn perfect_mirror() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn glass(transmission_rate: Float) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn metal(albedo: Color, specular_rate: Float, diffuse_rate: Float) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn perfect_metal() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `area`, `centroid`, `contains_point`, and `bounds` are never used [INFO] [stdout] --> src/raytracer/mesh.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Triangle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn area(&self) -> Float { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn centroid(&self) -> Vec3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn contains_point(&self, point: Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn bounds(&self) -> (Vec3, Vec3) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_point`, `surface_area`, and `volume` are never used [INFO] [stdout] --> src/raytracer/sphere.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Sphere { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn contains_point(&self, point: Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn surface_area(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn volume(&self) -> Float { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_pixel_mut` is never used [INFO] [stdout] --> src/raytracer/image.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl Image { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn get_pixel_mut(&mut self, x: usize, y: usize) -> Option<&mut Color> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `luminous_flux` is never used [INFO] [stdout] --> src/raytracer/light.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Light { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn luminous_flux(&self) -> Float { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `transparent`, `diffuse_surface`, `perfect_mirror`, `glass`, `metal`, and `perfect_metal` are never used [INFO] [stdout] --> src/raytracer/material.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 127 | impl Material { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn transparent(albedo: Color, transmission_rate: Float, refractive_index: Float) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn diffuse_surface() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn perfect_mirror() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn glass(transmission_rate: Float) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn metal(albedo: Color, specular_rate: Float, diffuse_rate: Float) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn perfect_metal() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_point` and `bounds` are never used [INFO] [stdout] --> src/raytracer/mesh.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Triangle { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn contains_point(&self, point: Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn bounds(&self) -> (Vec3, Vec3) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.44s [INFO] running `Command { std: "docker" "inspect" "5cc2ef99221d9d9d870beab6ab87e5f7ecfbc67dc8d7ad59b1143a0fcf3c4689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cc2ef99221d9d9d870beab6ab87e5f7ecfbc67dc8d7ad59b1143a0fcf3c4689", kill_on_drop: false }` [INFO] [stdout] 5cc2ef99221d9d9d870beab6ab87e5f7ecfbc67dc8d7ad59b1143a0fcf3c4689