[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 master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fray-tracing" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakmik2/ray-tracing on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-1-tc1/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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jpeg-decoder v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ee1c5ca046180026fde0f2682521633ffcb4898141e51896939cb786f9900d2 [INFO] running `Command { std: "docker" "start" "-a" "9ee1c5ca046180026fde0f2682521633ffcb4898141e51896939cb786f9900d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ee1c5ca046180026fde0f2682521633ffcb4898141e51896939cb786f9900d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ee1c5ca046180026fde0f2682521633ffcb4898141e51896939cb786f9900d2", kill_on_drop: false }` [INFO] [stdout] 9ee1c5ca046180026fde0f2682521633ffcb4898141e51896939cb786f9900d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b6f13f55e4148c5c8d21dc5447c966179d3521371425ac615e79e300e8e3c09 [INFO] running `Command { std: "docker" "start" "-a" "9b6f13f55e4148c5c8d21dc5447c966179d3521371425ac615e79e300e8e3c09", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [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] Checking adler32 v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [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 num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking png v0.17.5 [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 crossbeam-channel v0.5.4 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.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: 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` [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: 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: 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: 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 `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: 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiProgress`, `ProgressBar`, `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 imports: `MultiProgress`, `ProgressBar`, `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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.39s [INFO] running `Command { std: "docker" "inspect" "9b6f13f55e4148c5c8d21dc5447c966179d3521371425ac615e79e300e8e3c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6f13f55e4148c5c8d21dc5447c966179d3521371425ac615e79e300e8e3c09", kill_on_drop: false }` [INFO] [stdout] 9b6f13f55e4148c5c8d21dc5447c966179d3521371425ac615e79e300e8e3c09 [INFO] checking jakmik2/ray-tracing against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmik2%2Fray-tracing" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakmik2/ray-tracing on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-1-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eef00cd72fe6a7bc6a7b04a3212cffef69e9bf65227e59dcf1bafd6d162e0abf [INFO] running `Command { std: "docker" "start" "-a" "eef00cd72fe6a7bc6a7b04a3212cffef69e9bf65227e59dcf1bafd6d162e0abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eef00cd72fe6a7bc6a7b04a3212cffef69e9bf65227e59dcf1bafd6d162e0abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef00cd72fe6a7bc6a7b04a3212cffef69e9bf65227e59dcf1bafd6d162e0abf", kill_on_drop: false }` [INFO] [stdout] eef00cd72fe6a7bc6a7b04a3212cffef69e9bf65227e59dcf1bafd6d162e0abf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c678417a95a9c7ac29f177451ac062000fc53eb0bc003b48784b372447dc1c5 [INFO] running `Command { std: "docker" "start" "-a" "0c678417a95a9c7ac29f177451ac062000fc53eb0bc003b48784b372447dc1c5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking jpeg-decoder v0.2.4 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking tiff v0.7.2 [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: 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: 15 warnings emitted [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: unused imports: `MultiProgress`, `ProgressBar`, `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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MultiProgress`, `ProgressBar`, `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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.06s [INFO] running `Command { std: "docker" "inspect" "0c678417a95a9c7ac29f177451ac062000fc53eb0bc003b48784b372447dc1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c678417a95a9c7ac29f177451ac062000fc53eb0bc003b48784b372447dc1c5", kill_on_drop: false }` [INFO] [stdout] 0c678417a95a9c7ac29f177451ac062000fc53eb0bc003b48784b372447dc1c5