[INFO] cloning repository https://github.com/icemanx7/ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/icemanx7/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficemanx7%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficemanx7%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 390ec18b056f8979d8e8f2b489ad3419c2255647 [INFO] building icemanx7/ray-tracer 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%2Ficemanx7%2Fray-tracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/icemanx7/ray-tracer 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/icemanx7/ray-tracer [INFO] finished tweaking git repo https://github.com/icemanx7/ray-tracer [INFO] tweaked toml for git repo https://github.com/icemanx7/ray-tracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/icemanx7/ray-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 911535f15d1c087c6d4413d87f43e32c27a6ac824185200815473349bc26a538 [INFO] running `Command { std: "docker" "start" "-a" "911535f15d1c087c6d4413d87f43e32c27a6ac824185200815473349bc26a538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "911535f15d1c087c6d4413d87f43e32c27a6ac824185200815473349bc26a538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911535f15d1c087c6d4413d87f43e32c27a6ac824185200815473349bc26a538", kill_on_drop: false }` [INFO] [stdout] 911535f15d1c087c6d4413d87f43e32c27a6ac824185200815473349bc26a538 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3d612784c3b61af06575876c7d0f9c671b8715d90e6d3d535e0c6fb9e27b032a [INFO] running `Command { std: "docker" "start" "-a" "3d612784c3b61af06575876c7d0f9c671b8715d90e6d3d535e0c6fb9e27b032a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp < t_max && temp > t_min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp < t_max && temp > t_min) { [INFO] [stdout] 66 + if temp < t_max && temp > t_min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | if (temp < t_max && temp > t_min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (temp < t_max && temp > t_min) { [INFO] [stdout] 75 + if temp < t_max && temp > t_min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot` [INFO] [stdout] --> src/hittable_list.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | vec3::{dot, Vec3}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hittableList` should have an upper camel case name [INFO] [stdout] --> src/hittable_list.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct hittableList { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HittableList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HitRecord`, `Hittable`, `Sphere`, `Vec3`, `dot`, and `ray::Ray` [INFO] [stdout] --> src/weekend.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | hittable::{HitRecord, Hittable, Sphere}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 3 | ray::Ray, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | vec3::{dot, Vec3}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/weekend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref` and `sync::Arc` [INFO] [stdout] --> src/weekend.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{f64::consts::PI, ops::Deref, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | for s in 0..samples_per_pixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `origin` and `mult` are never used [INFO] [stdout] --> src/ray.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 10 | fn origin(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn mult(vect: Vec3, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `x`, `y`, `z`, and `random` are never used [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn x(self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/weekend.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `doesHit` should have a snake case name [INFO] [stdout] --> src/hittable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub doesHit: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `does_hit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hitRecord` should have a snake case name [INFO] [stdout] --> src/hittable.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub hitRecord: HitRecord, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `doesHit` should have a snake case name [INFO] [stdout] --> src/hittable.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(doesHit: bool, hitRecord: HitRecord) -> ReturnHitRecord { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `does_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hitRecord` should have a snake case name [INFO] [stdout] --> src/hittable.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(doesHit: bool, hitRecord: HitRecord) -> ReturnHitRecord { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objTemps` should have a snake case name [INFO] [stdout] --> src/hittable_list.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let objTemps = obj.hit(r, t_min, closest_so_far); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `obj_temps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pVec` should have a snake case name [INFO] [stdout] --> src/ray.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let pVec = Vec3 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `p_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lenthSquared` should have a snake case name [INFO] [stdout] --> src/vec3.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn lenthSquared(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `lenth_squared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/vec3.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn getLength(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `randomRange` should have a snake case name [INFO] [stdout] --> src/vec3.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn randomRange(min: f64, max: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_doubleRange` should have a snake case name [INFO] [stdout] --> src/weekend.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn random_doubleRange(min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_double_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.98s [INFO] running `Command { std: "docker" "inspect" "3d612784c3b61af06575876c7d0f9c671b8715d90e6d3d535e0c6fb9e27b032a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d612784c3b61af06575876c7d0f9c671b8715d90e6d3d535e0c6fb9e27b032a", kill_on_drop: false }` [INFO] [stdout] 3d612784c3b61af06575876c7d0f9c671b8715d90e6d3d535e0c6fb9e27b032a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 63f4137f7ad162b78ceacc3b9f1b7946bc28a0baedf5736a284844656645a7f9 [INFO] running `Command { std: "docker" "start" "-a" "63f4137f7ad162b78ceacc3b9f1b7946bc28a0baedf5736a284844656645a7f9", kill_on_drop: false }` [INFO] [stderr] Compiling ray-tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if (temp < t_max && temp > t_min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if (temp < t_max && temp > t_min) { [INFO] [stdout] 66 + if temp < t_max && temp > t_min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/hittable.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | if (temp < t_max && temp > t_min) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - if (temp < t_max && temp > t_min) { [INFO] [stdout] 75 + if temp < t_max && temp > t_min { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dot` [INFO] [stdout] --> src/hittable_list.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | vec3::{dot, Vec3}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `hittableList` should have an upper camel case name [INFO] [stdout] --> src/hittable_list.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct hittableList { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `HittableList` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HitRecord`, `Hittable`, `Sphere`, `Vec3`, `dot`, and `ray::Ray` [INFO] [stdout] --> src/weekend.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | hittable::{HitRecord, Hittable, Sphere}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] 3 | ray::Ray, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 4 | vec3::{dot, Vec3}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/weekend.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::Deref` and `sync::Arc` [INFO] [stdout] --> src/weekend.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{f64::consts::PI, ops::Deref, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | for s in 0..samples_per_pixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `origin` and `mult` are never used [INFO] [stdout] --> src/ray.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Ray { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 10 | fn origin(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn mult(vect: Vec3, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `x`, `y`, `z`, and `random` are never used [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn x(self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/weekend.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `doesHit` should have a snake case name [INFO] [stdout] --> src/hittable.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub doesHit: bool, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `does_hit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hitRecord` should have a snake case name [INFO] [stdout] --> src/hittable.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub hitRecord: HitRecord, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `doesHit` should have a snake case name [INFO] [stdout] --> src/hittable.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(doesHit: bool, hitRecord: HitRecord) -> ReturnHitRecord { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `does_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hitRecord` should have a snake case name [INFO] [stdout] --> src/hittable.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(doesHit: bool, hitRecord: HitRecord) -> ReturnHitRecord { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `objTemps` should have a snake case name [INFO] [stdout] --> src/hittable_list.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let objTemps = obj.hit(r, t_min, closest_so_far); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `obj_temps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pVec` should have a snake case name [INFO] [stdout] --> src/ray.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let pVec = Vec3 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `p_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lenthSquared` should have a snake case name [INFO] [stdout] --> src/vec3.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn lenthSquared(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `lenth_squared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/vec3.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn getLength(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `randomRange` should have a snake case name [INFO] [stdout] --> src/vec3.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn randomRange(min: f64, max: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `random_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_doubleRange` should have a snake case name [INFO] [stdout] --> src/weekend.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn random_doubleRange(min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `random_double_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "63f4137f7ad162b78ceacc3b9f1b7946bc28a0baedf5736a284844656645a7f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f4137f7ad162b78ceacc3b9f1b7946bc28a0baedf5736a284844656645a7f9", kill_on_drop: false }` [INFO] [stdout] 63f4137f7ad162b78ceacc3b9f1b7946bc28a0baedf5736a284844656645a7f9