[INFO] cloning repository https://github.com/themasch/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/themasch/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemasch%2Frust-raytracer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemasch%2Frust-raytracer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5681da3100688014598113a96e0f42d032d84a56
[INFO] testing themasch/rust-raytracer against beta-2023-10-04 for beta-1.74-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthemasch%2Frust-raytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/themasch/rust-raytracer on toolchain beta-2023-10-04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/themasch/rust-raytracer
[INFO] finished tweaking git repo https://github.com/themasch/rust-raytracer
[INFO] tweaked toml for git repo https://github.com/themasch/rust-raytracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/themasch/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-10-04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bec494e16e0c3e23f64b75293144abad5d53cf807fc67dccd35731535a95c008
[INFO] running `Command { std: "docker" "start" "-a" "bec494e16e0c3e23f64b75293144abad5d53cf807fc67dccd35731535a95c008", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bec494e16e0c3e23f64b75293144abad5d53cf807fc67dccd35731535a95c008", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bec494e16e0c3e23f64b75293144abad5d53cf807fc67dccd35731535a95c008", kill_on_drop: false }`
[INFO] [stdout] bec494e16e0c3e23f64b75293144abad5d53cf807fc67dccd35731535a95c008
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 722afd26aee0a8f8c8e306321641a8fdfd94431ff8b4e0336d3ca67aa60a419b
[INFO] running `Command { std: "docker" "start" "-a" "722afd26aee0a8f8c8e306321641a8fdfd94431ff8b4e0336d3ca67aa60a419b", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.5
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling cfg-if v0.1.9
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling arrayvec v0.4.11
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling rayon-core v1.5.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling memoffset v0.5.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling adler32 v1.0.3
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.2
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling crossbeam-deque v0.6.3
[INFO] [stderr]    Compiling cgmath v0.17.0
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling inflate v0.2.0
[INFO] [stderr]    Compiling gif v0.9.2
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling enum_primitive v0.1.1
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling rayon v1.1.0
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling wavefront_obj v5.1.0
[INFO] [stderr]    Compiling png v0.9.0
[INFO] [stderr]    Compiling assert_approx_eq v1.1.0
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling image v0.15.0
[INFO] [stderr]    Compiling raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Vector3`
[INFO] [stdout]  --> src/objects/mod.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cgmath::{Quaternion, Vector3};
[INFO] [stdout]   |                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sphere`
[INFO] [stdout]  --> src/objects/mesh.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use objects::{Sphere, Structure, TextureCoords, WorldPosition};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RayType`
[INFO] [stdout]  --> src/objects/mesh.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use raycast::{Intersection, Ray, RayType};
[INFO] [stdout]   |                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max`, `min`
[INFO] [stdout]  --> src/objects/mesh.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scale`
[INFO] [stdout]  --> src/objects/mesh.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use types::{Direction, Point, Scale};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/objects/mesh.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let w = (1.0 - u - v);
[INFO] [stdout]     |                     ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -             let w = (1.0 - u - v);
[INFO] [stdout] 106 +             let w = 1.0 - u - v;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Material`, `SurfaceType`
[INFO] [stdout]  --> src/objects/plane.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use objects::{Material, Structure, SurfaceType, TextureCoords, WorldPosition};
[INFO] [stdout]   |               ^^^^^^^^             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color`, `Scale`
[INFO] [stdout]  --> src/objects/plane.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use types::{Color, Direction, Point, Scale};
[INFO] [stdout]   |             ^^^^^                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scale`
[INFO] [stdout]  --> src/objects/sphere.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use types::{Direction, Point, Scale};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/render.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 93 +         sample(x - 0.25, (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:93:28
[INFO] [stdout]    |
[INFO] [stdout] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 93 +         sample((x - 0.25), y - 0.25, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 94 +         sample(x + 0.25, (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 94 +         sample((x + 0.25), y - 0.25, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 95 +         sample(x - 0.25, (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 95 +         sample((x - 0.25), y + 0.25, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 96 +         sample(x + 0.25, (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 96 +         sample((x + 0.25), y + 0.25, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout] 97 +         sample(x, (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                     ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout] 97 +         sample((x), y, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sphere`
[INFO] [stdout]   --> src/main.rs:23:53
[INFO] [stdout]    |
[INFO] [stdout] 23 | use objects::{Material, Mesh, ObjectBuilder, Plane, Sphere};
[INFO] [stdout]    |                                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/objects/mod.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |     structure: Box<Structure + Send + Sync>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     structure: Box<dyn Structure + Send + Sync>,
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cgmath::prelude`
[INFO] [stdout]  --> src/objects/quad.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cgmath::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmin`
[INFO] [stdout]   --> src/objects/quad.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmax`
[INFO] [stdout]   --> src/objects/quad.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tymin`
[INFO] [stdout]   --> src/objects/quad.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tymax`
[INFO] [stdout]   --> src/objects/quad.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmin`
[INFO] [stdout]   --> src/objects/quad.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let tmin = tymin;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmax`
[INFO] [stdout]   --> src/objects/quad.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let tmax = tymax;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzmin`
[INFO] [stdout]   --> src/objects/quad.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzmax`
[INFO] [stdout]   --> src/objects/quad.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_coordinates`
[INFO] [stdout]    --> src/objects/mod.rs:138:31
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn reflectivity_at(&self, texture_coordinates: TextureCoords) -> Option<f32> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_coordinates`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]   --> src/raycast.rs:63:41
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn create_prime(x: f64, y: f64, scene: &Scene, camera: &Camera) -> Ray {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/render.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let start = Instant::now();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Texture` is never constructed
[INFO] [stdout]   --> src/objects/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Coloration {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 31 |     Color(Color),
[INFO] [stdout] 32 |     Texture(DynamicImage),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Coloration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `diffuse_texture` are never used
[INFO] [stdout]   --> src/objects/mod.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Material {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 68 |     pub fn new(color: Coloration, albedo: f32) -> Material {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn diffuse_texture(image: DynamicImage, albedo: f32) -> Material {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mesh` is never read
[INFO] [stdout]    --> src/objects/mesh.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 161 |     mesh: obj::Object,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Quad` is never constructed
[INFO] [stdout]  --> src/objects/quad.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Quad {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `intersects` is never used
[INFO] [stdout]   --> src/objects/quad.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Quad {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     pub fn intersects(&self, ray: &Ray, position: &WorldPosition) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `create` is never used
[INFO] [stdout]   --> src/objects/sphere.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Sphere {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 13 |     pub fn create(radius: f64) -> Sphere {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hit_point` is never used
[INFO] [stdout]    --> src/raycast.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl IntersectionResult {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn hit_point(&self) -> &Point {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.39s
[INFO] running `Command { std: "docker" "inspect" "722afd26aee0a8f8c8e306321641a8fdfd94431ff8b4e0336d3ca67aa60a419b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "722afd26aee0a8f8c8e306321641a8fdfd94431ff8b4e0336d3ca67aa60a419b", kill_on_drop: false }`
[INFO] [stdout] 722afd26aee0a8f8c8e306321641a8fdfd94431ff8b4e0336d3ca67aa60a419b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c75e7430a57f6b91594365dccc17026637dae1fdac57b4f42987d8e3caa3a9a
[INFO] running `Command { std: "docker" "start" "-a" "8c75e7430a57f6b91594365dccc17026637dae1fdac57b4f42987d8e3caa3a9a", kill_on_drop: false }`
[INFO] [stderr]    Compiling raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Vector3`
[INFO] [stdout]  --> src/objects/mod.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use cgmath::{Quaternion, Vector3};
[INFO] [stdout]   |                          ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sphere`
[INFO] [stdout]  --> src/objects/mesh.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use objects::{Sphere, Structure, TextureCoords, WorldPosition};
[INFO] [stdout]   |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RayType`
[INFO] [stdout]  --> src/objects/mesh.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use raycast::{Intersection, Ray, RayType};
[INFO] [stdout]   |                                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max`, `min`
[INFO] [stdout]  --> src/objects/mesh.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::cmp::{max, min};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scale`
[INFO] [stdout]  --> src/objects/mesh.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use types::{Direction, Point, Scale};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/objects/mesh.rs:106:21
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let w = (1.0 - u - v);
[INFO] [stdout]     |                     ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -             let w = (1.0 - u - v);
[INFO] [stdout] 106 +             let w = 1.0 - u - v;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Material`, `SurfaceType`
[INFO] [stdout]  --> src/objects/plane.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use objects::{Material, Structure, SurfaceType, TextureCoords, WorldPosition};
[INFO] [stdout]   |               ^^^^^^^^             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Color`, `Scale`
[INFO] [stdout]  --> src/objects/plane.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use types::{Color, Direction, Point, Scale};
[INFO] [stdout]   |             ^^^^^                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Scale`
[INFO] [stdout]  --> src/objects/sphere.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use types::{Direction, Point, Scale};
[INFO] [stdout]   |                               ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/render.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 93 +         sample(x - 0.25, (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:93:28
[INFO] [stdout]    |
[INFO] [stdout] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 93 +         sample((x - 0.25), y - 0.25, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 94 +         sample(x + 0.25, (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 94 +         sample((x + 0.25), y - 0.25, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 95 +         sample(x - 0.25, (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:95:28
[INFO] [stdout]    |
[INFO] [stdout] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 95 +         sample((x - 0.25), y + 0.25, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 96 +         sample(x + 0.25, (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:96:28
[INFO] [stdout]    |
[INFO] [stdout] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                            ^        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stdout] 96 +         sample((x + 0.25), y + 0.25, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:97:16
[INFO] [stdout]    |
[INFO] [stdout] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout] 97 +         sample(x, (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/render.rs:97:21
[INFO] [stdout]    |
[INFO] [stdout] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout]    |                     ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stdout] 97 +         sample((x), y, scene, camera).unwrap_or(black),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sphere`
[INFO] [stdout]   --> src/main.rs:23:53
[INFO] [stdout]    |
[INFO] [stdout] 23 | use objects::{Material, Mesh, ObjectBuilder, Plane, Sphere};
[INFO] [stdout]    |                                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/objects/mod.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 |     structure: Box<Structure + Send + Sync>,
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |     structure: Box<dyn Structure + Send + Sync>,
[INFO] [stdout]     |                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `cgmath::prelude`
[INFO] [stdout]  --> src/objects/quad.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use cgmath::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmin`
[INFO] [stdout]   --> src/objects/quad.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmax`
[INFO] [stdout]   --> src/objects/quad.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tymin`
[INFO] [stdout]   --> src/objects/quad.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tymax`
[INFO] [stdout]   --> src/objects/quad.rs:26:25
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmin`
[INFO] [stdout]   --> src/objects/quad.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 34 |             let tmin = tymin;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tmax`
[INFO] [stdout]   --> src/objects/quad.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |             let tmax = tymax;
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzmin`
[INFO] [stdout]   --> src/objects/quad.rs:45:18
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stdout]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tzmax`
[INFO] [stdout]   --> src/objects/quad.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_coordinates`
[INFO] [stdout]    --> src/objects/mod.rs:138:31
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn reflectivity_at(&self, texture_coordinates: TextureCoords) -> Option<f32> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_coordinates`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scene`
[INFO] [stdout]   --> src/raycast.rs:63:41
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn create_prime(x: f64, y: f64, scene: &Scene, camera: &Camera) -> Ray {
[INFO] [stdout]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> src/render.rs:126:17
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let start = Instant::now();
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Texture` is never constructed
[INFO] [stdout]   --> src/objects/mod.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum Coloration {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 31 |     Color(Color),
[INFO] [stdout] 32 |     Texture(DynamicImage),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Coloration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `diffuse_texture` are never used
[INFO] [stdout]   --> src/objects/mod.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Material {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] 68 |     pub fn new(color: Coloration, albedo: f32) -> Material {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 92 |     pub fn diffuse_texture(image: DynamicImage, albedo: f32) -> Material {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `mesh` is never read
[INFO] [stdout]    --> src/objects/mesh.rs:161:5
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct Mesh {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] 161 |     mesh: obj::Object,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Quad` is never constructed
[INFO] [stdout]  --> src/objects/quad.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Quad {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `intersects` is never used
[INFO] [stdout]   --> src/objects/quad.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Quad {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 11 |     pub fn intersects(&self, ray: &Ray, position: &WorldPosition) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hit_point` is never used
[INFO] [stdout]    --> src/raycast.rs:180:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl IntersectionResult {
[INFO] [stdout]     | ----------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub fn hit_point(&self) -> &Point {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 40 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "8c75e7430a57f6b91594365dccc17026637dae1fdac57b4f42987d8e3caa3a9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c75e7430a57f6b91594365dccc17026637dae1fdac57b4f42987d8e3caa3a9a", kill_on_drop: false }`
[INFO] [stdout] 8c75e7430a57f6b91594365dccc17026637dae1fdac57b4f42987d8e3caa3a9a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-10-04" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3fed51c82f5ff4163c7e02cb50e7522056dbfaa1a22854783c5839a50affe9ec
[INFO] running `Command { std: "docker" "start" "-a" "3fed51c82f5ff4163c7e02cb50e7522056dbfaa1a22854783c5839a50affe9ec", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Vector3`
[INFO] [stderr]  --> src/objects/mod.rs:2:26
[INFO] [stderr]   |
[INFO] [stderr] 2 | use cgmath::{Quaternion, Vector3};
[INFO] [stderr]   |                          ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Sphere`
[INFO] [stderr]  --> src/objects/mesh.rs:2:15
[INFO] [stderr]   |
[INFO] [stderr] 2 | use objects::{Sphere, Structure, TextureCoords, WorldPosition};
[INFO] [stderr]   |               ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `RayType`
[INFO] [stderr]  --> src/objects/mesh.rs:3:34
[INFO] [stderr]   |
[INFO] [stderr] 3 | use raycast::{Intersection, Ray, RayType};
[INFO] [stderr]   |                                  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `max`, `min`
[INFO] [stderr]  --> src/objects/mesh.rs:4:16
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::cmp::{max, min};
[INFO] [stderr]   |                ^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Scale`
[INFO] [stderr]  --> src/objects/mesh.rs:5:31
[INFO] [stderr]   |
[INFO] [stderr] 5 | use types::{Direction, Point, Scale};
[INFO] [stderr]   |                               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/objects/mesh.rs:106:21
[INFO] [stderr]     |
[INFO] [stderr] 106 |             let w = (1.0 - u - v);
[INFO] [stderr]     |                     ^           ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 106 -             let w = (1.0 - u - v);
[INFO] [stderr] 106 +             let w = 1.0 - u - v;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Material`, `SurfaceType`
[INFO] [stderr]  --> src/objects/plane.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 | use objects::{Material, Structure, SurfaceType, TextureCoords, WorldPosition};
[INFO] [stderr]   |               ^^^^^^^^             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Color`, `Scale`
[INFO] [stderr]  --> src/objects/plane.rs:5:13
[INFO] [stderr]   |
[INFO] [stderr] 5 | use types::{Color, Direction, Point, Scale};
[INFO] [stderr]   |             ^^^^^                    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Scale`
[INFO] [stderr]  --> src/objects/sphere.rs:4:31
[INFO] [stderr]   |
[INFO] [stderr] 4 | use types::{Direction, Point, Scale};
[INFO] [stderr]   |                               ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Duration`
[INFO] [stderr]   --> src/render.rs:14:17
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::time::{Duration, Instant};
[INFO] [stderr]    |                 ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:93:16
[INFO] [stderr]    |
[INFO] [stderr] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr] 93 +         sample(x - 0.25, (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:93:28
[INFO] [stderr]    |
[INFO] [stderr] 93 |         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                            ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 93 -         sample((x - 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr] 93 +         sample((x - 0.25), y - 0.25, scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stdout] 
[INFO] [stderr]   --> src/render.rs:94:16
[INFO] [stdout] running 1 test
[INFO] [stderr]    |
[INFO] [stderr] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr] 94 +         sample(x + 0.25, (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:94:28
[INFO] [stderr]    |
[INFO] [stderr] 94 |         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                            ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 94 -         sample((x + 0.25), (y - 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr] 94 +         sample((x + 0.25), y - 0.25, scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:95:16
[INFO] [stderr]    |
[INFO] [stderr] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr] 95 +         sample(x - 0.25, (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:95:28
[INFO] [stderr]    |
[INFO] [stderr] 95 |         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                            ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 95 -         sample((x - 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr] 95 +         sample((x - 0.25), y + 0.25, scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:96:16
[INFO] [stderr]    |
[INFO] [stderr] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr] 96 +         sample(x + 0.25, (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:96:28
[INFO] [stderr]    |
[INFO] [stderr] 96 |         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                            ^        ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 96 -         sample((x + 0.25), (y + 0.25), scene, camera).unwrap_or(black),
[INFO] [stderr] 96 +         sample((x + 0.25), y + 0.25, scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:97:16
[INFO] [stderr]    |
[INFO] [stderr] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                ^ ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stderr] 97 +         sample(x, (y), scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/render.rs:97:21
[INFO] [stderr]    |
[INFO] [stderr] 97 |         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stderr]    |                     ^ ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 97 -         sample((x), (y), scene, camera).unwrap_or(black),
[INFO] [stderr] 97 +         sample((x), y, scene, camera).unwrap_or(black),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Sphere`
[INFO] [stderr]   --> src/main.rs:23:53
[INFO] [stderr]    |
[INFO] [stderr] 23 | use objects::{Material, Mesh, ObjectBuilder, Plane, Sphere};
[INFO] [stderr]    |                                                     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/objects/mod.rs:121:20
[INFO] [stderr]     |
[INFO] [stderr] 121 |     structure: Box<Structure + Send + Sync>,
[INFO] [stderr]     |                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 121 |     structure: Box<dyn Structure + Send + Sync>,
[INFO] [stderr]     |                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `cgmath::prelude`
[INFO] [stderr]  --> src/objects/quad.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use cgmath::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tmin`
[INFO] [stderr]   --> src/objects/quad.rs:19:18
[INFO] [stderr]    |
[INFO] [stderr] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stderr]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tmax`
[INFO] [stderr]   --> src/objects/quad.rs:19:24
[INFO] [stderr]    |
[INFO] [stderr] 19 |             let (tmin, tmax) = (tmax, tmin);
[INFO] [stderr]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tymin`
[INFO] [stderr]   --> src/objects/quad.rs:26:18
[INFO] [stderr]    |
[INFO] [stderr] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stderr]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tymax`
[INFO] [stderr]   --> src/objects/quad.rs:26:25
[INFO] [stderr]    |
[INFO] [stderr] 26 |             let (tymin, tymax) = (tymax, tymin);
[INFO] [stderr]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tymax`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tmin`
[INFO] [stderr]   --> src/objects/quad.rs:34:17
[INFO] [stderr]    |
[INFO] [stderr] 34 |             let tmin = tymin;
[INFO] [stderr]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tmax`
[INFO] [stderr]   --> src/objects/quad.rs:38:17
[INFO] [stderr]    |
[INFO] [stderr] 38 |             let tmax = tymax;
[INFO] [stderr]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tzmin`
[INFO] [stderr]   --> src/objects/quad.rs:45:18
[INFO] [stderr]    |
[INFO] [stderr] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stderr]    |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tzmax`
[INFO] [stderr]   --> src/objects/quad.rs:45:25
[INFO] [stderr]    |
[INFO] [stderr] 45 |             let (tzmin, tzmax) = (tzmax, tzmin);
[INFO] [stderr]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_tzmax`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `texture_coordinates`
[INFO] [stderr]    --> src/objects/mod.rs:138:31
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn reflectivity_at(&self, texture_coordinates: TextureCoords) -> Option<f32> {
[INFO] [stderr]     |                               ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_coordinates`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `scene`
[INFO] [stderr]   --> src/raycast.rs:63:41
[INFO] [stderr]    |
[INFO] [stderr] 63 |     pub fn create_prime(x: f64, y: f64, scene: &Scene, camera: &Camera) -> Ray {
[INFO] [stderr]    |                                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr]    --> src/render.rs:126:17
[INFO] [stderr]     |
[INFO] [stderr] 126 |             let start = Instant::now();
[INFO] [stderr]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `Texture` is never constructed
[INFO] [stderr]   --> src/objects/mod.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub enum Coloration {
[INFO] [stderr]    |          ---------- variant in this enum
[INFO] [stderr] 31 |     Color(Color),
[INFO] [stderr] 32 |     Texture(DynamicImage),
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Coloration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `new` and `diffuse_texture` are never used
[INFO] [stderr]   --> src/objects/mod.rs:68:12
[INFO] [stderr]    |
[INFO] [stderr] 67 | impl Material {
[INFO] [stderr]    | ------------- associated functions in this implementation
[INFO] [stderr] 68 |     pub fn new(color: Coloration, albedo: f32) -> Material {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 92 |     pub fn diffuse_texture(image: DynamicImage, albedo: f32) -> Material {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `mesh` is never read
[INFO] [stderr]    --> src/objects/mesh.rs:161:5
[INFO] [stderr]     |
[INFO] [stderr] 160 | pub struct Mesh {
[INFO] [stderr]     |            ---- field in this struct
[INFO] [stderr] 161 |     mesh: obj::Object,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Quad` is never constructed
[INFO] [stderr]  --> src/objects/quad.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct Quad {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `intersects` is never used
[INFO] [stderr]   --> src/objects/quad.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | impl Quad {
[INFO] [stderr]    | --------- method in this implementation
[INFO] [stderr] 11 |     pub fn intersects(&self, ray: &Ray, position: &WorldPosition) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `hit_point` is never used
[INFO] [stderr]    --> src/raycast.rs:180:12
[INFO] [stderr]     |
[INFO] [stderr] 157 | impl IntersectionResult {
[INFO] [stderr]     | ----------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 180 |     pub fn hit_point(&self) -> &Point {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 40 warnings (run `cargo fix --bin "raytracer" --tests` to apply 33 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytracer-49092bf959de54ac)
[INFO] [stdout] test objects::test::test_create_sphere ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- objects::test::test_create_sphere stdout ----
[INFO] [stdout] thread 'objects::test::test_create_sphere' panicked at src/objects/mod.rs:227:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: WorldPosition { position: Point3 [0.0, 0.0, 0.0], rotation: Quaternion { s: 1.0, v: Vector3 [0.0, 0.0, 0.0] }, scale: 1.0 }
[INFO] [stdout]  right: WorldPosition { position: Point3 [0.0, 0.0, 0.0], rotation: Quaternion { s: 0.0, v: Vector3 [0.0, 0.0, 0.0] }, scale: 1.0 }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55ebd9e6f6bc - std::backtrace_rs::backtrace::libunwind::trace::h4defc72db73cd441
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x55ebd9e6f6bc - std::backtrace_rs::backtrace::trace_unsynchronized::hb1d8a8b488fa82dc
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55ebd9e6f6bc - std::sys_common::backtrace::_print_fmt::h3adc87026f68ef7c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout]    3:     0x55ebd9e6f6bc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hae0f2018b67c9dd2
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x55ebd9e99b5c - core::fmt::rt::Argument::fmt::h0aeca3e83668e143
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/rt.rs:138:9
[INFO] [stdout]    5:     0x55ebd9e99b5c - core::fmt::write::h96bf1b6ef709071f
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/fmt/mod.rs:1114:21
[INFO] [stdout]    6:     0x55ebd9e6c9ee - std::io::Write::write_fmt::hcfdabc06f3bbacfb
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/io/mod.rs:1763:15
[INFO] [stdout]    7:     0x55ebd9e6f4a4 - std::sys_common::backtrace::_print::hd4ef7cdeb67d2ffe
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x55ebd9e6f4a4 - std::sys_common::backtrace::print::hf4a0f6d32c50b08e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x55ebd9e71263 - std::panicking::default_hook::{{closure}}::hf64a6c095f9954ab
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:272:22
[INFO] [stdout]   10:     0x55ebd9e70f07 - std::panicking::default_hook::h81f354a056ffc649
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:289:9
[INFO] [stdout]   11:     0x55ebd9e3f8bc - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h16c22045506fc2d3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   12:     0x55ebd9e3f8bc - test::test_main::{{closure}}::hd8d5b5bb0900d116
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:136:21
[INFO] [stdout]   13:     0x55ebd9e71961 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h2d4fa3dcc7099287
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2021:9
[INFO] [stdout]   14:     0x55ebd9e71961 - std::panicking::rust_panic_with_hook::h1387a687c5711a74
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:735:13
[INFO] [stdout]   15:     0x55ebd9e716e1 - std::panicking::begin_panic_handler::{{closure}}::hf2467c63b8ad7371
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:609:13
[INFO] [stdout]   16:     0x55ebd9e6fbe6 - std::sys_common::backtrace::__rust_end_short_backtrace::h0b678d0f70fbf3ba
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:170:18
[INFO] [stdout]   17:     0x55ebd9e71432 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:597:5
[INFO] [stdout]   18:     0x55ebd9e09555 - core::panicking::panic_fmt::h8398f9bd40a2efcd
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x55ebd9e0987b - core::panicking::assert_failed_inner::h2764bbb56f9308bd
[INFO] [stdout]   20:     0x55ebd9e0a64e - core::panicking::assert_failed::h084aca247fe86735
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panicking.rs:270:5
[INFO] [stdout]   21:     0x55ebd9e0c4a5 - raytracer::objects::test::test_create_sphere::hf9c48e504f986258
[INFO] [stdout]                                at /opt/rustwide/workdir/src/objects/mod.rs:227:9
[INFO] [stdout]   22:     0x55ebd9e0c2c7 - raytracer::objects::test::test_create_sphere::{{closure}}::hcf2b0422ca9a1cac
[INFO] [stdout]                                at /opt/rustwide/workdir/src/objects/mod.rs:218:29
[INFO] [stdout]   23:     0x55ebd9e0a2b6 - core::ops::function::FnOnce::call_once::h1cfe5f509dc99f61
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55ebd9e4494f - core::ops::function::FnOnce::call_once::h643f2128867058a3
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x55ebd9e4494f - test::__rust_begin_short_backtrace::h5ffb0cd5eda0704e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:626:18
[INFO] [stdout]   26:     0x55ebd9e439de - test::run_test_in_process::{{closure}}::h5f3f2c50e89f10f6
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:60
[INFO] [stdout]   27:     0x55ebd9e439de - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hc7bb05d011c94549
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   28:     0x55ebd9e439de - std::panicking::try::do_call::hc2952fe5005bc351
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   29:     0x55ebd9e439de - std::panicking::try::hac512ea76b947046
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   30:     0x55ebd9e439de - std::panic::catch_unwind::h11d3922f3ba31e4b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   31:     0x55ebd9e439de - test::run_test_in_process::h25ad0551c6887d56
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:649:27
[INFO] [stdout]   32:     0x55ebd9e439de - test::run_test::{{closure}}::h52dd364f39118330
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:572:43
[INFO] [stdout]   33:     0x55ebd9e0c933 - test::run_test::{{closure}}::ha452ffb46088765b
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/test/src/lib.rs:600:41
[INFO] [stdout]   34:     0x55ebd9e0c933 - std::sys_common::backtrace::__rust_begin_short_backtrace::he611e39b84a68325
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys_common/backtrace.rs:154:18
[INFO] [stdout]   35:     0x55ebd9e11b6b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h1f6f90a021c1ddc7
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:529:17
[INFO] [stdout]   36:     0x55ebd9e11b6b - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hde337ea7211d438c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   37:     0x55ebd9e11b6b - std::panicking::try::do_call::hd7199cb78d8df0a5
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:504:40
[INFO] [stdout]   38:     0x55ebd9e11b6b - std::panicking::try::hed28d716c8fe6b32
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panicking.rs:468:19
[INFO] [stdout]   39:     0x55ebd9e11b6b - std::panic::catch_unwind::h8ab888e8615782f1
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/panic.rs:142:14
[INFO] [stdout]   40:     0x55ebd9e11b6b - std::thread::Builder::spawn_unchecked_::{{closure}}::h3acf7202ecbb668e
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/thread/mod.rs:528:30
[INFO] [stdout]   41:     0x55ebd9e11b6b - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc15bd9319945b48c
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x55ebd9e75f75 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h9281b5fb2305c571
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   43:     0x55ebd9e75f75 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hae9cb5d464ed2f06
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/alloc/src/boxed.rs:2007:9
[INFO] [stdout]   44:     0x55ebd9e75f75 - std::sys::unix::thread::Thread::new::thread_start::he78e4489414f6551
[INFO] [stdout]                                at /rustc/b5c050febf10c9bcc0459d41fe2a1e190ad30b8d/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f029fba6b43 - <unknown>
[INFO] [stdout]   46:     0x7f029fc37bb4 - __clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     objects::test::test_create_sphere
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin raytracer`
[INFO] running `Command { std: "docker" "inspect" "3fed51c82f5ff4163c7e02cb50e7522056dbfaa1a22854783c5839a50affe9ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fed51c82f5ff4163c7e02cb50e7522056dbfaa1a22854783c5839a50affe9ec", kill_on_drop: false }`
[INFO] [stdout] 3fed51c82f5ff4163c7e02cb50e7522056dbfaa1a22854783c5839a50affe9ec
