[INFO] cloning repository https://github.com/mapi456/rtow_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mapi456/rtow_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmapi456%2Frtow_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmapi456%2Frtow_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc881dc4bc7b1aa06f319c320447ca3d51966bae
[INFO] building mapi456/rtow_rust against try#334963c956d25708feab489a3816ae63f639355d for pr-135216-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmapi456%2Frtow_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mapi456/rtow_rust on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mapi456/rtow_rust
[INFO] finished tweaking git repo https://github.com/mapi456/rtow_rust
[INFO] tweaked toml for git repo https://github.com/mapi456/rtow_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/mapi456/rtow_rust 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e6f8b542ba82c58f32028bbf2199726ff240406ff7647dd268040d255aa89b6c
[INFO] running `Command { std: "docker" "start" "-a" "e6f8b542ba82c58f32028bbf2199726ff240406ff7647dd268040d255aa89b6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6f8b542ba82c58f32028bbf2199726ff240406ff7647dd268040d255aa89b6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6f8b542ba82c58f32028bbf2199726ff240406ff7647dd268040d255aa89b6c", kill_on_drop: false }`
[INFO] [stdout] e6f8b542ba82c58f32028bbf2199726ff240406ff7647dd268040d255aa89b6c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d3b12e4324574a5ac34698365be01c39378c052992d955027d63becc59f8530
[INFO] running `Command { std: "docker" "start" "-a" "3d3b12e4324574a5ac34698365be01c39378c052992d955027d63becc59f8530", kill_on_drop: false }`
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling bytemuck v1.15.0
[INFO] [stderr]    Compiling matrixmultiply v0.3.8
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling safe_arch v0.7.1
[INFO] [stderr]    Compiling wide v0.7.17
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling approx v0.5.1
[INFO] [stderr]    Compiling num-complex v0.4.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling simba v0.6.0
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling nalgebra v0.29.0
[INFO] [stderr]    Compiling statrs v0.16.0
[INFO] [stderr]    Compiling rtow_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Material`
[INFO] [stdout]   --> src/main.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | use materials::{MatRc, Material};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `distributions::Distribution` and `rngs::OsRng`
[INFO] [stdout]  --> src/common/vec3.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::{ distributions::Distribution, rngs::OsRng };
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `standard_normal`
[INFO] [stdout]  --> src/common/vec3.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::random::{ random_f64, random_f64_standard, standard_normal };
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UNIFORM_INCL` should have an upper camel case name
[INFO] [stdout]  --> src/common/random.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     UNIFORM_INCL(f64, f64)
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UniformIncl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray_in`
[INFO] [stdout]   --> src/materials/lambertian.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             ray_in: & Ray,
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut world = HittableList::new();
[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: function `ray_colour` is never used
[INFO] [stdout]   --> src/main.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn ray_colour(ray: & Ray, world: & dyn Hittable) -> Colour{
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TO_COLOUR` is never used
[INFO] [stdout]  --> src/common/colour.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const TO_COLOUR : f64 = 255.999;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/ray.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Ray {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Ray {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_on_hemisphere` is never used
[INFO] [stdout]    --> src/common/vec3.rs:347:8
[INFO] [stdout]     |
[INFO] [stdout] 347 | pub fn random_on_hemisphere(normal: & Vector3) -> Vector3 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `size`, and `contains` are never used
[INFO] [stdout]   --> src/common/interval.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl Interval {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 7  |     pub fn new() -> Interval {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn size(&self) -> f64 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn contains(&self, x: f64) -> bool{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMPTY` is never used
[INFO] [stdout]   --> src/common/interval.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const EMPTY: Interval = Interval{min: f64::INFINITY, max: f64::NEG_INFINITY};
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIVERSE` is never used
[INFO] [stdout]   --> src/common/interval.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const UNIVERSE: Interval = Interval{min: f64::NEG_INFINITY, max: f64::INFINITY};
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NORMAL` is never constructed
[INFO] [stdout]  --> src/common/random.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Distributions {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 5 |     NORMAL(f64, f64),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `standard_normal` is never used
[INFO] [stdout]   --> src/common/random.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn standard_normal() -> Normal {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normal` is never used
[INFO] [stdout]   --> src/common/random.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn normal(mu: f64, std_dev: f64) -> Normal  {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `standard_uniform` is never used
[INFO] [stdout]   --> src/common/random.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn standard_uniform() -> Uniform<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `standard_uniform_incl` is never used
[INFO] [stdout]   --> src/common/random.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn standard_uniform_incl() -> Uniform<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/primitive/sphere.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(material: & Rc<Box<dyn Material>>) -> Sphere {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `material` is never used
[INFO] [stdout]   --> src/primitive/hittable.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl HitRecord {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn material<'a>(&self) -> Rc<Box<dyn Material>>{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/primitive/hittable_list.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HittableList<'_> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 13 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]   --> src/primitive/hittable_list.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a> HittableList<'a> {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn build(object: impl Hittable + 'a) -> HittableList<'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/engine/camera.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | impl Camera {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 92 |     pub fn new() -> Camera {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `build`, and `build_explicit` are never used
[INFO] [stdout]   --> src/materials/lambertian.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Lambertian {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 14 |     pub fn new() -> Lambertian {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn build(colour: Colour) -> Lambertian {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn build_explicit(r: f64, g: f64, b: f64) -> Lambertian {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `build`, and `build_explicit` are never used
[INFO] [stdout]   --> src/materials/metal.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Metal {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Metal {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn build(colour: Colour, fuzz: f64) -> Metal {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn build_explicit(r: f64, g: f64, b: f64, fuzz: f64) -> Metal {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `albedo` is never read
[INFO] [stdout]   --> src/materials/dielectric.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Dialectric {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 10 |     albedo: Colour,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `build`, and `build_explicit` are never used
[INFO] [stdout]   --> src/materials/dielectric.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Dialectric {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Dialectric {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn build(colour: Colour, refractive_index: f64) -> Dialectric {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn build_explicit(r: f64, g: f64, b: f64, refractive_index: f64) -> Dialectric {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.00s
[INFO] running `Command { std: "docker" "inspect" "3d3b12e4324574a5ac34698365be01c39378c052992d955027d63becc59f8530", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d3b12e4324574a5ac34698365be01c39378c052992d955027d63becc59f8530", kill_on_drop: false }`
[INFO] [stdout] 3d3b12e4324574a5ac34698365be01c39378c052992d955027d63becc59f8530
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed278f4cad7311472e4435478bc45a8224821036b8cf2406cc4903197e1a0f57
[INFO] running `Command { std: "docker" "start" "-a" "ed278f4cad7311472e4435478bc45a8224821036b8cf2406cc4903197e1a0f57", kill_on_drop: false }`
[INFO] [stderr]    Compiling rtow_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::f64::consts::PI`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::f64::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Material`
[INFO] [stdout]   --> src/main.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 | use materials::{MatRc, Material};
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `distributions::Distribution` and `rngs::OsRng`
[INFO] [stdout]  --> src/common/vec3.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::{ distributions::Distribution, rngs::OsRng };
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `standard_normal`
[INFO] [stdout]  --> src/common/vec3.rs:6:55
[INFO] [stdout]   |
[INFO] [stdout] 6 | use super::random::{ random_f64, random_f64_standard, standard_normal };
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UNIFORM_INCL` should have an upper camel case name
[INFO] [stdout]  --> src/common/random.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     UNIFORM_INCL(f64, f64)
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UniformIncl`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray_in`
[INFO] [stdout]   --> src/materials/lambertian.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |             ray_in: & Ray,
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut world = HittableList::new();
[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: function `ray_colour` is never used
[INFO] [stdout]   --> src/main.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 | fn ray_colour(ray: & Ray, world: & dyn Hittable) -> Colour{
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TO_COLOUR` is never used
[INFO] [stdout]  --> src/common/colour.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const TO_COLOUR : f64 = 255.999;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/common/ray.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Ray {
[INFO] [stdout]    | -------- associated function in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Ray {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_on_hemisphere` is never used
[INFO] [stdout]    --> src/common/vec3.rs:347:8
[INFO] [stdout]     |
[INFO] [stdout] 347 | pub fn random_on_hemisphere(normal: & Vector3) -> Vector3 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `size`, and `contains` are never used
[INFO] [stdout]   --> src/common/interval.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout] 6  | impl Interval {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 7  |     pub fn new() -> Interval {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn size(&self) -> f64 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn contains(&self, x: f64) -> bool{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EMPTY` is never used
[INFO] [stdout]   --> src/common/interval.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const EMPTY: Interval = Interval{min: f64::INFINITY, max: f64::NEG_INFINITY};
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `UNIVERSE` is never used
[INFO] [stdout]   --> src/common/interval.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const UNIVERSE: Interval = Interval{min: f64::NEG_INFINITY, max: f64::INFINITY};
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NORMAL` is never constructed
[INFO] [stdout]  --> src/common/random.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Distributions {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 5 |     NORMAL(f64, f64),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `standard_normal` is never used
[INFO] [stdout]   --> src/common/random.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn standard_normal() -> Normal {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normal` is never used
[INFO] [stdout]   --> src/common/random.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn normal(mu: f64, std_dev: f64) -> Normal  {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `standard_uniform` is never used
[INFO] [stdout]   --> src/common/random.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn standard_uniform() -> Uniform<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `standard_uniform_incl` is never used
[INFO] [stdout]   --> src/common/random.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn standard_uniform_incl() -> Uniform<f64> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/primitive/sphere.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 19 |     pub fn new(material: & Rc<Box<dyn Material>>) -> Sphere {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `material` is never used
[INFO] [stdout]   --> src/primitive/hittable.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl HitRecord {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn material<'a>(&self) -> Rc<Box<dyn Material>>{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear` is never used
[INFO] [stdout]   --> src/primitive/hittable_list.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HittableList<'_> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 13 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]   --> src/primitive/hittable_list.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl<'a> HittableList<'a> {
[INFO] [stdout]    | ------------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn build(object: impl Hittable + 'a) -> HittableList<'a> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/engine/camera.rs:92:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | impl Camera {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 92 |     pub fn new() -> Camera {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `build`, and `build_explicit` are never used
[INFO] [stdout]   --> src/materials/lambertian.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Lambertian {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 14 |     pub fn new() -> Lambertian {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn build(colour: Colour) -> Lambertian {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn build_explicit(r: f64, g: f64, b: f64) -> Lambertian {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `build`, and `build_explicit` are never used
[INFO] [stdout]   --> src/materials/metal.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Metal {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Metal {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn build(colour: Colour, fuzz: f64) -> Metal {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn build_explicit(r: f64, g: f64, b: f64, fuzz: f64) -> Metal {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `albedo` is never read
[INFO] [stdout]   --> src/materials/dielectric.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Dialectric {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 10 |     albedo: Colour,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new`, `build`, and `build_explicit` are never used
[INFO] [stdout]   --> src/materials/dielectric.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Dialectric {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Dialectric {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn build(colour: Colour, refractive_index: f64) -> Dialectric {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn build_explicit(r: f64, g: f64, b: f64, refractive_index: f64) -> Dialectric {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "ed278f4cad7311472e4435478bc45a8224821036b8cf2406cc4903197e1a0f57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed278f4cad7311472e4435478bc45a8224821036b8cf2406cc4903197e1a0f57", kill_on_drop: false }`
[INFO] [stdout] ed278f4cad7311472e4435478bc45a8224821036b8cf2406cc4903197e1a0f57
