[INFO] cloning repository https://github.com/liamweeks/raytracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liamweeks/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamweeks%2Fraytracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamweeks%2Fraytracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a8ac1bc958b65fb4971c4e4237e8010cccc43d4d
[INFO] checking liamweeks/raytracer against try#4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7 for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliamweeks%2Fraytracer" "/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/liamweeks/raytracer
[INFO] finished tweaking git repo https://github.com/liamweeks/raytracer
[INFO] tweaked toml for git repo https://github.com/liamweeks/raytracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/liamweeks/raytracer on toolchain 4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/liamweeks/raytracer 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" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88
[INFO] running `Command { std: "docker" "start" "5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88", 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" "5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88", 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" "5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88" "/opt/rustwide/cargo-home/bin/cargo" "+4d8aa70caf2d2f6ef5a31eab47961bf7d0acacb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking in_one_weekend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `rc::Rc` and `sync::Arc`
[INFO] [stdout]  --> src/ppm/mod.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::{self, File}, io::{Read, Write}, rc::Rc, sync::Arc};
[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: `crate::ray::Ray`
[INFO] [stdout]  --> src/colour/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ray::Ray;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/colour/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/colour/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::btree_set::Difference` and `sync::Arc`
[INFO] [stdout]  --> src/ray/mod.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Arc, collections::btree_set::Difference};
[INFO] [stdout]   |           ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HitRecord` and `Hittable`
[INFO] [stdout]  --> src/ray/mod.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{vec3::*, hittable::{HitRecord, Hittable}};
[INFO] [stdout]   |                                 ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/hittable_list/mod.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{hittable::{HitRecord, Hittable, self}, ray::Ray};
[INFO] [stdout]   |                                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/hittable_list/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Debug;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/hittable_list/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/hittable_list/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `rc::Rc` and `sync::Arc`
[INFO] [stdout]  --> src/ppm/mod.rs:1:48
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fs::{self, File}, io::{Read, Write}, rc::Rc, sync::Arc};
[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: `crate::ray::Ray`
[INFO] [stdout]  --> src/colour/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ray::Ray;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/colour/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/colour/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `collections::btree_set::Difference` and `sync::Arc`
[INFO] [stdout]  --> src/ray/mod.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{sync::Arc, collections::btree_set::Difference};
[INFO] [stdout]   |           ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HitRecord` and `Hittable`
[INFO] [stdout]  --> src/ray/mod.rs:3:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{vec3::*, hittable::{HitRecord, Hittable}};
[INFO] [stdout]   |                                 ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/hittable_list/mod.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{hittable::{HitRecord, Hittable, self}, ray::Ray};
[INFO] [stdout]   |                                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout]  --> src/hittable_list/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fmt::Debug;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/hittable_list/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/hittable_list/mod.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::env;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/vec3/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/vec3/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ppm/mod.rs:69:25
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     let mut ray = camera.get_ray(u, v);
[INFO] [stdout]    |                         ----^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/ppm/mod.rs:69:25
[INFO] [stdout]    |
[INFO] [stdout] 69 |                     let mut ray = camera.get_ray(u, v);
[INFO] [stdout]    |                         ----^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray`
[INFO] [stdout]   --> src/hittable/mod.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn hit(&self, ray: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool {true}
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_ray`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_min`
[INFO] [stdout]   --> src/hittable/mod.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn hit(&self, ray: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool {true}
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]   --> src/hittable/mod.rs:31:42
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn hit(&self, ray: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool {true}
[INFO] [stdout]    |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]   --> src/hittable/mod.rs:31:54
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn hit(&self, ray: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool {true}
[INFO] [stdout]    |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `write_to_ppm` and `read_from_ppm` are never used
[INFO] [stdout]   --> src/ppm/mod.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Ppm {
[INFO] [stdout]    | -------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn write_to_ppm(file_name: &str, content: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn read_from_ppm(file_name: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_colour` is never used
[INFO] [stdout]  --> src/colour/mod.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn print_colour(colour: Colour) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hit_sphere` is never used
[INFO] [stdout]   --> src/ray/mod.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn hit_sphere(&self, centre: Point3, radius: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, and `clear` are never used
[INFO] [stdout]   --> src/hittable_list/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HittableList {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn add<T: Hittable + Send + Sync + 'static>(&mut self, object: T) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PI` is never used
[INFO] [stdout]  --> src/rtweekend/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const PI: f64 = 3.1415926535897932385;
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ray`
[INFO] [stdout]   --> src/hittable/mod.rs:31:19
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn hit(&self, ray: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool {true}
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_ray`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `degrees_to_radians` is never used
[INFO] [stdout]   --> src/rtweekend/mod.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn degrees_to_radians(degree: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_min`
[INFO] [stdout]   --> src/hittable/mod.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn hit(&self, ray: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool {true}
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]   --> src/hittable/mod.rs:31:42
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn hit(&self, ray: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool {true}
[INFO] [stdout]    |                                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]   --> src/hittable/mod.rs:31:54
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn hit(&self, ray: &Ray, t_min: f64, t_max: f64, rec: &mut HitRecord) -> bool {true}
[INFO] [stdout]    |                                                      ^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `aspect_ratio`, `viewport_height`, `viewport_width`, and `focal_length` are never read
[INFO] [stdout]  --> src/camera/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Camera {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 5 |     pub aspect_ratio: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 6 |     pub viewport_height: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     pub viewport_width: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     pub focal_length: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `write_to_ppm` and `read_from_ppm` are never used
[INFO] [stdout]   --> src/ppm/mod.rs:82:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Ppm {
[INFO] [stdout]    | -------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 |     fn write_to_ppm(file_name: &str, content: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     fn read_from_ppm(file_name: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_colour` is never used
[INFO] [stdout]  --> src/colour/mod.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn print_colour(colour: Colour) {
[INFO] [stdout]   |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hit_sphere` is never used
[INFO] [stdout]   --> src/ray/mod.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn hit_sphere(&self, centre: Point3, radius: f64) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, and `clear` are never used
[INFO] [stdout]   --> src/hittable_list/mod.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HittableList {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub fn add<T: Hittable + Send + Sync + 'static>(&mut self, object: T) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn clear(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PI` is never used
[INFO] [stdout]  --> src/rtweekend/mod.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const PI: f64 = 3.1415926535897932385;
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `degrees_to_radians` is never used
[INFO] [stdout]   --> src/rtweekend/mod.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn degrees_to_radians(degree: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `aspect_ratio`, `viewport_height`, `viewport_width`, and `focal_length` are never read
[INFO] [stdout]  --> src/camera/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Camera {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 5 |     pub aspect_ratio: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 6 |     pub viewport_height: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     pub viewport_width: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     pub focal_length: f64,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88", kill_on_drop: false }`
[INFO] [stdout] 5a3cbde5bd1dc27e9d392a937d2a1c8b79cf724633b5c93a85c59b45968c9b88
