[INFO] cloning repository https://github.com/WilliamBenEmbarek/Raytracing-In-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WilliamBenEmbarek/Raytracing-In-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamBenEmbarek%2FRaytracing-In-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamBenEmbarek%2FRaytracing-In-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f97c804ca01904771d27505467b92abc0d8a85b [INFO] checking WilliamBenEmbarek/Raytracing-In-Rust against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamBenEmbarek%2FRaytracing-In-Rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WilliamBenEmbarek/Raytracing-In-Rust [INFO] finished tweaking git repo https://github.com/WilliamBenEmbarek/Raytracing-In-Rust [INFO] tweaked toml for git repo https://github.com/WilliamBenEmbarek/Raytracing-In-Rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WilliamBenEmbarek/Raytracing-In-Rust on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WilliamBenEmbarek/Raytracing-In-Rust 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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d811434707b365b37d8b33aa56cbc35a66d06780c9fdbc1066cf95610f39b136 [INFO] running `Command { std: "docker" "start" "-a" "d811434707b365b37d8b33aa56cbc35a66d06780c9fdbc1066cf95610f39b136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d811434707b365b37d8b33aa56cbc35a66d06780c9fdbc1066cf95610f39b136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d811434707b365b37d8b33aa56cbc35a66d06780c9fdbc1066cf95610f39b136", kill_on_drop: false }` [INFO] [stdout] d811434707b365b37d8b33aa56cbc35a66d06780c9fdbc1066cf95610f39b136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f1e918e7d0d4c252f9206ede79fecb89fd19947fd5eaf77119da763711d3dab [INFO] running `Command { std: "docker" "start" "-a" "9f1e918e7d0d4c252f9206ede79fecb89fd19947fd5eaf77119da763711d3dab", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking raytracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rayon::vec` [INFO] [stdout] --> src/vec3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::vec; [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: `crate::vec3` [INFO] [stdout] --> src/vec3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::vec3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vec3.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | if (lensq <= 1.0 && lensq > 1e-160) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - if (lensq <= 1.0 && lensq > 1e-160) { [INFO] [stdout] 145 + if lensq <= 1.0 && lensq > 1e-160 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vec3.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | if (dot(on_unit_sphere, normal) > 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 - if (dot(on_unit_sphere, normal) > 0.0) { [INFO] [stdout] 153 + if dot(on_unit_sphere, normal) > 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/color.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{interval::{self, Interval}, vec3::Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/color.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/hittable_list.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{hittable::{HitRecord, Hittable}, interval::{self, Interval}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/material.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | let direction: Vec3 = if (cannot_refract || reflectance(cos_theta, ri) > rng.random()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - let direction: Vec3 = if (cannot_refract || reflectance(cos_theta, ri) > rng.random()) { [INFO] [stdout] 77 + let direction: Vec3 = if cannot_refract || reflectance(cos_theta, ri) > rng.random() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::vec` [INFO] [stdout] --> src/vec3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rayon::vec; [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: `crate::vec3` [INFO] [stdout] --> src/vec3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::vec3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vec3.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | if (lensq <= 1.0 && lensq > 1e-160) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - if (lensq <= 1.0 && lensq > 1e-160) { [INFO] [stdout] 145 + if lensq <= 1.0 && lensq > 1e-160 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/vec3.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | if (dot(on_unit_sphere, normal) > 0.0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 153 - if (dot(on_unit_sphere, normal) > 0.0) { [INFO] [stdout] 153 + if dot(on_unit_sphere, normal) > 0.0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/color.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{interval::{self, Interval}, vec3::Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/color.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/hittable_list.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{hittable::{HitRecord, Hittable}, interval::{self, Interval}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/material.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | let direction: Vec3 = if (cannot_refract || reflectance(cos_theta, ri) > rng.random()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - let direction: Vec3 = if (cannot_refract || reflectance(cos_theta, ri) > rng.random()) { [INFO] [stdout] 77 + let direction: Vec3 = if cannot_refract || reflectance(cos_theta, ri) > rng.random() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel00_loc` [INFO] [stdout] --> src/camera.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let pixel00_loc = self.pixel00_loc.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel00_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_delta_u` [INFO] [stdout] --> src/camera.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let pixel_delta_u = self.pixel_delta_u.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_delta_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_delta_v` [INFO] [stdout] --> src/camera.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let pixel_delta_v = self.pixel_delta_v.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_delta_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/camera.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let center = self.center.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_width` [INFO] [stdout] --> src/camera.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let image_width = self.image_width; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples_per_pixel` [INFO] [stdout] --> src/camera.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let samples_per_pixel = self.samples_per_pixel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples_per_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_samples_scale` [INFO] [stdout] --> src/camera.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let pixel_samples_scale = self.pixel_samples_scale.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_samples_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, rng: &mut dyn RngCore) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_on_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn random_on_hemisphere(normal: Vec3, rng: &mut dyn rand::RngCore) -> Vec3 { [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 `from_object` and `clear` are never used [INFO] [stdout] --> src/hittable_list.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl HittableList { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn from_object(object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `EMPTY`, `UNIVERSE`, `default`, `size`, and `contains` are never used [INFO] [stdout] --> src/interval.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 7 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 8 | pub const EMPTY: Interval = Interval { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub const UNIVERSE: Interval = Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_aspect_ratio` and `set_image_width` are never used [INFO] [stdout] --> src/camera.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn set_aspect_ratio(&mut self, aspect_ratio: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn set_image_width(&mut self, image_width: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel00_loc` [INFO] [stdout] --> src/camera.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let pixel00_loc = self.pixel00_loc.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel00_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_delta_u` [INFO] [stdout] --> src/camera.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let pixel_delta_u = self.pixel_delta_u.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_delta_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_delta_v` [INFO] [stdout] --> src/camera.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let pixel_delta_v = self.pixel_delta_v.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_delta_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/camera.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let center = self.center.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_width` [INFO] [stdout] --> src/camera.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let image_width = self.image_width; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samples_per_pixel` [INFO] [stdout] --> src/camera.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let samples_per_pixel = self.samples_per_pixel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samples_per_pixel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_samples_scale` [INFO] [stdout] --> src/camera.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let pixel_samples_scale = self.pixel_samples_scale.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_samples_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, rng: &mut dyn RngCore) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_on_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn random_on_hemisphere(normal: Vec3, rng: &mut dyn rand::RngCore) -> Vec3 { [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 `from_object` and `clear` are never used [INFO] [stdout] --> src/hittable_list.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl HittableList { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn from_object(object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `EMPTY`, `UNIVERSE`, `default`, `size`, and `contains` are never used [INFO] [stdout] --> src/interval.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 7 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 8 | pub const EMPTY: Interval = Interval { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub const UNIVERSE: Interval = Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_aspect_ratio` and `set_image_width` are never used [INFO] [stdout] --> src/camera.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn set_aspect_ratio(&mut self, aspect_ratio: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn set_image_width(&mut self, image_width: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "9f1e918e7d0d4c252f9206ede79fecb89fd19947fd5eaf77119da763711d3dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1e918e7d0d4c252f9206ede79fecb89fd19947fd5eaf77119da763711d3dab", kill_on_drop: false }` [INFO] [stdout] 9f1e918e7d0d4c252f9206ede79fecb89fd19947fd5eaf77119da763711d3dab