[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#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJazzaHat%2FRust-tracer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JazzaHat/Rust-tracer on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2361488686ed7cfb53f1c6d75a1bbcefe578d59d61ef3f6b69e55992dee0fbd [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" "e2361488686ed7cfb53f1c6d75a1bbcefe578d59d61ef3f6b69e55992dee0fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2361488686ed7cfb53f1c6d75a1bbcefe578d59d61ef3f6b69e55992dee0fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2361488686ed7cfb53f1c6d75a1bbcefe578d59d61ef3f6b69e55992dee0fbd", kill_on_drop: false }` [INFO] [stdout] e2361488686ed7cfb53f1c6d75a1bbcefe578d59d61ef3f6b69e55992dee0fbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 662620275bd154936a02bebe089ff98c5274a96832f09f9477be8aeaaaef44e0 [INFO] running `Command { std: "docker" "start" "-a" "662620275bd154936a02bebe089ff98c5274a96832f09f9477be8aeaaaef44e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking wayland-sys v0.24.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling minifb v0.15.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking crossbeam-utils v0.7.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking num-rational v0.2.3 [INFO] [stderr] Checking num-iter v0.1.40 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Compiling wayland-scanner v0.24.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking crossbeam-epoch v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking nix v0.15.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling wayland-client v0.24.1 [INFO] [stderr] Compiling wayland-protocols v0.24.1 [INFO] [stderr] Checking nalgebra v0.18.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`, `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: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: `#[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: 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: `#[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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.79s [INFO] running `Command { std: "docker" "inspect" "662620275bd154936a02bebe089ff98c5274a96832f09f9477be8aeaaaef44e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662620275bd154936a02bebe089ff98c5274a96832f09f9477be8aeaaaef44e0", kill_on_drop: false }` [INFO] [stdout] 662620275bd154936a02bebe089ff98c5274a96832f09f9477be8aeaaaef44e0