[INFO] cloning repository https://github.com/marwi509/rustaytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marwi509/rustaytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarwi509%2Frustaytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarwi509%2Frustaytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b71fac174a3c0c8a7e1d528be61f2dabbb792c2 [INFO] building marwi509/rustaytracer against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarwi509%2Frustaytracer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marwi509/rustaytracer on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marwi509/rustaytracer [INFO] finished tweaking git repo https://github.com/marwi509/rustaytracer [INFO] tweaked toml for git repo https://github.com/marwi509/rustaytracer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/marwi509/rustaytracer 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f4f9b48a0dab588fde2481efbe18868b5372193fdd800e0a1ff26bdc81d7be [INFO] running `Command { std: "docker" "start" "-a" "58f4f9b48a0dab588fde2481efbe18868b5372193fdd800e0a1ff26bdc81d7be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f4f9b48a0dab588fde2481efbe18868b5372193fdd800e0a1ff26bdc81d7be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f4f9b48a0dab588fde2481efbe18868b5372193fdd800e0a1ff26bdc81d7be", kill_on_drop: false }` [INFO] [stdout] 58f4f9b48a0dab588fde2481efbe18868b5372193fdd800e0a1ff26bdc81d7be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d900f10921fc6bf3118de9cb71141dfa2665612c580ebb7bdf6e69e3b3e0063 [INFO] running `Command { std: "docker" "start" "-a" "4d900f10921fc6bf3118de9cb71141dfa2665612c580ebb7bdf6e69e3b3e0063", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bmp v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling raytracer-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/render.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; // 0.8.5 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs::File}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::ops; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thing` [INFO] [stdout] --> src/render.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let thing = &ray.direction.multiply(smallestT); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_thing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut vec = vec![0.5; WIDTH * HEIGHT * 3]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | for i in 0..samples { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut vec = vec![0.5; WIDTH * HEIGHT * 3]; [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 `apertureSize` should have a snake case name [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let apertureSize = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `aperture_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randR` should have a snake case name [INFO] [stdout] --> src/main.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let randR = render::randomFloat() * apertureSize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `rand_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randTheta` should have a snake case name [INFO] [stdout] --> src/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let randTheta = render::randomFloat() * 2.0 * PI; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `apertureFocusPoint` should have a snake case name [INFO] [stdout] --> src/main.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let apertureFocusPoint = origin + direction.multiply(distance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `aperture_focus_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOrigin` should have a snake case name [INFO] [stdout] --> src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let newOrigin = Vector {x: origin.x + rx, y: origin.y + ry, z: origin.z}; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newDirection` should have a snake case name [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let newDirection = apertureFocusPoint.subtract(&newOrigin).normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomFloat` should have a snake case name [INFO] [stdout] --> src/render.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn randomFloat() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newRay` should have a snake case name [INFO] [stdout] --> src/render.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let newRay: Ray; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generateNextRay` should have a snake case name [INFO] [stdout] --> src/render.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn generateNextRay(normal: &Vector, position: &Vector) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_next_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generateReflectedRay` should have a snake case name [INFO] [stdout] --> src/render.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn generateReflectedRay(normal: &Vector, direction: &Vector, position: &Vector) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_reflected_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `smallestT` should have a snake case name [INFO] [stdout] --> src/render.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut smallestT = 1e10; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `smallest_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `foundIndex` should have a snake case name [INFO] [stdout] --> src/render.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut foundIndex: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `found_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "4d900f10921fc6bf3118de9cb71141dfa2665612c580ebb7bdf6e69e3b3e0063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d900f10921fc6bf3118de9cb71141dfa2665612c580ebb7bdf6e69e3b3e0063", kill_on_drop: false }` [INFO] [stdout] 4d900f10921fc6bf3118de9cb71141dfa2665612c580ebb7bdf6e69e3b3e0063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e0cdbc6504c07b35fa225c4b3e9bd641b36a11f44e46fc387562056dd772039 [INFO] running `Command { std: "docker" "start" "-a" "4e0cdbc6504c07b35fa225c4b3e9bd641b36a11f44e46fc387562056dd772039", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/render.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::Rng; // 0.8.5 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::File` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs::File}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::ops` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use core::ops; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thing` [INFO] [stdout] --> src/render.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let thing = &ray.direction.multiply(smallestT); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_thing` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut vec = vec![0.5; WIDTH * HEIGHT * 3]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | for i in 0..samples { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut vec = vec![0.5; WIDTH * HEIGHT * 3]; [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 `apertureSize` should have a snake case name [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | let apertureSize = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `aperture_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randR` should have a snake case name [INFO] [stdout] --> src/main.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let randR = render::randomFloat() * apertureSize; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `rand_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randTheta` should have a snake case name [INFO] [stdout] --> src/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let randTheta = render::randomFloat() * 2.0 * PI; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_theta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `apertureFocusPoint` should have a snake case name [INFO] [stdout] --> src/main.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let apertureFocusPoint = origin + direction.multiply(distance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `aperture_focus_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOrigin` should have a snake case name [INFO] [stdout] --> src/main.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let newOrigin = Vector {x: origin.x + rx, y: origin.y + ry, z: origin.z}; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `new_origin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newDirection` should have a snake case name [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | let newDirection = apertureFocusPoint.subtract(&newOrigin).normalize(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `randomFloat` should have a snake case name [INFO] [stdout] --> src/render.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn randomFloat() -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_float` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newRay` should have a snake case name [INFO] [stdout] --> src/render.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let newRay: Ray; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `new_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generateNextRay` should have a snake case name [INFO] [stdout] --> src/render.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn generateNextRay(normal: &Vector, position: &Vector) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_next_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generateReflectedRay` should have a snake case name [INFO] [stdout] --> src/render.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn generateReflectedRay(normal: &Vector, direction: &Vector, position: &Vector) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_reflected_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `smallestT` should have a snake case name [INFO] [stdout] --> src/render.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut smallestT = 1e10; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `smallest_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `foundIndex` should have a snake case name [INFO] [stdout] --> src/render.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | let mut foundIndex: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `found_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "4e0cdbc6504c07b35fa225c4b3e9bd641b36a11f44e46fc387562056dd772039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e0cdbc6504c07b35fa225c4b3e9bd641b36a11f44e46fc387562056dd772039", kill_on_drop: false }` [INFO] [stdout] 4e0cdbc6504c07b35fa225c4b3e9bd641b36a11f44e46fc387562056dd772039