[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] checking icemanx7/ray-tracer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficemanx7%2Fray-tracer" "/workspace/builds/worker-51/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-51/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/icemanx7/ray-tracer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-51/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa47e8acebb2efeb89dd8149209b2fa8a65a60f521ebb287a765b88f009da522 [INFO] running `Command { std: "docker" "start" "-a" "aa47e8acebb2efeb89dd8149209b2fa8a65a60f521ebb287a765b88f009da522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa47e8acebb2efeb89dd8149209b2fa8a65a60f521ebb287a765b88f009da522", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa47e8acebb2efeb89dd8149209b2fa8a65a60f521ebb287a765b88f009da522", kill_on_drop: false }` [INFO] [stdout] aa47e8acebb2efeb89dd8149209b2fa8a65a60f521ebb287a765b88f009da522 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9a24b0f641e284a5b6c4064db0dc0ea4dcc39362335aed7c6589dbeb50e270e [INFO] running `Command { std: "docker" "start" "-a" "a9a24b0f641e284a5b6c4064db0dc0ea4dcc39362335aed7c6589dbeb50e270e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ray-tracing v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/weekend.rs (3 fixes) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/hittable.rs (2 fixes) [INFO] [stderr] Fixed src/hittable_list.rs (1 fix) [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: 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: associated function is never used: `origin` [INFO] [stdout] --> src/ray.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn origin(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mult` [INFO] [stdout] --> src/ray.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn mult(vect: Vec3, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn x(self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/vec3.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `z` [INFO] [stdout] --> src/vec3.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random` [INFO] [stdout] --> src/vec3.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `degrees_to_radians` [INFO] [stdout] --> src/weekend.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | 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] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/ray.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn origin(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mult` [INFO] [stdout] --> src/ray.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn mult(vect: Vec3, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn x(self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/vec3.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `z` [INFO] [stdout] --> src/vec3.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random` [INFO] [stdout] --> src/vec3.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `degrees_to_radians` [INFO] [stdout] --> src/weekend.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | 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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.34s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking ray-tracing v0.1.0 (/tmp/fixit) [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: 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: associated function is never used: `origin` [INFO] [stdout] --> src/ray.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn origin(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mult` [INFO] [stdout] --> src/ray.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn mult(vect: Vec3, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn x(self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/vec3.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `z` [INFO] [stdout] --> src/vec3.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random` [INFO] [stdout] --> src/vec3.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `degrees_to_radians` [INFO] [stdout] --> src/weekend.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | 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] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/ray.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn origin(self) -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mult` [INFO] [stdout] --> src/ray.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn mult(vect: Vec3, t: f64) -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn x(self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/vec3.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `z` [INFO] [stdout] --> src/vec3.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn z(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random` [INFO] [stdout] --> src/vec3.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn random() -> Vec3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `degrees_to_radians` [INFO] [stdout] --> src/weekend.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | 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] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "a9a24b0f641e284a5b6c4064db0dc0ea4dcc39362335aed7c6589dbeb50e270e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a24b0f641e284a5b6c4064db0dc0ea4dcc39362335aed7c6589dbeb50e270e", kill_on_drop: false }` [INFO] [stdout] a9a24b0f641e284a5b6c4064db0dc0ea4dcc39362335aed7c6589dbeb50e270e