[INFO] cloning repository https://github.com/3Hren/photon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/3Hren/photon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3Hren%2Fphoton", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3Hren%2Fphoton'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b54c1bc3b49c66d2dc5fb678ef62ca7d248e620d
[INFO] checking 3Hren/photon against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3Hren%2Fphoton" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/3Hren/photon
[INFO] finished tweaking git repo https://github.com/3Hren/photon
[INFO] tweaked toml for git repo https://github.com/3Hren/photon written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/3Hren/photon on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/3Hren/photon 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2972ccd0ddd29a6d8615f8c501b65fa056e731a568303ff4fc86734af8e64d6a
[INFO] running `Command { std: "docker" "start" "2972ccd0ddd29a6d8615f8c501b65fa056e731a568303ff4fc86734af8e64d6a", 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" "2972ccd0ddd29a6d8615f8c501b65fa056e731a568303ff4fc86734af8e64d6a" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2972ccd0ddd29a6d8615f8c501b65fa056e731a568303ff4fc86734af8e64d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2972ccd0ddd29a6d8615f8c501b65fa056e731a568303ff4fc86734af8e64d6a" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]     Checking libc v0.2.33
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]     Checking num-traits v0.2.6
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling sdl2-sys v0.32.5
[INFO] [stderr]     Checking num-integer v0.1.39
[INFO] [stderr]     Checking num-traits v0.1.40
[INFO] [stderr]     Checking adler32 v1.0.2
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking arrayvec v0.4.10
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking bitflags v1.0.1
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.3
[INFO] [stderr]     Checking rand_chacha v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking num_cpus v1.7.0
[INFO] [stderr]     Checking rand_os v0.1.2
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking rayon-core v1.4.1
[INFO] [stderr]     Checking color_quant v1.0.0
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking num-rational v0.2.1
[INFO] [stderr]     Checking num-iter v0.1.34
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking num v0.1.40
[INFO] [stderr]     Checking deflate v0.7.17
[INFO] [stderr]     Checking either v1.4.0
[INFO] [stderr]     Checking itoa v0.3.4
[INFO] [stderr]     Checking serde v1.0.21
[INFO] [stderr]     Checking dtoa v0.4.2
[INFO] [stderr]     Checking safe-transmute v0.10.1
[INFO] [stderr]     Checking rayon v0.8.2
[INFO] [stderr]     Checking c_vec v1.3.2
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]     Checking scoped_threadpool v0.1.8
[INFO] [stderr]     Checking png v0.14.0
[INFO] [stderr]    Compiling syn v0.15.27
[INFO] [stderr]    Compiling serde_derive_internals v0.17.0
[INFO] [stderr]     Checking rayon v1.0.3
[INFO] [stderr]     Checking sdl2 v0.32.1
[INFO] [stderr]    Compiling serde_derive v1.0.21
[INFO] [stderr]     Checking jpeg-decoder v0.1.13
[INFO] [stderr]     Checking serde_json v1.0.6
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]     Checking tiff v0.2.2
[INFO] [stderr]     Checking image v0.21.0
[INFO] [stderr]     Checking photon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ImageBuffer` and `ImageRgb8`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use image::{ImageBuffer, ImageRgb8, Pixel, Rgb};
[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: `mouse::Cursor`
[INFO] [stdout]   --> src/main.rs:15:73
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sdl2::{event::Event, gfx::framerate::FPSManager, keyboard::Keycode, mouse::Cursor};
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Triangle`
[INFO] [stdout]  --> src/geometry/mod.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     mesh::{Mesh, Triangle},
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AddAssign`
[INFO] [stdout]  --> src/matrix.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Mul};
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(range_contains)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |     lights: Vec<Box<Light + Sync>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 77 |     lights: Vec<Box<dyn Light + Sync>>,
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:78:28
[INFO] [stdout]    |
[INFO] [stdout] 78 |     objects: Vec<Model<Box<Geometry + Sync>>>,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     objects: Vec<Model<Box<dyn Geometry + Sync>>>,
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/geometry/mesh.rs:103:62
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub fn load<P: AsRef<Path>>(path: P) -> Result<Self, Box<Error>> {
[INFO] [stdout]     |                                                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub fn load<P: AsRef<Path>>(path: P) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]     |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:94:63
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn load<P: AsRef<Path>>(path: &P) -> Result<Self, Box<Error>> {
[INFO] [stdout]    |                                                               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn load<P: AsRef<Path>>(path: &P) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:180:74
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn closest_intersection(&self, ray: &Ray<f64>) -> Option<(&Model<Box<Geometry + Sync>>, Intersection)> {
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn closest_intersection(&self, ray: &Ray<f64>) -> Option<(&Model<Box<dyn Geometry + Sync>>, Intersection)> {
[INFO] [stdout]     |                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:110:45
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     Box::new(sphere) as Box<Geometry + Sync>
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     Box::new(sphere) as Box<dyn Geometry + Sync>
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:114:44
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     Box::new(plane) as Box<Geometry + Sync>
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     Box::new(plane) as Box<dyn Geometry + Sync>
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:122:43
[INFO] [stdout]     |
[INFO] [stdout] 122 |                     Box::new(mesh) as Box<Geometry + Sync>
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 122 |                     Box::new(mesh) as Box<dyn Geometry + Sync>
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageBuffer` and `ImageRgb8`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use image::{ImageBuffer, ImageRgb8, Pixel, Rgb};
[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: `mouse::Cursor`
[INFO] [stdout]   --> src/main.rs:15:73
[INFO] [stdout]    |
[INFO] [stdout] 15 | use sdl2::{event::Event, gfx::framerate::FPSManager, keyboard::Keycode, mouse::Cursor};
[INFO] [stdout]    |                                                                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Triangle`
[INFO] [stdout]  --> src/geometry/mod.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     mesh::{Mesh, Triangle},
[INFO] [stdout]   |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AddAssign`
[INFO] [stdout]  --> src/matrix.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Mul};
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(range_contains)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |     lights: Vec<Box<Light + Sync>>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 77 |     lights: Vec<Box<dyn Light + Sync>>,
[INFO] [stdout]    |                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:78:28
[INFO] [stdout]    |
[INFO] [stdout] 78 |     objects: Vec<Model<Box<Geometry + Sync>>>,
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 78 |     objects: Vec<Model<Box<dyn Geometry + Sync>>>,
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/geometry/mesh.rs:103:62
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub fn load<P: AsRef<Path>>(path: P) -> Result<Self, Box<Error>> {
[INFO] [stdout]     |                                                              ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 103 |     pub fn load<P: AsRef<Path>>(path: P) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]     |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:94:63
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn load<P: AsRef<Path>>(path: &P) -> Result<Self, Box<Error>> {
[INFO] [stdout]    |                                                               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn load<P: AsRef<Path>>(path: &P) -> Result<Self, Box<dyn Error>> {
[INFO] [stdout]    |                                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/matrix.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     let mut v = out.0[i][j] + self.0[i][k] * o.0[k][j];
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:180:74
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn closest_intersection(&self, ray: &Ray<f64>) -> Option<(&Model<Box<Geometry + Sync>>, Intersection)> {
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 180 |     fn closest_intersection(&self, ray: &Ray<f64>) -> Option<(&Model<Box<dyn Geometry + Sync>>, Intersection)> {
[INFO] [stdout]     |                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:330:61
[INFO] [stdout]     |
[INFO] [stdout] 330 |             buf.par_chunks_mut(4).enumerate().for_each(|(n, mut c)| {
[INFO] [stdout]     |                                                             ----^
[INFO] [stdout]     |                                                             |
[INFO] [stdout]     |                                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rot_z`
[INFO] [stdout]    --> src/main.rs:313:25
[INFO] [stdout]     |
[INFO] [stdout] 313 |                     let rot_z = Matrix4x4::new([
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_rot_z`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Copy, Clone, Debug, Deserialize)]
[INFO] [stdout]    |                              -^^^^^^^^^^
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `Material` is not local
[INFO] [stdout]    |                              `Deserialize` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Material`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/geometry/plane.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Copy, Clone, Debug, Deserialize, Serialize)]
[INFO] [stdout]    |                              -^^^^^^^^^^
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `Plane` is not local
[INFO] [stdout]    |                              `Deserialize` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Plane`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/geometry/plane.rs:10:43
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Copy, Clone, Debug, Deserialize, Serialize)]
[INFO] [stdout]    |                                           ^^^^^^^^^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `Plane` is not local
[INFO] [stdout]    |                                           `Serialize` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Plane`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/geometry/sphere.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Copy, Clone, Debug, Deserialize)]
[INFO] [stdout]   |                              -^^^^^^^^^^
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `Sphere` is not local
[INFO] [stdout]   |                              `Deserialize` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Sphere`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/matrix.rs:7:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                       -^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       `Matrix4x4` is not local
[INFO] [stdout]   |                                       `Deserialize` is not local
[INFO] [stdout]   |                                       move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Matrix4x4`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/matrix.rs:7:63
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                                               -^^^^^^^^
[INFO] [stdout]   |                                                               |
[INFO] [stdout]   |                                                               `Matrix4x4` is not local
[INFO] [stdout]   |                                                               `Serialize` is not local
[INFO] [stdout]   |                                                               move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Matrix4x4`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/vec3.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                       -^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       `Vec3` is not local
[INFO] [stdout]   |                                       `Deserialize` is not local
[INFO] [stdout]   |                                       move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Vec3`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/vec3.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                                               -^^^^^^^^
[INFO] [stdout]   |                                                               |
[INFO] [stdout]   |                                                               `Vec3` is not local
[INFO] [stdout]   |                                                               `Serialize` is not local
[INFO] [stdout]   |                                                               move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Vec3`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/vec4.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                       -^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       `Vec4` is not local
[INFO] [stdout]   |                                       `Deserialize` is not local
[INFO] [stdout]   |                                       move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Vec4`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/vec4.rs:5:63
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                                               -^^^^^^^^
[INFO] [stdout]   |                                                               |
[INFO] [stdout]   |                                                               `Vec4` is not local
[INFO] [stdout]   |                                                               `Serialize` is not local
[INFO] [stdout]   |                                                               move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Vec4`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:110:45
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     Box::new(sphere) as Box<Geometry + Sync>
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     Box::new(sphere) as Box<dyn Geometry + Sync>
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:114:44
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     Box::new(plane) as Box<Geometry + Sync>
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 114 |                     Box::new(plane) as Box<dyn Geometry + Sync>
[INFO] [stdout]     |                                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/main.rs:122:43
[INFO] [stdout]     |
[INFO] [stdout] 122 |                     Box::new(mesh) as Box<Geometry + Sync>
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 122 |                     Box::new(mesh) as Box<dyn Geometry + Sync>
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/matrix.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     let mut v = out.0[i][j] + self.0[i][k] * o.0[k][j];
[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/main.rs:330:61
[INFO] [stdout]     |
[INFO] [stdout] 330 |             buf.par_chunks_mut(4).enumerate().for_each(|(n, mut c)| {
[INFO] [stdout]     |                                                             ----^
[INFO] [stdout]     |                                                             |
[INFO] [stdout]     |                                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rot_z`
[INFO] [stdout]    --> src/main.rs:313:25
[INFO] [stdout]     |
[INFO] [stdout] 313 |                     let rot_z = Matrix4x4::new([
[INFO] [stdout]     |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_rot_z`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/main.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Copy, Clone, Debug, Deserialize)]
[INFO] [stdout]    |                              -^^^^^^^^^^
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `Material` is not local
[INFO] [stdout]    |                              `Deserialize` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Material`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/geometry/plane.rs:10:30
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Copy, Clone, Debug, Deserialize, Serialize)]
[INFO] [stdout]    |                              -^^^^^^^^^^
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              `Plane` is not local
[INFO] [stdout]    |                              `Deserialize` is not local
[INFO] [stdout]    |                              move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Plane`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/geometry/plane.rs:10:43
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Copy, Clone, Debug, Deserialize, Serialize)]
[INFO] [stdout]    |                                           ^^^^^^^^^
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `Plane` is not local
[INFO] [stdout]    |                                           `Serialize` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Plane`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/geometry/sphere.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Copy, Clone, Debug, Deserialize)]
[INFO] [stdout]   |                              -^^^^^^^^^^
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `Sphere` is not local
[INFO] [stdout]   |                              `Deserialize` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Sphere`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/matrix.rs:7:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                       -^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       `Matrix4x4` is not local
[INFO] [stdout]   |                                       `Deserialize` is not local
[INFO] [stdout]   |                                       move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Matrix4x4`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/matrix.rs:7:63
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                                               -^^^^^^^^
[INFO] [stdout]   |                                                               |
[INFO] [stdout]   |                                                               `Matrix4x4` is not local
[INFO] [stdout]   |                                                               `Serialize` is not local
[INFO] [stdout]   |                                                               move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Matrix4x4`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/vec3.rs:3:39
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                       -^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       `Vec3` is not local
[INFO] [stdout]   |                                       `Deserialize` is not local
[INFO] [stdout]   |                                       move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Vec3`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/vec3.rs:3:63
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                                               -^^^^^^^^
[INFO] [stdout]   |                                                               |
[INFO] [stdout]   |                                                               `Vec3` is not local
[INFO] [stdout]   |                                                               `Serialize` is not local
[INFO] [stdout]   |                                                               move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Vec3`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/vec4.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                       -^^^^^^^^^^
[INFO] [stdout]   |                                       |
[INFO] [stdout]   |                                       `Vec4` is not local
[INFO] [stdout]   |                                       `Deserialize` is not local
[INFO] [stdout]   |                                       move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Vec4`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/vec4.rs:5:63
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Copy, Clone, Debug, Default, Deserialize, PartialEq, Serialize)]
[INFO] [stdout]   |                                                               -^^^^^^^^
[INFO] [stdout]   |                                                               |
[INFO] [stdout]   |                                                               `Vec4` is not local
[INFO] [stdout]   |                                                               `Serialize` is not local
[INFO] [stdout]   |                                                               move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Vec4`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.58s
[INFO] running `Command { std: "docker" "inspect" "2972ccd0ddd29a6d8615f8c501b65fa056e731a568303ff4fc86734af8e64d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2972ccd0ddd29a6d8615f8c501b65fa056e731a568303ff4fc86734af8e64d6a", kill_on_drop: false }`
[INFO] [stdout] 2972ccd0ddd29a6d8615f8c501b65fa056e731a568303ff4fc86734af8e64d6a
