[INFO] cloning repository https://github.com/JazzaHat/Rust-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JazzaHat/Rust-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJazzaHat%2FRust-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJazzaHat%2FRust-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83b992134e7e3b8d867d0557f3d8d05a3bde6f43 [INFO] checking JazzaHat/Rust-tracer against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJazzaHat%2FRust-tracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JazzaHat/Rust-tracer on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JazzaHat/Rust-tracer [INFO] finished tweaking git repo https://github.com/JazzaHat/Rust-tracer [INFO] tweaked toml for git repo https://github.com/JazzaHat/Rust-tracer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JazzaHat/Rust-tracer 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.24.1 [INFO] [stderr] Downloaded wayland-commons v0.24.1 [INFO] [stderr] Downloaded wayland-client v0.24.1 [INFO] [stderr] Downloaded wayland-scanner v0.24.1 [INFO] [stderr] Downloaded minifb v0.15.3 [INFO] [stderr] Downloaded wayland-protocols v0.24.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38b90a372d6671e5435c18da85ab09f5af82363df15253bf2407bd4247d3fb95 [INFO] running `Command { std: "docker" "start" "-a" "38b90a372d6671e5435c18da85ab09f5af82363df15253bf2407bd4247d3fb95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38b90a372d6671e5435c18da85ab09f5af82363df15253bf2407bd4247d3fb95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b90a372d6671e5435c18da85ab09f5af82363df15253bf2407bd4247d3fb95", kill_on_drop: false }` [INFO] [stdout] 38b90a372d6671e5435c18da85ab09f5af82363df15253bf2407bd4247d3fb95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e41d634d196f2a4558b56a29aa1797205b4813b75cbd36a514fd38a2c3c34f [INFO] running `Command { std: "docker" "start" "-a" "15e41d634d196f2a4558b56a29aa1797205b4813b75cbd36a514fd38a2c3c34f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking wayland-sys v0.24.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling minifb v0.15.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking num-iter v0.1.40 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling wayland-scanner v0.24.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Compiling wayland-client v0.24.1 [INFO] [stderr] Compiling wayland-protocols v0.24.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.0 [INFO] [stderr] Checking wayland-commons v0.24.1 [INFO] [stderr] Checking hdr-ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `WindowOptions` and `Window` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4` and `Vector4` [INFO] [stdout] --> src/main.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{Vector3, Vector4, Matrix4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/display_wrap.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowOptions` and `Window` [INFO] [stdout] --> src/main.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:314:48 [INFO] [stdout] | [INFO] [stdout] 314 | ... let distance = (intersection.position.norm_squared()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 314 - let distance = (intersection.position.norm_squared()); [INFO] [stdout] 314 + let distance = intersection.position.norm_squared(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4` and `Vector4` [INFO] [stdout] --> src/main.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{Vector3, Vector4, Matrix4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/display_wrap.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use minifb::{Key, Window, WindowOptions}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:314:48 [INFO] [stdout] | [INFO] [stdout] 314 | ... let distance = (intersection.position.norm_squared()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 314 - let distance = (intersection.position.norm_squared()); [INFO] [stdout] 314 + let distance = intersection.position.norm_squared(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let color = self.color; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | let color = self.color; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ray_holder` is assigned to, but never used [INFO] [stdout] --> src/main.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | ... let mut ray_holder: Intersection = Intersection::new(Vector3::::new(0.0, 0.0, 0.0), Vector3::::new(0.0, 0.0, 0.0), Color:... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_ray_holder` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ray_holder` is never read [INFO] [stdout] --> src/main.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | ... ray_holder = ray; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ray_holder` is assigned to, but never used [INFO] [stdout] --> src/main.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | ... let mut ray_holder: Intersection = Intersection::new(Vector3::::new(0.0, 0.0, 0.0), Vector3::::new(0.0, 0.0, 0.0), Color:... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_ray_holder` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ray_holder` is never read [INFO] [stdout] --> src/main.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | ... ray_holder = ray; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let mut ray = Ray::new(camera.position, ray_dir); [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/main.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | let mut light_calc = successInt.normal.normalize().dot(&sub_ray.direction.normalize()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | source: RayTerminator, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | let mut ray = Ray::new(camera.position, ray_dir); [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: field `rotation` is never read [INFO] [stdout] --> src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 182 | rotation: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | let mut light_calc = successInt.normal.normalize().dot(&sub_ray.direction.normalize()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_position` and `new_rotation` are never used [INFO] [stdout] --> src/main.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn new_position(mut self, pos: Vector3){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn new_rotation(mut self, dir: Vector3){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | struct BufferElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 211 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 215 | impl BufferElement { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn update(mut self, in_color: Color) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/main.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct Intersection { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | source: RayTerminator, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation` is never read [INFO] [stdout] --> src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 178 | struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 182 | rotation: Vector3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_position` and `new_rotation` are never used [INFO] [stdout] --> src/main.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 187 | impl Camera { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn new_position(mut self, pos: Vector3){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn new_rotation(mut self, dir: Vector3){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 210 | struct BufferElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 211 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/main.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 215 | impl BufferElement { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn update(mut self, in_color: Color) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectArray` should have a snake case name [INFO] [stdout] --> src/main.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let objectArray = vec![&sphere1, &sphere2]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `object_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lightArray` should have a snake case name [INFO] [stdout] --> src/main.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let lightArray = vec![&light1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `light_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectArray_index` should have a snake case name [INFO] [stdout] --> src/main.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut objectArray_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `object_array_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `successHit` should have a snake case name [INFO] [stdout] --> src/main.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | let mut successHit = BufferElement::empty(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `success_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `successInt` should have a snake case name [INFO] [stdout] --> src/main.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | ... let mut successInt: Intersection = Intersection::new(Vector3::::new(0.0, 0.0, 0.0), Vector3::::new(0.0, 0.0, 0.0), Color:... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `success_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lightIntensity` should have a snake case name [INFO] [stdout] --> src/main.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | let mut lightIntensity = Color::::new(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `light_intensity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectArray` should have a snake case name [INFO] [stdout] --> src/main.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | let objectArray = vec![&sphere1, &sphere2]; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `object_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lightArray` should have a snake case name [INFO] [stdout] --> src/main.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | let lightArray = vec![&light1]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `light_array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objectArray_index` should have a snake case name [INFO] [stdout] --> src/main.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut objectArray_index = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `object_array_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `successHit` should have a snake case name [INFO] [stdout] --> src/main.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | let mut successHit = BufferElement::empty(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `success_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `successInt` should have a snake case name [INFO] [stdout] --> src/main.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | ... let mut successInt: Intersection = Intersection::new(Vector3::::new(0.0, 0.0, 0.0), Vector3::::new(0.0, 0.0, 0.0), Color:... [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `success_int` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lightIntensity` should have a snake case name [INFO] [stdout] --> src/main.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | let mut lightIntensity = Color::::new(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `light_intensity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.92s [INFO] running `Command { std: "docker" "inspect" "15e41d634d196f2a4558b56a29aa1797205b4813b75cbd36a514fd38a2c3c34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e41d634d196f2a4558b56a29aa1797205b4813b75cbd36a514fd38a2c3c34f", kill_on_drop: false }` [INFO] [stdout] 15e41d634d196f2a4558b56a29aa1797205b4813b75cbd36a514fd38a2c3c34f