[INFO] cloning repository https://github.com/rwmorton/rust_raytracer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rwmorton/rust_raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwmorton%2Frust_raytracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwmorton%2Frust_raytracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1746765767b8906f87be0bade9e9ae61642a22cf
[INFO] testing rwmorton/rust_raytracer against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwmorton%2Frust_raytracer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rwmorton/rust_raytracer on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rwmorton/rust_raytracer
[INFO] finished tweaking git repo https://github.com/rwmorton/rust_raytracer
[INFO] tweaked toml for git repo https://github.com/rwmorton/rust_raytracer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/rwmorton/rust_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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2382b704f8c92152b09478f79a55c97446d4e11f01df032e219a0b5a910d50d1
[INFO] running `Command { std: "docker" "start" "-a" "2382b704f8c92152b09478f79a55c97446d4e11f01df032e219a0b5a910d50d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2382b704f8c92152b09478f79a55c97446d4e11f01df032e219a0b5a910d50d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2382b704f8c92152b09478f79a55c97446d4e11f01df032e219a0b5a910d50d1", kill_on_drop: false }`
[INFO] [stdout] 2382b704f8c92152b09478f79a55c97446d4e11f01df032e219a0b5a910d50d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb2e2277e14ddbdf0381468f3b76b6c3351cf1dac086b5b097bd96c85ba3d59a
[INFO] running `Command { std: "docker" "start" "-a" "fb2e2277e14ddbdf0381468f3b76b6c3351cf1dac086b5b097bd96c85ba3d59a", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_os v0.1.3
[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 num v0.1.42
[INFO] [stderr]    Compiling rust_raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `vector::Vector`
[INFO] [stdout]  --> src/scene/world.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     vector::Vector,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vector::Vector`
[INFO] [stdout]  --> src/scene/plane.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     vector::Vector,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TextureCreator`, `Texture`
[INFO] [stdout]  --> src/view/window.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     render::{Canvas,TextureCreator,Texture},
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^ ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/view/window.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/math/ray.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/view/window.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let color: Color = Color::new(0.,0.,0.,1.).unwrap();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/view/window.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut s_radius = 0.5;
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/view/window.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut sphere = Sphere::new(s_radius,s_center);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/view/window.rs:140:33
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   let mut v = x - s_center;
[INFO] [stdout]     |                           ----^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/image/film.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut fx = 2.0 / (self.width as f64);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/image/film.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut fy = 2.0 / (self.height as f64);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `X_AXIS` is never used
[INFO] [stdout]   --> src/math/vector.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const X_AXIS: Vector = Vector{x: 1.0,y: 0.0,z: 0.0};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Y_AXIS` is never used
[INFO] [stdout]   --> src/math/vector.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const Y_AXIS: Vector = Vector{x: 0.0,y: 1.0,z: 0.0};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Z_AXIS` is never used
[INFO] [stdout]   --> src/math/vector.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const Z_AXIS: Vector = Vector{x: 0.0,y: 0.0,z: 1.0};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `distance_sq` and `distance` are never used
[INFO] [stdout]   --> src/math/point.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Point {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn distance_sq(self,p: Point) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn distance(self,p: Point) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IDENTITY` is never used
[INFO] [stdout]   --> src/math/matrix.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const IDENTITY: Matrix = Matrix {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `at`, `set`, and `transpose` are never used
[INFO] [stdout]    --> src/math/matrix.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl Matrix {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 166 |     pub fn new() -> Matrix {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn at(&self,i: usize,j: usize) -> Result<f64,String> {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn set
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn transpose(&self) -> Matrix {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `at` is never used
[INFO] [stdout]   --> src/math/ray.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/view/window.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 34  | impl<'a> Window<'a> {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn update(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITE` is never used
[INFO] [stdout]   --> src/image/color.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const WHITE: Color = Color{r: 1.0,g: 1.0,b: 1.0,a: 1.0};
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RED` is never used
[INFO] [stdout]   --> src/image/color.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const RED  : Color = Color{r: 1.0,g: 0.0,b: 0.0,a: 1.0};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GREEN` is never used
[INFO] [stdout]   --> src/image/color.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const GREEN: Color = Color{r: 0.0,g: 1.0,b: 0.0,a: 1.0};
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLUE` is never used
[INFO] [stdout]   --> src/image/color.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const BLUE : Color = Color{r: 0.0,g: 0.0,b: 1.0,a: 1.0};
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `SPEED` should have a snake case name
[INFO] [stdout]   --> src/view/window.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let mut SPEED = 0.1;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `speed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/view/window.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   self.film.write_pixel(i as usize,j as usize,hit_color);
[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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 144 |                             let _ = self.film.write_pixel(i as usize,j as usize,hit_color);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/view/window.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |             self.canvas.copy(&texture,None,None);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let _ = self.canvas.copy(&texture,None,None);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.46s
[INFO] running `Command { std: "docker" "inspect" "fb2e2277e14ddbdf0381468f3b76b6c3351cf1dac086b5b097bd96c85ba3d59a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb2e2277e14ddbdf0381468f3b76b6c3351cf1dac086b5b097bd96c85ba3d59a", kill_on_drop: false }`
[INFO] [stdout] fb2e2277e14ddbdf0381468f3b76b6c3351cf1dac086b5b097bd96c85ba3d59a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86a0269961b18e10202316d68b058e0ae48091c85f870250e4b44ff2c679197b
[INFO] running `Command { std: "docker" "start" "-a" "86a0269961b18e10202316d68b058e0ae48091c85f870250e4b44ff2c679197b", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `TextureCreator`, `Texture`
[INFO] [stdout]  --> src/view/window.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     render::{Canvas,TextureCreator,Texture},
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^ ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/view/window.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/math/ray.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/view/window.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let color: Color = Color::new(0.,0.,0.,1.).unwrap();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/view/window.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut s_radius = 0.5;
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/view/window.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut sphere = Sphere::new(s_radius,s_center);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/view/window.rs:140:33
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   let mut v = x - s_center;
[INFO] [stdout]     |                           ----^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/image/film.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut fx = 2.0 / (self.width as f64);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/image/film.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut fy = 2.0 / (self.height as f64);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/image/film.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let mut color: Color = Color::new(1.,0.,0.,1.).unwrap();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `at` is never used
[INFO] [stdout]   --> src/math/ray.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stdout]    |            ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_at` is never used
[INFO] [stdout]   --> src/math/ray.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn test_at() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/view/window.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 34  | impl<'a> Window<'a> {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn update(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `SPEED` should have a snake case name
[INFO] [stdout]   --> src/view/window.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let mut SPEED = 0.1;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `speed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/view/window.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   self.film.write_pixel(i as usize,j as usize,hit_color);
[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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 144 |                             let _ = self.film.write_pixel(i as usize,j as usize,hit_color);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/view/window.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |             self.canvas.copy(&texture,None,None);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let _ = self.canvas.copy(&texture,None,None);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.57s
[INFO] running `Command { std: "docker" "inspect" "86a0269961b18e10202316d68b058e0ae48091c85f870250e4b44ff2c679197b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86a0269961b18e10202316d68b058e0ae48091c85f870250e4b44ff2c679197b", kill_on_drop: false }`
[INFO] [stdout] 86a0269961b18e10202316d68b058e0ae48091c85f870250e4b44ff2c679197b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 85f64cab468b7725a1ea7c2c6b6601a15cd132c4b74454bc6e70fb1048facdc5
[INFO] running `Command { std: "docker" "start" "-a" "85f64cab468b7725a1ea7c2c6b6601a15cd132c4b74454bc6e70fb1048facdc5", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `TextureCreator`, `Texture`
[INFO] [stderr]  --> src/view/window.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     render::{Canvas,TextureCreator,Texture},
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^ ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]   --> src/view/window.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::time::Duration;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/math/ray.rs:35:21
[INFO] [stderr]    |
[INFO] [stderr] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `color`
[INFO] [stderr]    --> src/view/window.rs:126:17
[INFO] [stderr]     |
[INFO] [stderr] 126 |             let color: Color = Color::new(0.,0.,0.,1.).unwrap();
[INFO] [stderr]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/view/window.rs:75:13
[INFO] [stderr]    |
[INFO] [stderr] 75 |         let mut s_radius = 0.5;
[INFO] [stderr]    |             ----^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/view/window.rs:76:13
[INFO] [stderr]    |
[INFO] [stderr] 76 |         let mut sphere = Sphere::new(s_radius,s_center);
[INFO] [stderr]    |             ----^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/view/window.rs:140:33
[INFO] [stderr]     |
[INFO] [stderr] 140 | ...                   let mut v = x - s_center;
[INFO] [stderr]     |                           ----^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/image/film.rs:70:13
[INFO] [stderr]    |
[INFO] [stderr] 70 |         let mut fx = 2.0 / (self.width as f64);
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/image/film.rs:71:13
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut fy = 2.0 / (self.height as f64);
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/image/film.rs:131:13
[INFO] [stderr]     |
[INFO] [stderr] 131 |         let mut color: Color = Color::new(1.,0.,0.,1.).unwrap();
[INFO] [stderr]     |             ----^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: method `at` is never used
[INFO] [stderr]   --> src/math/ray.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl Ray {
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stderr]    |            ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_at` is never used
[INFO] [stderr]   --> src/math/ray.rs:66:8
[INFO] [stderr]    |
[INFO] [stderr] 66 |     fn test_at() {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `update` is never used
[INFO] [stderr]    --> src/view/window.rs:179:8
[INFO] [stderr]     |
[INFO] [stderr] 34  | impl<'a> Window<'a> {
[INFO] [stderr]     | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 179 |     fn update(&mut self) {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `SPEED` should have a snake case name
[INFO] [stderr]   --> src/view/window.rs:88:17
[INFO] [stderr]    |
[INFO] [stderr] 88 |         let mut SPEED = 0.1;
[INFO] [stderr]    |                 ^^^^^ help: convert the identifier to snake case: `speed`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/view/window.rs:144:29
[INFO] [stderr]     |
[INFO] [stderr] 144 | ...                   self.film.write_pixel(i as usize,j as usize,hit_color);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 144 |                             let _ = self.film.write_pixel(i as usize,j as usize,hit_color);
[INFO] [stderr]     |                             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/view/window.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |             self.canvas.copy(&texture,None,None);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 153 |             let _ = self.canvas.copy(&texture,None,None);
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_raytracer` (bin "rust_raytracer" test) generated 16 warnings (run `cargo fix --bin "rust_raytracer" --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_raytracer-f668787520d1b2ec)
[INFO] [stdout] 
[INFO] [stdout] running 60 tests
[INFO] [stdout] test image::color::tests::test_black_constant ... ok
[INFO] [stdout] test image::color::tests::test_blue_constant ... ok
[INFO] [stdout] test image::color::tests::test_green_constant ... ok
[INFO] [stdout] test image::color::tests::test_new ... ok
[INFO] [stdout] test image::color::tests::test_red_constant ... ok
[INFO] [stdout] test image::color::tests::test_white_constant ... ok
[INFO] [stdout] test math::matrix::test::test_get_row_as_vector ... ok
[INFO] [stdout] test math::matrix::test::test_identity_constant ... ok
[INFO] [stdout] test math::matrix::test::test_get_row ... ok
[INFO] [stdout] test math::matrix::test::test_at ... ok
[INFO] [stdout] test math::matrix::test::test_mul_ray ... ok
[INFO] [stdout] test math::matrix::test::test_mul ... ok
[INFO] [stdout] test math::matrix::test::test_mul_point ... ok
[INFO] [stdout] test math::matrix::test::test_mul_vector ... ok
[INFO] [stdout] test math::matrix::test::test_mul_normal ... ok
[INFO] [stdout] test math::matrix::test::test_new ... ok
[INFO] [stdout] test math::matrix::test::test_set ... ok
[INFO] [stdout] test math::matrix::test::test_transpose ... ok
[INFO] [stdout] test math::matrix::test::test_scale ... ok
[INFO] [stdout] test math::normal::tests::test_add_vector ... ok
[INFO] [stdout] test math::normal::tests::test_add ... ok
[INFO] [stdout] test math::normal::tests::test_dot ... ok
[INFO] [stdout] test math::normal::tests::test_new ... ok
[INFO] [stdout] test math::normal::tests::test_neg ... ok
[INFO] [stdout] test math::normal::tests::test_scale ... ok
[INFO] [stdout] test math::point::test::test_distance_sq ... ok
[INFO] [stdout] test math::point::test::test_new ... ok
[INFO] [stdout] test math::point::test::test_add_vector ... ok
[INFO] [stdout] test math::point::test::test_distance ... ok
[INFO] [stdout] test math::point::test::test_sub_vector ... ok
[INFO] [stdout] test math::point::test::test_sub ... ok
[INFO] [stdout] test math::point::test::test_zero_constant ... ok
[INFO] [stdout] test math::ray::tests::test_new ... ok
[INFO] [stdout] test math::vector::tests::test_add_normal_trait ... ok
[INFO] [stdout] test math::vector::tests::test_add_trait ... ok
[INFO] [stdout] test math::vector::tests::test_cross ... ok
[INFO] [stdout] test math::vector::tests::test_dot_n_trait ... ok
[INFO] [stdout] test math::vector::tests::test_neg_trait ... ok
[INFO] [stdout] test math::vector::tests::test_len ... ok
[INFO] [stdout] test math::vector::tests::test_len_sq ... ok
[INFO] [stdout] test math::vector::tests::test_new ... ok
[INFO] [stdout] test math::vector::tests::test_scale_trait ... ok
[INFO] [stdout] test math::vector::tests::test_v_dot_v_trait ... ok
[INFO] [stdout] test math::vector::tests::test_sub_trait ... ok
[INFO] [stdout] test math::vector::tests::test_normalize_trait ... ok
[INFO] [stdout] test scene::plane::tests::test_hit ... ok
[INFO] [stdout] test math::vector::tests::test_z_axis_constant ... ok
[INFO] [stdout] test scene::sphere::tests::test_hit ... ok
[INFO] [stdout] test math::vector::tests::test_x_axis_constant ... ok
[INFO] [stdout] test math::vector::tests::test_y_axis_constant ... ok
[INFO] [stdout] test scene::plane::tests::test_new ... ok
[INFO] [stdout] test scene::sphere::tests::test_new ... ok
[INFO] [stdout] test scene::world::tests::test_add_primitive ... ok
[INFO] [stdout] test scene::world::tests::test_new ... ok
[INFO] [stdout] test scene::world::tests::test_hit_true ... ok
[INFO] [stdout] test image::film::tests::test_write_pixel ... FAILED
[INFO] [stdout] test scene::world::tests::test_hit_false - should panic ... ok
[INFO] [stdout] test image::film::tests::test_ndc ... ok
[INFO] [stdout] test image::film::tests::test_new ... ok
[INFO] [stdout] test image::film::tests::test_clear ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- image::film::tests::test_write_pixel stdout ----
[INFO] [stdout] thread 'image::film::tests::test_write_pixel' panicked at src/image/film.rs:145:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 0
[INFO] [stdout]  right: 255
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55fde719117c - std::backtrace_rs::backtrace::libunwind::trace::ha637c64ce894333a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x55fde719117c - std::backtrace_rs::backtrace::trace_unsynchronized::h47f62dea28e0c88d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55fde719117c - std::sys_common::backtrace::_print_fmt::h9eef0abe20ede486
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x55fde719117c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hed7f999df88cc644
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55fde71bb0d0 - core::fmt::rt::Argument::fmt::h1539a9308b8d058d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x55fde71bb0d0 - core::fmt::write::h3a39390d8560d9c9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x55fde718eb2f - std::io::Write::write_fmt::h040b369f3a0f9cbc
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/io/mod.rs:1762:15
[INFO] [stdout]    7:     0x55fde7190f64 - std::sys_common::backtrace::_print::h894006fb5c6f3d45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55fde7190f64 - std::sys_common::backtrace::print::h23a2d212c6fff936
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55fde7192c27 - std::panicking::default_hook::{{closure}}::h8a1d2ee00185001a
[INFO] [stdout]   10:     0x55fde7192913 - std::panicking::default_hook::h6038f2eba384e475
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55fde7160797 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h0ad024c9bdc6d768
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x55fde7160797 - test::test_main::{{closure}}::h7500b54257359db6
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x55fde7193238 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h1f8f335eaa9cfaee
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x55fde7193238 - std::panicking::rust_panic_with_hook::h2b5517d590cab22e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x55fde7192f8e - std::panicking::begin_panic_handler::{{closure}}::h233112c06e0ef43e
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x55fde7191646 - std::sys_common::backtrace::__rust_end_short_backtrace::h6e893f24d7ebbff8
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x55fde7192cf2 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x55fde7114cf5 - core::panicking::panic_fmt::hbf0e066aabfa482c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55fde711501b - core::panicking::assert_failed_inner::h0bba8b7c26ee4492
[INFO] [stdout]   20:     0x55fde71224ae - core::panicking::assert_failed::h72e49de12c9dd978
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:279:5
[INFO] [stdout]   21:     0x55fde711ebb9 - rust_raytracer::image::film::tests::test_write_pixel::h1ec162be9db307f4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/image/film.rs:145:9
[INFO] [stdout]   22:     0x55fde711e497 - rust_raytracer::image::film::tests::test_write_pixel::{{closure}}::h980194a6693c2b65
[INFO] [stdout]                                at /opt/rustwide/workdir/src/image/film.rs:122:26
[INFO] [stdout]   23:     0x55fde7121246 - core::ops::function::FnOnce::call_once::h59608a2615bb33a9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55fde7165def - core::ops::function::FnOnce::call_once::h2b5d431d5046312d
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55fde7165def - test::__rust_begin_short_backtrace::h7714669af176e207
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:628:18
[INFO] [stdout]   26:     0x55fde7164e05 - test::run_test_in_process::{{closure}}::h85218797dcbcec12
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:60
[INFO] [stdout]   27:     0x55fde7164e05 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h76c106ea31c14d7b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55fde7164e05 - std::panicking::try::do_call::h3bd5d0f6620ee946
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   29:     0x55fde7164e05 - std::panicking::try::h232e535e4744fe31
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   30:     0x55fde7164e05 - std::panic::catch_unwind::h3ce3bd6ca8dbac68
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x55fde7164e05 - test::run_test_in_process::hc97b257c9621286a
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:651:27
[INFO] [stdout]   32:     0x55fde7164e05 - test::run_test::{{closure}}::h2aa798823a438d38
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:574:43
[INFO] [stdout]   33:     0x55fde712d0c6 - test::run_test::{{closure}}::h87d231c78fb59832
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/test/src/lib.rs:602:41
[INFO] [stdout]   34:     0x55fde712d0c6 - std::sys_common::backtrace::__rust_begin_short_backtrace::he6df152596625789
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x55fde7132177 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha94be15d1e0acf36
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x55fde7132177 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h9dc6bd6372f16606
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55fde7132177 - std::panicking::try::do_call::h9057517f80303cd4
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:552:40
[INFO] [stdout]   38:     0x55fde7132177 - std::panicking::try::he3a30b11ee45340c
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:516:19
[INFO] [stdout]   39:     0x55fde7132177 - std::panic::catch_unwind::h410458cfd3528b8b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x55fde7132177 - std::thread::Builder::spawn_unchecked_::{{closure}}::h72ac3bdb567b737b
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x55fde7132177 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h38f34da3654a8344
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55fde7197cc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc7eafaff61e32df9
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x55fde7197cc5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6ba4a5de48dd2304
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x55fde7197cc5 - std::sys::unix::thread::Thread::new::thread_start::he469335aef763e45
[INFO] [stdout]                                at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f1375cb7ac3 - <unknown>
[INFO] [stdout]   46:     0x7f1375d48bf4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     image::film::tests::test_write_pixel
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 59 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust_raytracer`
[INFO] running `Command { std: "docker" "inspect" "85f64cab468b7725a1ea7c2c6b6601a15cd132c4b74454bc6e70fb1048facdc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85f64cab468b7725a1ea7c2c6b6601a15cd132c4b74454bc6e70fb1048facdc5", kill_on_drop: false }`
[INFO] [stdout] 85f64cab468b7725a1ea7c2c6b6601a15cd132c4b74454bc6e70fb1048facdc5
[INFO] testing rwmorton/rust_raytracer against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frwmorton%2Frust_raytracer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rwmorton/rust_raytracer on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rwmorton/rust_raytracer
[INFO] finished tweaking git repo https://github.com/rwmorton/rust_raytracer
[INFO] tweaked toml for git repo https://github.com/rwmorton/rust_raytracer written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/rwmorton/rust_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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 680d0093d220c599e5f79e7249624cee82d73d5da42622ff097bfd6000bf1d86
[INFO] running `Command { std: "docker" "start" "-a" "680d0093d220c599e5f79e7249624cee82d73d5da42622ff097bfd6000bf1d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "680d0093d220c599e5f79e7249624cee82d73d5da42622ff097bfd6000bf1d86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "680d0093d220c599e5f79e7249624cee82d73d5da42622ff097bfd6000bf1d86", kill_on_drop: false }`
[INFO] [stdout] 680d0093d220c599e5f79e7249624cee82d73d5da42622ff097bfd6000bf1d86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f3a538f39fdffdc3d257f8c627e25142cad31778c33b3a7e7a7176844737fb57
[INFO] running `Command { std: "docker" "start" "-a" "f3a538f39fdffdc3d257f8c627e25142cad31778c33b3a7e7a7176844737fb57", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_os v0.1.3
[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 num v0.1.42
[INFO] [stderr]    Compiling rust_raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `vector::Vector`
[INFO] [stdout]  --> src/scene/world.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     vector::Vector,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vector::Vector`
[INFO] [stdout]  --> src/scene/plane.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     vector::Vector,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TextureCreator`, `Texture`
[INFO] [stdout]  --> src/view/window.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     render::{Canvas,TextureCreator,Texture},
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^ ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/view/window.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/math/ray.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/view/window.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let color: Color = Color::new(0.,0.,0.,1.).unwrap();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/view/window.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut s_radius = 0.5;
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/view/window.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut sphere = Sphere::new(s_radius,s_center);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/view/window.rs:140:33
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   let mut v = x - s_center;
[INFO] [stdout]     |                           ----^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/image/film.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut fx = 2.0 / (self.width as f64);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/image/film.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut fy = 2.0 / (self.height as f64);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `X_AXIS` is never used
[INFO] [stdout]   --> src/math/vector.rs:23:11
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub const X_AXIS: Vector = Vector{x: 1.0,y: 0.0,z: 0.0};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Y_AXIS` is never used
[INFO] [stdout]   --> src/math/vector.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub const Y_AXIS: Vector = Vector{x: 0.0,y: 1.0,z: 0.0};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `Z_AXIS` is never used
[INFO] [stdout]   --> src/math/vector.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub const Z_AXIS: Vector = Vector{x: 0.0,y: 0.0,z: 1.0};
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `distance_sq` and `distance` are never used
[INFO] [stdout]   --> src/math/point.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl Point {
[INFO] [stdout]    | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn distance_sq(self,p: Point) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn distance(self,p: Point) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IDENTITY` is never used
[INFO] [stdout]   --> src/math/matrix.rs:27:11
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub const IDENTITY: Matrix = Matrix {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `at`, `set`, and `transpose` are never used
[INFO] [stdout]    --> src/math/matrix.rs:166:12
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl Matrix {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] 166 |     pub fn new() -> Matrix {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 178 |     pub fn at(&self,i: usize,j: usize) -> Result<f64,String> {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn set
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub fn transpose(&self) -> Matrix {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `at` is never used
[INFO] [stdout]   --> src/math/ray.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/view/window.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 34  | impl<'a> Window<'a> {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn update(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `WHITE` is never used
[INFO] [stdout]   --> src/image/color.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const WHITE: Color = Color{r: 1.0,g: 1.0,b: 1.0,a: 1.0};
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RED` is never used
[INFO] [stdout]   --> src/image/color.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub const RED  : Color = Color{r: 1.0,g: 0.0,b: 0.0,a: 1.0};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GREEN` is never used
[INFO] [stdout]   --> src/image/color.rs:21:11
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub const GREEN: Color = Color{r: 0.0,g: 1.0,b: 0.0,a: 1.0};
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BLUE` is never used
[INFO] [stdout]   --> src/image/color.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const BLUE : Color = Color{r: 0.0,g: 0.0,b: 1.0,a: 1.0};
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `SPEED` should have a snake case name
[INFO] [stdout]   --> src/view/window.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let mut SPEED = 0.1;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `speed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/view/window.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   self.film.write_pixel(i as usize,j as usize,hit_color);
[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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 144 |                             let _ = self.film.write_pixel(i as usize,j as usize,hit_color);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/view/window.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |             self.canvas.copy(&texture,None,None);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let _ = self.canvas.copy(&texture,None,None);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 26 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.57s
[INFO] running `Command { std: "docker" "inspect" "f3a538f39fdffdc3d257f8c627e25142cad31778c33b3a7e7a7176844737fb57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3a538f39fdffdc3d257f8c627e25142cad31778c33b3a7e7a7176844737fb57", kill_on_drop: false }`
[INFO] [stdout] f3a538f39fdffdc3d257f8c627e25142cad31778c33b3a7e7a7176844737fb57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 092d4b09180472ec1dd4b7d21b9312ccc19bd1432a7c998fe3a9d3cc294ac7f0
[INFO] running `Command { std: "docker" "start" "-a" "092d4b09180472ec1dd4b7d21b9312ccc19bd1432a7c998fe3a9d3cc294ac7f0", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `TextureCreator`, `Texture`
[INFO] [stdout]  --> src/view/window.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     render::{Canvas,TextureCreator,Texture},
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^ ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/view/window.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/math/ray.rs:35:21
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `color`
[INFO] [stdout]    --> src/view/window.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let color: Color = Color::new(0.,0.,0.,1.).unwrap();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/view/window.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut s_radius = 0.5;
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/view/window.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut sphere = Sphere::new(s_radius,s_center);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/view/window.rs:140:33
[INFO] [stdout]     |
[INFO] [stdout] 140 | ...                   let mut v = x - s_center;
[INFO] [stdout]     |                           ----^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/image/film.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let mut fx = 2.0 / (self.width as f64);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/image/film.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut fy = 2.0 / (self.height as f64);
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/image/film.rs:131:13
[INFO] [stdout]     |
[INFO] [stdout] 131 |         let mut color: Color = Color::new(1.,0.,0.,1.).unwrap();
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `at` is never used
[INFO] [stdout]   --> src/math/ray.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Ray {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stdout]    |            ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_at` is never used
[INFO] [stdout]   --> src/math/ray.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn test_at() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update` is never used
[INFO] [stdout]    --> src/view/window.rs:179:8
[INFO] [stdout]     |
[INFO] [stdout] 34  | impl<'a> Window<'a> {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 179 |     fn update(&mut self) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `SPEED` should have a snake case name
[INFO] [stdout]   --> src/view/window.rs:88:17
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let mut SPEED = 0.1;
[INFO] [stdout]    |                 ^^^^^ help: convert the identifier to snake case: `speed`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/view/window.rs:144:29
[INFO] [stdout]     |
[INFO] [stdout] 144 | ...                   self.film.write_pixel(i as usize,j as usize,hit_color);
[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)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 144 |                             let _ = self.film.write_pixel(i as usize,j as usize,hit_color);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/view/window.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |             self.canvas.copy(&texture,None,None);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let _ = self.canvas.copy(&texture,None,None);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.52s
[INFO] running `Command { std: "docker" "inspect" "092d4b09180472ec1dd4b7d21b9312ccc19bd1432a7c998fe3a9d3cc294ac7f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "092d4b09180472ec1dd4b7d21b9312ccc19bd1432a7c998fe3a9d3cc294ac7f0", kill_on_drop: false }`
[INFO] [stdout] 092d4b09180472ec1dd4b7d21b9312ccc19bd1432a7c998fe3a9d3cc294ac7f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 53c5b67c72ddd4f8c6355ab379d6194a51b286e3024362b8ee2653360477db90
[INFO] running `Command { std: "docker" "start" "-a" "53c5b67c72ddd4f8c6355ab379d6194a51b286e3024362b8ee2653360477db90", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `TextureCreator`, `Texture`
[INFO] [stderr]  --> src/view/window.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     render::{Canvas,TextureCreator,Texture},
[INFO] [stderr]   |                     ^^^^^^^^^^^^^^ ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]   --> src/view/window.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::time::Duration;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]   --> src/math/ray.rs:35:21
[INFO] [stderr]    |
[INFO] [stderr] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `color`
[INFO] [stderr]    --> src/view/window.rs:126:17
[INFO] [stderr]     |
[INFO] [stderr] 126 |             let color: Color = Color::new(0.,0.,0.,1.).unwrap();
[INFO] [stderr]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_color`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/view/window.rs:75:13
[INFO] [stderr]    |
[INFO] [stderr] 75 |         let mut s_radius = 0.5;
[INFO] [stderr]    |             ----^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/view/window.rs:76:13
[INFO] [stderr]    |
[INFO] [stderr] 76 |         let mut sphere = Sphere::new(s_radius,s_center);
[INFO] [stderr]    |             ----^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/view/window.rs:140:33
[INFO] [stderr]     |
[INFO] [stderr] 140 | ...                   let mut v = x - s_center;
[INFO] [stderr]     |                           ----^
[INFO] [stderr]     |                           |
[INFO] [stderr]     |                           help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/image/film.rs:70:13
[INFO] [stderr]    |
[INFO] [stderr] 70 |         let mut fx = 2.0 / (self.width as f64);
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/image/film.rs:71:13
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut fy = 2.0 / (self.height as f64);
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/image/film.rs:131:13
[INFO] [stderr]     |
[INFO] [stderr] 131 |         let mut color: Color = Color::new(1.,0.,0.,1.).unwrap();
[INFO] [stderr]     |             ----^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: method `at` is never used
[INFO] [stderr]   --> src/math/ray.rs:35:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | impl Ray {
[INFO] [stderr]    | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 35 |     pub fn at(&self,t: f64) -> Point {
[INFO] [stderr]    |            ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_at` is never used
[INFO] [stderr]   --> src/math/ray.rs:66:8
[INFO] [stderr]    |
[INFO] [stderr] 66 |     fn test_at() {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `update` is never used
[INFO] [stderr]    --> src/view/window.rs:179:8
[INFO] [stderr]     |
[INFO] [stderr] 34  | impl<'a> Window<'a> {
[INFO] [stderr]     | ------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 179 |     fn update(&mut self) {
[INFO] [stderr]     |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `SPEED` should have a snake case name
[INFO] [stderr]   --> src/view/window.rs:88:17
[INFO] [stderr]    |
[INFO] [stderr] 88 |         let mut SPEED = 0.1;
[INFO] [stderr]    |                 ^^^^^ help: convert the identifier to snake case: `speed`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/view/window.rs:144:29
[INFO] [stderr]     |
[INFO] [stderr] 144 | ...                   self.film.write_pixel(i as usize,j as usize,hit_color);
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 144 |                             let _ = self.film.write_pixel(i as usize,j as usize,hit_color);
[INFO] [stderr]     |                             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/view/window.rs:153:13
[INFO] [stderr]     |
[INFO] [stderr] 153 |             self.canvas.copy(&texture,None,None);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 153 |             let _ = self.canvas.copy(&texture,None,None);
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_raytracer` (bin "rust_raytracer" test) generated 16 warnings (run `cargo fix --bin "rust_raytracer" --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_raytracer-51c80236f8672f22)
[INFO] [stdout] 
[INFO] [stdout] running 60 tests
[INFO] [stdout] test image::color::tests::test_black_constant ... ok
[INFO] [stdout] test image::color::tests::test_new ... ok
[INFO] [stdout] test image::color::tests::test_green_constant ... ok
[INFO] [stdout] test image::color::tests::test_blue_constant ... ok
[INFO] [stdout] test image::color::tests::test_red_constant ... ok
[INFO] [stdout] test image::color::tests::test_white_constant ... ok
[INFO] [stdout] test math::matrix::test::test_at ... ok
[INFO] [stdout] test math::matrix::test::test_identity_constant ... ok
[INFO] [stdout] test math::matrix::test::test_get_row ... ok
[INFO] [stdout] test math::matrix::test::test_get_row_as_vector ... ok
[INFO] [stdout] test math::matrix::test::test_mul ... ok
[INFO] [stdout] test math::matrix::test::test_mul_normal ... ok
[INFO] [stdout] test math::matrix::test::test_mul_ray ... ok
[INFO] [stdout] test math::matrix::test::test_mul_point ... ok
[INFO] [stdout] test math::matrix::test::test_new ... ok
[INFO] [stdout] test math::matrix::test::test_mul_vector ... ok
[INFO] [stdout] test math::matrix::test::test_set ... ok
[INFO] [stdout] test math::matrix::test::test_scale ... ok
[INFO] [stdout] test math::matrix::test::test_transpose ... ok
[INFO] [stdout] test math::normal::tests::test_add ... ok
[INFO] [stdout] test math::normal::tests::test_add_vector ... ok
[INFO] [stdout] test math::normal::tests::test_dot ... ok
[INFO] [stdout] test math::normal::tests::test_neg ... ok
[INFO] [stdout] test math::normal::tests::test_new ... ok
[INFO] [stdout] test math::normal::tests::test_scale ... ok
[INFO] [stdout] test math::point::test::test_add_vector ... ok
[INFO] [stdout] test math::point::test::test_distance ... ok
[INFO] [stdout] test math::point::test::test_distance_sq ... ok
[INFO] [stdout] test math::point::test::test_sub ... ok
[INFO] [stdout] test math::point::test::test_new ... ok
[INFO] [stdout] test math::point::test::test_zero_constant ... ok
[INFO] [stdout] test math::ray::tests::test_new ... ok
[INFO] [stdout] test math::point::test::test_sub_vector ... ok
[INFO] [stdout] test math::vector::tests::test_add_normal_trait ... ok
[INFO] [stdout] test math::vector::tests::test_add_trait ... ok
[INFO] [stdout] test math::vector::tests::test_cross ... ok
[INFO] [stdout] test math::vector::tests::test_dot_n_trait ... ok
[INFO] [stdout] test math::vector::tests::test_len_sq ... ok
[INFO] [stdout] test math::vector::tests::test_len ... ok
[INFO] [stdout] test math::vector::tests::test_new ... ok
[INFO] [stdout] test math::vector::tests::test_scale_trait ... ok
[INFO] [stdout] test math::vector::tests::test_sub_trait ... ok
[INFO] [stdout] test math::vector::tests::test_neg_trait ... ok
[INFO] [stdout] test math::vector::tests::test_normalize_trait ... ok
[INFO] [stdout] test math::vector::tests::test_x_axis_constant ... ok
[INFO] [stdout] test math::vector::tests::test_v_dot_v_trait ... ok
[INFO] [stdout] test math::vector::tests::test_y_axis_constant ... ok
[INFO] [stdout] test scene::plane::tests::test_hit ... ok
[INFO] [stdout] test scene::plane::tests::test_new ... ok
[INFO] [stdout] test math::vector::tests::test_z_axis_constant ... ok
[INFO] [stdout] test scene::sphere::tests::test_new ... ok
[INFO] [stdout] test scene::sphere::tests::test_hit ... ok
[INFO] [stdout] test scene::world::tests::test_add_primitive ... ok
[INFO] [stdout] test scene::world::tests::test_hit_true ... ok
[INFO] [stdout] test scene::world::tests::test_new ... ok
[INFO] [stdout] test image::film::tests::test_write_pixel ... FAILED
[INFO] [stdout] test scene::world::tests::test_hit_false - should panic ... ok
[INFO] [stdout] test image::film::tests::test_ndc ... ok
[INFO] [stdout] test image::film::tests::test_new ... ok
[INFO] [stdout] test image::film::tests::test_clear ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- image::film::tests::test_write_pixel stdout ----
[INFO] [stdout] thread 'image::film::tests::test_write_pixel' panicked at src/image/film.rs:145:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 0
[INFO] [stdout]  right: 255
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55b6caf7e676 - std::backtrace_rs::backtrace::libunwind::trace::h261606ad26a499c1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5
[INFO] [stdout]    1:     0x55b6caf7e676 - std::backtrace_rs::backtrace::trace_unsynchronized::hd183f0625477fb28
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55b6caf7e676 - std::sys_common::backtrace::_print_fmt::hd7f8fef21b4eda67
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x55b6caf7e676 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h623d9b51f2f453f1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55b6cafa78d0 - core::fmt::rt::Argument::fmt::h9f417ac76a86f368
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/rt.rs:142:9
[INFO] [stdout]    5:     0x55b6cafa78d0 - core::fmt::write::hc9b6faf4ac2aeff7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/fmt/mod.rs:1120:17
[INFO] [stdout]    6:     0x55b6caf7c0df - std::io::Write::write_fmt::he04625a3a989fec3
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/io/mod.rs:1810:15
[INFO] [stdout]    7:     0x55b6caf7e454 - std::sys_common::backtrace::_print::hd5d66399c7df88a2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55b6caf7e454 - std::sys_common::backtrace::print::he81ed2da642d37e5
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55b6caf801c7 - std::panicking::default_hook::{{closure}}::h85773f4fa117163d
[INFO] [stdout]   10:     0x55b6caf7fead - std::panicking::default_hook::h6a1694a91d09b278
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55b6caf4d4e7 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h616ac37fa3cd6c8f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   12:     0x55b6caf4d4e7 - test::test_main::{{closure}}::h00d84697cefdcbb6
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:138:21
[INFO] [stdout]   13:     0x55b6caf807e6 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcb3fe3b9bb537ba8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2029:9
[INFO] [stdout]   14:     0x55b6caf807e6 - std::panicking::rust_panic_with_hook::h0a7ad96e90f7145b
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:783:13
[INFO] [stdout]   15:     0x55b6caf80532 - std::panicking::begin_panic_handler::{{closure}}::h7919090525c6485e
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:657:13
[INFO] [stdout]   16:     0x55b6caf7eb76 - std::sys_common::backtrace::__rust_end_short_backtrace::hf3289479464f7dfe
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x55b6caf80290 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:645:5
[INFO] [stdout]   18:     0x55b6caf00cd5 - core::panicking::panic_fmt::hcc9f77c5c132af55
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55b6caf0101b - core::panicking::assert_failed_inner::h9f13e27dd63c3a08
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:342:17
[INFO] [stdout]   20:     0x55b6caf0d08e - core::panicking::assert_failed::h9f954d63df7eb16c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panicking.rs:297:5
[INFO] [stdout]   21:     0x55b6caf0aab9 - rust_raytracer::image::film::tests::test_write_pixel::h017626d7bf9aafb7
[INFO] [stdout]                                at /opt/rustwide/workdir/src/image/film.rs:145:9
[INFO] [stdout]   22:     0x55b6caf0a397 - rust_raytracer::image::film::tests::test_write_pixel::{{closure}}::h911c41492fdb7b3c
[INFO] [stdout]                                at /opt/rustwide/workdir/src/image/film.rs:122:26
[INFO] [stdout]   23:     0x55b6caf13166 - core::ops::function::FnOnce::call_once::h0a3b5b28855917a8
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55b6caf52dbf - core::ops::function::FnOnce::call_once::hd64d26f405258157
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55b6caf52dbf - test::__rust_begin_short_backtrace::he21b0b7a6d731bf9
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:627:18
[INFO] [stdout]   26:     0x55b6caf51b41 - test::run_test_in_process::{{closure}}::hf5c73986d7bdfde2
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:60
[INFO] [stdout]   27:     0x55b6caf51b41 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h330011ad032aadc0
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x55b6caf51b41 - std::panicking::try::do_call::he61b0a958b795a41
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   29:     0x55b6caf51b41 - std::panicking::try::h7309da130f906eb7
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   30:     0x55b6caf51b41 - std::panic::catch_unwind::hc5c3a06fdaf0a92a
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x55b6caf51b41 - test::run_test_in_process::h7e7b7c71c3324e0f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:650:27
[INFO] [stdout]   32:     0x55b6caf51b41 - test::run_test::{{closure}}::h1f509f28f5cf20b1
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:573:43
[INFO] [stdout]   33:     0x55b6caf18e76 - test::run_test::{{closure}}::h1754218abf443f6d
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/test/src/lib.rs:601:41
[INFO] [stdout]   34:     0x55b6caf18e76 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2ee174b9d5954948
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x55b6caf1ded7 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hf60bee9c1a17ef09
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x55b6caf1ded7 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h33d0dddec5216160
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x55b6caf1ded7 - std::panicking::try::do_call::h144b3048b546f835
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:552:40
[INFO] [stdout]   38:     0x55b6caf1ded7 - std::panicking::try::h978244d04646189f
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panicking.rs:516:19
[INFO] [stdout]   39:     0x55b6caf1ded7 - std::panic::catch_unwind::hdf436369d188fe86
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x55b6caf1ded7 - std::thread::Builder::spawn_unchecked_::{{closure}}::h87329cbdd33c79ec
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x55b6caf1ded7 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h401abbe67897d450
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55b6caf85295 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5d7c8f150ab9c84c
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   43:     0x55b6caf85295 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h570d5b005c242c15
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/alloc/src/boxed.rs:2015:9
[INFO] [stdout]   44:     0x55b6caf85295 - std::sys::unix::thread::Thread::new::thread_start::h36b0a20c0b2361ad
[INFO] [stdout]                                at /rustc/0e09125c6c3c2fd70d7de961bcf0e51575235fad/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f8557155ac3 - <unknown>
[INFO] [stdout]   46:     0x7f85571e6bf4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     image::film::tests::test_write_pixel
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 59 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust_raytracer`
[INFO] running `Command { std: "docker" "inspect" "53c5b67c72ddd4f8c6355ab379d6194a51b286e3024362b8ee2653360477db90", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53c5b67c72ddd4f8c6355ab379d6194a51b286e3024362b8ee2653360477db90", kill_on_drop: false }`
[INFO] [stdout] 53c5b67c72ddd4f8c6355ab379d6194a51b286e3024362b8ee2653360477db90
