[INFO] cloning repository https://github.com/Tiqur/Rust-RayTracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tiqur/Rust-RayTracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTiqur%2FRust-RayTracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTiqur%2FRust-RayTracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3e2b518986abd4f76456d819b93ec7b04f43b72 [INFO] checking Tiqur/Rust-RayTracing against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTiqur%2FRust-RayTracing" "/workspace/builds/worker-106/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-106/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tiqur/Rust-RayTracing 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/Tiqur/Rust-RayTracing [INFO] finished tweaking git repo https://github.com/Tiqur/Rust-RayTracing [INFO] tweaked toml for git repo https://github.com/Tiqur/Rust-RayTracing written to /workspace/builds/worker-106/source/Cargo.toml [INFO] crate git repo https://github.com/Tiqur/Rust-RayTracing 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] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded cc v1.0.52 [INFO] [stderr] Downloaded wayland-protocols v0.24.1 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded remove_dir_all v0.5.2 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded console v0.11.3 [INFO] [stderr] Downloaded num-iter v0.1.40 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded encode_unicode v0.3.6 [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded wayland-sys v0.24.1 [INFO] [stderr] Downloaded wayland-commons v0.24.1 [INFO] [stderr] Downloaded minifb v0.15.3 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded wayland-client v0.24.1 [INFO] [stderr] Downloaded wayland-scanner v0.24.1 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded orbclient v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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] 5914f609b28eb28e3849d5894cc0aabce6792a6894afb33516338b7f80c1fffe [INFO] running `Command { std: "docker" "start" "-a" "5914f609b28eb28e3849d5894cc0aabce6792a6894afb33516338b7f80c1fffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5914f609b28eb28e3849d5894cc0aabce6792a6894afb33516338b7f80c1fffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5914f609b28eb28e3849d5894cc0aabce6792a6894afb33516338b7f80c1fffe", kill_on_drop: false }` [INFO] [stdout] 5914f609b28eb28e3849d5894cc0aabce6792a6894afb33516338b7f80c1fffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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] 6d7091dc9a14994a9006fa7083859d96aaf5589d1bd0332db7260a3eb7d2a497 [INFO] running `Command { std: "docker" "start" "-a" "6d7091dc9a14994a9006fa7083859d96aaf5589d1bd0332db7260a3eb7d2a497", 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] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking wayland-sys v0.24.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling minifb v0.15.3 [INFO] [stderr] Compiling wayland-scanner v0.24.1 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling wayland-client v0.24.1 [INFO] [stderr] Compiling wayland-protocols v0.24.1 [INFO] [stderr] Checking wayland-commons v0.24.1 [INFO] [stderr] Checking RayTracing v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/PathTracing/Classes/Light.rs (4 fixes) [INFO] [stderr] Fixed src/PathTracing/Classes/Scene.rs (13 fixes) [INFO] [stderr] Fixed src/PathTracing/Objects/Rectangle.rs (4 fixes) [INFO] [stderr] Fixed src/PathTracing/Classes/HitRecord.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (6 fixes) [INFO] [stderr] Fixed src/PathTracing/Objects/Sphere.rs (1 fix) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/PathTracing/Classes/Scene.rs:191:97 [INFO] [stdout] | [INFO] [stdout] 191 | let gamma_corrected_pixel_color = pixel_color.mulF(scale).square_root();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/PathTracing/Classes/Scene.rs:191:97 [INFO] [stdout] | [INFO] [stdout] 191 | let gamma_corrected_pixel_color = pixel_color.mulF(scale).square_root();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/Classes/Window.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn dot(&mut self, point: Point2D, color: &Rgb) { [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: `line` [INFO] [stdout] --> src/Classes/Window.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn line(&mut self, p1: Point2D, p2: Point2D, color: &Rgb) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_background` [INFO] [stdout] --> src/Classes/Window.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_background(&mut self, color: Rgb) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_buffer` [INFO] [stdout] --> src/Classes/Window.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn set_buffer(&mut self, vec: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mix` [INFO] [stdout] --> src/Classes/Vec3.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn mix(&self, other: Vec3, t: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dist` [INFO] [stdout] --> src/Classes/Vec3.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn dist(&self, other: Vec3) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mix` [INFO] [stdout] --> src/Classes/Rgb.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mix(&self, c: &Rgb, t: f32) -> Rgb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/Classes/Rgb.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn div(&self, f: f32) -> Rgb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_buffer` [INFO] [stdout] --> src/Classes/Point2D.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn as_buffer(&self, window: Window) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/Classes/Window.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn dot(&mut self, point: Point2D, color: &Rgb) { [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: `line` [INFO] [stdout] --> src/Classes/Window.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn line(&mut self, p1: Point2D, p2: Point2D, color: &Rgb) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_background` [INFO] [stdout] --> src/Classes/Window.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_background(&mut self, color: Rgb) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_buffer` [INFO] [stdout] --> src/Classes/Window.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn set_buffer(&mut self, vec: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mix` [INFO] [stdout] --> src/Classes/Vec3.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn mix(&self, other: Vec3, t: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dist` [INFO] [stdout] --> src/Classes/Vec3.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn dist(&self, other: Vec3) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mix` [INFO] [stdout] --> src/Classes/Rgb.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mix(&self, c: &Rgb, t: f32) -> Rgb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/Classes/Rgb.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn div(&self, f: f32) -> Rgb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_buffer` [INFO] [stdout] --> src/Classes/Point2D.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn as_buffer(&self, window: Window) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RayTracing` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `ray_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Classes` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Classes; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `classes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `PathTracing` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod PathTracing; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `path_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RayTracing` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `ray_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Classes` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Classes; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `classes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `PathTracing` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod PathTracing; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `path_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | term.clear_screen(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | term.hide_cursor(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | term.move_cursor_to(0, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Window` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Window; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vec3` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Vec3; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rgb` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Rgb; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Point2D` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Point2D; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `point2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mulF` should have a snake case name [INFO] [stdout] --> src/Classes/Vec3.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn mulF(&self, other: f32) -> Vec3 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mul_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mulF` should have a snake case name [INFO] [stdout] --> src/Classes/Rgb.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn mulF(&self, f: f32) -> Rgb { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mul_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Objects` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Objects; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `objects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Traits` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Traits; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Enums` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Enums; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `enums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Classes` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Classes; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `classes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Materials` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Materials; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Textures` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Textures; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Functions` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Functions; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Sphere` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Sphere; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Triangle` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Triangle; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shape` should have a snake case name [INFO] [stdout] --> src/PathTracing/Traits/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Shape; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ObjectEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ObjectEnum; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MaterialEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod MaterialEnum; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `material_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TextureEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod TextureEnum; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `texture_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | term.clear_screen(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Scene` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Scene; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ray` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Ray; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | term.hide_cursor(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HitRecord` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod HitRecord; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Material` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Material; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | term.move_cursor_to(0, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Light` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Light; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Statistics` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Statistics; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statistics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Window` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Window; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Diffuse` should have a snake case name [INFO] [stdout] --> src/PathTracing/Materials/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Diffuse; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `diffuse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mirror` should have a snake case name [INFO] [stdout] --> src/PathTracing/Materials/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Mirror; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vec3` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Vec3; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Base` should have a snake case name [INFO] [stdout] --> src/PathTracing/Textures/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Base; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rgb` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Rgb; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Checkerboard` should have a snake case name [INFO] [stdout] --> src/PathTracing/Textures/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Checkerboard; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `checkerboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Point2D` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Point2D; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `point2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mulF` should have a snake case name [INFO] [stdout] --> src/Classes/Vec3.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn mulF(&self, other: f32) -> Vec3 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mul_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mulF` should have a snake case name [INFO] [stdout] --> src/Classes/Rgb.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn mulF(&self, f: f32) -> Rgb { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mul_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Objects` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Objects; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `objects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Traits` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Traits; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Enums` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Enums; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `enums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Classes` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Classes; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `classes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Materials` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Materials; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Textures` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Textures; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Functions` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Functions; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Sphere` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Sphere; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Triangle` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Triangle; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shape` should have a snake case name [INFO] [stdout] --> src/PathTracing/Traits/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Shape; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ObjectEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ObjectEnum; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MaterialEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod MaterialEnum; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `material_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TextureEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod TextureEnum; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `texture_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Scene` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Scene; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ray` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Ray; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HitRecord` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod HitRecord; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Material` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Material; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Light` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Light; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Statistics` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Statistics; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statistics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Diffuse` should have a snake case name [INFO] [stdout] --> src/PathTracing/Materials/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Diffuse; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `diffuse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mirror` should have a snake case name [INFO] [stdout] --> src/PathTracing/Materials/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Mirror; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Base` should have a snake case name [INFO] [stdout] --> src/PathTracing/Textures/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Base; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Checkerboard` should have a snake case name [INFO] [stdout] --> src/PathTracing/Textures/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Checkerboard; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `checkerboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 28.25s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking RayTracing v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/PathTracing/Classes/Scene.rs:191:97 [INFO] [stdout] | [INFO] [stdout] 191 | let gamma_corrected_pixel_color = pixel_color.mulF(scale).square_root();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/PathTracing/Classes/Scene.rs:191:97 [INFO] [stdout] | [INFO] [stdout] 191 | let gamma_corrected_pixel_color = pixel_color.mulF(scale).square_root();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/Classes/Window.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn dot(&mut self, point: Point2D, color: &Rgb) { [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: `line` [INFO] [stdout] --> src/Classes/Window.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn line(&mut self, p1: Point2D, p2: Point2D, color: &Rgb) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_background` [INFO] [stdout] --> src/Classes/Window.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_background(&mut self, color: Rgb) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_buffer` [INFO] [stdout] --> src/Classes/Window.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn set_buffer(&mut self, vec: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mix` [INFO] [stdout] --> src/Classes/Vec3.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn mix(&self, other: Vec3, t: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dist` [INFO] [stdout] --> src/Classes/Vec3.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn dist(&self, other: Vec3) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mix` [INFO] [stdout] --> src/Classes/Rgb.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mix(&self, c: &Rgb, t: f32) -> Rgb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/Classes/Rgb.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn div(&self, f: f32) -> Rgb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_buffer` [INFO] [stdout] --> src/Classes/Point2D.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn as_buffer(&self, window: Window) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/Classes/Window.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn dot(&mut self, point: Point2D, color: &Rgb) { [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: `line` [INFO] [stdout] --> src/Classes/Window.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn line(&mut self, p1: Point2D, p2: Point2D, color: &Rgb) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_background` [INFO] [stdout] --> src/Classes/Window.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_background(&mut self, color: Rgb) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_buffer` [INFO] [stdout] --> src/Classes/Window.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn set_buffer(&mut self, vec: Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mix` [INFO] [stdout] --> src/Classes/Vec3.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn mix(&self, other: Vec3, t: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dist` [INFO] [stdout] --> src/Classes/Vec3.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn dist(&self, other: Vec3) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mix` [INFO] [stdout] --> src/Classes/Rgb.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mix(&self, c: &Rgb, t: f32) -> Rgb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/Classes/Rgb.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn div(&self, f: f32) -> Rgb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `as_buffer` [INFO] [stdout] --> src/Classes/Point2D.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn as_buffer(&self, window: Window) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RayTracing` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `ray_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Classes` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Classes; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `classes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `PathTracing` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod PathTracing; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `path_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `RayTracing` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `ray_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Classes` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Classes; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `classes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `PathTracing` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod PathTracing; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `path_tracing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | term.clear_screen(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | term.hide_cursor(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | term.move_cursor_to(0, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Window` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Window; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vec3` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Vec3; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rgb` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Rgb; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Point2D` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Point2D; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `point2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mulF` should have a snake case name [INFO] [stdout] --> src/Classes/Vec3.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn mulF(&self, other: f32) -> Vec3 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mul_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mulF` should have a snake case name [INFO] [stdout] --> src/Classes/Rgb.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn mulF(&self, f: f32) -> Rgb { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mul_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Objects` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Objects; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `objects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Traits` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Traits; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Enums` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Enums; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `enums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Classes` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Classes; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `classes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Materials` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Materials; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Textures` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Textures; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Functions` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Functions; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Sphere` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Sphere; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Triangle` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Triangle; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shape` should have a snake case name [INFO] [stdout] --> src/PathTracing/Traits/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Shape; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ObjectEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ObjectEnum; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MaterialEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod MaterialEnum; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `material_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | term.clear_screen(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TextureEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod TextureEnum; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `texture_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Scene` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Scene; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ray` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Ray; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | term.hide_cursor(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HitRecord` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod HitRecord; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Material` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Material; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Light` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Light; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Statistics` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Statistics; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statistics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | term.move_cursor_to(0, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Diffuse` should have a snake case name [INFO] [stdout] --> src/PathTracing/Materials/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Diffuse; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `diffuse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mirror` should have a snake case name [INFO] [stdout] --> src/PathTracing/Materials/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Mirror; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Base` should have a snake case name [INFO] [stdout] --> src/PathTracing/Textures/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Base; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Checkerboard` should have a snake case name [INFO] [stdout] --> src/PathTracing/Textures/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Checkerboard; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `checkerboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Window` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Window; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vec3` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Vec3; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `vec3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rgb` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Rgb; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Point2D` should have a snake case name [INFO] [stdout] --> src/Classes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Point2D; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `point2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mulF` should have a snake case name [INFO] [stdout] --> src/Classes/Vec3.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn mulF(&self, other: f32) -> Vec3 { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mul_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mulF` should have a snake case name [INFO] [stdout] --> src/Classes/Rgb.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn mulF(&self, f: f32) -> Rgb { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mul_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Objects` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Objects; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `objects` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Traits` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Traits; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `traits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Enums` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Enums; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `enums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Classes` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod Classes; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `classes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Materials` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Materials; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Textures` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Textures; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Functions` should have a snake case name [INFO] [stdout] --> src/PathTracing/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Functions; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Sphere` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Sphere; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Triangle` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Triangle; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `triangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> src/PathTracing/Objects/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Shape` should have a snake case name [INFO] [stdout] --> src/PathTracing/Traits/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Shape; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ObjectEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ObjectEnum; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `object_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MaterialEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod MaterialEnum; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `material_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `TextureEnum` should have a snake case name [INFO] [stdout] --> src/PathTracing/Enums/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod TextureEnum; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `texture_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Scene` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Scene; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Ray` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Ray; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HitRecord` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod HitRecord; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Material` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod Material; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Light` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub mod Light; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `light` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Statistics` should have a snake case name [INFO] [stdout] --> src/PathTracing/Classes/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Statistics; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statistics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Diffuse` should have a snake case name [INFO] [stdout] --> src/PathTracing/Materials/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Diffuse; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `diffuse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mirror` should have a snake case name [INFO] [stdout] --> src/PathTracing/Materials/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Mirror; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `mirror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Base` should have a snake case name [INFO] [stdout] --> src/PathTracing/Textures/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Base; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Checkerboard` should have a snake case name [INFO] [stdout] --> src/PathTracing/Textures/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod Checkerboard; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `checkerboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 10.53s [INFO] running `Command { std: "docker" "inspect" "6d7091dc9a14994a9006fa7083859d96aaf5589d1bd0332db7260a3eb7d2a497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7091dc9a14994a9006fa7083859d96aaf5589d1bd0332db7260a3eb7d2a497", kill_on_drop: false }` [INFO] [stdout] 6d7091dc9a14994a9006fa7083859d96aaf5589d1bd0332db7260a3eb7d2a497