[INFO] cloning repository https://github.com/ABigWalrus/raytracer_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ABigWalrus/raytracer_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FABigWalrus%2Fraytracer_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FABigWalrus%2Fraytracer_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 643baae830465be1bd377cccd94667d3ca442748
[INFO] checking ABigWalrus/raytracer_rust against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FABigWalrus%2Fraytracer_rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ABigWalrus/raytracer_rust
[INFO] finished tweaking git repo https://github.com/ABigWalrus/raytracer_rust
[INFO] tweaked toml for git repo https://github.com/ABigWalrus/raytracer_rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ABigWalrus/raytracer_rust on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ABigWalrus/raytracer_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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b00deec690d7d2c4968f1d19c82013f3b98057cb6a75f76ee7fe63e43a521f57
[INFO] running `Command { std: "docker" "start" "-a" "b00deec690d7d2c4968f1d19c82013f3b98057cb6a75f76ee7fe63e43a521f57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b00deec690d7d2c4968f1d19c82013f3b98057cb6a75f76ee7fe63e43a521f57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b00deec690d7d2c4968f1d19c82013f3b98057cb6a75f76ee7fe63e43a521f57", kill_on_drop: false }`
[INFO] [stdout] b00deec690d7d2c4968f1d19c82013f3b98057cb6a75f76ee7fe63e43a521f57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4a69fb44f859b3245d1f8bce8f08c8d50ddd070daeef798edf569fa8430aef55
[INFO] running `Command { std: "docker" "start" "-a" "4a69fb44f859b3245d1f8bce8f08c8d50ddd070daeef798edf569fa8430aef55", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling unicode-ident v1.0.20
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.4
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]     Checking libloading v0.8.9
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling cc v1.2.44
[INFO] [stderr]    Compiling naga v27.0.3
[INFO] [stderr]     Checking bit-vec v0.8.0
[INFO] [stderr]     Checking unicode-width v0.2.2
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling ash v0.38.0+1.3.281
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking codespan-reporting v0.12.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking bit-set v0.8.0
[INFO] [stderr]    Compiling wgpu-hal v27.0.4
[INFO] [stderr]     Checking raw-window-handle v0.6.2
[INFO] [stderr]     Checking hexf-parse v0.2.1
[INFO] [stderr]     Checking slab v0.4.11
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]     Checking xkeysym v0.2.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking glow v0.16.0
[INFO] [stderr]     Checking xcursor v0.3.10
[INFO] [stderr]     Checking renderdoc-sys v1.1.0
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]     Checking cursor-icon v1.2.0
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling wgpu-core v27.0.3
[INFO] [stderr]     Checking gpu-descriptor v0.3.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.10
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling winit v0.30.12
[INFO] [stderr]    Compiling wgpu v27.0.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]     Checking as-raw-xcb-connection v1.0.1
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]     Checking ordered-float v5.1.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking dpi v0.1.2
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]     Checking pollster v0.4.0
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]    Compiling zerocopy-derive v0.8.27
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking wgpu-types v27.0.1
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking wgpu-core-deps-windows-linux-android v27.0.0
[INFO] [stderr]     Checking raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `fs::File` and `time::Instant`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, time::Instant};
[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 imports: `Camera`, `Color`, `Dielectric`, `HittableList`, `Lambertian`, `Metal`, `Sphere`, and `math::Vec3`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     math::Vec3,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 8 |     rt_core::{Camera, Color, Dielectric, HittableList, Lambertian, Metal, Sphere},
[INFO] [stdout]   |               ^^^^^^  ^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/app.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     time::{Instant, SystemTime, UNIX_EPOCH},
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SurfaceTexture` and `wgc::device::queue`
[INFO] [stdout]  --> src/app.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wgpu::{SurfaceTexture, util::DeviceExt, wgc::device::queue};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs::File` and `time::Instant`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::File, time::Instant};
[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 imports: `Camera`, `Color`, `Dielectric`, `HittableList`, `Lambertian`, `Metal`, `Sphere`, and `math::Vec3`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     math::Vec3,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 8 |     rt_core::{Camera, Color, Dielectric, HittableList, Lambertian, Metal, Sphere},
[INFO] [stdout]   |               ^^^^^^  ^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/app.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     time::{Instant, SystemTime, UNIX_EPOCH},
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SurfaceTexture` and `wgc::device::queue`
[INFO] [stdout]  --> src/app.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wgpu::{SurfaceTexture, util::DeviceExt, wgc::device::queue};
[INFO] [stdout]   |            ^^^^^^^^^^^^^^                   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/app.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 |         window_id: winit::window::WindowId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec3` is never constructed
[INFO] [stdout]  --> src/math/vec.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Vec3 {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/math/vec.rs:11:12
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl Vec3 {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  11 |     pub fn new(x: f64, y: f64, z: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  15 |     pub fn zero() -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  19 |     pub const fn x(&self) -> f64 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout]  23 |     pub const fn y(&self) -> f64 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout]  27 |     pub const fn z(&self) -> f64 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn length_squared(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  35 |     pub fn length(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn div(&self, scalar: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn mul(&self, scalar: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn dot(&self, other: &Self) -> f64 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn cross(&self, other: &Self) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn unit(&self) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn random_range(min: f64, max: f64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     pub fn random_unit() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn near_zero(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn reflect(&self, normal: &Vec3) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn refract(&self, normal: &Vec3, factor: f64) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn random_in_unit_disk() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Color` is never used
[INFO] [stdout]  --> src/rt_core/camera.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type Color = Vec3;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Camera` is never constructed
[INFO] [stdout]   --> src/rt_core/camera.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Camera {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build`, `render`, `get_ray`, `ray_color`, and `defocus_disk_sample` are never used
[INFO] [stdout]    --> src/rt_core/camera.rs:35:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl Camera {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  35 |     pub fn build(
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn render(&self, world: &impl Hittable, mut target: impl Write) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn get_ray(&self, i: i32, j: i32) -> Ray {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fn ray_color(&self, ray: &Ray, depth: i32, hittable: &impl Hittable) -> Color {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn defocus_disk_sample(&self) -> Vec3 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_color` is never used
[INFO] [stdout]    --> src/rt_core/camera.rs:154:4
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn write_color(file: &mut impl Write, pixel: Color) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ray` is never constructed
[INFO] [stdout]  --> src/rt_core/scene.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Ray {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `origin`, `dir`, and `at` are never used
[INFO] [stdout]   --> src/rt_core/scene.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Ray {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(origin: Vec3, dir: Vec3) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub const fn origin(&self) -> &Vec3 {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub const fn dir(&self) -> &Vec3 {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn at(&self, scalar: f64) -> Vec3 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HitRectord` is never constructed
[INFO] [stdout]   --> src/rt_core/scene.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct HitRectord {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]   --> src/rt_core/scene.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl HitRectord {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 40 |     fn build(ray: &Ray, t: f64, point: Vec3, normal: Vec3, material: Rc<dyn Material>) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Hittable` is never used
[INFO] [stdout]   --> src/rt_core/scene.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub trait Hittable {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sphere` is never constructed
[INFO] [stdout]   --> src/rt_core/scene.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Sphere {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rt_core/scene.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 72 |     pub fn new(center: Vec3, radius: f64, material: impl Material + 'static) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HittableList` is never constructed
[INFO] [stdout]    --> src/rt_core/scene.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct HittableList {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add` are never used
[INFO] [stdout]    --> src/rt_core/scene.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl HittableList {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 124 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn add(&mut self, hittable: impl Hittable + 'static) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Material` is never used
[INFO] [stdout]    --> src/rt_core/scene.rs:149:11
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub trait Material {
[INFO] [stdout]     |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lambertian` is never constructed
[INFO] [stdout]    --> src/rt_core/scene.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Lambertian {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/rt_core/scene.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl Lambertian {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 163 |     pub fn new(albedo: Color) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Metal` is never constructed
[INFO] [stdout]    --> src/rt_core/scene.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub struct Metal {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/rt_core/scene.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl Metal {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 190 |     pub fn new(albedo: Color, fuzz: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dielectric` is never constructed
[INFO] [stdout]    --> src/rt_core/scene.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub struct Dielectric {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `reflectance` are never used
[INFO] [stdout]    --> src/rt_core/scene.rs:219:12
[INFO] [stdout]     |
[INFO] [stdout] 218 | impl Dielectric {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] 219 |     pub fn new(refraction_factor: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 223 |     fn reflectance(cosine: f64, refraction_factor: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_progress` is never used
[INFO] [stdout]   --> src/util.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn print_progress(j: i32, height: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_float` is never used
[INFO] [stdout]   --> src/util.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn random_float() -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_float_range` is never used
[INFO] [stdout]   --> src/util.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn random_float_range(min: f64, max: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_square` is never used
[INFO] [stdout]   --> src/util.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn sample_square() -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `linear_to_gamma` is never used
[INFO] [stdout]   --> src/util.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn linear_to_gamma(linear: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `surrounds` is never used
[INFO] [stdout]   --> src/util.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn surrounds(range: &RangeInclusive<f64>, a: &f64) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 |     event_loop.run_app(&mut ray_tracer);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let _ = event_loop.run_app(&mut ray_tracer);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/app.rs:365:9
[INFO] [stdout]     |
[INFO] [stdout] 365 |         window_id: winit::window::WindowId,
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec3` is never constructed
[INFO] [stdout]  --> src/math/vec.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Vec3 {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/math/vec.rs:11:12
[INFO] [stdout]     |
[INFO] [stdout]  10 | impl Vec3 {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout]  11 |     pub fn new(x: f64, y: f64, z: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  15 |     pub fn zero() -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  19 |     pub const fn x(&self) -> f64 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout]  23 |     pub const fn y(&self) -> f64 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout]  27 |     pub const fn z(&self) -> f64 {
[INFO] [stdout]     |                  ^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn length_squared(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  35 |     pub fn length(&self) -> f64 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  39 |     pub fn div(&self, scalar: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  43 |     pub fn mul(&self, scalar: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  47 |     pub fn dot(&self, other: &Self) -> f64 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn cross(&self, other: &Self) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     pub fn unit(&self) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn random_range(min: f64, max: f64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  75 |     pub fn random_unit() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn near_zero(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  95 |     pub fn reflect(&self, normal: &Vec3) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  99 |     pub fn refract(&self, normal: &Vec3, factor: f64) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 107 |     pub fn random_in_unit_disk() -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Color` is never used
[INFO] [stdout]  --> src/rt_core/camera.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type Color = Vec3;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Camera` is never constructed
[INFO] [stdout]   --> src/rt_core/camera.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Camera {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `build`, `render`, `get_ray`, `ray_color`, and `defocus_disk_sample` are never used
[INFO] [stdout]    --> src/rt_core/camera.rs:35:12
[INFO] [stdout]     |
[INFO] [stdout]  34 | impl Camera {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout]  35 |     pub fn build(
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn render(&self, world: &impl Hittable, mut target: impl Write) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     fn get_ray(&self, i: i32, j: i32) -> Ray {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     fn ray_color(&self, ray: &Ray, depth: i32, hittable: &impl Hittable) -> Color {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     fn defocus_disk_sample(&self) -> Vec3 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_color` is never used
[INFO] [stdout]    --> src/rt_core/camera.rs:154:4
[INFO] [stdout]     |
[INFO] [stdout] 154 | fn write_color(file: &mut impl Write, pixel: Color) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ray` is never constructed
[INFO] [stdout]  --> src/rt_core/scene.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Ray {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `origin`, `dir`, and `at` are never used
[INFO] [stdout]   --> src/rt_core/scene.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Ray {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(origin: Vec3, dir: Vec3) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 |     pub const fn origin(&self) -> &Vec3 {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub const fn dir(&self) -> &Vec3 {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn at(&self, scalar: f64) -> Vec3 {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HitRectord` is never constructed
[INFO] [stdout]   --> src/rt_core/scene.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct HitRectord {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `build` is never used
[INFO] [stdout]   --> src/rt_core/scene.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl HitRectord {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 40 |     fn build(ray: &Ray, t: f64, point: Vec3, normal: Vec3, material: Rc<dyn Material>) -> Self {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Hittable` is never used
[INFO] [stdout]   --> src/rt_core/scene.rs:61:11
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub trait Hittable {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sphere` is never constructed
[INFO] [stdout]   --> src/rt_core/scene.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Sphere {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/rt_core/scene.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 72 |     pub fn new(center: Vec3, radius: f64, material: impl Material + 'static) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HittableList` is never constructed
[INFO] [stdout]    --> src/rt_core/scene.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct HittableList {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add` are never used
[INFO] [stdout]    --> src/rt_core/scene.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl HittableList {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 124 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub fn add(&mut self, hittable: impl Hittable + 'static) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Material` is never used
[INFO] [stdout]    --> src/rt_core/scene.rs:149:11
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub trait Material {
[INFO] [stdout]     |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Lambertian` is never constructed
[INFO] [stdout]    --> src/rt_core/scene.rs:158:12
[INFO] [stdout]     |
[INFO] [stdout] 158 | pub struct Lambertian {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/rt_core/scene.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | impl Lambertian {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 163 |     pub fn new(albedo: Color) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Metal` is never constructed
[INFO] [stdout]    --> src/rt_core/scene.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub struct Metal {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/rt_core/scene.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl Metal {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 190 |     pub fn new(albedo: Color, fuzz: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dielectric` is never constructed
[INFO] [stdout]    --> src/rt_core/scene.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub struct Dielectric {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `reflectance` are never used
[INFO] [stdout]    --> src/rt_core/scene.rs:219:12
[INFO] [stdout]     |
[INFO] [stdout] 218 | impl Dielectric {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] 219 |     pub fn new(refraction_factor: f64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 223 |     fn reflectance(cosine: f64, refraction_factor: f64) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_progress` is never used
[INFO] [stdout]   --> src/util.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn print_progress(j: i32, height: i32) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_float` is never used
[INFO] [stdout]   --> src/util.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn random_float() -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_float_range` is never used
[INFO] [stdout]   --> src/util.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn random_float_range(min: f64, max: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sample_square` is never used
[INFO] [stdout]   --> src/util.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn sample_square() -> Vec3 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `linear_to_gamma` is never used
[INFO] [stdout]   --> src/util.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn linear_to_gamma(linear: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `surrounds` is never used
[INFO] [stdout]   --> src/util.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn surrounds(range: &RangeInclusive<f64>, a: &f64) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]   --> src/main.rs:91:5
[INFO] [stdout]    |
[INFO] [stdout] 91 |     event_loop.run_app(&mut ray_tracer);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let _ = event_loop.run_app(&mut ray_tracer);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] running `Command { std: "docker" "inspect" "4a69fb44f859b3245d1f8bce8f08c8d50ddd070daeef798edf569fa8430aef55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a69fb44f859b3245d1f8bce8f08c8d50ddd070daeef798edf569fa8430aef55", kill_on_drop: false }`
[INFO] [stdout] 4a69fb44f859b3245d1f8bce8f08c8d50ddd070daeef798edf569fa8430aef55
