[INFO] cloning repository https://github.com/RichardMuri/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RichardMuri/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichardMuri%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichardMuri%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a13a3f57000c42b722a550cd58623600ad742181 [INFO] checking RichardMuri/raytracer against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichardMuri%2Fraytracer" "/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/RichardMuri/raytracer [INFO] finished tweaking git repo https://github.com/RichardMuri/raytracer [INFO] tweaked toml for git repo https://github.com/RichardMuri/raytracer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RichardMuri/raytracer on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RichardMuri/raytracer 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ppv-lite86 v0.2.21 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded box v0.2.0 [INFO] [stderr] Downloaded num-complex v0.4.6 [INFO] [stderr] Downloaded futures-channel v0.3.31 [INFO] [stderr] Downloaded num-rational v0.4.2 [INFO] [stderr] Downloaded tracing v0.1.41 [INFO] [stderr] Downloaded hyper v0.14.32 [INFO] [stderr] Downloaded futures-util v0.3.31 [INFO] [stderr] Downloaded backtrace v0.3.75 [INFO] [stderr] Downloaded procfs v0.9.1 [INFO] [stderr] Downloaded syn v2.0.101 [INFO] [stderr] Downloaded zerocopy v0.8.25 [INFO] [stderr] Downloaded serde_json v1.0.140 [INFO] [stderr] Downloaded miniz_oxide v0.8.8 [INFO] [stderr] Downloaded object v0.36.7 [INFO] [stderr] Downloaded flate2 v1.1.1 [INFO] [stderr] Downloaded gimli v0.31.1 [INFO] [stderr] Downloaded prometheus v0.11.0 [INFO] [stderr] Downloaded serde v1.0.219 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded bytes v1.10.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.24 [INFO] [stderr] Downloaded mio v1.0.4 [INFO] [stderr] Downloaded ryu v1.0.20 [INFO] [stderr] Downloaded httparse v1.10.1 [INFO] [stderr] Downloaded addr2line v0.24.2 [INFO] [stderr] Downloaded socket2 v0.5.10 [INFO] [stderr] Downloaded pin-project-lite v0.2.16 [INFO] [stderr] Downloaded libc v0.2.172 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded crc32fast v1.4.2 [INFO] [stderr] Downloaded adler2 v2.0.0 [INFO] [stderr] Downloaded itoa v1.0.15 [INFO] [stderr] Downloaded impl_ops v0.1.1 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] [stderr] Downloaded ops v0.6.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.25 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded futures-macro v0.3.31 [INFO] [stderr] Downloaded futures-task v0.3.31 [INFO] [stderr] Downloaded tracing-core v0.1.33 [INFO] [stderr] Downloaded once_cell v1.21.3 [INFO] [stderr] Downloaded async-trait v0.1.88 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded getrandom v0.2.16 [INFO] [stderr] Downloaded fmt v0.1.0 [INFO] [stderr] Downloaded num-iter v0.1.45 [INFO] [stderr] Downloaded futures-core v0.3.31 [INFO] [stderr] Downloaded tower-service v0.3.3 [INFO] [stderr] Downloaded ops-core v0.2.0 [INFO] [stderr] Downloaded instant v0.1.13 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded proc-macro2 v1.0.95 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6262fb157c5a54c9cb6613d4b270f0f29151dbf0aa3c648484f17572025c45ab [INFO] running `Command { std: "docker" "start" "-a" "6262fb157c5a54c9cb6613d4b270f0f29151dbf0aa3c648484f17572025c45ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6262fb157c5a54c9cb6613d4b270f0f29151dbf0aa3c648484f17572025c45ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6262fb157c5a54c9cb6613d4b270f0f29151dbf0aa3c648484f17572025c45ab", kill_on_drop: false }` [INFO] [stdout] 6262fb157c5a54c9cb6613d4b270f0f29151dbf0aa3c648484f17572025c45ab [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7db85eada6e58900f1fc563d8c2feb853557d6384b85bbfb229c2799f149e12 [INFO] running `Command { std: "docker" "start" "-a" "b7db85eada6e58900f1fc563d8c2feb853557d6384b85bbfb229c2799f149e12", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling prometheus v0.11.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking procfs v0.9.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking box v0.2.0 [INFO] [stderr] Checking fmt v0.1.0 [INFO] [stderr] Checking impl_ops v0.1.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking ops-core v0.2.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking ops v0.6.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/bin/diffuse/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::{Distribution, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/diffuse/../../common/camera.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | for j in (0..self.image_height) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - for j in (0..self.image_height) { [INFO] [stdout] 92 + for j in 0..self.image_height { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/antialias/../../common/camera.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | for j in (0..self.image_height) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - for j in (0..self.image_height) { [INFO] [stdout] 92 + for j in 0..self.image_height { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/antialias/../../common/camera.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | for j in (0..self.image_height) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - for j in (0..self.image_height) { [INFO] [stdout] 92 + for j in 0..self.image_height { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/bin/diffuse/main.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::distributions::{Distribution, Uniform}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/diffuse/../../common/camera.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | for j in (0..self.image_height) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - for j in (0..self.image_height) { [INFO] [stdout] 92 + for j in 0..self.image_height { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/hittable_list/../../common/camera.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | for j in (0..self.image_height) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - for j in (0..self.image_height) { [INFO] [stdout] 92 + for j in 0..self.image_height { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/bin/diffuse/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/bin/diffuse/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let dist = Uniform::from(0.0..1.0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/bin/hittable_list/../../common/camera.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | for j in (0..self.image_height) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - for j in (0..self.image_height) { [INFO] [stdout] 92 + for j in 0..self.image_height { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam` [INFO] [stdout] --> src/bin/diffuse/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let cam = Camera::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/diffuse/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_color` is never used [INFO] [stdout] --> src/bin/diffuse/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn ray_color(r: &Ray, world: &dyn Hittable, depth: i64) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/bin/diffuse/../../common/camera.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub image_width: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub samples_per_pixel: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | image_height: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | center: Point3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pixel100_location: Point3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pixel_delta_u: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pixel_delta_v: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `render`, `get_ray`, `initialize`, and `ray_color` are never used [INFO] [stdout] --> src/bin/diffuse/../../common/camera.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn render(&mut self, world: &dyn hittable::Hittable) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_ray(&self, i: i64, j: i64) -> Ray { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn initialize(&mut self) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn ray_color(r: &Ray, world: &dyn hittable::Hittable) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitRecord` is never constructed [INFO] [stdout] --> src/bin/diffuse/../../common/hittable.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_face_normal`, `new`, `normal`, and `point` are never used [INFO] [stdout] --> src/bin/diffuse/../../common/hittable.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HitRecord { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 13 | #[inline] [INFO] [stdout] 14 | pub fn set_face_normal(&mut self, r: &Ray, outward_normal: &Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn normal(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn point(self) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/bin/diffuse/../../common/hittable.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Hittable { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 42 | fn hit(&self, r: &Ray, ray_t: Interval, rec: &mut HitRecord) -> bool; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/bin/diffuse/../../common/ray.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `origin`, `direction`, and `at` are never used [INFO] [stdout] --> src/bin/diffuse/../../common/ray.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(p: Point3, d: Direction) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn origin(&self) -> Point3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn direction(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn at(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `center` and `radius` are never read [INFO] [stdout] --> src/bin/diffuse/../../common/sphere.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sphere { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | center: Point3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interval` is never constructed [INFO] [stdout] --> src/bin/diffuse/../../common/util.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bin/diffuse/../../common/util.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn clamp(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn surrounds(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | const EMPTY : Interval = Interval { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | const UNIVERSE : Interval = Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `clamp`, `contains`, `size`, `EMPTY`, and `UNIVERSE` are never used [INFO] [stdout] --> src/bin/antialias/../../common/util.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn clamp(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | const EMPTY : Interval = Interval { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | const UNIVERSE : Interval = Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/bin/diffuse/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/bin/diffuse/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let dist = Uniform::from(0.0..1.0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam` [INFO] [stdout] --> src/bin/diffuse/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let cam = Camera::default(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/diffuse/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_color` is never used [INFO] [stdout] --> src/bin/diffuse/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn ray_color(r: &Ray, world: &dyn Hittable, depth: i64) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SAMPLES_PER_PIXEL` is never used [INFO] [stdout] --> src/bin/diffuse/main.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | const SAMPLES_PER_PIXEL: i32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_DEPTH` is never used [INFO] [stdout] --> src/bin/diffuse/main.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | const MAX_DEPTH: i64 = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/bin/diffuse/../../common/camera.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub image_width: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | pub samples_per_pixel: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | image_height: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | center: Point3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pixel100_location: Point3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pixel_delta_u: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pixel_delta_v: Vec3, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `render`, `get_ray`, `initialize`, and `ray_color` are never used [INFO] [stdout] --> src/bin/diffuse/../../common/camera.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Camera { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn render(&mut self, world: &dyn hittable::Hittable) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_ray(&self, i: i64, j: i64) -> Ray { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn initialize(&mut self) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn ray_color(r: &Ray, world: &dyn hittable::Hittable) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitRecord` is never constructed [INFO] [stdout] --> src/bin/diffuse/../../common/hittable.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HitRecord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_face_normal`, `new`, `normal`, and `point` are never used [INFO] [stdout] --> src/bin/diffuse/../../common/hittable.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl HitRecord { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 13 | #[inline] [INFO] [stdout] 14 | pub fn set_face_normal(&mut self, r: &Ray, outward_normal: &Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn normal(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn point(self) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit` is never used [INFO] [stdout] --> src/bin/diffuse/../../common/hittable.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Hittable { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 42 | fn hit(&self, r: &Ray, ray_t: Interval, rec: &mut HitRecord) -> bool; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ray` is never constructed [INFO] [stdout] --> src/bin/diffuse/../../common/ray.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `origin`, `direction`, and `at` are never used [INFO] [stdout] --> src/bin/diffuse/../../common/ray.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(p: Point3, d: Direction) -> Ray { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn origin(&self) -> Point3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn direction(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn at(&self, t: f64) -> Vec3 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `center` and `radius` are never read [INFO] [stdout] --> src/bin/diffuse/../../common/sphere.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Sphere { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | center: Point3, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interval` is never constructed [INFO] [stdout] --> src/bin/diffuse/../../common/util.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bin/diffuse/../../common/util.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 16 | [INFO] [stdout] 17 | pub fn new(min: f64, max: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn clamp(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn surrounds(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | const EMPTY : Interval = Interval { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | const UNIVERSE : Interval = Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `clamp`, `contains`, `size`, `EMPTY`, and `UNIVERSE` are never used [INFO] [stdout] --> src/bin/antialias/../../common/util.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn clamp(&self, x: f64) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | const EMPTY : Interval = Interval { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | const UNIVERSE : Interval = Interval { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.11s [INFO] running `Command { std: "docker" "inspect" "b7db85eada6e58900f1fc563d8c2feb853557d6384b85bbfb229c2799f149e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7db85eada6e58900f1fc563d8c2feb853557d6384b85bbfb229c2799f149e12", kill_on_drop: false }` [INFO] [stdout] b7db85eada6e58900f1fc563d8c2feb853557d6384b85bbfb229c2799f149e12