[INFO] cloning repository https://github.com/abusch/toyrt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abusch/toyrt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabusch%2Ftoyrt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabusch%2Ftoyrt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e43eee3721de3b121cc68a7f7d418b26c465386 [INFO] checking abusch/toyrt against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabusch%2Ftoyrt" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abusch/toyrt on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abusch/toyrt [INFO] finished tweaking git repo https://github.com/abusch/toyrt [INFO] tweaked toml for git repo https://github.com/abusch/toyrt written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/abusch/toyrt already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: the cargo feature `rename-dependency` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml for more information about using this feature. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-core v1.4.1 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded rayon v1.0.2 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded gdi32-sys v0.1.2 [INFO] [stderr] Downloaded pkg-config v0.3.12 [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded rand v0.3.22 [INFO] [stderr] Downloaded user32-sys v0.1.3 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded approx v0.1.1 [INFO] [stderr] Downloaded cgmath v0.16.1 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded sdl2-sys v0.31.0 [INFO] [stderr] Downloaded rayon v0.8.2 [INFO] [stderr] Downloaded sdl2 v0.31.0 [INFO] [stderr] Downloaded x11-dl v2.14.0 [INFO] [stderr] Downloaded minifb v0.10.6 [INFO] [stderr] Downloaded rand v0.5.4 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded nodrop v0.1.12 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded crossbeam-utils v0.2.2 [INFO] [stderr] Downloaded crossbeam-deque v0.2.0 [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded orbclient v0.3.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 546a0252949ec69dea9c685ac1ef3a09af59015f56dba0d0659d460d7405065d [INFO] running `Command { std: "docker" "start" "-a" "546a0252949ec69dea9c685ac1ef3a09af59015f56dba0d0659d460d7405065d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "546a0252949ec69dea9c685ac1ef3a09af59015f56dba0d0659d460d7405065d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "546a0252949ec69dea9c685ac1ef3a09af59015f56dba0d0659d460d7405065d", kill_on_drop: false }` [INFO] [stdout] 546a0252949ec69dea9c685ac1ef3a09af59015f56dba0d0659d460d7405065d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a394a575daf6536a407dc056c28002811d23ae941d42fe24cdadf7b284e4ad74 [INFO] running `Command { std: "docker" "start" "-a" "a394a575daf6536a407dc056c28002811d23ae941d42fe24cdadf7b284e4ad74", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] warning: the cargo feature `rename-dependency` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/specifying-dependencies.html#renaming-dependencies-in-cargotoml for more information about using this feature. [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.12 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling minifb v0.10.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking toyrt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rust_2018_preview)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: 2018 Edition preview is no longer relevant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rust_2018_preview)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: 2018 Edition preview is no longer relevant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/camera.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/material.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cg` is imported redundantly [INFO] [stdout] --> src/transform.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use cg::{self, prelude::*}; [INFO] [stdout] | ^^^^ the item `cg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/camera.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/material.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{self, Rng}; [INFO] [stdout] | ^^^^ the item `rand` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cg` is imported redundantly [INFO] [stdout] --> src/transform.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use cg::{self, prelude::*}; [INFO] [stdout] | ^^^^ the item `cg` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let ground: Arc = Arc::new(Diffuse::new(vec3(0.8, 0.8, 0.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | let ground: Arc = Arc::new(Diffuse::new(vec3(0.8, 0.8, 0.0))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let diffuse: Arc = Arc::new(Diffuse::new(vec3(0.8, 0.3, 0.3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | let diffuse: Arc = Arc::new(Diffuse::new(vec3(0.8, 0.3, 0.3))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mirror: Arc = Arc::new(Mirror); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | let mirror: Arc = Arc::new(Mirror); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let ground: Arc = Arc::new(Diffuse::new(vec3(0.8, 0.8, 0.0))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 89 | let ground: Arc = Arc::new(Diffuse::new(vec3(0.8, 0.8, 0.0))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub mat: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub mat: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | let diffuse: Arc = Arc::new(Diffuse::new(vec3(0.8, 0.3, 0.3))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | let diffuse: Arc = Arc::new(Diffuse::new(vec3(0.8, 0.3, 0.3))); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub material: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | material: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | material: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | let mirror: Arc = Arc::new(Mirror); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 | let mirror: Arc = Arc::new(Mirror); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | pub shape: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub shape: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | pub shapes: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | pub shapes: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub mat: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub mat: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | pub material: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(s: Box, t: Transform) -> TransformedShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(s: Box, t: Transform) -> TransformedShape { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | material: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | material: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | pub shape: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 126 | pub shape: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(radius: f32, material: Arc) -> Sphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(radius: f32, material: Arc) -> Sphere { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | pub shapes: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 | pub shapes: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(s: Box, t: Transform) -> TransformedShape { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 131 | pub fn new(s: Box, t: Transform) -> TransformedShape { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(radius: f32, material: Arc) -> Sphere { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(radius: f32, material: Arc) -> Sphere { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(k: f32, mat: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(k: f32, mat: Arc) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shape.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(k: f32, mat: Arc) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new(k: f32, mat: Arc) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn colour(shape: &Shape, r: &mut Ray, depth: u32) -> Vec3f { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | pub fn colour(shape: &dyn Shape, r: &mut Ray, depth: u32) -> Vec3f { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:115:23 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn colour(shape: &Shape, r: &mut Ray, depth: u32) -> Vec3f { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | pub fn colour(shape: &dyn Shape, r: &mut Ray, depth: u32) -> Vec3f { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toyrt` (bin "toyrt") due to 2 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `toyrt` (bin "toyrt" test) due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a394a575daf6536a407dc056c28002811d23ae941d42fe24cdadf7b284e4ad74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a394a575daf6536a407dc056c28002811d23ae941d42fe24cdadf7b284e4ad74", kill_on_drop: false }` [INFO] [stdout] a394a575daf6536a407dc056c28002811d23ae941d42fe24cdadf7b284e4ad74