[INFO] cloning repository https://github.com/DanielHalachev/rust-tracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielHalachev/rust-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHalachev%2Frust-tracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHalachev%2Frust-tracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8caa8d79e4c317d7b0969af3417e6a710e435156
[INFO] checking DanielHalachev/rust-tracer against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHalachev%2Frust-tracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DanielHalachev/rust-tracer
[INFO] finished tweaking git repo https://github.com/DanielHalachev/rust-tracer
[INFO] tweaked toml for git repo https://github.com/DanielHalachev/rust-tracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DanielHalachev/rust-tracer on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DanielHalachev/rust-tracer 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c9e6f57301b6509b6664a6060ed5dcc6532757d14e1e9080afb69a6321047a6
[INFO] running `Command { std: "docker" "start" "-a" "8c9e6f57301b6509b6664a6060ed5dcc6532757d14e1e9080afb69a6321047a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c9e6f57301b6509b6664a6060ed5dcc6532757d14e1e9080afb69a6321047a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c9e6f57301b6509b6664a6060ed5dcc6532757d14e1e9080afb69a6321047a6", kill_on_drop: false }`
[INFO] [stdout] 8c9e6f57301b6509b6664a6060ed5dcc6532757d14e1e9080afb69a6321047a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4271194b0f52216f28166ae0229b688b1099befce513580c2e94f3ef6f472186
[INFO] running `Command { std: "docker" "start" "-a" "4271194b0f52216f28166ae0229b688b1099befce513580c2e94f3ef6f472186", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling built v0.7.4
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking aligned-vec v0.5.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking bytemuck v1.17.1
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking bitstream-io v2.5.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking imgref v1.10.1
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking flate2 v1.0.33
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking rgb v0.8.48
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking avif-serialize v0.8.1
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking zune-core v0.4.12
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking image-webp v0.1.3
[INFO] [stderr]     Checking gif v0.13.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking v_frame v0.3.8
[INFO] [stderr]     Checking zune-jpeg v0.4.13
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]    Compiling stb_image v0.3.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking exr v1.72.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking 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]     Checking profiling v1.0.15
[INFO] [stderr]     Checking ravif v0.11.10
[INFO] [stderr]     Checking image v0.25.2
[INFO] [stderr]     Checking rust-tracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/utils/texture.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::FromStr;
[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: `stb_image::stb_image::stbi_load`
[INFO] [stdout]  --> src/utils/texture.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use stb_image::stb_image::stbi_load;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PPMColor`
[INFO] [stdout]  --> src/utils/texture.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::color::{Albedo, Color, PPMColor};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/utils/texture.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::str::FromStr;
[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: `stb_image::stb_image::stbi_load`
[INFO] [stdout]  --> src/utils/texture.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use stb_image::stb_image::stbi_load;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PPMColor`
[INFO] [stdout]  --> src/utils/texture.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::color::{Albedo, Color, PPMColor};
[INFO] [stdout]   |                                   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Intersection` is never constructed
[INFO] [stdout]  --> src/tracer/ray.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Intersection {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Ray` is never constructed
[INFO] [stdout]   --> src/tracer/ray.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Ray {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `distance`, `hit_point`, `hit_normal`, and `uv` are never read
[INFO] [stdout]  --> src/tracer/ray.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Intersection {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 6 |     distance: f32,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     hit_point: Point,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 8 |     hit_normal: Vector,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 9 |     uv: Coordinates,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ShadowRay`, `RelfectionRay`, and `RefractionRay` are never constructed
[INFO] [stdout]   --> src/tracer/ray.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum RayType {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 14 |     CameraRay,
[INFO] [stdout] 15 |     ShadowRay,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     RelfectionRay,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 17 |     RefractionRay,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Triangle` is never constructed
[INFO] [stdout]  --> src/tracer/triangle.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Triangle<'a> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `calculate_triangle_normal` is never used
[INFO] [stdout]   --> src/tracer/triangle.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'a> Triangle<'a> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn calculate_triangle_normal(&self) -> Vector {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `AlbedoTexture` is never constructed
[INFO] [stdout]   --> src/utils/texture.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AlbedoTexture {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `EdgeTexture` is never constructed
[INFO] [stdout]   --> src/utils/texture.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct EdgeTexture {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `CheckerTexture` is never constructed
[INFO] [stdout]   --> src/utils/texture.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct CheckerTexture {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `BitmapTexture` is never constructed
[INFO] [stdout]   --> src/utils/texture.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct BitmapTexture {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Texture` is never used
[INFO] [stdout]   --> src/utils/texture.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | trait Texture {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `albedo` are never read
[INFO] [stdout]   --> src/utils/texture.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AlbedoTexture {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     albedo: Albedo,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `inner_color`, `edge_color`, and `width` are never read
[INFO] [stdout]   --> src/utils/texture.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct EdgeTexture {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 26 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     inner_color: Color,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 28 |     edge_color: Color,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 29 |     width: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `first_color`, `second_color`, and `square_size` are never read
[INFO] [stdout]   --> src/utils/texture.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct CheckerTexture {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 45 |     first_color: Color,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 46 |     second_color: Color,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 47 |     square_size: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `width`, `height`, and `buffer` are never read
[INFO] [stdout]   --> src/utils/texture.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct BitmapTexture {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 66 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 67 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 68 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 69 |     buffer: Vec<Color>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/utils/texture.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl BitmapTexture {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 73 |     fn new(name: &str, path: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Intersection` is never constructed
[INFO] [stdout]  --> src/tracer/ray.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Intersection {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Ray` is never constructed
[INFO] [stdout]   --> src/tracer/ray.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Ray {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `distance`, `hit_point`, `hit_normal`, and `uv` are never read
[INFO] [stdout]  --> src/tracer/ray.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Intersection {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 6 |     distance: f32,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 7 |     hit_point: Point,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 8 |     hit_normal: Vector,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 9 |     uv: Coordinates,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ShadowRay`, `RelfectionRay`, and `RefractionRay` are never constructed
[INFO] [stdout]   --> src/tracer/ray.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | enum RayType {
[INFO] [stdout]    |      ------- variants in this enum
[INFO] [stdout] 14 |     CameraRay,
[INFO] [stdout] 15 |     ShadowRay,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 16 |     RelfectionRay,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 17 |     RefractionRay,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Triangle` is never constructed
[INFO] [stdout]  --> src/tracer/triangle.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Triangle<'a> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `calculate_triangle_normal` is never used
[INFO] [stdout]   --> src/tracer/triangle.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl<'a> Triangle<'a> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn calculate_triangle_normal(&self) -> Vector {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `AlbedoTexture` is never constructed
[INFO] [stdout]   --> src/utils/texture.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AlbedoTexture {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `EdgeTexture` is never constructed
[INFO] [stdout]   --> src/utils/texture.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct EdgeTexture {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `CheckerTexture` is never constructed
[INFO] [stdout]   --> src/utils/texture.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct CheckerTexture {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `BitmapTexture` is never constructed
[INFO] [stdout]   --> src/utils/texture.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct BitmapTexture {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Texture` is never used
[INFO] [stdout]   --> src/utils/texture.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | trait Texture {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `albedo` are never read
[INFO] [stdout]   --> src/utils/texture.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct AlbedoTexture {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 15 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     albedo: Albedo,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `inner_color`, `edge_color`, and `width` are never read
[INFO] [stdout]   --> src/utils/texture.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct EdgeTexture {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 26 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     inner_color: Color,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 28 |     edge_color: Color,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 29 |     width: f32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `first_color`, `second_color`, and `square_size` are never read
[INFO] [stdout]   --> src/utils/texture.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct CheckerTexture {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 45 |     first_color: Color,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 46 |     second_color: Color,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 47 |     square_size: f32,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `width`, `height`, and `buffer` are never read
[INFO] [stdout]   --> src/utils/texture.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct BitmapTexture {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 66 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 67 |     width: u32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 68 |     height: u32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 69 |     buffer: Vec<Color>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/utils/texture.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | impl BitmapTexture {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 73 |     fn new(name: &str, path: &str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `clone` that must be used
[INFO] [stdout]   --> src/utils/texture.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             self.edge_color.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: cloning is often expensive and is not expected to have side effects
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let _ = self.edge_color.clone();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `clone` that must be used
[INFO] [stdout]   --> src/utils/texture.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             self.edge_color.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: cloning is often expensive and is not expected to have side effects
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let _ = self.edge_color.clone();
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-tracer` (lib) due to 7 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-tracer` (lib test) due to 7 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4271194b0f52216f28166ae0229b688b1099befce513580c2e94f3ef6f472186", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4271194b0f52216f28166ae0229b688b1099befce513580c2e94f3ef6f472186", kill_on_drop: false }`
[INFO] [stdout] 4271194b0f52216f28166ae0229b688b1099befce513580c2e94f3ef6f472186
