[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e8e6148d66e0a7aef3cd82cd3d9cef81946fa0d [INFO] testing Henry-Ash-Williams/Ray-tracer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenry-Ash-Williams%2FRay-tracer" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Henry-Ash-Williams/Ray-tracer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-9/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81f914cc2d551c08f4f8dbbc5ca081745109e2599efd1b91acada448025d305d [INFO] running `Command { std: "docker" "start" "-a" "81f914cc2d551c08f4f8dbbc5ca081745109e2599efd1b91acada448025d305d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81f914cc2d551c08f4f8dbbc5ca081745109e2599efd1b91acada448025d305d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f914cc2d551c08f4f8dbbc5ca081745109e2599efd1b91acada448025d305d", kill_on_drop: false }` [INFO] [stdout] 81f914cc2d551c08f4f8dbbc5ca081745109e2599efd1b91acada448025d305d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fc16b9cd6535fe1bcf956179602debdc7ebdfcf308569bfdb002cd15ca00d02 [INFO] running `Command { std: "docker" "start" "-a" "2fc16b9cd6535fe1bcf956179602debdc7ebdfcf308569bfdb002cd15ca00d02", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [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 miniz_oxide v0.3.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling paste-impl v0.1.10 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling paste v0.1.10 [INFO] [stderr] Compiling simba v0.1.2 [INFO] [stderr] Compiling nalgebra v0.21.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling utils v0.1.0 (/opt/rustwide/workdir/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: field is never read: `position` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | position: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | radius: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colour` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | colour: (u8, u8, u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `origin` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | origin: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `side_length` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | side_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colour` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | colour: (u8, u8, u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling comp-sci-ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ray_tracer.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut closest_object: Option> = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "2fc16b9cd6535fe1bcf956179602debdc7ebdfcf308569bfdb002cd15ca00d02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc16b9cd6535fe1bcf956179602debdc7ebdfcf308569bfdb002cd15ca00d02", kill_on_drop: false }` [INFO] [stdout] 2fc16b9cd6535fe1bcf956179602debdc7ebdfcf308569bfdb002cd15ca00d02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6610104405e80cea9fea3a408b66cc81a9b2f3dbf8183517aa66286f941bfc4 [INFO] running `Command { std: "docker" "start" "-a" "f6610104405e80cea9fea3a408b66cc81a9b2f3dbf8183517aa66286f941bfc4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: field is never read: `position` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | position: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `radius` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | radius: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `colour` [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | colour: (u8, u8, u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `origin` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | origin: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `side_length` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | side_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling comp-sci-ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `colour` [INFO] [stdout] --> src/utils/src/shapes/cube.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | colour: (u8, u8, u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ray_tracer.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut closest_object: Option> = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.92s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/comp_sci_ray_tracer-edf39510ee9c7818) [INFO] running `Command { std: "docker" "inspect" "f6610104405e80cea9fea3a408b66cc81a9b2f3dbf8183517aa66286f941bfc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6610104405e80cea9fea3a408b66cc81a9b2f3dbf8183517aa66286f941bfc4", kill_on_drop: false }` [INFO] [stdout] f6610104405e80cea9fea3a408b66cc81a9b2f3dbf8183517aa66286f941bfc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 64e313ef9a105c3b0c81f2466d3658373e8fd7052be95b4867526f74429767b4 [INFO] running `Command { std: "docker" "start" "-a" "64e313ef9a105c3b0c81f2466d3658373e8fd7052be95b4867526f74429767b4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::marker::Sized` [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::marker::Sized; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:34:43 [INFO] [stderr] | [INFO] [stderr] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/utils/src/shapes/cube.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/utils/src/shapes/cube.rs:34:43 [INFO] [stderr] | [INFO] [stderr] 34 | fn intersects(&self, s: Vector3, d: Vector3) -> Option> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `position` [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | position: Vector3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `radius` [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | radius: f32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `colour` [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | colour: (u8, u8, u8) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/src/shapes/sphere.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `origin` [INFO] [stderr] --> src/utils/src/shapes/cube.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | origin: Vector3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `side_length` [INFO] [stderr] --> src/utils/src/shapes/cube.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | side_length: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `colour` [INFO] [stderr] --> src/utils/src/shapes/cube.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | colour: (u8, u8, u8) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Cube` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/utils/src/shapes/cube.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `utils` (lib) generated 11 warnings [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/ray_tracer.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | let mut closest_object: Option> = None; [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `UpDirection` should have a snake case name [INFO] [stderr] --> src/scene.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub UpDirection: Vector3, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `LeftDirection` should have a snake case name [INFO] [stderr] --> src/scene.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub LeftDirection: Vector3, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stderr] [INFO] [stderr] warning: structure field `LookDirection` should have a snake case name [INFO] [stderr] --> src/scene.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub LookDirection: Vector3, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stderr] [INFO] [stderr] warning: structure field `EyePosition` should have a snake case name [INFO] [stderr] --> src/scene.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub EyePosition: Vector3, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stderr] [INFO] [stderr] warning: structure field `MeshTopLeft` should have a snake case name [INFO] [stderr] --> src/scene.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub MeshTopLeft: Vector3, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stderr] [INFO] [stderr] warning: structure field `MeshDistance` should have a snake case name [INFO] [stderr] --> src/scene.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub MeshDistance: f32, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stderr] [INFO] [stderr] warning: structure field `PixelWidth` should have a snake case name [INFO] [stderr] --> src/scene.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub PixelWidth: u32, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stderr] [INFO] [stderr] warning: structure field `ScreenWidth` should have a snake case name [INFO] [stderr] --> src/scene.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub ScreenWidth: u32, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stderr] [INFO] [stderr] warning: structure field `ScreenHeight` should have a snake case name [INFO] [stderr] --> src/scene.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub ScreenHeight: u32, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stderr] [INFO] [stderr] warning: variable `LeftDirection` should have a snake case name [INFO] [stderr] --> src/scene.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | LeftDirection: Vector3, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `left_direction` [INFO] [stderr] [INFO] [stderr] warning: variable `LookDirection` should have a snake case name [INFO] [stderr] --> src/scene.rs:26:9 [INFO] [stderr] | [INFO] [stderr] 26 | LookDirection: Vector3, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_direction` [INFO] [stderr] [INFO] [stderr] warning: variable `EyePosition` should have a snake case name [INFO] [stderr] --> src/scene.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | EyePosition: Vector3, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `eye_position` [INFO] [stderr] [INFO] [stderr] warning: variable `MeshDistance` should have a snake case name [INFO] [stderr] --> src/scene.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | MeshDistance: f32, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_distance` [INFO] [stderr] [INFO] [stderr] warning: variable `PixelWidth` should have a snake case name [INFO] [stderr] --> src/scene.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | PixelWidth: u32, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `pixel_width` [INFO] [stderr] [INFO] [stderr] warning: variable `ScreenWidth` should have a snake case name [INFO] [stderr] --> src/scene.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | ScreenWidth: u32, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `screen_width` [INFO] [stderr] [INFO] [stderr] warning: variable `ScreenHeight` should have a snake case name [INFO] [stderr] --> src/scene.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | ScreenHeight: u32, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `screen_height` [INFO] [stderr] [INFO] [stderr] warning: variable `UpDirection` should have a snake case name [INFO] [stderr] --> src/scene.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | let UpDirection = LookDirection.cross(&LeftDirection).normalize(); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `up_direction` [INFO] [stderr] [INFO] [stderr] warning: variable `MeshTopLeft` should have a snake case name [INFO] [stderr] --> src/scene.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | ... let MeshTopLeft = EyePosition + (MeshDistance * LookDirection) + ((PixelWidth * ScreenWidth / 2) as f32 * LeftDirection) + ((PixelW... [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `mesh_top_left` [INFO] [stderr] [INFO] [stderr] warning: method `GetRayToMesh` should have a snake case name [INFO] [stderr] --> src/scene.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn GetRayToMesh(&self, x: u32, y: u32) -> Vector3 { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `get_ray_to_mesh` [INFO] [stderr] [INFO] [stderr] warning: `comp-sci-ray-tracer` (bin "comp-sci-ray-tracer" test) generated 20 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/comp_sci_ray_tracer-edf39510ee9c7818) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "64e313ef9a105c3b0c81f2466d3658373e8fd7052be95b4867526f74429767b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64e313ef9a105c3b0c81f2466d3658373e8fd7052be95b4867526f74429767b4", kill_on_drop: false }` [INFO] [stdout] 64e313ef9a105c3b0c81f2466d3658373e8fd7052be95b4867526f74429767b4