[INFO] cloning repository https://github.com/jakmik2/ray-tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakmik2/ray-tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fray-tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fray-tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98452ec23121e4b2024ac92514cee5f1dac10b24 [INFO] checking jakmik2/ray-tracing against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fray-tracing" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakmik2/ray-tracing on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jakmik2/ray-tracing [INFO] finished tweaking git repo https://github.com/jakmik2/ray-tracing [INFO] tweaked toml for git repo https://github.com/jakmik2/ray-tracing written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jakmik2/ray-tracing 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" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jakmik2/ray-tracing against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fray-tracing" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakmik2/ray-tracing on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jakmik2/ray-tracing [INFO] finished tweaking git repo https://github.com/jakmik2/ray-tracing [INFO] tweaked toml for git repo https://github.com/jakmik2/ray-tracing written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jakmik2/ray-tracing 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" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image v0.24.1 [INFO] [stderr] Downloaded jpeg-decoder v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f401783b77da66a9c0009ac2e52391b4380b9f58fda254094da50678a806ffa2 [INFO] running `Command { std: "docker" "start" "-a" "f401783b77da66a9c0009ac2e52391b4380b9f58fda254094da50678a806ffa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f401783b77da66a9c0009ac2e52391b4380b9f58fda254094da50678a806ffa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f401783b77da66a9c0009ac2e52391b4380b9f58fda254094da50678a806ffa2", kill_on_drop: false }` [INFO] [stdout] f401783b77da66a9c0009ac2e52391b4380b9f58fda254094da50678a806ffa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f0d3c8e7eeedf1d54bd8bd7aee5283d1a842bc5f3fe1c2efbbd0b10a4420cb6 [INFO] running `Command { std: "docker" "start" "-a" "0f0d3c8e7eeedf1d54bd8bd7aee5283d1a842bc5f3fe1c2efbbd0b10a4420cb6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking jpeg-decoder v0.2.4 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking image v0.24.1 [INFO] [stderr] Checking ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `material` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:420:11 [INFO] [stdout] | [INFO] [stdout] 420 | pub trait material : Send { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Material` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | true => (1.0/self.ir), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 529 - true => (1.0/self.ir), [INFO] [stdout] 529 + true => 1.0/self.ir, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | fn hit (&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/lib.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fn hit (&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/lib.rs:263:41 [INFO] [stdout] | [INFO] [stdout] 263 | fn hit (&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/lib.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | fn hit (&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/lib.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/lib.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attenuation` [INFO] [stdout] --> src/lib.rs:421:52 [INFO] [stdout] | [INFO] [stdout] 421 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attenuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/lib.rs:421:77 [INFO] [stdout] | [INFO] [stdout] 421 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/lib.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 463 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | let mut reflected = Vec3::reflect(&r_in.direction.unit_vector(), &rec.normal); [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | let mut direction: Vec3; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lookFrom` should have a snake case name [INFO] [stdout] --> src/lib.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new(lookFrom: Point3, lookAt: Point3, vup: Vec3, vfov: f64, aspect_ratio: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `look_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lookAt` should have a snake case name [INFO] [stdout] --> src/lib.rs:384:34 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new(lookFrom: Point3, lookAt: Point3, vup: Vec3, vfov: f64, aspect_ratio: f64) -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `look_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `material` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:420:11 [INFO] [stdout] | [INFO] [stdout] 420 | pub trait material : Send { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Material` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/lib.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | true => (1.0/self.ir), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 529 - true => (1.0/self.ir), [INFO] [stdout] 529 + true => 1.0/self.ir, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiProgress`, `ProgressBar`, and `ProgressStyle` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use indicatif::{MultiProgress, ProgressBar, ProgressStyle, ProgressIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbImage` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{RgbImage, Rgb, ImageBuffer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:263:20 [INFO] [stdout] | [INFO] [stdout] 263 | fn hit (&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_min` [INFO] [stdout] --> src/lib.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fn hit (&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_max` [INFO] [stdout] --> src/lib.rs:263:41 [INFO] [stdout] | [INFO] [stdout] 263 | fn hit (&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/lib.rs:263:53 [INFO] [stdout] | [INFO] [stdout] 263 | fn hit (&self, r: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiProgress`, `ProgressBar`, and `ProgressStyle` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use indicatif::{MultiProgress, ProgressBar, ProgressStyle, ProgressIterator}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/lib.rs:421:23 [INFO] [stdout] | [INFO] [stdout] 421 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/lib.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attenuation` [INFO] [stdout] --> src/lib.rs:421:52 [INFO] [stdout] | [INFO] [stdout] 421 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attenuation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/lib.rs:421:77 [INFO] [stdout] | [INFO] [stdout] 421 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RgbImage` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{RgbImage, Rgb, ImageBuffer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/lib.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 463 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 497 | let mut reflected = Vec3::reflect(&r_in.direction.unit_vector(), &rec.normal); [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:544:13 [INFO] [stdout] | [INFO] [stdout] 544 | let mut direction: Vec3; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lookFrom` should have a snake case name [INFO] [stdout] --> src/lib.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new(lookFrom: Point3, lookAt: Point3, vup: Vec3, vfov: f64, aspect_ratio: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `look_from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lookAt` should have a snake case name [INFO] [stdout] --> src/lib.rs:384:34 [INFO] [stdout] | [INFO] [stdout] 384 | pub fn new(lookFrom: Point3, lookAt: Point3, vup: Vec3, vfov: f64, aspect_ratio: f64) -> Self { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `look_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.27s [INFO] running `Command { std: "docker" "inspect" "0f0d3c8e7eeedf1d54bd8bd7aee5283d1a842bc5f3fe1c2efbbd0b10a4420cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f0d3c8e7eeedf1d54bd8bd7aee5283d1a842bc5f3fe1c2efbbd0b10a4420cb6", kill_on_drop: false }` [INFO] [stdout] 0f0d3c8e7eeedf1d54bd8bd7aee5283d1a842bc5f3fe1c2efbbd0b10a4420cb6