[INFO] cloning repository https://github.com/hyeonjang/r-rt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hyeonjang/r-rt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyeonjang%2Fr-rt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyeonjang%2Fr-rt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17a689ae7249fbf47e14b7961e98d9de410ba4c0
[INFO] checking hyeonjang/r-rt against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyeonjang%2Fr-rt" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hyeonjang/r-rt
[INFO] finished tweaking git repo https://github.com/hyeonjang/r-rt
[INFO] tweaked toml for git repo https://github.com/hyeonjang/r-rt written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hyeonjang/r-rt on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hyeonjang/r-rt 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130
[INFO] running `Command { std: "docker" "start" "c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130", 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" "c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130", 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" "c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]     Checking byteorder v1.4.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking regex-syntax v0.6.22
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking weezl v0.1.3
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking number_prefix v0.3.0
[INFO] [stderr]     Checking bytemuck v1.5.0
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking gif v0.11.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.0
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking terminal_size v0.1.15
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking regex v1.4.3
[INFO] [stderr]     Checking console v0.14.0
[INFO] [stderr]     Checking indicatif v0.15.0
[INFO] [stderr]     Checking rxmath v0.1.0 (/opt/rustwide/workdir/rxmath)
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> rxmath/src/macros.rs:139:48
[INFO] [stdout]     |
[INFO] [stdout] 135 | macro_rules! impl_idx {
[INFO] [stdout] ...
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &T {
[INFO] [stdout]     |                           --                   ^^ the same lifetime is elided here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]    ::: rxmath/src/vector.rs:88:1
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl_idx!(Gvec2<T>{ x 0 y 1 });
[INFO] [stdout]     | ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &'a T {
[INFO] [stdout]     |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> rxmath/src/macros.rs:139:48
[INFO] [stdout]     |
[INFO] [stdout] 135 | macro_rules! impl_idx {
[INFO] [stdout] ...
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &T {
[INFO] [stdout]     |                           --                   ^^ the same lifetime is elided here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]    ::: rxmath/src/vector.rs:89:1
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl_idx!(Gvec3<T>{ x 0 y 1 z 2 });
[INFO] [stdout]     | ---------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &'a T {
[INFO] [stdout]     |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> rxmath/src/macros.rs:139:48
[INFO] [stdout]     |
[INFO] [stdout] 135 | macro_rules! impl_idx {
[INFO] [stdout] ...
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &T {
[INFO] [stdout]     |                           --                   ^^ the same lifetime is elided here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]    ::: rxmath/src/vector.rs:90:1
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl_idx!(Gvec4<T>{ x 0 y 1 z 2 w 3 });
[INFO] [stdout]     | -------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &'a T {
[INFO] [stdout]     |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> rxmath/src/macros.rs:139:48
[INFO] [stdout]     |
[INFO] [stdout] 135 | macro_rules! impl_idx {
[INFO] [stdout] ...
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &T {
[INFO] [stdout]     |                           --                   ^^ the same lifetime is elided here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]    ::: rxmath/src/vector.rs:88:1
[INFO] [stdout]     |
[INFO] [stdout]  88 | impl_idx!(Gvec2<T>{ x 0 y 1 });
[INFO] [stdout]     | ------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &'a T {
[INFO] [stdout]     |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> rxmath/src/macros.rs:139:48
[INFO] [stdout]     |
[INFO] [stdout] 135 | macro_rules! impl_idx {
[INFO] [stdout] ...
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &T {
[INFO] [stdout]     |                           --                   ^^ the same lifetime is elided here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]    ::: rxmath/src/vector.rs:89:1
[INFO] [stdout]     |
[INFO] [stdout]  89 | impl_idx!(Gvec3<T>{ x 0 y 1 z 2 });
[INFO] [stdout]     | ---------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &'a T {
[INFO] [stdout]     |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> rxmath/src/macros.rs:139:48
[INFO] [stdout]     |
[INFO] [stdout] 135 | macro_rules! impl_idx {
[INFO] [stdout] ...
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &T {
[INFO] [stdout]     |                           --                   ^^ the same lifetime is elided here
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           the lifetime is named here
[INFO] [stdout]     |
[INFO] [stdout]    ::: rxmath/src/vector.rs:90:1
[INFO] [stdout]     |
[INFO] [stdout]  90 | impl_idx!(Gvec4<T>{ x 0 y 1 z 2 w 3 });
[INFO] [stdout]     | -------------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 139 |             fn index<'a>(&'a self, i:usize) -> &'a T {
[INFO] [stdout]     |                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking jpeg-decoder v0.1.20
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.12
[INFO] [stderr]     Checking raytracer v0.1.0 (/opt/rustwide/workdir/raytracer)
[INFO] [stdout] warning: unused import: `image::*`
[INFO] [stdout]  --> raytracer/src/intergrate/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use image::*;
[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: `material::*`
[INFO] [stdout]   --> raytracer/src/shape/sphere.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use material::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::*`
[INFO] [stdout]  --> raytracer/src/intergrate/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use image::*;
[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: `material::*`
[INFO] [stdout]   --> raytracer/src/shape/sphere.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use material::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `material::*`
[INFO] [stdout]  --> raytracer/src/shape/rectangle.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use material::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rxmath::vector::*`
[INFO] [stdout]  --> raytracer/src/shape/prism.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rxmath::vector::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `accelerator::*`
[INFO] [stdout]  --> raytracer/src/shape/prism.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use accelerator::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `material::*`
[INFO] [stdout]   --> raytracer/src/shape/volume.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use material::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::texture::*`
[INFO] [stdout]   --> raytracer/src/shape/volume.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::texture::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `material::*`
[INFO] [stdout]  --> raytracer/src/shape/rectangle.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use material::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rxmath::vector::*`
[INFO] [stdout]  --> raytracer/src/shape/prism.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rxmath::vector::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `accelerator::*`
[INFO] [stdout]  --> raytracer/src/shape/prism.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use accelerator::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `material::*`
[INFO] [stdout]   --> raytracer/src/shape/volume.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use material::*;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::texture::*`
[INFO] [stdout]   --> raytracer/src/shape/volume.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::texture::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> raytracer/src/main.rs:102:6
[INFO] [stdout]     |
[INFO] [stdout] 102 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> raytracer/src/main.rs:102:6
[INFO] [stdout]     |
[INFO] [stdout] 102 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> raytracer/src/intergrate/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn pdf(x:vec3) -> f32 {
[INFO] [stdout]   |            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> raytracer/src/intergrate/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn pdf(x:vec3) -> f32 {
[INFO] [stdout]   |            ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> raytracer/src/texture.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn value(&self, u: f32, v: f32, p: &vec3) -> vec3 {
[INFO] [stdout]    |                                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> raytracer/src/texture.rs:70:37
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn value(&self, u: f32, v: f32, p: &vec3) -> vec3 {
[INFO] [stdout]    |                                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> raytracer/src/accelerator/bounds.rs:95:55
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn intersect(&self, r:&Ray, t_min:f32, t_max:f32, h:&mut Hit) -> bool {
[INFO] [stdout]    |                                                       ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> raytracer/src/accelerator/bounds.rs:95:55
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn intersect(&self, r:&Ray, t_min:f32, t_max:f32, h:&mut Hit) -> bool {
[INFO] [stdout]    |                                                       ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> raytracer/src/shape/material.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn scatter_pdf(&self, r:&Ray, h:&Hit, scattered:&mut Ray) -> f32 { return 0.0; }
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> raytracer/src/shape/material.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn scatter_pdf(&self, r:&Ray, h:&Hit, scattered:&mut Ray) -> f32 { return 0.0; }
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scattered`
[INFO] [stdout]   --> raytracer/src/shape/material.rs:17:43
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn scatter_pdf(&self, r:&Ray, h:&Hit, scattered:&mut Ray) -> f32 { return 0.0; }
[INFO] [stdout]    |                                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> raytracer/src/shape/material.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn scatter_pdf(&self, r: &Ray, h: &Hit, scattered: &mut Ray) -> f32 {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]    --> raytracer/src/shape/material.rs:102:82
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn scatter(&self, r:&Ray, h:&Hit, attenuation:&mut vec3, scattered:&mut Ray, pdf:&mut f32) -> bool {
[INFO] [stdout]     |                                                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]    --> raytracer/src/shape/material.rs:111:82
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn scatter(&self, r:&Ray, h:&Hit, attenuation:&mut vec3, scattered:&mut Ray, pdf:&mut f32) -> bool {
[INFO] [stdout]     |                                                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]    --> raytracer/src/shape/material.rs:138:90
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn scatter(&self, _r: &Ray, _h: &Hit, _attenuation: &mut vec3, _scattered: &mut Ray, pdf:&mut f32) -> bool {
[INFO] [stdout]     |                                                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]    --> raytracer/src/shape/material.rs:144:86
[INFO] [stdout]     |
[INFO] [stdout] 144 |     fn scatter(&self, r: &Ray, h: &Hit, attenuation: &mut vec3, scattered: &mut Ray, pdf:&mut f32) -> bool {
[INFO] [stdout]     |                                                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> raytracer/src/shape/material.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn scatter_pdf(&self, r:&Ray, h:&Hit, scattered:&mut Ray) -> f32 { return 0.0; }
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `h`
[INFO] [stdout]   --> raytracer/src/shape/material.rs:17:35
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn scatter_pdf(&self, r:&Ray, h:&Hit, scattered:&mut Ray) -> f32 { return 0.0; }
[INFO] [stdout]    |                                   ^ help: if this is intentional, prefix it with an underscore: `_h`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scattered`
[INFO] [stdout]   --> raytracer/src/shape/material.rs:17:43
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn scatter_pdf(&self, r:&Ray, h:&Hit, scattered:&mut Ray) -> f32 { return 0.0; }
[INFO] [stdout]    |                                           ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> raytracer/src/shape/material.rs:94:27
[INFO] [stdout]    |
[INFO] [stdout] 94 |     fn scatter_pdf(&self, r: &Ray, h: &Hit, scattered: &mut Ray) -> f32 {
[INFO] [stdout]    |                           ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]    --> raytracer/src/shape/material.rs:102:82
[INFO] [stdout]     |
[INFO] [stdout] 102 |     fn scatter(&self, r:&Ray, h:&Hit, attenuation:&mut vec3, scattered:&mut Ray, pdf:&mut f32) -> bool {
[INFO] [stdout]     |                                                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]    --> raytracer/src/shape/material.rs:111:82
[INFO] [stdout]     |
[INFO] [stdout] 111 |     fn scatter(&self, r:&Ray, h:&Hit, attenuation:&mut vec3, scattered:&mut Ray, pdf:&mut f32) -> bool {
[INFO] [stdout]     |                                                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]    --> raytracer/src/shape/material.rs:138:90
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn scatter(&self, _r: &Ray, _h: &Hit, _attenuation: &mut vec3, _scattered: &mut Ray, pdf:&mut f32) -> bool {
[INFO] [stdout]     |                                                                                          ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]    --> raytracer/src/shape/material.rs:144:86
[INFO] [stdout]     |
[INFO] [stdout] 144 |     fn scatter(&self, r: &Ray, h: &Hit, attenuation: &mut vec3, scattered: &mut Ray, pdf:&mut f32) -> bool {
[INFO] [stdout]     |                                                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]   --> raytracer/src/shape/volume.rs:29:48
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32, hit0:&mut Hit) -> bool {
[INFO] [stdout]    |                                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]   --> raytracer/src/shape/volume.rs:29:48
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn intersect(&self, ray: &Ray, t_min: f32, t_max: f32, hit0:&mut Hit) -> bool {
[INFO] [stdout]    |                                                ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> raytracer/src/camera.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     w:vec3, u:vec3, v:vec3,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pdf` is never used
[INFO] [stdout]  --> raytracer/src/intergrate/mod.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 |     fn pdf(x:vec3) -> f32 {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `integrate_squared_x` is never used
[INFO] [stdout]   --> raytracer/src/intergrate/mod.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn integrate_squared_x() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_mc` is never used
[INFO] [stdout]   --> raytracer/src/intergrate/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn simple_mc() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parent` and `id` are never read
[INFO] [stdout]    --> raytracer/src/accelerator/bvh.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct Node {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 110 |     parent:u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 111 |     id:usize,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Triangle` is never constructed
[INFO] [stdout]  --> raytracer/src/shape/triangle.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Triangle {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> raytracer/src/intergrate/mod.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let N = 1000000;
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> raytracer/src/intergrate/mod.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let N = 1000000;
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> raytracer/src/accelerator/bounds.rs:51:40
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn index<'a>(&'a self, i:usize) -> &Gvec3<T> {
[INFO] [stdout]    |                   --                   ^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn index<'a>(&'a self, i:usize) -> &'a Gvec3<T> {
[INFO] [stdout]    |                                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> raytracer/src/camera.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     w:vec3, u:vec3, v:vec3,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simple_mc` is never used
[INFO] [stdout]   --> raytracer/src/intergrate/mod.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn simple_mc() {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parent` and `id` are never read
[INFO] [stdout]    --> raytracer/src/accelerator/bvh.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub struct Node {
[INFO] [stdout]     |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 110 |     parent:u32,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 111 |     id:usize,
[INFO] [stdout]     |     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Triangle` is never constructed
[INFO] [stdout]  --> raytracer/src/shape/triangle.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Triangle {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> raytracer/src/intergrate/mod.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let N = 1000000;
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N` should have a snake case name
[INFO] [stdout]   --> raytracer/src/intergrate/mod.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let N = 1000000;
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> raytracer/src/accelerator/bounds.rs:51:40
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn index<'a>(&'a self, i:usize) -> &Gvec3<T> {
[INFO] [stdout]    |                   --                   ^^^^^^^^^ the same lifetime is elided here
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   the lifetime is named here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn index<'a>(&'a self, i:usize) -> &'a Gvec3<T> {
[INFO] [stdout]    |                                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> raytracer/src/accelerator/bvh.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if (*self.mesh).list[node.second as usize].intersect(r, t_min, t_max, &mut i) && i.t_min<h.t_min {
[INFO] [stdout]     |                    ^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this raw pointer has type `*mut shape::ShapeList`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<Box<dyn shape::Shape>>`
[INFO] [stdout]    --> raytracer/src/accelerator/bvh.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if (*self.mesh).list[node.second as usize].intersect(r, t_min, t_max, &mut i) && i.t_min<h.t_min {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[deny(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if (&(*self.mesh).list)[node.second as usize].intersect(r, t_min, t_max, &mut i) && i.t_min<h.t_min {
[INFO] [stdout]     |                    ++                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer
[INFO] [stdout]    --> raytracer/src/accelerator/bvh.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if (*self.mesh).list[node.second as usize].intersect(r, t_min, t_max, &mut i) && i.t_min<h.t_min {
[INFO] [stdout]     |                    ^^---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      this raw pointer has type `*mut shape::ShapeList`
[INFO] [stdout]     |
[INFO] [stdout]     = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements
[INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&Vec<Box<dyn shape::Shape>>`
[INFO] [stdout]    --> raytracer/src/accelerator/bvh.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if (*self.mesh).list[node.second as usize].intersect(r, t_min, t_max, &mut i) && i.t_min<h.t_min {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[deny(dangerous_implicit_autorefs)]` on by default
[INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 if (&(*self.mesh).list)[node.second as usize].intersect(r, t_min, t_max, &mut i) && i.t_min<h.t_min {
[INFO] [stdout]     |                    ++                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 1 previous error; 29 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 1 previous error; 27 warnings emitted
[INFO] [stderr] warning: unused dependency `num-complex`
[INFO] [stderr]   --> raytracer/Cargo.toml:13:1
[INFO] [stderr]    |
[INFO] [stderr] 13 | num-complex = "0.3.0"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `num-complex`
[INFO] [stderr] warning: `raytracer` (manifest) generated 1 warning
[INFO] [stderr] warning: unused dependency `num-traits`
[INFO] [stderr]   --> rxmath/Cargo.toml:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | num-traits = "0.2.12"
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `num-traits`
[INFO] [stderr] warning: `rxmath` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130", kill_on_drop: false }`
[INFO] [stdout] c4aa2244eedd095734ae272dddab7707c48b815fc2c94d50d07bf34ef62c9130
