[INFO] cloning repository https://github.com/Bestra/rust-weekend-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bestra/rust-weekend-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBestra%2Frust-weekend-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBestra%2Frust-weekend-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f4b9903d037396543bc4eba270de1dbce31f7a7 [INFO] checking Bestra/rust-weekend-raytracer against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBestra%2Frust-weekend-raytracer" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bestra/rust-weekend-raytracer on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bestra/rust-weekend-raytracer [INFO] finished tweaking git repo https://github.com/Bestra/rust-weekend-raytracer [INFO] tweaked toml for git repo https://github.com/Bestra/rust-weekend-raytracer written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Bestra/rust-weekend-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", 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] 292b0214e8768b1376b4265e7a30cfb0ce03512c6ac1a08794ca9615a2703ddc [INFO] running `Command { std: "docker" "start" "-a" "292b0214e8768b1376b4265e7a30cfb0ce03512c6ac1a08794ca9615a2703ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "292b0214e8768b1376b4265e7a30cfb0ce03512c6ac1a08794ca9615a2703ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "292b0214e8768b1376b4265e7a30cfb0ce03512c6ac1a08794ca9615a2703ddc", kill_on_drop: false }` [INFO] [stdout] 292b0214e8768b1376b4265e7a30cfb0ce03512c6ac1a08794ca9615a2703ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83b3813c34a63be546a79d86b1c6292866a734476140752567f884896c72e38c [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" "83b3813c34a63be546a79d86b1c6292866a734476140752567f884896c72e38c", kill_on_drop: false }` [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking lazy_static v1.0.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking rand_core v0.2.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking bitflags v1.0.2 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.5.0 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking weekend-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub material: Arc, [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] 14 - pub material: Arc, [INFO] [stdout] 14 + pub material: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub material: Arc, [INFO] [stdout] 33 + pub material: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - pub material: Arc, [INFO] [stdout] 106 + pub material: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | pub list: 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] 196 - pub list: Vec>, [INFO] [stdout] 196 + pub list: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 309 - left: Box, [INFO] [stdout] 309 + left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 310 - right: Box, [INFO] [stdout] 310 + right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.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/geo.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 - pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 244 + pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:244:49 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 - pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 244 + pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 257 + pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:257:49 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 257 + pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:270:30 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 - pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 270 + pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:270:49 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 - pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 270 + pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] 289 + pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:289:47 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] 289 + pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn box_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] 20 - fn box_clone(&self) -> Box; [INFO] [stdout] 20 + fn box_clone(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.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/geo.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(center: Vec3, radius: f64, material: Arc) -> Sphere { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - pub fn new(center: Vec3, radius: f64, material: Arc) -> Sphere { [INFO] [stdout] 37 + pub fn new(center: Vec3, radius: f64, material: Arc) -> Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | fn box_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] 94 - fn box_clone(&self) -> Box { [INFO] [stdout] 94 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | material: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - material: Arc, [INFO] [stdout] 116 + material: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | fn box_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] 189 - fn box_clone(&self) -> Box { [INFO] [stdout] 189 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | fn box_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] 239 - fn box_clone(&self) -> Box { [INFO] [stdout] 239 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:316:30 [INFO] [stdout] | [INFO] [stdout] 316 | mut hitable: 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] 316 - mut hitable: Vec>, [INFO] [stdout] 316 + mut hitable: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:404:32 [INFO] [stdout] | [INFO] [stdout] 404 | fn box_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] 404 - fn box_clone(&self) -> Box { [INFO] [stdout] 404 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:342:23 [INFO] [stdout] | [INFO] [stdout] 342 | let 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] 342 - let left: Box; [INFO] [stdout] 342 + let left: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | let 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] 343 - let right: Box; [INFO] [stdout] 343 + let right: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | let mut list: Vec> = vec![Box::new(Sphere { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - let mut list: Vec> = vec![Box::new(Sphere { [INFO] [stdout] 10 + let mut list: Vec> = vec![Box::new(Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub material: Arc, [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] 14 - pub material: Arc, [INFO] [stdout] 14 + pub material: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub material: Arc, [INFO] [stdout] 33 + pub material: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 - pub material: Arc, [INFO] [stdout] 106 + pub material: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | pub list: 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] 196 - pub list: Vec>, [INFO] [stdout] 196 + pub list: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 309 | 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] 309 - left: Box, [INFO] [stdout] 309 + left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 310 - right: Box, [INFO] [stdout] 310 + right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.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/geo.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 - pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 244 + pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:244:49 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 244 - pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 244 + pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 257 + pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:257:49 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 257 - pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 257 + pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:270:30 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 - pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 270 + pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:270:49 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 270 - pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 270 + pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:289:28 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] 289 + pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:289:47 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 289 - pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] 289 + pub fn box_compare(a: &Box, b: &Box, axis: Axis) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | fn box_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] 20 - fn box_clone(&self) -> Box; [INFO] [stdout] 20 + fn box_clone(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.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/geo.rs:37:57 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new(center: Vec3, radius: f64, material: Arc) -> Sphere { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - pub fn new(center: Vec3, radius: f64, material: Arc) -> Sphere { [INFO] [stdout] 37 + pub fn new(center: Vec3, radius: f64, material: Arc) -> Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | fn box_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] 94 - fn box_clone(&self) -> Box { [INFO] [stdout] 94 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | material: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 - material: Arc, [INFO] [stdout] 116 + material: Arc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | fn box_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] 189 - fn box_clone(&self) -> Box { [INFO] [stdout] 189 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | fn box_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] 239 - fn box_clone(&self) -> Box { [INFO] [stdout] 239 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:316:30 [INFO] [stdout] | [INFO] [stdout] 316 | mut hitable: 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] 316 - mut hitable: Vec>, [INFO] [stdout] 316 + mut hitable: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:404:32 [INFO] [stdout] | [INFO] [stdout] 404 | fn box_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] 404 - fn box_clone(&self) -> Box { [INFO] [stdout] 404 + fn box_clone(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:342:23 [INFO] [stdout] | [INFO] [stdout] 342 | let 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] 342 - let left: Box; [INFO] [stdout] 342 + let left: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:343:24 [INFO] [stdout] | [INFO] [stdout] 343 | let 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] 343 - let right: Box; [INFO] [stdout] 343 + let right: Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scene.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | list.append(&mut vec![ [INFO] [stdout] | __________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 76 | | Box::new(Sphere { [INFO] [stdout] 77 | | center: vec3(0, 1, 0), [INFO] [stdout] 78 | | radius: 1.0, [INFO] [stdout] ... | [INFO] [stdout] 95 | | }), [INFO] [stdout] 96 | | ]); [INFO] [stdout] | |_____^ expected trait object `dyn Hittable`, found struct `Sphere` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | let mut list: Vec> = vec![Box::new(Sphere { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - let mut list: Vec> = vec![Box::new(Sphere { [INFO] [stdout] 10 + let mut list: Vec> = vec![Box::new(Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | let v: 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] 161 - let v: Vec> = vec![ [INFO] [stdout] 161 + let v: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `weekend-raytracer` due to 2 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/scene.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | list.append(&mut vec![ [INFO] [stdout] | __________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 76 | | Box::new(Sphere { [INFO] [stdout] 77 | | center: vec3(0, 1, 0), [INFO] [stdout] 78 | | radius: 1.0, [INFO] [stdout] ... | [INFO] [stdout] 95 | | }), [INFO] [stdout] 96 | | ]); [INFO] [stdout] | |_____^ expected trait object `dyn geo::Hittable`, found struct `geo::Sphere` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Vec>` [INFO] [stdout] found mutable reference `&mut Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | let v: 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] 161 - let v: Vec> = vec![ [INFO] [stdout] 161 + let v: Vec> = vec![ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/geo.rs:415:24 [INFO] [stdout] | [INFO] [stdout] 415 | let v: Vec> = vec![Box::new(Sphere { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 415 - let v: Vec> = vec![Box::new(Sphere { [INFO] [stdout] 415 + let v: Vec> = vec![Box::new(Sphere { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `weekend-raytracer` due to 2 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "83b3813c34a63be546a79d86b1c6292866a734476140752567f884896c72e38c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b3813c34a63be546a79d86b1c6292866a734476140752567f884896c72e38c", kill_on_drop: false }` [INFO] [stdout] 83b3813c34a63be546a79d86b1c6292866a734476140752567f884896c72e38c