[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#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJazzaHat%2FRust-tracer" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JazzaHat/Rust-tracer on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e15842fbc7b331f2a6e1326b9dd435211fd8fb0fe532a2545a052042966be96 [INFO] running `Command { std: "docker" "start" "-a" "8e15842fbc7b331f2a6e1326b9dd435211fd8fb0fe532a2545a052042966be96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e15842fbc7b331f2a6e1326b9dd435211fd8fb0fe532a2545a052042966be96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e15842fbc7b331f2a6e1326b9dd435211fd8fb0fe532a2545a052042966be96", kill_on_drop: false }` [INFO] [stdout] 8e15842fbc7b331f2a6e1326b9dd435211fd8fb0fe532a2545a052042966be96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d0ad8c40b26a0575f943140aa4c590ed7b11a235054349ac11341b7dc5dc68e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d0ad8c40b26a0575f943140aa4c590ed7b11a235054349ac11341b7dc5dc68e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [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] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking minifb v0.15.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.0 [INFO] [stderr] Checking hdr-ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `WindowOptions`, `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`, `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowOptions`, `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`, `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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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:21 [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: `#[warn(unused_variables)]` on by default [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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [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 is never read: `source` [INFO] [stdout] --> src/main.rs:116:5 [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 is never read: `rotation` [INFO] [stdout] --> src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | rotation: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_position` [INFO] [stdout] --> src/main.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn new_position(mut self, pos: Vector3){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rotation` [INFO] [stdout] --> src/main.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new_rotation(mut self, dir: Vector3){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:222:8 [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ray_holder` is assigned to, but never used [INFO] [stdout] --> src/main.rs:291:21 [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: `#[warn(unused_variables)]` on by default [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] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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] [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 is never read: `source` [INFO] [stdout] --> src/main.rs:116:5 [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 is never read: `rotation` [INFO] [stdout] --> src/main.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | rotation: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_position` [INFO] [stdout] --> src/main.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn new_position(mut self, pos: Vector3){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rotation` [INFO] [stdout] --> src/main.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new_rotation(mut self, dir: Vector3){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/main.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | color: Color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/main.rs:222:8 [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.16s [INFO] running `Command { std: "docker" "inspect" "0d0ad8c40b26a0575f943140aa4c590ed7b11a235054349ac11341b7dc5dc68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0ad8c40b26a0575f943140aa4c590ed7b11a235054349ac11341b7dc5dc68e", kill_on_drop: false }` [INFO] [stdout] 0d0ad8c40b26a0575f943140aa4c590ed7b11a235054349ac11341b7dc5dc68e