[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#4008bbdf34b583ce44a467043aae3703afc0a76f for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJazzaHat%2FRust-tracer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JazzaHat/Rust-tracer on toolchain 4008bbdf34b583ce44a467043aae3703afc0a76f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typenum v1.11.2
[INFO] [stderr]   Downloaded num-rational v0.2.3
[INFO] [stderr]   Downloaded autocfg v1.0.0
[INFO] [stderr]   Downloaded num-traits v0.2.11
[INFO] [stderr]   Downloaded nalgebra v0.18.1
[INFO] [stderr]   Downloaded cast v0.2.3
[INFO] [stderr]   Downloaded wayland-scanner v0.24.1
[INFO] [stderr]   Downloaded rand_chacha v0.2.1
[INFO] [stderr]   Downloaded either v1.5.3
[INFO] [stderr]   Downloaded pkg-config v0.3.17
[INFO] [stderr]   Downloaded rustc_version v0.2.3
[INFO] [stderr]   Downloaded rawpointer v0.2.1
[INFO] [stderr]   Downloaded approx v0.3.2
[INFO] [stderr]   Downloaded wayland-sys v0.24.1
[INFO] [stderr]   Downloaded rand_hc v0.2.0
[INFO] [stderr]   Downloaded void v1.0.2
[INFO] [stderr]   Downloaded color_quant v1.0.1
[INFO] [stderr]   Downloaded unicode-xid v0.2.0
[INFO] [stderr]   Downloaded c2-chacha v0.2.3
[INFO] [stderr]   Downloaded maybe-uninit v2.0.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.6
[INFO] [stderr]   Downloaded spin v0.5.2
[INFO] [stderr]   Downloaded memoffset v0.5.3
[INFO] [stderr]   Downloaded num-complex v0.2.4
[INFO] [stderr]   Downloaded scopeguard v1.0.0
[INFO] [stderr]   Downloaded num-integer v0.1.42
[INFO] [stderr]   Downloaded remove_dir_all v0.5.2
[INFO] [stderr]   Downloaded adler32 v1.0.4
[INFO] [stderr]   Downloaded downcast-rs v1.1.1
[INFO] [stderr]   Downloaded lzw v0.10.0
[INFO] [stderr]   Downloaded num_cpus v1.12.0
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.1
[INFO] [stderr]   Downloaded raw-window-handle v0.3.3
[INFO] [stderr]   Downloaded num-iter v0.1.40
[INFO] [stderr]   Downloaded smallvec v0.6.13
[INFO] [stderr]   Downloaded tiff v0.4.0
[INFO] [stderr]   Downloaded generic-array v0.12.3
[INFO] [stderr]   Downloaded tempfile v3.1.0
[INFO] [stderr]   Downloaded rand_core v0.5.1
[INFO] [stderr]   Downloaded semver v0.9.0
[INFO] [stderr]   Downloaded inflate v0.4.5
[INFO] [stderr]   Downloaded time v0.1.42
[INFO] [stderr]   Downloaded matrixmultiply v0.2.3
[INFO] [stderr]   Downloaded byteorder v1.3.4
[INFO] [stderr]   Downloaded crossbeam-deque v0.7.2
[INFO] [stderr]   Downloaded quote v1.0.2
[INFO] [stderr]   Downloaded wayland-commons v0.24.1
[INFO] [stderr]   Downloaded wasi v0.9.0+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.9
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.6
[INFO] [stderr]   Downloaded semver-parser v0.7.0
[INFO] [stderr]   Downloaded crc32fast v1.2.0
[INFO] [stderr]   Downloaded gif v0.10.3
[INFO] [stderr]   Downloaded redox_syscall v0.1.56
[INFO] [stderr]   Downloaded bytemuck v1.2.0
[INFO] [stderr]   Downloaded getrandom v0.1.14
[INFO] [stderr]   Downloaded proc-macro2 v1.0.8
[INFO] [stderr]   Downloaded miniz_oxide v0.3.6
[INFO] [stderr]   Downloaded crossbeam-utils v0.7.0
[INFO] [stderr]   Downloaded crossbeam-epoch v0.8.0
[INFO] [stderr]   Downloaded alga v0.9.2
[INFO] [stderr]   Downloaded x11-dl v2.18.5
[INFO] [stderr]   Downloaded xml-rs v0.8.0
[INFO] [stderr]   Downloaded png v0.15.3
[INFO] [stderr]   Downloaded cc v1.0.50
[INFO] [stderr]   Downloaded wayland-client v0.24.1
[INFO] [stderr]   Downloaded rayon-core v1.7.0
[INFO] [stderr]   Downloaded minifb v0.15.3
[INFO] [stderr]   Downloaded libm v0.1.4
[INFO] [stderr]   Downloaded wayland-protocols v0.24.1
[INFO] [stderr]   Downloaded deflate v0.7.20
[INFO] [stderr]   Downloaded rand v0.7.3
[INFO] [stderr]   Downloaded rayon v1.3.0
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.18
[INFO] [stderr]   Downloaded nix v0.15.0
[INFO] [stderr]   Downloaded image v0.23.0
[INFO] [stderr]   Downloaded orbclient v0.3.27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c21130843c306670e18767138c3a18e62e7ec5edc0350a028964adcb85580490
[INFO] running `Command { std: "docker" "start" "c21130843c306670e18767138c3a18e62e7ec5edc0350a028964adcb85580490", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c21130843c306670e18767138c3a18e62e7ec5edc0350a028964adcb85580490" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c21130843c306670e18767138c3a18e62e7ec5edc0350a028964adcb85580490", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c21130843c306670e18767138c3a18e62e7ec5edc0350a028964adcb85580490" "/opt/rustwide/cargo-home/bin/cargo" "+4008bbdf34b583ce44a467043aae3703afc0a76f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling xml-rs v0.8.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling nix v0.15.0
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling libm v0.1.4
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-rational v0.2.3
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking wayland-sys v0.24.1
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]    Compiling wayland-scanner v0.24.1
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking matrixmultiply v0.2.3
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking png v0.15.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 crossbeam-deque v0.7.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]    Compiling minifb v0.15.3
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking alga v0.9.2
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking nalgebra v0.18.1
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]    Compiling wayland-client v0.24.1
[INFO] [stderr]    Compiling wayland-protocols v0.24.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking wayland-commons v0.24.1
[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` 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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::<f64>::new(0.0, 0.0, 0.0), Vector3::<f64>::new(0.0, 0.0, 0.0), ...
[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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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<f64>,
[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<f64>){
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     pub fn new_rotation(mut self, dir: Vector3<f64>){
[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<f32>,
[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<f32>) {
[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)]` (part of `#[warn(nonstandard_style)]`) 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::<f64>::new(0.0, 0.0, 0.0), Vector3::<f64>::new(0.0, 0.0, 0.0), ...
[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::<f32>::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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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::<f64>::new(0.0, 0.0, 0.0), Vector3::<f64>::new(0.0, 0.0, 0.0), ...
[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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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<f64>,
[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<f64>){
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     pub fn new_rotation(mut self, dir: Vector3<f64>){
[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<f32>,
[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<f32>) {
[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)]` (part of `#[warn(nonstandard_style)]`) 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::<f64>::new(0.0, 0.0, 0.0), Vector3::<f64>::new(0.0, 0.0, 0.0), ...
[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::<f32>::new(0.0, 0.0, 0.0);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `light_intensity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.34s
[INFO] running `Command { std: "docker" "inspect" "c21130843c306670e18767138c3a18e62e7ec5edc0350a028964adcb85580490", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c21130843c306670e18767138c3a18e62e7ec5edc0350a028964adcb85580490", kill_on_drop: false }`
[INFO] [stdout] c21130843c306670e18767138c3a18e62e7ec5edc0350a028964adcb85580490
