[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] testing mmahmood233/rt against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmahmood233%2Frt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmahmood233/rt on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing mmahmood233/rt against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmahmood233%2Frt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmahmood233/rt on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edd753ce6f5e685a05bb2784455e02e1c4459f67f49e5080fb4f188488f5dada [INFO] running `Command { std: "docker" "start" "-a" "edd753ce6f5e685a05bb2784455e02e1c4459f67f49e5080fb4f188488f5dada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edd753ce6f5e685a05bb2784455e02e1c4459f67f49e5080fb4f188488f5dada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd753ce6f5e685a05bb2784455e02e1c4459f67f49e5080fb4f188488f5dada", kill_on_drop: false }` [INFO] [stdout] edd753ce6f5e685a05bb2784455e02e1c4459f67f49e5080fb4f188488f5dada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83ff36d948e7cc535e3ce21b02e800cb4e4ac1c91195fe2150b3b4ba183e0145 [INFO] running `Command { std: "docker" "start" "-a" "83ff36d948e7cc535e3ce21b02e800cb4e4ac1c91195fe2150b3b4ba183e0145", kill_on_drop: false }` [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling 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: 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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.51s [INFO] running `Command { std: "docker" "inspect" "83ff36d948e7cc535e3ce21b02e800cb4e4ac1c91195fe2150b3b4ba183e0145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83ff36d948e7cc535e3ce21b02e800cb4e4ac1c91195fe2150b3b4ba183e0145", kill_on_drop: false }` [INFO] [stdout] 83ff36d948e7cc535e3ce21b02e800cb4e4ac1c91195fe2150b3b4ba183e0145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4778e6b56a569d85f1da1a187365e5babe81a3d81fb6846e631bf6c5a81796e [INFO] running `Command { std: "docker" "start" "-a" "f4778e6b56a569d85f1da1a187365e5babe81a3d81fb6846e631bf6c5a81796e", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [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 `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "f4778e6b56a569d85f1da1a187365e5babe81a3d81fb6846e631bf6c5a81796e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4778e6b56a569d85f1da1a187365e5babe81a3d81fb6846e631bf6c5a81796e", kill_on_drop: false }` [INFO] [stdout] f4778e6b56a569d85f1da1a187365e5babe81a3d81fb6846e631bf6c5a81796e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f06d989df2b96c4c7265861308cc9f923ca2751c5bb04538c88193c05a94229f [INFO] running `Command { std: "docker" "start" "-a" "f06d989df2b96c4c7265861308cc9f923ca2751c5bb04538c88193c05a94229f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::material::Material` [INFO] [stderr] --> src/scene.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::material::Material; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ppm::PpmWriter` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use ppm::PpmWriter; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: value assigned to `hit_min_face` is never read [INFO] [stderr] --> src/shapes/cube.rs:41:32 [INFO] [stderr] | [INFO] [stderr] 41 | let mut hit_min_face = true; // Track if we hit the min face or max face [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `specular` and `shininess` are never read [INFO] [stderr] --> src/material.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Material { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 6 | pub albedo: Vec3, // Base color (diffuse reflectance) [INFO] [stderr] 7 | pub specular: f64, // Specular reflection coefficient [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 8 | pub shininess: f64, // Phong shininess exponent [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Material` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `with_specular` and `white` are never used [INFO] [stderr] --> src/material.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl Material { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn with_specular(albedo: Vec3, specular: f64, shininess: f64) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | pub fn white() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `rotation` is never read [INFO] [stderr] --> src/shapes/mod.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Transform { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 27 | pub translation: Vec3, [INFO] [stderr] 28 | pub rotation: Vec3, // Euler angles in radians [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Transform` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `with_translation` is never used [INFO] [stderr] --> src/shapes/mod.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl Transform { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn with_translation(translation: Vec3) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `with_transform` is never used [INFO] [stderr] --> src/shapes/sphere.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl Sphere { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn with_transform(center: Vec3, radius: f64, material: Material, transform: Transform) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `transform` is never read [INFO] [stderr] --> src/shapes/plane.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Plane { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub transform: Transform, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Plane` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `transform` is never read [INFO] [stderr] --> src/shapes/cube.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Cube { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub transform: Transform, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `transform` is never read [INFO] [stderr] --> src/shapes/cylinder.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Cylinder { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub transform: Transform, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Cylinder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `rt` (bin "rt" test) generated 11 warnings (run `cargo fix --bin "rt" -p rt --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rt-146c152370805b2f) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test math::tests::test_ray ... ok [INFO] [stdout] test camera::tests::test_camera_creation ... ok [INFO] [stdout] test math::tests::test_normalize ... ok [INFO] [stdout] test ppm::tests::test_ppm_writer ... ok [INFO] [stdout] test shapes::sphere::tests::test_sphere_intersection ... ok [INFO] [stdout] test shapes::cylinder::tests::test_cylinder_intersection ... ok [INFO] [stdout] test shapes::sphere::tests::test_sphere_no_intersection ... ok [INFO] [stdout] test shapes::cube::tests::test_cube_intersection ... ok [INFO] [stdout] test shapes::plane::tests::test_plane_intersection ... ok [INFO] [stdout] test material::tests::test_material_creation ... ok [INFO] [stdout] test math::tests::test_vec3_operations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f06d989df2b96c4c7265861308cc9f923ca2751c5bb04538c88193c05a94229f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06d989df2b96c4c7265861308cc9f923ca2751c5bb04538c88193c05a94229f", kill_on_drop: false }` [INFO] [stdout] f06d989df2b96c4c7265861308cc9f923ca2751c5bb04538c88193c05a94229f