[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJazzaHat%2FRust-tracer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JazzaHat/Rust-tracer on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07b813bdf6b29215b1543053cedcf7f41b437e96cfec3bd92d97ece3ee64a4ee [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" "07b813bdf6b29215b1543053cedcf7f41b437e96cfec3bd92d97ece3ee64a4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07b813bdf6b29215b1543053cedcf7f41b437e96cfec3bd92d97ece3ee64a4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b813bdf6b29215b1543053cedcf7f41b437e96cfec3bd92d97ece3ee64a4ee", kill_on_drop: false }` [INFO] [stdout] 07b813bdf6b29215b1543053cedcf7f41b437e96cfec3bd92d97ece3ee64a4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aadcb50552bf4b31ade40310146fdd223dffc31ecb20f96407f5663f56cd112d [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" "aadcb50552bf4b31ade40310146fdd223dffc31ecb20f96407f5663f56cd112d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking wayland-sys v0.24.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.13 [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] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling minifb v0.15.3 [INFO] [stderr] Compiling wayland-scanner v0.24.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.12.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 rayon-core v1.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand v0.7.3 [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 nalgebra v0.18.1 [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: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 1m 08s [INFO] running `Command { std: "docker" "inspect" "aadcb50552bf4b31ade40310146fdd223dffc31ecb20f96407f5663f56cd112d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aadcb50552bf4b31ade40310146fdd223dffc31ecb20f96407f5663f56cd112d", kill_on_drop: false }` [INFO] [stdout] aadcb50552bf4b31ade40310146fdd223dffc31ecb20f96407f5663f56cd112d