[INFO] cloning repository https://github.com/mmahmood233/rt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmahmood233/rt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmahmood233%2Frt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmahmood233%2Frt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fda3d1cfcb3bd13fd6af35dd4f8a1aaaf64b999d [INFO] checking mmahmood233/rt/fda3d1cfcb3bd13fd6af35dd4f8a1aaaf64b999d against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmahmood233%2Frt" "/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/mmahmood233/rt [INFO] finished tweaking git repo https://github.com/mmahmood233/rt [INFO] tweaked toml for git repo https://github.com/mmahmood233/rt written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmahmood233/rt on toolchain 507271bc119683008ec719ecee48814e8ac86c65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmahmood233/rt 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6c2cdc40d1c7b8b5a265a2f7e355551078eaa34995dd207c1c8909d7c20c16f [INFO] running `Command { std: "docker" "start" "-a" "b6c2cdc40d1c7b8b5a265a2f7e355551078eaa34995dd207c1c8909d7c20c16f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6c2cdc40d1c7b8b5a265a2f7e355551078eaa34995dd207c1c8909d7c20c16f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6c2cdc40d1c7b8b5a265a2f7e355551078eaa34995dd207c1c8909d7c20c16f", kill_on_drop: false }` [INFO] [stdout] b6c2cdc40d1c7b8b5a265a2f7e355551078eaa34995dd207c1c8909d7c20c16f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7621b0878e25025a42444fbfdee9d91c7a9b5124600c16e2c13d01b68ad8aa78 [INFO] running `Command { std: "docker" "start" "-a" "7621b0878e25025a42444fbfdee9d91c7a9b5124600c16e2c13d01b68ad8aa78", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking rt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::material::Material` [INFO] [stdout] --> src/scene.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::material::Material; [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: `ppm::PpmWriter` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use ppm::PpmWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::Material` [INFO] [stdout] --> src/scene.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::material::Material; [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: `ppm::PpmWriter` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use ppm::PpmWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_min_face` is never read [INFO] [stdout] --> src/shapes/cube.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let mut hit_min_face = true; // Track if we hit the min face or max face [INFO] [stdout] | ^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 64 | hit_min_face = t1 < t2; // True if we hit the min face [INFO] [stdout] | ---------------------- `hit_min_face` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_min_face` is never read [INFO] [stdout] --> src/shapes/cube.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | let mut hit_min_face = true; // Track if we hit the min face or max face [INFO] [stdout] | ^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 64 | hit_min_face = t1 < t2; // True if we hit the min face [INFO] [stdout] | ---------------------- `hit_min_face` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `specular`, `shininess`, and `reflectivity` are never read [INFO] [stdout] --> src/material.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub albedo: Vec3, // Base color (diffuse reflectance) [INFO] [stdout] 7 | pub specular: f64, // Specular reflection coefficient [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub shininess: f64, // Phong shininess exponent [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | pub reflectivity: f64, // Mirror reflection coefficient (0.0 = no reflection, 1.0 = perfect mirror) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Clone` and `Debug`, 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: associated functions `with_specular`, `with_reflection`, `white`, and `mirror` are never used [INFO] [stdout] --> src/material.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Material { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_specular(albedo: Vec3, specular: f64, shininess: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn with_reflection(albedo: Vec3, reflectivity: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn white() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn mirror() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation` is never read [INFO] [stdout] --> src/shapes/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Transform { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 27 | pub translation: Vec3, [INFO] [stdout] 28 | pub rotation: Vec3, // Euler angles in radians [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_translation` is never used [INFO] [stdout] --> src/shapes/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Transform { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_translation(translation: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_transform` is never used [INFO] [stdout] --> src/shapes/sphere.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_transform(center: Vec3, radius: f64, material: Material, transform: Transform) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transform` is never read [INFO] [stdout] --> src/shapes/plane.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Plane { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plane` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transform` is never read [INFO] [stdout] --> src/shapes/cube.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Cube { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `unit` is never used [INFO] [stdout] --> src/shapes/cube.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Cube { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn unit(material: Material) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transform` is never read [INFO] [stdout] --> src/shapes/cylinder.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Cylinder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cylinder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `specular` and `shininess` are never read [INFO] [stdout] --> src/material.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Material { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub albedo: Vec3, // Base color (diffuse reflectance) [INFO] [stdout] 7 | pub specular: f64, // Specular reflection coefficient [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub shininess: f64, // Phong shininess exponent [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Material` has derived impls for the traits `Clone` and `Debug`, 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: associated functions `with_specular` and `white` are never used [INFO] [stdout] --> src/material.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Material { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_specular(albedo: Vec3, specular: f64, shininess: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn white() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation` is never read [INFO] [stdout] --> src/shapes/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Transform { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 27 | pub translation: Vec3, [INFO] [stdout] 28 | pub rotation: Vec3, // Euler angles in radians [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_translation` is never used [INFO] [stdout] --> src/shapes/mod.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Transform { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn with_translation(translation: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_transform` is never used [INFO] [stdout] --> src/shapes/sphere.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn with_transform(center: Vec3, radius: f64, material: Material, transform: Transform) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transform` is never read [INFO] [stdout] --> src/shapes/plane.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Plane { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plane` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transform` is never read [INFO] [stdout] --> src/shapes/cube.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Cube { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `transform` is never read [INFO] [stdout] --> src/shapes/cylinder.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Cylinder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub transform: Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cylinder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.86s [INFO] running `Command { std: "docker" "inspect" "7621b0878e25025a42444fbfdee9d91c7a9b5124600c16e2c13d01b68ad8aa78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7621b0878e25025a42444fbfdee9d91c7a9b5124600c16e2c13d01b68ad8aa78", kill_on_drop: false }` [INFO] [stdout] 7621b0878e25025a42444fbfdee9d91c7a9b5124600c16e2c13d01b68ad8aa78