[INFO] cloning repository https://github.com/Henry-Ash-Williams/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/Henry-Ash-Williams/Ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenry-Ash-Williams%2FRay-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenry-Ash-Williams%2FRay-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e8e6148d66e0a7aef3cd82cd3d9cef81946fa0d [INFO] checking Henry-Ash-Williams/Ray-tracer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenry-Ash-Williams%2FRay-tracer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Henry-Ash-Williams/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/Henry-Ash-Williams/Ray-tracer [INFO] finished tweaking git repo https://github.com/Henry-Ash-Williams/Ray-tracer [INFO] tweaked toml for git repo https://github.com/Henry-Ash-Williams/Ray-tracer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Henry-Ash-Williams/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] Downloading crates ... [INFO] [stderr] Downloaded image v0.23.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 1919c226d46c0efb7c62801ffe9092968e78e3c98022e63f49561e47ee84be98 [INFO] running `Command { std: "docker" "start" "-a" "1919c226d46c0efb7c62801ffe9092968e78e3c98022e63f49561e47ee84be98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1919c226d46c0efb7c62801ffe9092968e78e3c98022e63f49561e47ee84be98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1919c226d46c0efb7c62801ffe9092968e78e3c98022e63f49561e47ee84be98", kill_on_drop: false }` [INFO] [stdout] 1919c226d46c0efb7c62801ffe9092968e78e3c98022e63f49561e47ee84be98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 165144c0d5cbcdf7a70766e6518f4baa18295f6b477459a582056548ca91d363 [INFO] running `Command { std: "docker" "start" "-a" "165144c0d5cbcdf7a70766e6518f4baa18295f6b477459a582056548ca91d363", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Compiling paste-impl v0.1.10 [INFO] [stderr] Checking paste v0.1.10 [INFO] [stderr] Checking simba v0.1.2 [INFO] [stderr] Checking nalgebra v0.21.0 [INFO] [stderr] Checking utils v0.1.0 (/tmp/fixit/src/utils) [INFO] [stdout] warning: unused import: `std::marker::Sized` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking comp-sci-ray-tracer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/ray_tracer.rs (1 fix) [INFO] [stdout] warning: structure field `UpDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub UpDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LeftDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub LeftDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LookDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub LookDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EyePosition` should have a snake case name [INFO] [stdout] --> src/scene.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub EyePosition: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MeshTopLeft` should have a snake case name [INFO] [stdout] --> src/scene.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub MeshTopLeft: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MeshDistance` should have a snake case name [INFO] [stdout] --> src/scene.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub MeshDistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PixelWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub PixelWidth: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ScreenWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub ScreenWidth: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ScreenHeight` should have a snake case name [INFO] [stdout] --> src/scene.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub ScreenHeight: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LeftDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | LeftDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LookDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | LookDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EyePosition` should have a snake case name [INFO] [stdout] --> src/scene.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EyePosition: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MeshDistance` should have a snake case name [INFO] [stdout] --> src/scene.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | MeshDistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PixelWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | PixelWidth: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ScreenWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ScreenWidth: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ScreenHeight` should have a snake case name [INFO] [stdout] --> src/scene.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ScreenHeight: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UpDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let UpDirection = LookDirection.cross(&LeftDirection).normalize(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MeshTopLeft` should have a snake case name [INFO] [stdout] --> src/scene.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ... let MeshTopLeft = EyePosition + (MeshDistance * LookDirection) + ((PixelWidth * ScreenWidth / 2) as f32 * LeftDirection) + ((PixelW... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetRayToMesh` should have a snake case name [INFO] [stdout] --> src/scene.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn GetRayToMesh(&self, x: u32, y: u32) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_ray_to_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `UpDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub UpDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LeftDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub LeftDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LookDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub LookDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EyePosition` should have a snake case name [INFO] [stdout] --> src/scene.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub EyePosition: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MeshTopLeft` should have a snake case name [INFO] [stdout] --> src/scene.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub MeshTopLeft: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MeshDistance` should have a snake case name [INFO] [stdout] --> src/scene.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub MeshDistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PixelWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub PixelWidth: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ScreenWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub ScreenWidth: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ScreenHeight` should have a snake case name [INFO] [stdout] --> src/scene.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub ScreenHeight: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LeftDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | LeftDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LookDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | LookDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EyePosition` should have a snake case name [INFO] [stdout] --> src/scene.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EyePosition: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MeshDistance` should have a snake case name [INFO] [stdout] --> src/scene.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | MeshDistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PixelWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | PixelWidth: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ScreenWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ScreenWidth: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ScreenHeight` should have a snake case name [INFO] [stdout] --> src/scene.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ScreenHeight: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UpDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let UpDirection = LookDirection.cross(&LeftDirection).normalize(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MeshTopLeft` should have a snake case name [INFO] [stdout] --> src/scene.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ... let MeshTopLeft = EyePosition + (MeshDistance * LookDirection) + ((PixelWidth * ScreenWidth / 2) as f32 * LeftDirection) + ((PixelW... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetRayToMesh` should have a snake case name [INFO] [stdout] --> src/scene.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn GetRayToMesh(&self, x: u32, y: u32) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_ray_to_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.30s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stdout] warning: unused import: `std::marker::Sized` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking comp-sci-ray-tracer v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: structure field `UpDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub UpDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LeftDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub LeftDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LookDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub LookDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EyePosition` should have a snake case name [INFO] [stdout] --> src/scene.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub EyePosition: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MeshTopLeft` should have a snake case name [INFO] [stdout] --> src/scene.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub MeshTopLeft: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MeshDistance` should have a snake case name [INFO] [stdout] --> src/scene.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub MeshDistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PixelWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub PixelWidth: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ScreenWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub ScreenWidth: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ScreenHeight` should have a snake case name [INFO] [stdout] --> src/scene.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub ScreenHeight: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LeftDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | LeftDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LookDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | LookDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EyePosition` should have a snake case name [INFO] [stdout] --> src/scene.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EyePosition: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MeshDistance` should have a snake case name [INFO] [stdout] --> src/scene.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | MeshDistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PixelWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | PixelWidth: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ScreenWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ScreenWidth: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ScreenHeight` should have a snake case name [INFO] [stdout] --> src/scene.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ScreenHeight: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UpDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let UpDirection = LookDirection.cross(&LeftDirection).normalize(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MeshTopLeft` should have a snake case name [INFO] [stdout] --> src/scene.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ... let MeshTopLeft = EyePosition + (MeshDistance * LookDirection) + ((PixelWidth * ScreenWidth / 2) as f32 * LeftDirection) + ((PixelW... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetRayToMesh` should have a snake case name [INFO] [stdout] --> src/scene.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn GetRayToMesh(&self, x: u32, y: u32) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_ray_to_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `UpDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub UpDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LeftDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub LeftDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LookDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub LookDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EyePosition` should have a snake case name [INFO] [stdout] --> src/scene.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub EyePosition: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MeshTopLeft` should have a snake case name [INFO] [stdout] --> src/scene.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub MeshTopLeft: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `MeshDistance` should have a snake case name [INFO] [stdout] --> src/scene.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub MeshDistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PixelWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub PixelWidth: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ScreenWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub ScreenWidth: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ScreenHeight` should have a snake case name [INFO] [stdout] --> src/scene.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub ScreenHeight: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LeftDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | LeftDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LookDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | LookDirection: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EyePosition` should have a snake case name [INFO] [stdout] --> src/scene.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | EyePosition: Vector3, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MeshDistance` should have a snake case name [INFO] [stdout] --> src/scene.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | MeshDistance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PixelWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | PixelWidth: u32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ScreenWidth` should have a snake case name [INFO] [stdout] --> src/scene.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ScreenWidth: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ScreenHeight` should have a snake case name [INFO] [stdout] --> src/scene.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ScreenHeight: u32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UpDirection` should have a snake case name [INFO] [stdout] --> src/scene.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let UpDirection = LookDirection.cross(&LeftDirection).normalize(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MeshTopLeft` should have a snake case name [INFO] [stdout] --> src/scene.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | ... let MeshTopLeft = EyePosition + (MeshDistance * LookDirection) + ((PixelWidth * ScreenWidth / 2) as f32 * LeftDirection) + ((PixelW... [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetRayToMesh` should have a snake case name [INFO] [stdout] --> src/scene.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn GetRayToMesh(&self, x: u32, y: u32) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_ray_to_mesh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "165144c0d5cbcdf7a70766e6518f4baa18295f6b477459a582056548ca91d363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "165144c0d5cbcdf7a70766e6518f4baa18295f6b477459a582056548ca91d363", kill_on_drop: false }` [INFO] [stdout] 165144c0d5cbcdf7a70766e6518f4baa18295f6b477459a582056548ca91d363