[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] building 3Hren/photon against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3Hren%2Fphoton" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/3Hren/photon on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc1/source/Cargo.toml
[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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded png v0.14.0
[INFO] [stderr]   Downloaded rand_core v0.4.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.2.2
[INFO] [stderr]   Downloaded num-iter v0.1.34
[INFO] [stderr]   Downloaded color_quant v1.0.0
[INFO] [stderr]   Downloaded adler32 v1.0.2
[INFO] [stderr]   Downloaded memoffset v0.2.1
[INFO] [stderr]   Downloaded nodrop v0.1.13
[INFO] [stderr]   Downloaded crossbeam-deque v0.2.0
[INFO] [stderr]   Downloaded num-integer v0.1.39
[INFO] [stderr]   Downloaded num-rational v0.2.1
[INFO] [stderr]   Downloaded gif v0.10.1
[INFO] [stderr]   Downloaded dtoa v0.4.2
[INFO] [stderr]   Downloaded rayon v1.0.3
[INFO] [stderr]   Downloaded deflate v0.7.17
[INFO] [stderr]   Downloaded libc v0.2.33
[INFO] [stderr]   Downloaded syn v0.11.11
[INFO] [stderr]   Downloaded proc-macro2 v0.4.27
[INFO] [stderr]   Downloaded winapi v0.3.6
[INFO] [stderr]   Downloaded arrayvec v0.4.10
[INFO] [stderr]   Downloaded crossbeam-epoch v0.3.1
[INFO] [stderr]   Downloaded rayon-core v1.4.1
[INFO] [stderr]   Downloaded lazy_static v1.3.0
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.13
[INFO] [stderr]   Downloaded syn v0.15.27
[INFO] [stderr]   Downloaded serde_derive_internals v0.17.0
[INFO] [stderr]   Downloaded image v0.21.0
[INFO] [stderr]   Downloaded rayon v0.8.2
[INFO] [stderr]   Downloaded either v1.4.0
[INFO] [stderr]   Downloaded serde_json v1.0.6
[INFO] [stderr]   Downloaded sdl2 v0.32.1
[INFO] [stderr]   Downloaded safe-transmute v0.10.1
[INFO] [stderr]   Downloaded serde_derive v1.0.21
[INFO] [stderr]   Downloaded serde v1.0.21
[INFO] [stderr]   Downloaded num_cpus v1.7.0
[INFO] [stderr]   Downloaded scoped_threadpool v0.1.8
[INFO] [stderr]   Downloaded num v0.1.40
[INFO] [stderr]   Downloaded rand_os v0.1.2
[INFO] [stderr]   Downloaded num-derive v0.2.4
[INFO] [stderr]   Downloaded sdl2-sys v0.32.5
[INFO] [stderr]   Downloaded num-traits v0.2.6
[INFO] [stderr]   Downloaded cfg-if v0.1.6
[INFO] [stderr]   Downloaded quote v0.3.15
[INFO] [stderr]   Downloaded num-traits v0.1.40
[INFO] [stderr]   Downloaded byteorder v1.3.1
[INFO] [stderr]   Downloaded quote v0.6.11
[INFO] [stderr]   Downloaded scopeguard v0.3.3
[INFO] [stderr]   Downloaded c_vec v1.3.2
[INFO] [stderr]   Downloaded rand_jitter v0.1.3
[INFO] [stderr]   Downloaded bitflags v1.0.1
[INFO] [stderr]   Downloaded autocfg v0.1.2
[INFO] [stderr]   Downloaded synom v0.11.3
[INFO] [stderr]   Downloaded unicode-xid v0.0.4
[INFO] [stderr]   Downloaded itoa v0.3.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] baf60e2039b16d886b7a9b68f5ffa062e2e5f6d0f8e4060a8f1c87609db19a63
[INFO] running `Command { std: "docker" "start" "-a" "baf60e2039b16d886b7a9b68f5ffa062e2e5f6d0f8e4060a8f1c87609db19a63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "baf60e2039b16d886b7a9b68f5ffa062e2e5f6d0f8e4060a8f1c87609db19a63", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "baf60e2039b16d886b7a9b68f5ffa062e2e5f6d0f8e4060a8f1c87609db19a63", kill_on_drop: false }`
[INFO] [stdout] baf60e2039b16d886b7a9b68f5ffa062e2e5f6d0f8e4060a8f1c87609db19a63
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df7ef8f21a2557738cb31f77172a29983d227a2819537a809cf9d9ab1509b401
[INFO] running `Command { std: "docker" "start" "-a" "df7ef8f21a2557738cb31f77172a29983d227a2819537a809cf9d9ab1509b401", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling libc v0.2.33
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling lazy_static v1.3.0
[INFO] [stderr]    Compiling cfg-if v0.1.6
[INFO] [stderr]    Compiling nodrop v0.1.13
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling num-traits v0.1.40
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling num_cpus v1.7.0
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling adler32 v1.0.2
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]    Compiling sdl2-sys v0.32.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling synom v0.11.3
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling bitflags v1.0.1
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling quote v0.6.11
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling deflate v0.7.17
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling rand_os v0.1.2
[INFO] [stderr]    Compiling syn v0.15.27
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling num-iter v0.1.34
[INFO] [stderr]    Compiling rayon v0.8.2
[INFO] [stderr]    Compiling rand_jitter v0.1.3
[INFO] [stderr]    Compiling color_quant v1.0.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling gif v0.10.1
[INFO] [stderr]    Compiling png v0.14.0
[INFO] [stderr]    Compiling num v0.1.40
[INFO] [stderr]    Compiling c_vec v1.3.2
[INFO] [stderr]    Compiling serde_derive_internals v0.17.0
[INFO] [stderr]    Compiling itoa v0.3.4
[INFO] [stderr]    Compiling serde v1.0.21
[INFO] [stderr]    Compiling dtoa v0.4.2
[INFO] [stderr]    Compiling safe-transmute v0.10.1
[INFO] [stderr]    Compiling either v1.4.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.8
[INFO] [stderr]    Compiling sdl2 v0.32.1
[INFO] [stderr]    Compiling jpeg-decoder v0.1.13
[INFO] [stderr]    Compiling serde_derive v1.0.21
[INFO] [stderr]    Compiling tiff v0.2.2
[INFO] [stderr]    Compiling image v0.21.0
[INFO] [stderr]    Compiling serde_json v1.0.6
[INFO] [stderr]    Compiling 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)]` 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` 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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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/nightly/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)]` on by default
[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)]` 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: 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] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcuUHvt6/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libserde_json-77e002cdad17ffe0.rlib,libdtoa-e30dee1775a8cbd0.rlib,libitoa-d362461a732365dc.rlib,libsdl2-f38e33808de17024.rlib,librand-1c551f4a6ca38231.rlib,librand_xorshift-49191092c9a7e3d3.rlib,librand_pcg-e182906d41cc5f28.rlib,librand_hc-7fd1bd47d9c805bb.rlib,librand_chacha-b851b55b05045264.rlib,librand_isaac-1d0869d1eb9fcd68.rlib,librand_core-8fe08e624a96a1ab.rlib,librand_os-b17c49e614420a03.rlib,librand_jitter-5cd2a1c9b11cf1b3.rlib,librand_core-adf957ad6949b173.rlib,libc_vec-e85751d4f5daedd6.rlib,libsdl2_sys-921114356a40443a.rlib,libnum-a7fbfb5333031172.rlib,libimage-bd1ea7966598860f.rlib,libtiff-c748d9a124eb70ea.rlib,libpng-bd7812231693f788.rlib,libdeflate-06a92cfa3eb4b26d.rlib,libinflate-57bc0c90b4c9d22b.rlib,libadler32-5650bca7feaf0113.rlib,libbitflags-eebc0539d3f0fbb1.rlib,libjpeg_decoder-2b88d48337c59f02.rlib,librayon-3380c42a93f2bd27.rlib,libscoped_threadpool-914e3b101b4d11cd.rlib,libgif-2a62834d623a1313.rlib,libcolor_quant-6106f0f0f8e97621.rlib,libsafe_transmute-455476cd953d34da.rlib,libnum_rational-cb6b9a6569373272.rlib,libnum_iter-392aa19bc48af14b.rlib,libnum_integer-10af50e061005345.rlib,libnum_traits-ee9a6dd622e49994.rlib,libnum_traits-88318908f6eb7038.rlib,liblzw-3acedc7f455d0fa6.rlib,libbyteorder-d7c8c719000228f1.rlib,libserde-ef2120ceaa7b6552.rlib,librayon-7dad8da447e733b4.rlib,libeither-d62440afa1eb09ea.rlib,librayon_core-a230ef9dfb7a07f7.rlib,libnum_cpus-b523cb2fdfeba895.rlib,liblibc-d685c1660048cdf6.rlib,libcrossbeam_deque-e357a3dd92a28e97.rlib,libcrossbeam_epoch-66f9a9085cfa8793.rlib,libscopeguard-b47b2e538c6ee228.rlib,libmemoffset-584c5e2728649446.rlib,liblazy_static-1ff9d6a24962ff87.rlib,libcrossbeam_utils-7953ea7e3cdf3286.rlib,libcfg_if-04579179572a812e.rlib,libarrayvec-0aba801d69a9bbda.rlib,libnodrop-b80e0d4bce4cf514.rlib}" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_abort-f4651b6f3a614e1c.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lSDL2_gfx" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/photon-1cf85d04ce0412ac" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lSDL2_image
[INFO] [stdout]           rust-lld: error: unable to find library -lSDL2_gfx
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `photon` (bin "photon") due to 1 previous error; 26 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "df7ef8f21a2557738cb31f77172a29983d227a2819537a809cf9d9ab1509b401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df7ef8f21a2557738cb31f77172a29983d227a2819537a809cf9d9ab1509b401", kill_on_drop: false }`
[INFO] [stdout] df7ef8f21a2557738cb31f77172a29983d227a2819537a809cf9d9ab1509b401
