[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/b54c1bc3b49c66d2dc5fb678ef62ca7d248e620d against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3Hren%2Fphoton" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/3Hren/photon on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-7-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.6 [INFO] [stderr] Downloaded color_quant v1.0.0 [INFO] [stderr] Downloaded png v0.14.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.13 [INFO] [stderr] Downloaded c_vec v1.3.2 [INFO] [stderr] Downloaded num v0.1.40 [INFO] [stderr] Downloaded serde_derive v1.0.21 [INFO] [stderr] Downloaded safe-transmute v0.10.1 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded image v0.21.0 [INFO] [stderr] Downloaded sdl2 v0.32.1 [INFO] [stderr] Downloaded syn v0.15.27 [INFO] [stderr] Downloaded num-derive v0.2.4 [INFO] [stderr] Downloaded rand_os v0.1.2 [INFO] [stderr] Downloaded serde_derive_internals v0.17.0 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded serde v1.0.21 [INFO] [stderr] Downloaded scoped_threadpool v0.1.8 [INFO] [stderr] Downloaded sdl2-sys v0.32.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1a985e1b8dbd0e2a1d40ad9cc2383d0fca7d7376662a30464a54a9425ed2976 [INFO] running `Command { std: "docker" "start" "-a" "a1a985e1b8dbd0e2a1d40ad9cc2383d0fca7d7376662a30464a54a9425ed2976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1a985e1b8dbd0e2a1d40ad9cc2383d0fca7d7376662a30464a54a9425ed2976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1a985e1b8dbd0e2a1d40ad9cc2383d0fca7d7376662a30464a54a9425ed2976", kill_on_drop: false }` [INFO] [stdout] a1a985e1b8dbd0e2a1d40ad9cc2383d0fca7d7376662a30464a54a9425ed2976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c31220485d480bf6eab39d7107fae8a30fb4e51ef0a711c98d59cbd9c6b02dc [INFO] running `Command { std: "docker" "start" "-a" "6c31220485d480bf6eab39d7107fae8a30fb4e51ef0a711c98d59cbd9c6b02dc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Compiling syn v0.15.27 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking serde v1.0.21 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Checking scoped_threadpool v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking c_vec v1.3.2 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [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 tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking serde_json v1.0.6 [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)]` 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>, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | lights: Vec>, [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>>, [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | objects: Vec>>, [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>(path: P) -> Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | pub fn load>(path: P) -> Result> { [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>(path: &P) -> Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | pub fn load>(path: &P) -> Result> { [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) -> Option<(&Model>, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | fn closest_intersection(&self, ray: &Ray) -> Option<(&Model>, Intersection)> { [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)]` 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>, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | lights: Vec>, [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>>, [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | objects: Vec>>, [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>(path: P) -> Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | pub fn load>(path: P) -> Result> { [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>(path: &P) -> Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | pub fn load>(path: &P) -> Result> { [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) -> Option<(&Model>, 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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 180 | fn closest_intersection(&self, ray: &Ray) -> Option<(&Model>, 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 [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | Box::new(sphere) as Box [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 [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 | Box::new(plane) as Box [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 [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | Box::new(mesh) as Box [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: 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 [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 110 | Box::new(sphere) as Box [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 [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 114 | Box::new(plane) as Box [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 [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | Box::new(mesh) as Box [INFO] [stdout] | +++ [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: 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: 16 warnings emitted [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.06s [INFO] running `Command { std: "docker" "inspect" "6c31220485d480bf6eab39d7107fae8a30fb4e51ef0a711c98d59cbd9c6b02dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c31220485d480bf6eab39d7107fae8a30fb4e51ef0a711c98d59cbd9c6b02dc", kill_on_drop: false }` [INFO] [stdout] 6c31220485d480bf6eab39d7107fae8a30fb4e51ef0a711c98d59cbd9c6b02dc