[INFO] cloning repository https://github.com/mikialex/rainray
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikialex/rainray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikialex%2Frainray", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikialex%2Frainray'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 258d9642551d32b734b46619a3222ae7036c48e8
[INFO] checking mikialex/rainray against master#dc375db7d8df0aa450e622c529147c95eee756f5 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikialex%2Frainray" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mikialex/rainray
[INFO] finished tweaking git repo https://github.com/mikialex/rainray
[INFO] tweaked toml for git repo https://github.com/mikialex/rainray written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mikialex/rainray on toolchain dc375db7d8df0aa450e622c529147c95eee756f5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mikialex/rainray already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded aho-corasick v0.6.10
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[INFO] [stderr]   Downloaded indicatif v0.11.0
[INFO] [stderr]   Downloaded stable_deref_trait v1.1.1
[INFO] [stderr]   Downloaded console v0.7.5
[INFO] [stderr]   Downloaded owning_ref v0.4.0
[INFO] [stderr]   Downloaded num-derive v0.2.3
[INFO] [stderr]   Downloaded lock_api v0.1.5
[INFO] [stderr]   Downloaded gif v0.10.1
[INFO] [stderr]   Downloaded num-rational v0.2.1
[INFO] [stderr]   Downloaded parking_lot_core v0.4.0
[INFO] [stderr]   Downloaded inflate v0.4.4
[INFO] [stderr]   Downloaded image v0.20.1
[INFO] [stderr]   Downloaded deflate v0.7.19
[INFO] [stderr]   Downloaded regex-syntax v0.6.5
[INFO] [stderr]   Downloaded libc v0.2.46
[INFO] [stderr]   Downloaded tiff v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f9268cc97b3e6d18d7df0214f1667db7ae2f302c883cd822ce2ad30d12877fc6
[INFO] running `Command { std: "docker" "start" "f9268cc97b3e6d18d7df0214f1667db7ae2f302c883cd822ce2ad30d12877fc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f9268cc97b3e6d18d7df0214f1667db7ae2f302c883cd822ce2ad30d12877fc6" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9268cc97b3e6d18d7df0214f1667db7ae2f302c883cd822ce2ad30d12877fc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f9268cc97b3e6d18d7df0214f1667db7ae2f302c883cd822ce2ad30d12877fc6" "/opt/rustwide/cargo-home/bin/cargo" "+dc375db7d8df0aa450e622c529147c95eee756f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.46
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.24
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]     Checking byteorder v1.2.7
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking ucd-util v0.1.3
[INFO] [stderr]    Compiling num-derive v0.2.3
[INFO] [stderr]     Checking smallvec v0.6.9
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling regex v1.1.0
[INFO] [stderr]     Checking owning_ref v0.4.0
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]     Checking regex-syntax v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]     Checking utf8-ranges v1.0.2
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking inflate v0.4.4
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]     Checking number_prefix v0.2.8
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]     Checking num_cpus v1.9.0
[INFO] [stderr]     Checking clicolors-control v1.0.0
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking termios v0.3.1
[INFO] [stderr]    Compiling quote v0.6.10
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking rayon-core v1.4.1
[INFO] [stderr]    Compiling syn v0.15.23
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]     Checking rayon v1.0.3
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking console v0.7.5
[INFO] [stderr]     Checking indicatif v0.11.0
[INFO] [stderr]     Checking tiff v0.2.1
[INFO] [stderr]     Checking image v0.20.1
[INFO] [stderr]     Checking rainray v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `x` should have an upper camel case name
[INFO] [stdout]   --> src/bvh.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     x,
[INFO] [stdout]    |     ^ help: convert the identifier to upper camel case (notice the capitalization): `X`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `y` should have an upper camel case name
[INFO] [stdout]   --> src/bvh.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     y,
[INFO] [stdout]    |     ^ help: convert the identifier to upper camel case (notice the capitalization): `Y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `z` should have an upper camel case name
[INFO] [stdout]   --> src/bvh.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     z,
[INFO] [stdout]    |     ^ help: convert the identifier to upper camel case (notice the capitalization): `Z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::mesh::*`
[INFO] [stdout]  --> src/geometry/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use self::mesh::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::plane::*`
[INFO] [stdout]  --> src/geometry/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use self::plane::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `into_ray`
[INFO] [stdout]   --> src/material.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn next_ray(&self, into_ray: &Ray, intersection: &Intersection) -> Ray {
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_into_ray`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `look_up_ray`
[INFO] [stdout]   --> src/material.rs:50:34
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn collect_energy(&self, look_up_ray: &Ray) -> Vec3 {
[INFO] [stdout]    |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_look_up_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersection`
[INFO] [stdout]   --> src/material.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         intersection: &Intersection,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_ray`
[INFO] [stdout]   --> src/material.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         in_ray: &Ray,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_ray`
[INFO] [stdout]   --> src/material.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         out_ray: &Ray,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersection`
[INFO] [stdout]   --> src/material.rs:63:24
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn BRDF(&self, intersection: &Intersection, in_ray: &Ray, out_ray: &Ray) -> f64 {
[INFO] [stdout]    |                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_ray`
[INFO] [stdout]   --> src/material.rs:63:53
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn BRDF(&self, intersection: &Intersection, in_ray: &Ray, out_ray: &Ray) -> f64 {
[INFO] [stdout]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_ray`
[INFO] [stdout]   --> src/material.rs:63:67
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn BRDF(&self, intersection: &Intersection, in_ray: &Ray, out_ray: &Ray) -> f64 {
[INFO] [stdout]    |                                                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]   --> src/math/rand.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn cosine_sample_hemisphere(normal: &Vec3) -> Vec3 {
[INFO] [stdout]    |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `x` should have an upper camel case name
[INFO] [stdout]   --> src/bvh.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     x,
[INFO] [stdout]    |     ^ help: convert the identifier to upper camel case (notice the capitalization): `X`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `y` should have an upper camel case name
[INFO] [stdout]   --> src/bvh.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     y,
[INFO] [stdout]    |     ^ help: convert the identifier to upper camel case (notice the capitalization): `Y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `z` should have an upper camel case name
[INFO] [stdout]   --> src/bvh.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     z,
[INFO] [stdout]    |     ^ help: convert the identifier to upper camel case (notice the capitalization): `Z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::mesh::*`
[INFO] [stdout]  --> src/geometry/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use self::mesh::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::plane::*`
[INFO] [stdout]  --> src/geometry/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use self::plane::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SplitMethod` is never used
[INFO] [stdout]  --> src/bvh.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum SplitMethod {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Axis` is never used
[INFO] [stdout]   --> src/bvh.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Axis {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BVHNode` is never constructed
[INFO] [stdout]   --> src/bvh.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BVHNode {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BVH_MAX_BIN_SIZE` is never used
[INFO] [stdout]   --> src/bvh.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const BVH_MAX_BIN_SIZE: u64 = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BVH_MAX_DEPTH` is never used
[INFO] [stdout]   --> src/bvh.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const BVH_MAX_DEPTH: u64 = 10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build_from_range_primitives`, `computed_split_axis`, `should_split`, and `split` are never used
[INFO] [stdout]   --> src/bvh.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl BVHNode {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 31 |     pub fn build_from_range_primitives(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn computed_split_axis(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn should_split(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn split(&mut self, primtive_list: &mut [Primitive], spliter: &dyn Fn(&mut BVHNode) -> ()) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_equal_counts` is never used
[INFO] [stdout]   --> src/bvh.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn build_equal_counts(node: &mut BVHNode) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Primitive` is never constructed
[INFO] [stdout]   --> src/bvh.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct Primitive {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cmp_center_x`, `cmp_center_y`, and `cmp_center_z` are never used
[INFO] [stdout]    --> src/bvh.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl Primitive {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout]  93 |     pub fn cmp_center_x(&self, other: &Primitive) -> std::cmp::Ordering {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn cmp_center_y(&self, other: &Primitive) -> std::cmp::Ordering {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn cmp_center_z(&self, other: &Primitive) -> std::cmp::Ordering {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BVHAccel` is never constructed
[INFO] [stdout]    --> src/bvh.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct BVHAccel {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]    --> src/bvh.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl BVHAccel {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 124 |     pub fn build(primitives: Vec<Primitive>) -> BVHAccel {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_range_primitives_bounding` is never used
[INFO] [stdout]    --> src/bvh.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn get_range_primitives_bounding(primitive_list: &Vec<Primitive>, start: u64, count: u64) -> Box3 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_longest_axis_of_bounding` is never used
[INFO] [stdout]    --> src/bvh.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn get_longest_axis_of_bounding(bbox: &Box3) -> Axis {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SolidEnvironment` is never constructed
[INFO] [stdout]  --> src/environment.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SolidEnvironment {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/frame.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Frame {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn clear(&mut self, color: &Color) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexMesh` is never constructed
[INFO] [stdout]  --> src/geometry/mesh.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct IndexMesh {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `gen_primitive_list` are never used
[INFO] [stdout]   --> src/geometry/mesh.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl IndexMesh {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(index: Vec<u64>, position: Vec<f64>, normal: Vec<f64>) -> IndexMesh {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn gen_primitive_list(&self) -> Vec<Primitive> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_bvh_from_index_mesh` is never used
[INFO] [stdout]   --> src/geometry/mesh.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn build_bvh_from_index_mesh(mesh: &IndexMesh) -> BVHAccel {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Plane` is never constructed
[INFO] [stdout]  --> src/geometry/plane.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Plane {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/geometry/plane.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Plane {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(center: Vec3, normal: Vec3) -> Plane {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position` and `color` are never read
[INFO] [stdout]  --> src/light.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PointLight {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 5 |     pub position: Vec3,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 6 |     pub color: Vec3,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PointLight` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Box3` is never constructed
[INFO] [stdout]  --> src/math/box3.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Box3 {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_3points`, `center`, and `extend_by_box` are never used
[INFO] [stdout]   --> src/math/box3.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Box3 {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn from_3points(p1: &Vec3, p2: &Vec3, p3: &Vec3) -> Box3 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn center(&self) -> Vec3 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn extend_by_box(&mut self, the_other_box: &Box3) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rand2` is never used
[INFO] [stdout]  --> src/math/rand.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn rand2() -> (f64, f64) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cosine_sample_hemisphere` is never used
[INFO] [stdout]   --> src/math/rand.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn cosine_sample_hemisphere(normal: &Vec3) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `copy_from` is never used
[INFO] [stdout]   --> src/ray.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn copy_from(&mut self, ray: &Ray) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_intersection_is_visible_to_point` is never used
[INFO] [stdout]   --> src/renderer.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn test_intersection_is_visible_to_point(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `point_lights` is never read
[INFO] [stdout]  --> src/scene.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Scene {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 8 |     pub models: Vec<Rc<Model>>,
[INFO] [stdout] 9 |     pub point_lights: Vec<PointLight>,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `BRDF` should have a snake case name
[INFO] [stdout]   --> src/material.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn BRDF(&self, intersection: &Intersection, in_ray: &Ray, out_ray: &Ray) -> f64 {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case: `brdf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `into_ray`
[INFO] [stdout]   --> src/material.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn next_ray(&self, into_ray: &Ray, intersection: &Intersection) -> Ray {
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_into_ray`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `look_up_ray`
[INFO] [stdout]   --> src/material.rs:50:34
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn collect_energy(&self, look_up_ray: &Ray) -> Vec3 {
[INFO] [stdout]    |                                  ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_look_up_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersection`
[INFO] [stdout]   --> src/material.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         intersection: &Intersection,
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_ray`
[INFO] [stdout]   --> src/material.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |         in_ray: &Ray,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_ray`
[INFO] [stdout]   --> src/material.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         out_ray: &Ray,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersection`
[INFO] [stdout]   --> src/material.rs:63:24
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn BRDF(&self, intersection: &Intersection, in_ray: &Ray, out_ray: &Ray) -> f64 {
[INFO] [stdout]    |                        ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_ray`
[INFO] [stdout]   --> src/material.rs:63:53
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn BRDF(&self, intersection: &Intersection, in_ray: &Ray, out_ray: &Ray) -> f64 {
[INFO] [stdout]    |                                                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `out_ray`
[INFO] [stdout]   --> src/material.rs:63:67
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn BRDF(&self, intersection: &Intersection, in_ray: &Ray, out_ray: &Ray) -> f64 {
[INFO] [stdout]    |                                                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]   --> src/math/rand.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn cosine_sample_hemisphere(normal: &Vec3) -> Vec3 {
[INFO] [stdout]    |                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `SplitMethod` is never used
[INFO] [stdout]  --> src/bvh.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum SplitMethod {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Axis` is never used
[INFO] [stdout]   --> src/bvh.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Axis {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BVHNode` is never constructed
[INFO] [stdout]   --> src/bvh.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BVHNode {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BVH_MAX_BIN_SIZE` is never used
[INFO] [stdout]   --> src/bvh.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const BVH_MAX_BIN_SIZE: u64 = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BVH_MAX_DEPTH` is never used
[INFO] [stdout]   --> src/bvh.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const BVH_MAX_DEPTH: u64 = 10;
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build_from_range_primitives`, `computed_split_axis`, `should_split`, and `split` are never used
[INFO] [stdout]   --> src/bvh.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl BVHNode {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 31 |     pub fn build_from_range_primitives(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn computed_split_axis(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn should_split(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn split(&mut self, primtive_list: &mut [Primitive], spliter: &dyn Fn(&mut BVHNode) -> ()) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_equal_counts` is never used
[INFO] [stdout]   --> src/bvh.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn build_equal_counts(node: &mut BVHNode) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Primitive` is never constructed
[INFO] [stdout]   --> src/bvh.rs:86:12
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub struct Primitive {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cmp_center_x`, `cmp_center_y`, and `cmp_center_z` are never used
[INFO] [stdout]    --> src/bvh.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout]  92 | impl Primitive {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout]  93 |     pub fn cmp_center_x(&self, other: &Primitive) -> std::cmp::Ordering {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn cmp_center_y(&self, other: &Primitive) -> std::cmp::Ordering {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn cmp_center_z(&self, other: &Primitive) -> std::cmp::Ordering {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BVHAccel` is never constructed
[INFO] [stdout]    --> src/bvh.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct BVHAccel {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]    --> src/bvh.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl BVHAccel {
[INFO] [stdout]     | ------------- associated function in this implementation
[INFO] [stdout] 124 |     pub fn build(primitives: Vec<Primitive>) -> BVHAccel {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_range_primitives_bounding` is never used
[INFO] [stdout]    --> src/bvh.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn get_range_primitives_bounding(primitive_list: &Vec<Primitive>, start: u64, count: u64) -> Box3 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_longest_axis_of_bounding` is never used
[INFO] [stdout]    --> src/bvh.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn get_longest_axis_of_bounding(bbox: &Box3) -> Axis {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SolidEnvironment` is never constructed
[INFO] [stdout]  --> src/environment.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct SolidEnvironment {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/frame.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl Frame {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 51 |     pub fn clear(&mut self, color: &Color) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexMesh` is never constructed
[INFO] [stdout]  --> src/geometry/mesh.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct IndexMesh {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `gen_primitive_list` are never used
[INFO] [stdout]   --> src/geometry/mesh.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl IndexMesh {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(index: Vec<u64>, position: Vec<f64>, normal: Vec<f64>) -> IndexMesh {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub fn gen_primitive_list(&self) -> Vec<Primitive> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_bvh_from_index_mesh` is never used
[INFO] [stdout]   --> src/geometry/mesh.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn build_bvh_from_index_mesh(mesh: &IndexMesh) -> BVHAccel {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Plane` is never constructed
[INFO] [stdout]  --> src/geometry/plane.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Plane {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/geometry/plane.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Plane {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(center: Vec3, normal: Vec3) -> Plane {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `position` and `color` are never read
[INFO] [stdout]  --> src/light.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PointLight {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 5 |     pub position: Vec3,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout] 6 |     pub color: Vec3,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PointLight` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Box3` is never constructed
[INFO] [stdout]  --> src/math/box3.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Box3 {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `from_3points`, `center`, and `extend_by_box` are never used
[INFO] [stdout]   --> src/math/box3.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Box3 {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn from_3points(p1: &Vec3, p2: &Vec3, p3: &Vec3) -> Box3 {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn center(&self) -> Vec3 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn extend_by_box(&mut self, the_other_box: &Box3) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rand2` is never used
[INFO] [stdout]  --> src/math/rand.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn rand2() -> (f64, f64) {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cosine_sample_hemisphere` is never used
[INFO] [stdout]   --> src/math/rand.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn cosine_sample_hemisphere(normal: &Vec3) -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `copy_from` is never used
[INFO] [stdout]   --> src/ray.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn copy_from(&mut self, ray: &Ray) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_intersection_is_visible_to_point` is never used
[INFO] [stdout]   --> src/renderer.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn test_intersection_is_visible_to_point(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `point_lights` is never read
[INFO] [stdout]  --> src/scene.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Scene {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 8 |     pub models: Vec<Rc<Model>>,
[INFO] [stdout] 9 |     pub point_lights: Vec<PointLight>,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `BRDF` should have a snake case name
[INFO] [stdout]   --> src/material.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn BRDF(&self, intersection: &Intersection, in_ray: &Ray, out_ray: &Ray) -> f64 {
[INFO] [stdout]    |            ^^^^ help: convert the identifier to snake case: `brdf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.10s
[INFO] running `Command { std: "docker" "inspect" "f9268cc97b3e6d18d7df0214f1667db7ae2f302c883cd822ce2ad30d12877fc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9268cc97b3e6d18d7df0214f1667db7ae2f302c883cd822ce2ad30d12877fc6", kill_on_drop: false }`
[INFO] [stdout] f9268cc97b3e6d18d7df0214f1667db7ae2f302c883cd822ce2ad30d12877fc6
