[INFO] cloning repository https://github.com/SerebryakovVV/ray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SerebryakovVV/ray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerebryakovVV%2Fray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerebryakovVV%2Fray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 850113fd2f995d4689d771980222b11574c6d4be [INFO] testing SerebryakovVV/ray against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerebryakovVV%2Fray" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SerebryakovVV/ray [INFO] finished tweaking git repo https://github.com/SerebryakovVV/ray [INFO] tweaked toml for git repo https://github.com/SerebryakovVV/ray written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SerebryakovVV/ray on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SerebryakovVV/ray 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded noop_proc_macro v0.3.0 [INFO] [stderr] Downloaded zune-core v0.4.12 [INFO] [stderr] Downloaded arg_enum_proc_macro v0.3.4 [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded loop9 v0.1.5 [INFO] [stderr] Downloaded interpolate_name v0.2.4 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.6 [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded version-compare v0.2.0 [INFO] [stderr] Downloaded lebe v0.5.2 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded bit_field v0.10.2 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded half v2.6.0 [INFO] [stderr] Downloaded image-webp v0.2.3 [INFO] [stderr] Downloaded qoi v0.4.1 [INFO] [stderr] Downloaded rand v0.9.1 [INFO] [stderr] Downloaded png v0.17.16 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded cc v1.2.31 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded cfg-expr v0.15.8 [INFO] [stderr] Downloaded zune-inflate v0.2.54 [INFO] [stderr] Downloaded bytemuck v1.23.1 [INFO] [stderr] Downloaded exr v1.73.0 [INFO] [stderr] Downloaded image v0.25.6 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded target-lexicon v0.12.16 [INFO] [stderr] Downloaded system-deps v6.2.2 [INFO] [stderr] Downloaded weezl v0.1.10 [INFO] [stderr] Downloaded zune-jpeg v0.4.20 [INFO] [stderr] Downloaded fdeflate v0.3.7 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded bitstream-io v2.6.0 [INFO] [stderr] Downloaded built v0.7.7 [INFO] [stderr] Downloaded arbitrary v1.4.1 [INFO] [stderr] Downloaded aligned-vec v0.6.4 [INFO] [stderr] Downloaded avif-serialize v0.8.5 [INFO] [stderr] Downloaded maybe-rayon v0.1.1 [INFO] [stderr] Downloaded profiling v1.0.17 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded rgb v0.8.52 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded simd_helpers v0.1.0 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded rav1e v0.7.1 [INFO] [stderr] Downloaded tiff v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dd714812d22727f8ed13a36c80b637813e1c624256e7f4c5811827a1f32b83d [INFO] running `Command { std: "docker" "start" "-a" "5dd714812d22727f8ed13a36c80b637813e1c624256e7f4c5811827a1f32b83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dd714812d22727f8ed13a36c80b637813e1c624256e7f4c5811827a1f32b83d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd714812d22727f8ed13a36c80b637813e1c624256e7f4c5811827a1f32b83d", kill_on_drop: false }` [INFO] [stdout] 5dd714812d22727f8ed13a36c80b637813e1c624256e7f4c5811827a1f32b83d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dafd696c99c0d03f08e73d55ab377945d2af9712a88f83922b8edce968bf8a1 [INFO] running `Command { std: "docker" "start" "-a" "6dafd696c99c0d03f08e73d55ab377945d2af9712a88f83922b8edce968bf8a1", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling image-webp v0.2.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling ray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `image::RgbImage` [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image::RgbImage; [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: `Material` [INFO] [stdout] --> src/hittable.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{material::{Material, MaterialType}, ray::Ray, vector3::{Point, Vector3}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/camera.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | for s in 0..self.samples_per_pixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_row` [INFO] [stdout] --> src/camera.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | let end_row [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer_clone` [INFO] [stdout] --> src/camera.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | let buffer_clone = Arc::clone(&threaded_buffer); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world_clone` [INFO] [stdout] --> src/camera.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | let world_clone = Arc::clone(&world); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_world_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this arithmetic operation will overflow [INFO] [stdout] --> src/camera.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | (0..IMAGE_WIDTH*IMAGE_HEIGHT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `1920_u16 * 1080_u16`, which would overflow [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(arithmetic_overflow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | fn scatter(&self, r_in: &Ray, rec: &HitRecord) -> Option<(Color, Ray)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/image.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | pub width: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | pub height: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `draw`, `write_color`, and `get_color_threaded` are never used [INFO] [stdout] --> src/image.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 14 | impl Image { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn draw() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn write_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_color_threaded(&mut self, color: Color) -> (u8, u8, u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/ray.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `at` are never used [INFO] [stdout] --> src/ray.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(origin: Point, direction: Vector3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn at(&self, t: f64) -> Point { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/camera.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 22 | pub camera_center: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub viewport_u: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub viewport_v: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | pub pixel_delta_u: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub pixel_delta_v: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub viewport_upper_left: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | pub pixel00_loc: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub img: Image, [INFO] [stdout] 30 | pub samples_per_pixel: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub pixel_samples_scale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub rng: ThreadRng, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | pub max_depth: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 34 | pub vfov: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | pub u: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] 36 | pub v: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] 37 | pub w: Vector3, [INFO] [stdout] | ^ [INFO] [stdout] 38 | defocus_disk_u: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | defocus_disk_v: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub defocus_angle: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub focus_dist: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ray_color`, `render`, `get_ray`, `defocus_disk_sample`, `sample_square`, and `linear_to_gamma` are never used [INFO] [stdout] --> src/camera.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 45 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn ray_color(&self, ray: &Ray, depth: i32, world: &T) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn render(&mut self, world: &HittableList) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn get_ray(&mut self, col: u16, row: u16) -> Ray { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn defocus_disk_sample(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn sample_square(&mut self) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn linear_to_gamma(linear_component: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/hittable.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | Sphere(Sphere) [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Sphere(Sphere) [INFO] [stdout] 6 + Sphere(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitRecord` is never constructed [INFO] [stdout] --> src/hittable.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_face_normal` is never used [INFO] [stdout] --> src/hittable.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl HitRecord { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 27 | pub fn set_face_normal(&mut self, ray: &Ray, outward_normal: Vector3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hittable` is never used [INFO] [stdout] --> src/hittable.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Hittable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `center`, `radius`, and `mat` are never read [INFO] [stdout] --> src/sphere.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Sphere { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 8 | pub center: Point, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | pub radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub mat: MaterialType [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interval` is never constructed [INFO] [stdout] --> src/interval.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/interval.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 8 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn universe() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn surrounds(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clamp(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/material.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | Metal(Metal), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MaterialType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - Metal(Metal), [INFO] [stdout] 5 + Metal(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/material.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | Lambertian(Lambertian), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MaterialType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Lambertian(Lambertian), [INFO] [stdout] 6 + Lambertian(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/material.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | Dielectric(Dielectric) [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MaterialType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Dielectric(Dielectric) [INFO] [stdout] 7 + Dielectric(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Material` is never used [INFO] [stdout] --> src/material.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Material { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `albedo` is never read [INFO] [stdout] --> src/material.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Lambertian { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 32 | albedo: Color [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lambertian` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `albedo` and `fuzz` are never read [INFO] [stdout] --> src/material.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Metal { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 58 | albedo: Color, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | fuzz: f64 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metal` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `refraction_index` is never read [INFO] [stdout] --> src/material.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Dielectric { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 93 | refraction_index: f64 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dielectric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `reflectance` is never used [INFO] [stdout] --> src/material.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 96 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn reflectance(cosine: f64, refraction_index: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray` (bin "ray") due to 1 previous error; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6dafd696c99c0d03f08e73d55ab377945d2af9712a88f83922b8edce968bf8a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dafd696c99c0d03f08e73d55ab377945d2af9712a88f83922b8edce968bf8a1", kill_on_drop: false }` [INFO] [stdout] 6dafd696c99c0d03f08e73d55ab377945d2af9712a88f83922b8edce968bf8a1