[INFO] cloning repository https://github.com/WereDiggle/rust-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WereDiggle/rust-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWereDiggle%2Frust-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWereDiggle%2Frust-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a962e5ab9c1106aef40b867bce6f25aa2b0842d2 [INFO] testing WereDiggle/rust-raytracer against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWereDiggle%2Frust-raytracer" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 56% (69/122) Updating files: 57% (70/122) Updating files: 58% (71/122) Updating files: 59% (72/122) Updating files: 60% (74/122) Updating files: 61% (75/122) Updating files: 62% (76/122) Updating files: 63% (77/122) Updating files: 64% (79/122) Updating files: 65% (80/122) Updating files: 66% (81/122) Updating files: 67% (82/122) Updating files: 68% (83/122) Updating files: 69% (85/122) Updating files: 70% (86/122) Updating files: 71% (87/122) Updating files: 72% (88/122) Updating files: 73% (90/122) Updating files: 74% (91/122) Updating files: 75% (92/122) Updating files: 76% (93/122) Updating files: 77% (94/122) Updating files: 78% (96/122) Updating files: 79% (97/122) Updating files: 80% (98/122) Updating files: 81% (99/122) Updating files: 82% (101/122) Updating files: 83% (102/122) Updating files: 84% (103/122) Updating files: 85% (104/122) Updating files: 86% (105/122) Updating files: 87% (107/122) Updating files: 88% (108/122) Updating files: 89% (109/122) Updating files: 90% (110/122) Updating files: 91% (112/122) Updating files: 92% (113/122) Updating files: 93% (114/122) Updating files: 94% (115/122) Updating files: 95% (116/122) Updating files: 96% (118/122) Updating files: 97% (119/122) Updating files: 98% (120/122) Updating files: 99% (121/122) Updating files: 100% (122/122) Updating files: 100% (122/122), done. [INFO] validating manifest of git repo https://github.com/WereDiggle/rust-raytracer on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WereDiggle/rust-raytracer [INFO] finished tweaking git repo https://github.com/WereDiggle/rust-raytracer [INFO] tweaked toml for git repo https://github.com/WereDiggle/rust-raytracer written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/WereDiggle/rust-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20d4e04d57aa4a333afe081caa6d90cd63f11eed6c2c2256495bcbfb3585eafa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "20d4e04d57aa4a333afe081caa6d90cd63f11eed6c2c2256495bcbfb3585eafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20d4e04d57aa4a333afe081caa6d90cd63f11eed6c2c2256495bcbfb3585eafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d4e04d57aa4a333afe081caa6d90cd63f11eed6c2c2256495bcbfb3585eafa", kill_on_drop: false }` [INFO] [stdout] 20d4e04d57aa4a333afe081caa6d90cd63f11eed6c2c2256495bcbfb3585eafa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] af0e5b61fc9cc1173d81c5fbc3e213add024e2a1fc8056fbf9b8889436d1f127 [INFO] running `Command { std: "docker" "start" "-a" "af0e5b61fc9cc1173d81c5fbc3e213add024e2a1fc8056fbf9b8889436d1f127", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling mint v0.5.1 [INFO] [stderr] Compiling tobj v0.1.7 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling inflate v0.4.4 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling rand v0.4.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling euler v0.4.0 [INFO] [stderr] Compiling tiff v0.2.1 [INFO] [stderr] Compiling image v0.21.1 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbImage` [INFO] [stdout] --> src/scene.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{RgbImage, ImageBuffer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/scene.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::EPSILON as e` [INFO] [stdout] --> src/geometry/surface_coord.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use std::f64::EPSILON as e; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ray` [INFO] [stdout] --> src/shader.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use geometry::{Intersect, Ray}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/shader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snowflake::ProcessUniqueId` [INFO] [stdout] --> src/shader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use snowflake::ProcessUniqueId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometry::Ray` [INFO] [stdout] --> src/shader/translucent.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use geometry::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `euler::DVec3` [INFO] [stdout] --> src/shader/translucent.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use euler::DVec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/light.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `light::*` [INFO] [stdout] --> src/render.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use light::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::Color` [INFO] [stdout] --> src/normal_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use color::Color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::RgbImage` [INFO] [stdout] --> src/asset_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::RgbImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/asset_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive::plane::Triangle` [INFO] [stdout] --> src/mesh.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use primitive::plane::Triangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mesh.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | ///println!("BoundingNode check_intersect hit_point: {}", hit_point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | [INFO] [stdout] 178 | / match self { [INFO] [stdout] 179 | | BoundingNode::Interior{axis, split, child} => { [INFO] [stdout] 180 | | //println!("BoundingNode check_intersect interior node: split: {}", split); [INFO] [stdout] 181 | | // First check if the ray intersects with this node at all [INFO] [stdout] ... | [INFO] [stdout] 277 | | }, [INFO] [stdout] 278 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multithread.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - type Job = Box; [INFO] [stdout] 19 + type Job = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] 16 + texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] 17 + normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | image: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - image: Box, [INFO] [stdout] 17 + image: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub root: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub root: Box, [INFO] [stdout] 48 + pub root: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | pub lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub lights: Vec>, [INFO] [stdout] 49 + pub lights: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | primitive: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - primitive: Option>, [INFO] [stdout] 144 + primitive: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - material: Box, [INFO] [stdout] 145 + material: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - children: Vec>, [INFO] [stdout] 147 + children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/intersect.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub shader: &'a (Shadable + Send + Sync + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub shader: &'a (Shadable + Send + Sync + 'a), [INFO] [stdout] 73 + pub shader: &'a (dyn Shadable + Send + Sync + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader/texture.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | texture: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - texture: Box, [INFO] [stdout] 5 + texture: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | shaders: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - shaders: Vec>, [INFO] [stdout] 53 + shaders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | shaders: Vec<(f64, Box)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - shaders: Vec<(f64, Box)>, [INFO] [stdout] 78 + shaders: Vec<(f64, Box)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | shaders: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 - shaders: Vec>, [INFO] [stdout] 115 + shaders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | normal_map: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - normal_map: Box, [INFO] [stdout] 157 + normal_map: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - primitive: Box, [INFO] [stdout] 21 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - primitive: Box, [INFO] [stdout] 50 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primitive: Box, [INFO] [stdout] 6 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | positive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - positive: Box, [INFO] [stdout] 6 + positive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | negative: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - negative: Box, [INFO] [stdout] 7 + negative: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | shapes: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - shapes: Vec>, [INFO] [stdout] 70 + shapes: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | pub ceiling: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - pub ceiling: Box, [INFO] [stdout] 147 + pub ceiling: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | pub floor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 - pub floor: Box, [INFO] [stdout] 148 + pub floor: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | pub front: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - pub front: Box, [INFO] [stdout] 149 + pub front: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | pub back: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub back: Box, [INFO] [stdout] 150 + pub back: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub left: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 - pub left: Box, [INFO] [stdout] 151 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | pub right: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - pub right: Box, [INFO] [stdout] 152 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - impl Clone for Box { [INFO] [stdout] 135 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | fn add_child(&mut self, child: Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn add_child(&mut self, child: Box); [INFO] [stdout] 111 + fn add_child(&mut self, child: Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | fn add_children(&mut self, children: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - fn add_children(&mut self, children: Vec>) { [INFO] [stdout] 112 + fn add_children(&mut self, children: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - fn clone_box(&self) -> Box; [INFO] [stdout] 123 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn add_light(&mut self, light: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - pub fn add_light(&mut self, light: Box) { [INFO] [stdout] 87 + pub fn add_light(&mut self, light: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 - fn clone_box(&self) -> Box { [INFO] [stdout] 130 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn clone(&self) -> Box { [INFO] [stdout] 136 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:163:52 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] 163 + pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:167:50 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn set_material(&mut self, material: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 - pub fn set_material(&mut self, material: Box) { [INFO] [stdout] 167 + pub fn set_material(&mut self, material: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_child(&mut self, child: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 192 - fn add_child(&mut self, child: Box) { [INFO] [stdout] 192 + fn add_child(&mut self, child: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - impl Clone for Box { [INFO] [stdout] 45 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - impl Clone for Box { [INFO] [stdout] 77 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn clone_box(&self) -> Box; [INFO] [stdout] 33 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - fn clone_box(&self) -> Box; [INFO] [stdout] 65 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn clone_box(&self) -> Box { [INFO] [stdout] 40 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn clone(&self) -> Box { [INFO] [stdout] 46 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn clone_box(&self) -> Box { [INFO] [stdout] 72 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn clone(&self) -> Box { [INFO] [stdout] 78 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - impl Clone for Box { [INFO] [stdout] 45 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn clone_box(&self) -> Box; [INFO] [stdout] 33 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn clone_box(&self) -> Box { [INFO] [stdout] 40 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn clone(&self) -> Box { [INFO] [stdout] 46 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] 57 + pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] 61 + pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:86:59 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] 86 + pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] 90 + pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 125 - pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] 125 + pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:129:47 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] 129 + pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(normal_map: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - pub fn new(normal_map: Box) -> Box { [INFO] [stdout] 161 + pub fn new(normal_map: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] 25 + pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] 54 + pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - impl Clone for Box { [INFO] [stdout] 59 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn clone_box(&self) -> Box; [INFO] [stdout] 47 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn clone_box(&self) -> Box { [INFO] [stdout] 54 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn clone(&self) -> Box { [INFO] [stdout] 60 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] 75 + fn calculate_intersects(comp: &(dyn Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:75:88 [INFO] [stdout] | [INFO] [stdout] 75 | fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] 75 + fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut dyn FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - impl Clone for Box { [INFO] [stdout] 144 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)>; [INFO] [stdout] 126 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn clone_compositable_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - fn clone_compositable_box(&self) -> Box; [INFO] [stdout] 132 + fn clone_compositable_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | fn clone_compositable_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - fn clone_compositable_box(&self) -> Box { [INFO] [stdout] 139 + fn clone_compositable_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - fn clone(&self) -> Box { [INFO] [stdout] 145 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build_scene(lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn build_scene(lights: Vec>, [INFO] [stdout] 35 + pub fn build_scene(lights: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | root: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - root: Box) -> Scene { [INFO] [stdout] 38 + root: Box) -> Scene { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - material: Box, [INFO] [stdout] 58 + material: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - primitive: Box, [INFO] [stdout] 59 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | children: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - children: Vec>) -> Box { [INFO] [stdout] 60 + children: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | children: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - children: Vec>) -> Box { [INFO] [stdout] 72 + children: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] 101 + pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:128:60 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] 128 + pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:299:55 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 - pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] 299 + pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:299:98 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 - pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] 299 + pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 305 + pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:305:92 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 305 + pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:311:49 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 311 + pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:311:93 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 311 + pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:317:49 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 317 + pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:317:93 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 317 + pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:351:52 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] 351 + pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - impl Clone for Box { [INFO] [stdout] 23 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn clone_box(&self) -> Box; [INFO] [stdout] 11 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn clone_box(&self) -> Box { [INFO] [stdout] 18 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn clone(&self) -> Box { [INFO] [stdout] 24 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - impl Clone for Box { [INFO] [stdout] 28 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn clone_box(&self) -> Box; [INFO] [stdout] 16 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn clone_box(&self) -> Box { [INFO] [stdout] 23 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn clone(&self) -> Box { [INFO] [stdout] 29 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] 29 + pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:41:76 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] 41 + pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] 51 + pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/intersect.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(hit_id: ProcessUniqueId, shader: &'a (Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - pub fn new(hit_id: ProcessUniqueId, shader: &'a (Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] 78 + pub fn new(hit_id: ProcessUniqueId, shader: &'a (dyn Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader/texture.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(texture: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub fn new(texture: Box) -> Box { [INFO] [stdout] 9 + pub fn new(texture: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] 10 + pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 19 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] 11 + pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] 11 + pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 21 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 51 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 58 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 47 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] 74 + pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 83 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | let spheres: Vec> = vec!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 - let spheres: Vec> = vec!( [INFO] [stdout] 325 + let spheres: Vec> = vec!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/shader.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | fn get_color(&self, scene: &Scene, intersect: Intersect) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/shader.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | fn modify_intersect(&self, scene: &Scene, intersect: Intersect) -> Intersect { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/light.rs:189:56 [INFO] [stdout] | [INFO] [stdout] 189 | fn subdivide_points(&self, min: DVec2, max: DVec2, depth: usize) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/light.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | for i in 0..num_rays { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface_dot` [INFO] [stdout] --> src/light.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | if let Illum::Lit{surface_dot, light_direction, ref mut intensity} = x { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `surface_dot: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_direction` [INFO] [stdout] --> src/light.rs:346:44 [INFO] [stdout] | [INFO] [stdout] 346 | if let Illum::Lit{surface_dot, light_direction, ref mut intensity} = x { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `light_direction: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/light.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | for depth in 0..SquareLight::PROG_DEPTH { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/light.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | for i in 0..SquareLight::SAMPLE_RATE { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/render.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/render.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_err` [INFO] [stdout] --> src/mesh.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let max_err = max - err; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_err` [INFO] [stdout] --> src/mesh.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let min_err = min + err; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prim_overlap` is assigned to, but never used [INFO] [stdout] --> src/mesh.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut prim_overlap = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prim_overlap` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/mesh.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | let (models, materials) = tobj::load_obj(path).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc` [INFO] [stdout] --> src/primitive/plane.rs:219:47 [INFO] [stdout] | [INFO] [stdout] 219 | ... .try_fold(true, |acc, x| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(mut child_node_intersect) = child.partial_trace_until_distance(ray, max_distance) { [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: variable does not need to be mutable [INFO] [stdout] --> src/composite_shape.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut intersects: Vec<(usize, Hit, Intersect)> = shape_sects.into_iter().map(|x| (i, hit_direction(x), x)).collect(); [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/mesh.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | let mut v = e1.cross(hit_v1); [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/mesh.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | let mut w = e2.cross(hit_v2); [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/mesh.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | let mut u = e3.cross(hit_v3); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AMBIENT_PORTION` [INFO] [stdout] --> src/light.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const AMBIENT_PORTION : f64 = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace_sample_rays` [INFO] [stdout] --> src/light.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | fn trace_sample_rays(&self, scene: &Scene, intersect: &Intersect, num_rays: usize) -> (usize, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `START_SAMPLE` [INFO] [stdout] --> src/light.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | const START_SAMPLE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PROG_DEPTH` [INFO] [stdout] --> src/light.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | const PROG_DEPTH: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PROG_THRESH` [INFO] [stdout] --> src/light.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | const PROG_THRESH: f64 = 0.05; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `progressive_random_illumination` [INFO] [stdout] --> src/light.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | fn progressive_random_illumination(&self, scene: &Scene, intersect: &Intersect) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/multithread.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image_dimension` [INFO] [stdout] --> src/progress_tracker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | image_dimension: ImageDimension, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bound_nothing` [INFO] [stdout] --> src/mesh.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn bound_nothing() -> BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expand` [INFO] [stdout] --> src/mesh.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn expand(&mut self, vertices: &Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_positions` [INFO] [stdout] --> src/mesh.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_positions(positions: Vec) -> BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v` [INFO] [stdout] --> src/mesh.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | v: [usize; 3], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Face` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mesh.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/mesh.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | n: [usize; 3], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Face` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mesh.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Enter` [INFO] [stdout] --> src/shader/phong.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Enter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Hit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/shader/phong.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exit` [INFO] [stdout] --> src/shader/phong.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Hit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/shader/phong.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `total_light_blocked` [INFO] [stdout] --> src/shader/phong.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn total_light_blocked(opacity: Color, enter: f64, exit: f64) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/composite_shape.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | fn merge(A: Vec<(usize, Hit, Intersect)>, B: Vec<(usize, Hit, Intersect)>) -> Vec<(usize, Hit, Intersect)> { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/composite_shape.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | fn merge(A: Vec<(usize, Hit, Intersect)>, B: Vec<(usize, Hit, Intersect)>) -> Vec<(usize, Hit, Intersect)> { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `texture_offsets` should have an upper case name [INFO] [stdout] --> src/primitive/cube.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | const texture_offsets: [(f64, f64); 6] = [(2.0, 1.0), (0.0, 1.0), (1.0, 1.0), (3.0, 1.0), (1.0, 2.0), (1.0, 0.0)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEXTURE_OFFSETS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 176 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light1` [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn light1() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light2` [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn light2() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light4` [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn light4() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `front_light` [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn front_light() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `square_light` [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn square_light(pos: DVec3, size: f64) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.87s [INFO] running `Command { std: "docker" "inspect" "af0e5b61fc9cc1173d81c5fbc3e213add024e2a1fc8056fbf9b8889436d1f127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af0e5b61fc9cc1173d81c5fbc3e213add024e2a1fc8056fbf9b8889436d1f127", kill_on_drop: false }` [INFO] [stdout] af0e5b61fc9cc1173d81c5fbc3e213add024e2a1fc8056fbf9b8889436d1f127 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 345fdfa0f787778037baadcb4c99ae2e5b390b02e355bf13c5320fdbf30f891b [INFO] running `Command { std: "docker" "start" "-a" "345fdfa0f787778037baadcb4c99ae2e5b390b02e355bf13c5320fdbf30f891b", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbImage` [INFO] [stdout] --> src/scene.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{RgbImage, ImageBuffer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/scene.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::EPSILON as e` [INFO] [stdout] --> src/geometry/surface_coord.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use std::f64::EPSILON as e; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ray` [INFO] [stdout] --> src/shader.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use geometry::{Intersect, Ray}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/shader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snowflake::ProcessUniqueId` [INFO] [stdout] --> src/shader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use snowflake::ProcessUniqueId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometry::Ray` [INFO] [stdout] --> src/shader/translucent.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use geometry::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `euler::DVec3` [INFO] [stdout] --> src/shader/translucent.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use euler::DVec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/light.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `light::*` [INFO] [stdout] --> src/render.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use light::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::Color` [INFO] [stdout] --> src/normal_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use color::Color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::RgbImage` [INFO] [stdout] --> src/asset_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::RgbImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/asset_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive::plane::Triangle` [INFO] [stdout] --> src/mesh.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use primitive::plane::Triangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mesh.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | ///println!("BoundingNode check_intersect hit_point: {}", hit_point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | [INFO] [stdout] 178 | / match self { [INFO] [stdout] 179 | | BoundingNode::Interior{axis, split, child} => { [INFO] [stdout] 180 | | //println!("BoundingNode check_intersect interior node: split: {}", split); [INFO] [stdout] 181 | | // First check if the ray intersects with this node at all [INFO] [stdout] ... | [INFO] [stdout] 277 | | }, [INFO] [stdout] 278 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multithread.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - type Job = Box; [INFO] [stdout] 19 + type Job = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] 16 + texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] 17 + normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | image: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - image: Box, [INFO] [stdout] 17 + image: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub root: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub root: Box, [INFO] [stdout] 48 + pub root: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | pub lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub lights: Vec>, [INFO] [stdout] 49 + pub lights: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | primitive: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - primitive: Option>, [INFO] [stdout] 144 + primitive: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - material: Box, [INFO] [stdout] 145 + material: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - children: Vec>, [INFO] [stdout] 147 + children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/intersect.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub shader: &'a (Shadable + Send + Sync + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub shader: &'a (Shadable + Send + Sync + 'a), [INFO] [stdout] 73 + pub shader: &'a (dyn Shadable + Send + Sync + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader/texture.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | texture: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - texture: Box, [INFO] [stdout] 5 + texture: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | shaders: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - shaders: Vec>, [INFO] [stdout] 53 + shaders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | shaders: Vec<(f64, Box)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - shaders: Vec<(f64, Box)>, [INFO] [stdout] 78 + shaders: Vec<(f64, Box)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | shaders: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 - shaders: Vec>, [INFO] [stdout] 115 + shaders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | normal_map: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - normal_map: Box, [INFO] [stdout] 157 + normal_map: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - primitive: Box, [INFO] [stdout] 21 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - primitive: Box, [INFO] [stdout] 50 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primitive: Box, [INFO] [stdout] 6 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | positive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - positive: Box, [INFO] [stdout] 6 + positive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | negative: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - negative: Box, [INFO] [stdout] 7 + negative: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | shapes: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - shapes: Vec>, [INFO] [stdout] 70 + shapes: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | pub ceiling: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - pub ceiling: Box, [INFO] [stdout] 147 + pub ceiling: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | pub floor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 - pub floor: Box, [INFO] [stdout] 148 + pub floor: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | pub front: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - pub front: Box, [INFO] [stdout] 149 + pub front: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | pub back: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub back: Box, [INFO] [stdout] 150 + pub back: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub left: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 - pub left: Box, [INFO] [stdout] 151 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | pub right: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - pub right: Box, [INFO] [stdout] 152 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - impl Clone for Box { [INFO] [stdout] 135 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | fn add_child(&mut self, child: Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn add_child(&mut self, child: Box); [INFO] [stdout] 111 + fn add_child(&mut self, child: Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | fn add_children(&mut self, children: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - fn add_children(&mut self, children: Vec>) { [INFO] [stdout] 112 + fn add_children(&mut self, children: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - fn clone_box(&self) -> Box; [INFO] [stdout] 123 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn add_light(&mut self, light: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - pub fn add_light(&mut self, light: Box) { [INFO] [stdout] 87 + pub fn add_light(&mut self, light: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 - fn clone_box(&self) -> Box { [INFO] [stdout] 130 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn clone(&self) -> Box { [INFO] [stdout] 136 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:163:52 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] 163 + pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:167:50 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn set_material(&mut self, material: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 - pub fn set_material(&mut self, material: Box) { [INFO] [stdout] 167 + pub fn set_material(&mut self, material: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_child(&mut self, child: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 192 - fn add_child(&mut self, child: Box) { [INFO] [stdout] 192 + fn add_child(&mut self, child: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - impl Clone for Box { [INFO] [stdout] 45 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - impl Clone for Box { [INFO] [stdout] 77 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn clone_box(&self) -> Box; [INFO] [stdout] 33 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - fn clone_box(&self) -> Box; [INFO] [stdout] 65 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn clone_box(&self) -> Box { [INFO] [stdout] 40 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn clone(&self) -> Box { [INFO] [stdout] 46 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn clone_box(&self) -> Box { [INFO] [stdout] 72 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn clone(&self) -> Box { [INFO] [stdout] 78 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - impl Clone for Box { [INFO] [stdout] 45 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn clone_box(&self) -> Box; [INFO] [stdout] 33 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn clone_box(&self) -> Box { [INFO] [stdout] 40 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn clone(&self) -> Box { [INFO] [stdout] 46 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] 57 + pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] 61 + pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:86:59 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] 86 + pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] 90 + pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 125 - pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] 125 + pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:129:47 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] 129 + pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(normal_map: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - pub fn new(normal_map: Box) -> Box { [INFO] [stdout] 161 + pub fn new(normal_map: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] 25 + pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] 54 + pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - impl Clone for Box { [INFO] [stdout] 59 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn clone_box(&self) -> Box; [INFO] [stdout] 47 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn clone_box(&self) -> Box { [INFO] [stdout] 54 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn clone(&self) -> Box { [INFO] [stdout] 60 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] 75 + fn calculate_intersects(comp: &(dyn Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:75:88 [INFO] [stdout] | [INFO] [stdout] 75 | fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] 75 + fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut dyn FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - impl Clone for Box { [INFO] [stdout] 144 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)>; [INFO] [stdout] 126 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn clone_compositable_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - fn clone_compositable_box(&self) -> Box; [INFO] [stdout] 132 + fn clone_compositable_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | fn clone_compositable_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - fn clone_compositable_box(&self) -> Box { [INFO] [stdout] 139 + fn clone_compositable_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - fn clone(&self) -> Box { [INFO] [stdout] 145 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build_scene(lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn build_scene(lights: Vec>, [INFO] [stdout] 35 + pub fn build_scene(lights: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | root: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - root: Box) -> Scene { [INFO] [stdout] 38 + root: Box) -> Scene { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - material: Box, [INFO] [stdout] 58 + material: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - primitive: Box, [INFO] [stdout] 59 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | children: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - children: Vec>) -> Box { [INFO] [stdout] 60 + children: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | children: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - children: Vec>) -> Box { [INFO] [stdout] 72 + children: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] 101 + pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:128:60 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] 128 + pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:299:55 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 - pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] 299 + pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:299:98 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 - pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] 299 + pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 305 + pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:305:92 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 305 + pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:311:49 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 311 + pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:311:93 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 311 + pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:317:49 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 317 + pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:317:93 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 317 + pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:351:52 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] 351 + pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - impl Clone for Box { [INFO] [stdout] 23 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn clone_box(&self) -> Box; [INFO] [stdout] 11 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn clone_box(&self) -> Box { [INFO] [stdout] 18 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn clone(&self) -> Box { [INFO] [stdout] 24 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - impl Clone for Box { [INFO] [stdout] 28 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn clone_box(&self) -> Box; [INFO] [stdout] 16 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn clone_box(&self) -> Box { [INFO] [stdout] 23 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn clone(&self) -> Box { [INFO] [stdout] 29 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] 29 + pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:41:76 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] 41 + pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] 51 + pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/intersect.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(hit_id: ProcessUniqueId, shader: &'a (Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - pub fn new(hit_id: ProcessUniqueId, shader: &'a (Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] 78 + pub fn new(hit_id: ProcessUniqueId, shader: &'a (dyn Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader/texture.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(texture: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub fn new(texture: Box) -> Box { [INFO] [stdout] 9 + pub fn new(texture: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] 10 + pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 19 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] 11 + pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] 11 + pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 21 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 51 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 58 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 47 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] 74 + pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 83 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | let spheres: Vec> = vec!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 - let spheres: Vec> = vec!( [INFO] [stdout] 325 + let spheres: Vec> = vec!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/shader.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | fn get_color(&self, scene: &Scene, intersect: Intersect) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/shader.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | fn modify_intersect(&self, scene: &Scene, intersect: Intersect) -> Intersect { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/light.rs:189:56 [INFO] [stdout] | [INFO] [stdout] 189 | fn subdivide_points(&self, min: DVec2, max: DVec2, depth: usize) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/light.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | for i in 0..num_rays { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface_dot` [INFO] [stdout] --> src/light.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | if let Illum::Lit{surface_dot, light_direction, ref mut intensity} = x { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `surface_dot: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_direction` [INFO] [stdout] --> src/light.rs:346:44 [INFO] [stdout] | [INFO] [stdout] 346 | if let Illum::Lit{surface_dot, light_direction, ref mut intensity} = x { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `light_direction: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/light.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | for depth in 0..SquareLight::PROG_DEPTH { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/light.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | for i in 0..SquareLight::SAMPLE_RATE { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/render.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/render.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_err` [INFO] [stdout] --> src/mesh.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let max_err = max - err; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_err` [INFO] [stdout] --> src/mesh.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let min_err = min + err; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prim_overlap` is assigned to, but never used [INFO] [stdout] --> src/mesh.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut prim_overlap = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prim_overlap` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/mesh.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | let (models, materials) = tobj::load_obj(path).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc` [INFO] [stdout] --> src/primitive/plane.rs:219:47 [INFO] [stdout] | [INFO] [stdout] 219 | ... .try_fold(true, |acc, x| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(mut child_node_intersect) = child.partial_trace_until_distance(ray, max_distance) { [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: variable does not need to be mutable [INFO] [stdout] --> src/composite_shape.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut intersects: Vec<(usize, Hit, Intersect)> = shape_sects.into_iter().map(|x| (i, hit_direction(x), x)).collect(); [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/mesh.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | let mut v = e1.cross(hit_v1); [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/mesh.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | let mut w = e2.cross(hit_v2); [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/mesh.rs:442:17 [INFO] [stdout] | [INFO] [stdout] 442 | let mut u = e3.cross(hit_v3); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `AMBIENT_PORTION` [INFO] [stdout] --> src/light.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const AMBIENT_PORTION : f64 = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `trace_sample_rays` [INFO] [stdout] --> src/light.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | fn trace_sample_rays(&self, scene: &Scene, intersect: &Intersect, num_rays: usize) -> (usize, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `START_SAMPLE` [INFO] [stdout] --> src/light.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | const START_SAMPLE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PROG_DEPTH` [INFO] [stdout] --> src/light.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | const PROG_DEPTH: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `PROG_THRESH` [INFO] [stdout] --> src/light.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | const PROG_THRESH: f64 = 0.05; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `progressive_random_illumination` [INFO] [stdout] --> src/light.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 331 | fn progressive_random_illumination(&self, scene: &Scene, intersect: &Intersect) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/multithread.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image_dimension` [INFO] [stdout] --> src/progress_tracker.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | image_dimension: ImageDimension, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bound_nothing` [INFO] [stdout] --> src/mesh.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn bound_nothing() -> BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `expand` [INFO] [stdout] --> src/mesh.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn expand(&mut self, vertices: &Vec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_positions` [INFO] [stdout] --> src/mesh.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn from_positions(positions: Vec) -> BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v` [INFO] [stdout] --> src/mesh.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | v: [usize; 3], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Face` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mesh.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `n` [INFO] [stdout] --> src/mesh.rs:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | n: [usize; 3], [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Face` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mesh.rs:335:10 [INFO] [stdout] | [INFO] [stdout] 335 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Enter` [INFO] [stdout] --> src/shader/phong.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Enter, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Hit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/shader/phong.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exit` [INFO] [stdout] --> src/shader/phong.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Hit` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/shader/phong.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `total_light_blocked` [INFO] [stdout] --> src/shader/phong.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn total_light_blocked(opacity: Color, enter: f64, exit: f64) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/composite_shape.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | fn merge(A: Vec<(usize, Hit, Intersect)>, B: Vec<(usize, Hit, Intersect)>) -> Vec<(usize, Hit, Intersect)> { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/composite_shape.rs:33:43 [INFO] [stdout] | [INFO] [stdout] 33 | fn merge(A: Vec<(usize, Hit, Intersect)>, B: Vec<(usize, Hit, Intersect)>) -> Vec<(usize, Hit, Intersect)> { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `texture_offsets` should have an upper case name [INFO] [stdout] --> src/primitive/cube.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | const texture_offsets: [(f64, f64); 6] = [(2.0, 1.0), (0.0, 1.0), (1.0, 1.0), (3.0, 1.0), (1.0, 2.0), (1.0, 0.0)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `TEXTURE_OFFSETS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 176 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light1` [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn light1() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light2` [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn light2() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light4` [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn light4() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `front_light` [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn front_light() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `square_light` [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn square_light(pos: DVec3, size: f64) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raytracer::matrix::*` [INFO] [stdout] --> tests/anti_alias_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use raytracer::matrix::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raytracer::matrix::*` [INFO] [stdout] --> tests/basic_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use raytracer::matrix::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raytracer::matrix::*` [INFO] [stdout] --> tests/scene_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use raytracer::matrix::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/square_light_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raytracer::matrix::*` [INFO] [stdout] --> tests/composite_shape_test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use raytracer::matrix::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light1` [INFO] [stdout] --> tests/square_light_test.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn light1() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light3` [INFO] [stdout] --> tests/square_light_test.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn light3() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light4` [INFO] [stdout] --> tests/square_light_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn light4() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/transparency_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light3` [INFO] [stdout] --> tests/normal_map_test.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn light3() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light4` [INFO] [stdout] --> tests/normal_map_test.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn light4() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/texture_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `double_subracted_sphere` [INFO] [stdout] --> tests/composite_shape_test.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn double_subracted_sphere(size: f64) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light1` [INFO] [stdout] --> src/main.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn light1() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light2` [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn light2() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light4` [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn light4() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `front_light` [INFO] [stdout] --> src/main.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn front_light() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `square_light` [INFO] [stdout] --> src/main.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn square_light(pos: DVec3, size: f64) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbImage` [INFO] [stdout] --> src/scene.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{RgbImage, ImageBuffer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/scene.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::EPSILON as e` [INFO] [stdout] --> src/geometry/surface_coord.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use std::f64::EPSILON as e; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ray` [INFO] [stdout] --> src/shader.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use geometry::{Intersect, Ray}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/shader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `snowflake::ProcessUniqueId` [INFO] [stdout] --> src/shader.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use snowflake::ProcessUniqueId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometry::Ray` [INFO] [stdout] --> src/shader/translucent.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use geometry::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `euler::DVec3` [INFO] [stdout] --> src/shader/translucent.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use euler::DVec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/light.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `light::*` [INFO] [stdout] --> src/render.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use light::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raytracer::matrix::*` [INFO] [stdout] --> tests/dice_scene.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use raytracer::matrix::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::Color` [INFO] [stdout] --> src/normal_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use color::Color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/bump_map_test.rs:16:55 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn test_bump_shader(color: Color, normal_map: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - pub fn test_bump_shader(color: Color, normal_map: Box) -> Box { [INFO] [stdout] 16 + pub fn test_bump_shader(color: Color, normal_map: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::RgbImage` [INFO] [stdout] --> src/asset_manager.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::RgbImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/asset_manager.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive::plane::Triangle` [INFO] [stdout] --> src/mesh.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use primitive::plane::Triangle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mesh.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | ///println!("BoundingNode check_intersect hit_point: {}", hit_point); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 177 | [INFO] [stdout] 178 | / match self { [INFO] [stdout] 179 | | BoundingNode::Interior{axis, split, child} => { [INFO] [stdout] 180 | | //println!("BoundingNode check_intersect interior node: split: {}", split); [INFO] [stdout] 181 | | // First check if the ray intersects with this node at all [INFO] [stdout] ... | [INFO] [stdout] 277 | | }, [INFO] [stdout] 278 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `light4` [INFO] [stdout] --> tests/polyhedra_test.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn light4() -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `make_camera` [INFO] [stdout] --> tests/dice_scene.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn make_camera() -> CameraConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `front_light` [INFO] [stdout] --> tests/mesh_test.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn front_light() -> Box { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multithread.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - type Job = Box; [INFO] [stdout] 19 + type Job = Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] 16 + texture_cache: HashMap<&'a str, Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] 17 + normal_map_cache: HashMap<&'a str, Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | image: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - image: Box, [INFO] [stdout] 17 + image: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub root: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub root: Box, [INFO] [stdout] 48 + pub root: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | pub lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub lights: Vec>, [INFO] [stdout] 49 + pub lights: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | primitive: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - primitive: Option>, [INFO] [stdout] 144 + primitive: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - material: Box, [INFO] [stdout] 145 + material: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | children: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - children: Vec>, [INFO] [stdout] 147 + children: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/intersect.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub shader: &'a (Shadable + Send + Sync + 'a), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 - pub shader: &'a (Shadable + Send + Sync + 'a), [INFO] [stdout] 73 + pub shader: &'a (dyn Shadable + Send + Sync + 'a), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader/texture.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | texture: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - texture: Box, [INFO] [stdout] 5 + texture: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | shaders: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - shaders: Vec>, [INFO] [stdout] 53 + shaders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | shaders: Vec<(f64, Box)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - shaders: Vec<(f64, Box)>, [INFO] [stdout] 78 + shaders: Vec<(f64, Box)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | shaders: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 - shaders: Vec>, [INFO] [stdout] 115 + shaders: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | normal_map: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 157 - normal_map: Box, [INFO] [stdout] 157 + normal_map: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - primitive: Box, [INFO] [stdout] 21 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - primitive: Box, [INFO] [stdout] 50 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primitive: Box, [INFO] [stdout] 6 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | positive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - positive: Box, [INFO] [stdout] 6 + positive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | negative: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - negative: Box, [INFO] [stdout] 7 + negative: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | primary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - primary: Box, [INFO] [stdout] 6 + primary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | secondary: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - secondary: Box, [INFO] [stdout] 7 + secondary: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | shapes: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 - shapes: Vec>, [INFO] [stdout] 70 + shapes: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | pub ceiling: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 - pub ceiling: Box, [INFO] [stdout] 147 + pub ceiling: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:148:20 [INFO] [stdout] | [INFO] [stdout] 148 | pub floor: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 - pub floor: Box, [INFO] [stdout] 148 + pub floor: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:149:20 [INFO] [stdout] | [INFO] [stdout] 149 | pub front: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 - pub front: Box, [INFO] [stdout] 149 + pub front: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | pub back: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 - pub back: Box, [INFO] [stdout] 150 + pub back: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | pub left: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 151 - pub left: Box, [INFO] [stdout] 151 + pub left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | pub right: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 152 - pub right: Box, [INFO] [stdout] 152 + pub right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - impl Clone for Box { [INFO] [stdout] 135 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | fn add_child(&mut self, child: Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn add_child(&mut self, child: Box); [INFO] [stdout] 111 + fn add_child(&mut self, child: Box); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | fn add_children(&mut self, children: Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - fn add_children(&mut self, children: Vec>) { [INFO] [stdout] 112 + fn add_children(&mut self, children: Vec>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 - fn clone_box(&self) -> Box; [INFO] [stdout] 123 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn add_light(&mut self, light: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - pub fn add_light(&mut self, light: Box) { [INFO] [stdout] 87 + pub fn add_light(&mut self, light: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:130:32 [INFO] [stdout] | [INFO] [stdout] 130 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 - fn clone_box(&self) -> Box { [INFO] [stdout] 130 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - fn clone(&self) -> Box { [INFO] [stdout] 136 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:163:52 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 163 - pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] 163 + pub fn set_primitive(&mut self, primitive: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:167:50 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn set_material(&mut self, material: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 167 - pub fn set_material(&mut self, material: Box) { [INFO] [stdout] 167 + pub fn set_material(&mut self, material: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:192:40 [INFO] [stdout] | [INFO] [stdout] 192 | fn add_child(&mut self, child: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 192 - fn add_child(&mut self, child: Box) { [INFO] [stdout] 192 + fn add_child(&mut self, child: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - impl Clone for Box { [INFO] [stdout] 45 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - impl Clone for Box { [INFO] [stdout] 77 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn clone_box(&self) -> Box; [INFO] [stdout] 33 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:65:32 [INFO] [stdout] | [INFO] [stdout] 65 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - fn clone_box(&self) -> Box; [INFO] [stdout] 65 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn clone_box(&self) -> Box { [INFO] [stdout] 40 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn clone(&self) -> Box { [INFO] [stdout] 46 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - fn clone_box(&self) -> Box { [INFO] [stdout] 72 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn clone(&self) -> Box { [INFO] [stdout] 78 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - impl Clone for Box { [INFO] [stdout] 45 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - fn clone_box(&self) -> Box; [INFO] [stdout] 33 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn clone_box(&self) -> Box { [INFO] [stdout] 40 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn clone(&self) -> Box { [INFO] [stdout] 46 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] 57 + pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] 61 + pub fn add_shader(&mut self, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:86:59 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 86 - pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] 86 + pub fn add_shader(&mut self, weight: f64, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] 90 + pub fn from_shaders(shaders: Vec<(f64, Box)>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 125 - pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] 125 + pub fn from_shaders(shaders: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:129:47 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] 129 + pub fn push_shader(&mut self, shader: Box) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(normal_map: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - pub fn new(normal_map: Box) -> Box { [INFO] [stdout] 161 + pub fn new(normal_map: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] 25 + pub fn new(primitive: Box) -> OneWay { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/primitive.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] 54 + pub fn new(primitive: Box) -> Inverted { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - impl Clone for Box { [INFO] [stdout] 59 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn clone_box(&self) -> Box; [INFO] [stdout] 47 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn clone_box(&self) -> Box { [INFO] [stdout] 54 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/light.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn clone(&self) -> Box { [INFO] [stdout] 60 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:75:33 [INFO] [stdout] | [INFO] [stdout] 75 | fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] 75 + fn calculate_intersects(comp: &(dyn Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:75:88 [INFO] [stdout] | [INFO] [stdout] 75 | fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 - fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] 75 + fn calculate_intersects(comp: &(Compositable + Send + Sync), ray: Ray, check_get: &mut dyn FnMut(usize, &Vec, Intersect) -> Control) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 144 - impl Clone for Box { [INFO] [stdout] 144 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:126:35 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)>; [INFO] [stdout] 126 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:132:45 [INFO] [stdout] | [INFO] [stdout] 132 | fn clone_compositable_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - fn clone_compositable_box(&self) -> Box; [INFO] [stdout] 132 + fn clone_compositable_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:139:45 [INFO] [stdout] | [INFO] [stdout] 139 | fn clone_compositable_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 - fn clone_compositable_box(&self) -> Box { [INFO] [stdout] 139 + fn clone_compositable_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 145 - fn clone(&self) -> Box { [INFO] [stdout] 145 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn build_scene(lights: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn build_scene(lights: Vec>, [INFO] [stdout] 35 + pub fn build_scene(lights: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:38:30 [INFO] [stdout] | [INFO] [stdout] 38 | root: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - root: Box) -> Scene { [INFO] [stdout] 38 + root: Box) -> Scene { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:58:33 [INFO] [stdout] | [INFO] [stdout] 58 | material: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - material: Box, [INFO] [stdout] 58 + material: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | primitive: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - primitive: Box, [INFO] [stdout] 59 + primitive: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | children: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - children: Vec>) -> Box { [INFO] [stdout] 60 + children: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | children: Vec>) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 72 - children: Vec>) -> Box { [INFO] [stdout] 72 + children: Vec>) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] 101 + pub fn create_wall_from_material(size: f64, material: Box, transform: DMat4) -> SceneNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:128:60 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 - pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] 128 + pub fn create_floor_from_material(size: f64, material: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:299:55 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 - pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] 299 + pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:299:98 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 299 - pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] 299 + pub fn subtract_shape(transform: DMat4, positive: Box, negative: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:305:48 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 305 + pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:305:92 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 305 - pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 305 + pub fn or_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:311:49 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 311 + pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:311:93 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 - pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 311 + pub fn xor_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:317:49 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 317 + pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:317:93 [INFO] [stdout] | [INFO] [stdout] 317 | pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 317 - pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] 317 + pub fn and_shape(transform: DMat4, primary: Box, secondary: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:351:52 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] 351 + pub fn base_shape(transform: DMat4, primitive: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - impl Clone for Box { [INFO] [stdout] 23 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn clone_box(&self) -> Box; [INFO] [stdout] 11 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn clone_box(&self) -> Box { [INFO] [stdout] 18 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn clone(&self) -> Box { [INFO] [stdout] 24 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - impl Clone for Box { [INFO] [stdout] 28 + impl Clone for Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn clone_box(&self) -> Box; [INFO] [stdout] 16 + fn clone_box(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn clone_box(&self) -> Box { [INFO] [stdout] 23 + fn clone_box(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/normal_map.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn clone(&self) -> Box { [INFO] [stdout] 29 + fn clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:29:69 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] 29 + pub fn image_texture_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:41:76 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] 41 + pub fn bump_map_from_path(&mut self, path: &'a str, depth: f64) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/asset_manager.rs:51:66 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] 51 + pub fn normal_map_from_path(&mut self, path: &'a str) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geometry/intersect.rs:78:54 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new(hit_id: ProcessUniqueId, shader: &'a (Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - pub fn new(hit_id: ProcessUniqueId, shader: &'a (Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] 78 + pub fn new(hit_id: ProcessUniqueId, shader: &'a (dyn Shadable + Send + Sync + 'a), intersect: Intersect) -> NodeIntersect<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shader/texture.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(texture: Box) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub fn new(texture: Box) -> Box { [INFO] [stdout] 9 + pub fn new(texture: Box) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:10:46 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] 10 + pub fn new(matrix: DMat4, primitive: Box) -> BaseShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/base_shape.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 19 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] 11 + pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] 11 + pub fn new(positive: Box, negative: Box) -> SubtractShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/subtract_shape.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 21 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> OrShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/or_shape.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 51 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> XorShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/xor_shape.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 58 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:11:73 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] 11 + pub fn new(primary: Box, secondary: Box) -> AndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 47 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 - pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] 74 + pub fn from_vec(shapes: Vec>) -> MultiAndShape { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/composite_shape/and_shape.rs:83:35 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 83 - fn get_shapes(&self) -> Vec<&(Compositable + Send + Sync)> { [INFO] [stdout] 83 + fn get_shapes(&self) -> Vec<&(dyn Compositable + Send + Sync)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:325:26 [INFO] [stdout] | [INFO] [stdout] 325 | let spheres: Vec> = vec!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 - let spheres: Vec> = vec!( [INFO] [stdout] 325 + let spheres: Vec> = vec!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/shader.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | fn get_color(&self, scene: &Scene, intersect: Intersect) -> Color { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/shader.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | fn modify_intersect(&self, scene: &Scene, intersect: Intersect) -> Intersect { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/light.rs:189:56 [INFO] [stdout] | [INFO] [stdout] 189 | fn subdivide_points(&self, min: DVec2, max: DVec2, depth: usize) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/light.rs:306:13 [INFO] [stdout] | [INFO] [stdout] 306 | for i in 0..num_rays { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface_dot` [INFO] [stdout] --> src/light.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | if let Illum::Lit{surface_dot, light_direction, ref mut intensity} = x { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `surface_dot: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_direction` [INFO] [stdout] --> src/light.rs:346:44 [INFO] [stdout] | [INFO] [stdout] 346 | if let Illum::Lit{surface_dot, light_direction, ref mut intensity} = x { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `light_direction: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/light.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | for depth in 0..SquareLight::PROG_DEPTH { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/light.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | for i in 0..SquareLight::SAMPLE_RATE { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/render.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/render.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_err` [INFO] [stdout] --> src/mesh.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let max_err = max - err; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min_err` [INFO] [stdout] --> src/mesh.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let min_err = min + err; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_min_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prim_overlap` is assigned to, but never used [INFO] [stdout] --> src/mesh.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let mut prim_overlap = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prim_overlap` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> src/mesh.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | let (models, materials) = tobj::load_obj(path).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc` [INFO] [stdout] --> src/primitive/plane.rs:219:47 [INFO] [stdout] | [INFO] [stdout] 219 | ... .try_fold(true, |acc, x| [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | if let Some(mut child_node_intersect) = child.partial_trace_until_distance(ray, max_distance) { [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.square_light_test.8d73c8af-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d.1a6rclwvxb0chplz.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "/opt/rustwide/target/debug/deps/libraytracer-6559aba0ddb3ddfb.rlib" "/opt/rustwide/target/debug/deps/libtobj-2ec9fce33ccdd594.rlib" "/opt/rustwide/target/debug/deps/librand-29f23bfbf6ca4a81.rlib" "/opt/rustwide/target/debug/deps/librand_core-c636a87079c26c83.rlib" "/opt/rustwide/target/debug/deps/libeuler-5f1ab47bdf4a7286.rlib" "/opt/rustwide/target/debug/deps/libcgmath-290be57b1a243a43.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6ee41bb2a2854ed1.rlib" "/opt/rustwide/target/debug/deps/librand-3f3586764382133e.rlib" "/opt/rustwide/target/debug/deps/libmint-1fdabcd15742d9e4.rlib" "/opt/rustwide/target/debug/deps/libapprox-4a5d5df96a35049a.rlib" "/opt/rustwide/target/debug/deps/libimage-eb84d6a4750957a0.rlib" "/opt/rustwide/target/debug/deps/libtiff-f4fe528d7929f507.rlib" "/opt/rustwide/target/debug/deps/libpng-64cbc1d08d3e60a9.rlib" "/opt/rustwide/target/debug/deps/libdeflate-f81cfb4b2cabc14f.rlib" "/opt/rustwide/target/debug/deps/libinflate-8e0addadc002d703.rlib" "/opt/rustwide/target/debug/deps/libadler32-7d3743d80a778ac4.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c1fd6b181e1981af.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-08d7aa332e236291.rlib" "/opt/rustwide/target/debug/deps/librayon-55d3df427cdfbdb0.rlib" "/opt/rustwide/target/debug/deps/libeither-8d79a9130ccefe6c.rlib" "/opt/rustwide/target/debug/deps/librayon_core-a285230a2d261246.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-ebf50964d37e9f29.rlib" "/opt/rustwide/target/debug/deps/liblibc-1dc5af793c54eb5b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-d6a1d586254d5802.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-bb82d3d13c1e2158.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ccc355fbacc0d8ae.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-a0a77ab05a64711c.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-127689f7eaad1653.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-d8c0efd5ef34a7d7.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-266d27ed6d5fe7df.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-2e3efdb597b094e9.rlib" "/opt/rustwide/target/debug/deps/libnodrop-bfd73af8b2260a15.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-0a9edc57bfe4f517.rlib" "/opt/rustwide/target/debug/deps/libgif-a8ae521436356137.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-9f62c68deb483c3f.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-fd42bf0b2270dc8d.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-1b0db1110e442128.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cf212ebe72c1e125.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-8c8d8af81d561c3a.rlib" "/opt/rustwide/target/debug/deps/liblzw-380b70f9536928dd.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-23224a0e863ddc2e.rlib" "/opt/rustwide/target/debug/deps/libsnowflake-198c6ef41d7189c3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/square_light_test-94c9a1b78e22c86d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raytracer`; 153 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name raytracer src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=bfe63f45a5556d41 -C extra-filename=-bfe63f45a5556d41 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern euler=/opt/rustwide/target/debug/deps/libeuler-5f1ab47bdf4a7286.rlib --extern image=/opt/rustwide/target/debug/deps/libimage-eb84d6a4750957a0.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-29f23bfbf6ca4a81.rlib --extern snowflake=/opt/rustwide/target/debug/deps/libsnowflake-198c6ef41d7189c3.rlib --extern tobj=/opt/rustwide/target/debug/deps/libtobj-2ec9fce33ccdd594.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.transparency_test.ab66b3a7-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62.mlp907whf5qa8n6.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "/opt/rustwide/target/debug/deps/libraytracer-6559aba0ddb3ddfb.rlib" "/opt/rustwide/target/debug/deps/libtobj-2ec9fce33ccdd594.rlib" "/opt/rustwide/target/debug/deps/librand-29f23bfbf6ca4a81.rlib" "/opt/rustwide/target/debug/deps/librand_core-c636a87079c26c83.rlib" "/opt/rustwide/target/debug/deps/libeuler-5f1ab47bdf4a7286.rlib" "/opt/rustwide/target/debug/deps/libcgmath-290be57b1a243a43.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6ee41bb2a2854ed1.rlib" "/opt/rustwide/target/debug/deps/librand-3f3586764382133e.rlib" "/opt/rustwide/target/debug/deps/libmint-1fdabcd15742d9e4.rlib" "/opt/rustwide/target/debug/deps/libapprox-4a5d5df96a35049a.rlib" "/opt/rustwide/target/debug/deps/libimage-eb84d6a4750957a0.rlib" "/opt/rustwide/target/debug/deps/libtiff-f4fe528d7929f507.rlib" "/opt/rustwide/target/debug/deps/libpng-64cbc1d08d3e60a9.rlib" "/opt/rustwide/target/debug/deps/libdeflate-f81cfb4b2cabc14f.rlib" "/opt/rustwide/target/debug/deps/libinflate-8e0addadc002d703.rlib" "/opt/rustwide/target/debug/deps/libadler32-7d3743d80a778ac4.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c1fd6b181e1981af.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-08d7aa332e236291.rlib" "/opt/rustwide/target/debug/deps/librayon-55d3df427cdfbdb0.rlib" "/opt/rustwide/target/debug/deps/libeither-8d79a9130ccefe6c.rlib" "/opt/rustwide/target/debug/deps/librayon_core-a285230a2d261246.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-ebf50964d37e9f29.rlib" "/opt/rustwide/target/debug/deps/liblibc-1dc5af793c54eb5b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-d6a1d586254d5802.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-bb82d3d13c1e2158.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ccc355fbacc0d8ae.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-a0a77ab05a64711c.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-127689f7eaad1653.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-d8c0efd5ef34a7d7.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-266d27ed6d5fe7df.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-2e3efdb597b094e9.rlib" "/opt/rustwide/target/debug/deps/libnodrop-bfd73af8b2260a15.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-0a9edc57bfe4f517.rlib" "/opt/rustwide/target/debug/deps/libgif-a8ae521436356137.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-9f62c68deb483c3f.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-fd42bf0b2270dc8d.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-1b0db1110e442128.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cf212ebe72c1e125.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-8c8d8af81d561c3a.rlib" "/opt/rustwide/target/debug/deps/liblzw-380b70f9536928dd.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-23224a0e863ddc2e.rlib" "/opt/rustwide/target/debug/deps/libsnowflake-198c6ef41d7189c3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/transparency_test-e72ec0cc31de2a62" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.anti_alias_test.f3153c3b-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb.4x2ixgqyh1vmapr3.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "/opt/rustwide/target/debug/deps/libraytracer-6559aba0ddb3ddfb.rlib" "/opt/rustwide/target/debug/deps/libtobj-2ec9fce33ccdd594.rlib" "/opt/rustwide/target/debug/deps/librand-29f23bfbf6ca4a81.rlib" "/opt/rustwide/target/debug/deps/librand_core-c636a87079c26c83.rlib" "/opt/rustwide/target/debug/deps/libeuler-5f1ab47bdf4a7286.rlib" "/opt/rustwide/target/debug/deps/libcgmath-290be57b1a243a43.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6ee41bb2a2854ed1.rlib" "/opt/rustwide/target/debug/deps/librand-3f3586764382133e.rlib" "/opt/rustwide/target/debug/deps/libmint-1fdabcd15742d9e4.rlib" "/opt/rustwide/target/debug/deps/libapprox-4a5d5df96a35049a.rlib" "/opt/rustwide/target/debug/deps/libimage-eb84d6a4750957a0.rlib" "/opt/rustwide/target/debug/deps/libtiff-f4fe528d7929f507.rlib" "/opt/rustwide/target/debug/deps/libpng-64cbc1d08d3e60a9.rlib" "/opt/rustwide/target/debug/deps/libdeflate-f81cfb4b2cabc14f.rlib" "/opt/rustwide/target/debug/deps/libinflate-8e0addadc002d703.rlib" "/opt/rustwide/target/debug/deps/libadler32-7d3743d80a778ac4.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c1fd6b181e1981af.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-08d7aa332e236291.rlib" "/opt/rustwide/target/debug/deps/librayon-55d3df427cdfbdb0.rlib" "/opt/rustwide/target/debug/deps/libeither-8d79a9130ccefe6c.rlib" "/opt/rustwide/target/debug/deps/librayon_core-a285230a2d261246.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-ebf50964d37e9f29.rlib" "/opt/rustwide/target/debug/deps/liblibc-1dc5af793c54eb5b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-d6a1d586254d5802.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-bb82d3d13c1e2158.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ccc355fbacc0d8ae.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-a0a77ab05a64711c.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-127689f7eaad1653.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-d8c0efd5ef34a7d7.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-266d27ed6d5fe7df.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-2e3efdb597b094e9.rlib" "/opt/rustwide/target/debug/deps/libnodrop-bfd73af8b2260a15.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-0a9edc57bfe4f517.rlib" "/opt/rustwide/target/debug/deps/libgif-a8ae521436356137.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-9f62c68deb483c3f.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-fd42bf0b2270dc8d.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-1b0db1110e442128.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cf212ebe72c1e125.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-8c8d8af81d561c3a.rlib" "/opt/rustwide/target/debug/deps/liblzw-380b70f9536928dd.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-23224a0e863ddc2e.rlib" "/opt/rustwide/target/debug/deps/libsnowflake-198c6ef41d7189c3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/anti_alias_test-4785cc769a3ff5cb" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.basic_test.a44b8ef5-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392.2vvf6tji5jyen99f.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "/opt/rustwide/target/debug/deps/libraytracer-6559aba0ddb3ddfb.rlib" "/opt/rustwide/target/debug/deps/libtobj-2ec9fce33ccdd594.rlib" "/opt/rustwide/target/debug/deps/librand-29f23bfbf6ca4a81.rlib" "/opt/rustwide/target/debug/deps/librand_core-c636a87079c26c83.rlib" "/opt/rustwide/target/debug/deps/libeuler-5f1ab47bdf4a7286.rlib" "/opt/rustwide/target/debug/deps/libcgmath-290be57b1a243a43.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-6ee41bb2a2854ed1.rlib" "/opt/rustwide/target/debug/deps/librand-3f3586764382133e.rlib" "/opt/rustwide/target/debug/deps/libmint-1fdabcd15742d9e4.rlib" "/opt/rustwide/target/debug/deps/libapprox-4a5d5df96a35049a.rlib" "/opt/rustwide/target/debug/deps/libimage-eb84d6a4750957a0.rlib" "/opt/rustwide/target/debug/deps/libtiff-f4fe528d7929f507.rlib" "/opt/rustwide/target/debug/deps/libpng-64cbc1d08d3e60a9.rlib" "/opt/rustwide/target/debug/deps/libdeflate-f81cfb4b2cabc14f.rlib" "/opt/rustwide/target/debug/deps/libinflate-8e0addadc002d703.rlib" "/opt/rustwide/target/debug/deps/libadler32-7d3743d80a778ac4.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c1fd6b181e1981af.rlib" "/opt/rustwide/target/debug/deps/libjpeg_decoder-08d7aa332e236291.rlib" "/opt/rustwide/target/debug/deps/librayon-55d3df427cdfbdb0.rlib" "/opt/rustwide/target/debug/deps/libeither-8d79a9130ccefe6c.rlib" "/opt/rustwide/target/debug/deps/librayon_core-a285230a2d261246.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-ebf50964d37e9f29.rlib" "/opt/rustwide/target/debug/deps/liblibc-1dc5af793c54eb5b.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-d6a1d586254d5802.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-bb82d3d13c1e2158.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ccc355fbacc0d8ae.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-a0a77ab05a64711c.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-127689f7eaad1653.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-d8c0efd5ef34a7d7.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-266d27ed6d5fe7df.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-2e3efdb597b094e9.rlib" "/opt/rustwide/target/debug/deps/libnodrop-bfd73af8b2260a15.rlib" "/opt/rustwide/target/debug/deps/libscoped_threadpool-0a9edc57bfe4f517.rlib" "/opt/rustwide/target/debug/deps/libgif-a8ae521436356137.rlib" "/opt/rustwide/target/debug/deps/libcolor_quant-9f62c68deb483c3f.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-fd42bf0b2270dc8d.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-1b0db1110e442128.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-cf212ebe72c1e125.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-8c8d8af81d561c3a.rlib" "/opt/rustwide/target/debug/deps/liblzw-380b70f9536928dd.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-23224a0e863ddc2e.rlib" "/opt/rustwide/target/debug/deps/libsnowflake-198c6ef41d7189c3.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/basic_test-f0f1626644fdb392" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "345fdfa0f787778037baadcb4c99ae2e5b390b02e355bf13c5320fdbf30f891b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "345fdfa0f787778037baadcb4c99ae2e5b390b02e355bf13c5320fdbf30f891b", kill_on_drop: false }` [INFO] [stdout] 345fdfa0f787778037baadcb4c99ae2e5b390b02e355bf13c5320fdbf30f891b