[INFO] cloning repository https://github.com/fredrikln/the-raytracer-challenge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fredrikln/the-raytracer-challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 731e9e48fc675afe77d1b9d2d63aaf76fed006ef
[INFO] testing fredrikln/the-raytracer-challenge against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffredrikln%2Fthe-raytracer-challenge" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fredrikln/the-raytracer-challenge
[INFO] finished tweaking git repo https://github.com/fredrikln/the-raytracer-challenge
[INFO] tweaked toml for git repo https://github.com/fredrikln/the-raytracer-challenge written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fredrikln/the-raytracer-challenge on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fredrikln/the-raytracer-challenge 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.100.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1
[INFO] running `Command { std: "docker" "start" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling num-traits v0.2.9
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling png v0.15.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.16
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/camera.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/canvas.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::intersection::Intersection`
[INFO] [stdout]  --> src/cube.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::intersection::Intersection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]  --> src/cube.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::object::{Object,Intersectable};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::sphere::Sphere`
[INFO] [stdout]  --> src/intersection.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::sphere::Sphere;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::intersection::Intersection`
[INFO] [stdout]  --> src/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::intersection::Intersection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]  --> src/plane.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::object::{Object,Intersectable};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::intersection::Intersection`
[INFO] [stdout]  --> src/sphere.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::intersection::Intersection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]  --> src/sphere.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::object::{Object,Intersectable};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vector`
[INFO] [stdout]   --> src/world.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/cube.rs:91:41
[INFO] [stdout]    |
[INFO] [stdout] 91 |       tmin = tmin_numerator * std::f64::INFINITY;
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/cube.rs:92:41
[INFO] [stdout]    |
[INFO] [stdout] 92 |       tmax = tmax_numerator * std::f64::INFINITY;
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/plane.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |   fn normal(&self, p: Point) -> Vector {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/world.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 |       let mut object_intersections = object.intersect(r);
[INFO] [stdout]    |           ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `top_inside` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:189:7
[INFO] [stdout]     |
[INFO] [stdout] 189 |   let mut top_inside = Sphere::new();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_top_inside` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light1`
[INFO] [stdout]    --> src/main.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 |   let light1 = PointLight {
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light2`
[INFO] [stdout]    --> src/main.rs:260:7
[INFO] [stdout]     |
[INFO] [stdout] 260 |   let light2 = PointLight {
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light3`
[INFO] [stdout]    --> src/main.rs:272:7
[INFO] [stdout]     |
[INFO] [stdout] 272 |   let light3 = PointLight {
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light4`
[INFO] [stdout]    --> src/main.rs:284:7
[INFO] [stdout]     |
[INFO] [stdout] 284 |   let light4 = PointLight {
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `top_inside` is never read
[INFO] [stdout]    --> src/main.rs:190:3
[INFO] [stdout]     |
[INFO] [stdout] 190 |   top_inside.transform = Matrix::translate(-0.75, 1.0, 0.5) * Matrix::scale_linear(0.5);
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `top_inside` is never read
[INFO] [stdout]    --> src/main.rs:204:3
[INFO] [stdout]     |
[INFO] [stdout] 204 |   top_inside.material = mtopi;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_pixel` is never used
[INFO] [stdout]   --> src/canvas.rs:99:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | impl Canvas {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 99 |   pub fn get_pixel(&self, x: u32, y: u32) -> Color {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_transform` is never used
[INFO] [stdout]   --> src/cube.rs:76:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Cube {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 |   pub fn set_transform(&mut self, transform: Matrix) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `time` and `inside` are never read
[INFO] [stdout]    --> src/intersection.rs:119:7
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub struct Computations<'a> {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 119 |   pub time: f64,
[INFO] [stdout]     |       ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |   pub inside: bool,
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Computations` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lighting` is never used
[INFO] [stdout]   --> src/material.rs:36:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl Material {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |   pub fn lighting(&self, light: PointLight, position: Point, eye_vector: Vector, normal: Vector, in_shadow: bool) -> Color {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `cofactor`, `determinant`, and `shear` are never used
[INFO] [stdout]    --> src/matrix.rs:46:10
[INFO] [stdout]     |
[INFO] [stdout]  11 | impl Matrix {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  46 |   pub fn cofactor(&self, row: usize, col: usize) -> f64 {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  50 |   pub fn determinant(&self) -> f64 {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |   pub fn shear(xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Matrix {
[INFO] [stdout]     |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/pattern.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl StripedPattern {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 28 |   pub fn default() -> StripedPattern {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `default` is never used
[INFO] [stdout]   --> src/pattern.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl GradientPattern {
[INFO] [stdout]    | -------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |   pub fn default() -> GradientPattern {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_transform` is never used
[INFO] [stdout]   --> src/plane.rs:56:10
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl Plane {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 56 |   pub fn set_transform(&mut self, transform: Matrix) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_transform` is never used
[INFO] [stdout]   --> src/sphere.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | impl Sphere {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 67 |   pub fn set_transform(&mut self, transform: Matrix) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `default` are never used
[INFO] [stdout]   --> src/world.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl World {
[INFO] [stdout]    | ---------- associated functions in this implementation
[INFO] [stdout] 22 |   pub fn new() -> World {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |   pub fn default() -> World {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/intersection.rs:42:50
[INFO] [stdout]    |
[INFO] [stdout] 42 |   pub fn prepare_computations_with_intersections(&self, r: Ray, intersections: Vec<Intersection>) -> Computations {
[INFO] [stdout]    |                                                  ^^^^^ the lifetime is elided here                   ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 42 |   pub fn prepare_computations_with_intersections(&self, r: Ray, intersections: Vec<Intersection>) -> Computations<'_> {
[INFO] [stdout]    |                                                                                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/intersection.rs:82:31
[INFO] [stdout]    |
[INFO] [stdout] 82 |   pub fn prepare_computations(&self, ray: Ray) -> Computations {
[INFO] [stdout]    |                               ^^^^^               ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 |   pub fn prepare_computations(&self, ray: Ray) -> Computations<'_> {
[INFO] [stdout]    |                                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/world.rs:48:20
[INFO] [stdout]    |
[INFO] [stdout] 48 |   pub fn intersect(&self, r: Ray) -> Vec<Intersection> {
[INFO] [stdout]    |                    ^^^^^                 ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |   pub fn intersect(&self, r: Ray) -> Vec<Intersection<'_>> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 27.67s
[INFO] running `Command { std: "docker" "inspect" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/camera.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/canvas.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::intersection::Intersection`
[INFO] [stdout]  --> src/cube.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::intersection::Intersection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]  --> src/cube.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::object::{Object,Intersectable};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::sphere::Sphere`
[INFO] [stdout]  --> src/intersection.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::sphere::Sphere;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::intersection::Intersection`
[INFO] [stdout]  --> src/plane.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::intersection::Intersection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]  --> src/plane.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::object::{Object,Intersectable};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::matrix::Matrix`
[INFO] [stdout]   --> src/plane.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 |   use crate::matrix::Matrix;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::Material`
[INFO] [stdout]   --> src/plane.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |   use crate::material::Material;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::canvas::Color`
[INFO] [stdout]   --> src/plane.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 |   use crate::canvas::Color;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]   --> src/plane.rs:70:23
[INFO] [stdout]    |
[INFO] [stdout] 70 |   use crate::object::{Object, Intersectable};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::sphere::Sphere`
[INFO] [stdout]   --> src/ray.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 |   use crate::sphere::Sphere;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::intersection::Intersection`
[INFO] [stdout]  --> src/sphere.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::intersection::Intersection;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]  --> src/sphere.rs:7:21
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::object::{Object,Intersectable};
[INFO] [stdout]   |                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Object`
[INFO] [stdout]   --> src/sphere.rs:81:23
[INFO] [stdout]    |
[INFO] [stdout] 81 |   use crate::object::{Object, Intersectable};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::vector::Vector`
[INFO] [stdout]   --> src/world.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::vector::Vector;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/cube.rs:91:41
[INFO] [stdout]    |
[INFO] [stdout] 91 |       tmin = tmin_numerator * std::f64::INFINITY;
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::f64::INFINITY`: replaced by the `INFINITY` associated constant on `f64`
[INFO] [stdout]   --> src/cube.rs:92:41
[INFO] [stdout]    |
[INFO] [stdout] 92 |       tmax = tmax_numerator * std::f64::INFINITY;
[INFO] [stdout]    |                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 3 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/camera.rs:379:19
[INFO] [stdout]     |
[INFO] [stdout] 379 |     let image = c.render(w);
[INFO] [stdout]     |                   ^^^^^^--- two arguments of type `bool` and `u8` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/camera.rs:82:10
[INFO] [stdout]     |
[INFO] [stdout]  82 |   pub fn render(self, w: World, antialias: bool, max_steps: u8) -> Canvas {
[INFO] [stdout]     |          ^^^^^^                 ---------------  -------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout] 379 |     let image = c.render(w, /* bool */, /* u8 */);
[INFO] [stdout]     |                           ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pattern.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut pa = StripedPattern::new(white, black);
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/pattern.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let mut pa = StripedPattern::new(white, black);
[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/pattern.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |     let mut pa = StripedPattern::new(white, black);
[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/pattern.rs:162:9
[INFO] [stdout]     |
[INFO] [stdout] 162 |     let mut pa = StripedPattern::new(white, black);
[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/pattern.rs:218:9
[INFO] [stdout]     |
[INFO] [stdout] 218 |     let mut pa = GradientPattern::new(white, black);
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/plane.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |   fn normal(&self, p: Point) -> Vector {
[INFO] [stdout]    |                    ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/world.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 |       let mut object_intersections = object.intersect(r);
[INFO] [stdout]    |           ----^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `top_inside` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:189:7
[INFO] [stdout]     |
[INFO] [stdout] 189 |   let mut top_inside = Sphere::new();
[INFO] [stdout]     |       ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_top_inside` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light1`
[INFO] [stdout]    --> src/main.rs:248:7
[INFO] [stdout]     |
[INFO] [stdout] 248 |   let light1 = PointLight {
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light2`
[INFO] [stdout]    --> src/main.rs:260:7
[INFO] [stdout]     |
[INFO] [stdout] 260 |   let light2 = PointLight {
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light3`
[INFO] [stdout]    --> src/main.rs:272:7
[INFO] [stdout]     |
[INFO] [stdout] 272 |   let light3 = PointLight {
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `light4`
[INFO] [stdout]    --> src/main.rs:284:7
[INFO] [stdout]     |
[INFO] [stdout] 284 |   let light4 = PointLight {
[INFO] [stdout]     |       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_light4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `top_inside` is never read
[INFO] [stdout]    --> src/main.rs:190:3
[INFO] [stdout]     |
[INFO] [stdout] 190 |   top_inside.transform = Matrix::translate(-0.75, 1.0, 0.5) * Matrix::scale_linear(0.5);
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `top_inside` is never read
[INFO] [stdout]    --> src/main.rs:204:3
[INFO] [stdout]     |
[INFO] [stdout] 204 |   top_inside.material = mtopi;
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 1 previous error; 32 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1", kill_on_drop: false }`
[INFO] [stdout] 9190ed966804b74931ad97c9b28b224adae2026d04102012d2517eb366a86fd1
