[INFO] cloning repository https://github.com/pepone42/raytracer.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pepone42/raytracer.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2Fraytracer.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpepone42%2Fraytracer.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9bf53733c283bede7f8369c66fa9fd04c60a732 [INFO] testing pepone42/raytracer.rs 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%2Fpepone42%2Fraytracer.rs" "/workspace/builds/worker-96/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-96/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pepone42/raytracer.rs 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/pepone42/raytracer.rs [INFO] finished tweaking git repo https://github.com/pepone42/raytracer.rs [INFO] tweaked toml for git repo https://github.com/pepone42/raytracer.rs written to /workspace/builds/worker-96/source/Cargo.toml [INFO] crate git repo https://github.com/pepone42/raytracer.rs 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3371d0815752f635d208f78902b6745b3aca8cc4851674c34f3cc06392eabb2 [INFO] running `Command { std: "docker" "start" "-a" "c3371d0815752f635d208f78902b6745b3aca8cc4851674c34f3cc06392eabb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3371d0815752f635d208f78902b6745b3aca8cc4851674c34f3cc06392eabb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3371d0815752f635d208f78902b6745b3aca8cc4851674c34f3cc06392eabb2", kill_on_drop: false }` [INFO] [stdout] c3371d0815752f635d208f78902b6745b3aca8cc4851674c34f3cc06392eabb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dc8823b04b4c4e8cf8772c62998edbb089a324c1460a31acc0ea04ecfe6f2db [INFO] running `Command { std: "docker" "start" "-a" "6dc8823b04b4c4e8cf8772c62998edbb089a324c1460a31acc0ea04ecfe6f2db", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling dylib v0.0.1 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling x11-dl v2.2.1 [INFO] [stderr] Compiling minifb v0.9.1 [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | surface: &'a Surface, [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] 10 - surface: &'a Surface, [INFO] [stdout] 10 + surface: &'a dyn Surface, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plane.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | surface: &'a Surface, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - surface: &'a Surface, [INFO] [stdout] 9 + surface: &'a dyn Surface, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/intersection.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub object: &'a Object, [INFO] [stdout] 6 + pub object: &'a dyn Object, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub objects: Vec<&'a Object>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub objects: Vec<&'a Object>, [INFO] [stdout] 6 + pub objects: Vec<&'a dyn Object>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn surface(&self) -> &Surface; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn surface(&self) -> &Surface; [INFO] [stdout] 9 + fn surface(&self) -> &dyn Surface; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stdout] 14 + pub fn new(center: Vector3, radius: f64, surface: &'a dyn Surface) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 surface(&self) -> &Surface { [INFO] [stdout] 47 + fn surface(&self) -> &dyn Surface { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plane.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stdout] 13 + pub fn new(norm: Vector3, offset: f64, surface: &'a dyn Surface) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plane.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 surface(&self) -> &Surface { [INFO] [stdout] 40 + fn surface(&self) -> &dyn Surface { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | obj: &Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - obj: &Object, [INFO] [stdout] 48 + obj: &dyn Object, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stdout] 65 + fn get_natural_color(&self, obj: &dyn Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 48.32s [INFO] running `Command { std: "docker" "inspect" "6dc8823b04b4c4e8cf8772c62998edbb089a324c1460a31acc0ea04ecfe6f2db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dc8823b04b4c4e8cf8772c62998edbb089a324c1460a31acc0ea04ecfe6f2db", kill_on_drop: false }` [INFO] [stdout] 6dc8823b04b4c4e8cf8772c62998edbb089a324c1460a31acc0ea04ecfe6f2db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 072730e81ac1beda44bbdee2446ae0d2d3efbf8ff0dfb96a4544f908bc7a1362 [INFO] running `Command { std: "docker" "start" "-a" "072730e81ac1beda44bbdee2446ae0d2d3efbf8ff0dfb96a4544f908bc7a1362", kill_on_drop: false }` [INFO] [stderr] Compiling raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | surface: &'a Surface, [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] 10 - surface: &'a Surface, [INFO] [stdout] 10 + surface: &'a dyn Surface, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plane.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | surface: &'a Surface, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - surface: &'a Surface, [INFO] [stdout] 9 + surface: &'a dyn Surface, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/intersection.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub object: &'a Object, [INFO] [stdout] 6 + pub object: &'a dyn Object, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub objects: Vec<&'a Object>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - pub objects: Vec<&'a Object>, [INFO] [stdout] 6 + pub objects: Vec<&'a dyn Object>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/object.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | fn surface(&self) -> &Surface; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn surface(&self) -> &Surface; [INFO] [stdout] 9 + fn surface(&self) -> &dyn Surface; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:14:59 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stdout] 14 + pub fn new(center: Vector3, radius: f64, surface: &'a dyn Surface) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 surface(&self) -> &Surface { [INFO] [stdout] 47 + fn surface(&self) -> &dyn Surface { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plane.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stdout] 13 + pub fn new(norm: Vector3, offset: f64, surface: &'a dyn Surface) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plane.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | fn surface(&self) -> &Surface { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 surface(&self) -> &Surface { [INFO] [stdout] 40 + fn surface(&self) -> &dyn Surface { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | obj: &Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - obj: &Object, [INFO] [stdout] 48 + obj: &dyn Object, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/raytracer.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stdout] 65 + fn get_natural_color(&self, obj: &dyn Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.94s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/raytrace-f88c6096d060e138) [INFO] running `Command { std: "docker" "inspect" "072730e81ac1beda44bbdee2446ae0d2d3efbf8ff0dfb96a4544f908bc7a1362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "072730e81ac1beda44bbdee2446ae0d2d3efbf8ff0dfb96a4544f908bc7a1362", kill_on_drop: false }` [INFO] [stdout] 072730e81ac1beda44bbdee2446ae0d2d3efbf8ff0dfb96a4544f908bc7a1362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-96/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ee8a81aa0c0e8a06b7bf04255b679b0589d967a9b8c05929a0acb5f98997f142 [INFO] running `Command { std: "docker" "start" "-a" "ee8a81aa0c0e8a06b7bf04255b679b0589d967a9b8c05929a0acb5f98997f142", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sphere.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | surface: &'a Surface, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 - surface: &'a Surface, [INFO] [stderr] 10 + surface: &'a dyn Surface, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plane.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | surface: &'a Surface, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - surface: &'a Surface, [INFO] [stderr] 9 + surface: &'a dyn Surface, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/intersection.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | pub object: &'a Object, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub object: &'a Object, [INFO] [stderr] 6 + pub object: &'a dyn Object, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | pub objects: Vec<&'a Object>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - pub objects: Vec<&'a Object>, [INFO] [stderr] 6 + pub objects: Vec<&'a dyn Object>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/object.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | fn surface(&self) -> &Surface; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - fn surface(&self) -> &Surface; [INFO] [stderr] 9 + fn surface(&self) -> &dyn Surface; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sphere.rs:14:59 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 - pub fn new(center: Vector3, radius: f64, surface: &'a Surface) -> Self { [INFO] [stderr] 14 + pub fn new(center: Vector3, radius: f64, surface: &'a dyn Surface) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/sphere.rs:47:27 [INFO] [stderr] | [INFO] [stderr] 47 | fn surface(&self) -> &Surface { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 47 - fn surface(&self) -> &Surface { [INFO] [stderr] 47 + fn surface(&self) -> &dyn Surface { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plane.rs:13:57 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - pub fn new(norm: Vector3, offset: f64, surface: &'a Surface) -> Self { [INFO] [stderr] 13 + pub fn new(norm: Vector3, offset: f64, surface: &'a dyn Surface) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plane.rs:40:27 [INFO] [stderr] | [INFO] [stderr] 40 | fn surface(&self) -> &Surface { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 - fn surface(&self) -> &Surface { [INFO] [stderr] 40 + fn surface(&self) -> &dyn Surface { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raytracer.rs:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | obj: &Object, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - obj: &Object, [INFO] [stderr] 48 + obj: &dyn Object, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raytracer.rs:65:39 [INFO] [stderr] | [INFO] [stderr] 65 | fn get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 - fn get_natural_color(&self, obj: &Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stderr] 65 + fn get_natural_color(&self, obj: &dyn Object, pos: Vector3, norm: Vector3, rd: Vector3) -> Color { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `raytrace` (bin "raytrace" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytrace-f88c6096d060e138) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test color::add ... ok [INFO] [stdout] test color::clamp ... ok [INFO] [stdout] test color::scalar_mul ... ok [INFO] [stdout] test color::sub ... ok [INFO] [stdout] test color::to_pixel_color ... ok [INFO] [stdout] test vector3::add ... ok [INFO] [stdout] test vector3::cross ... ok [INFO] [stdout] test vector3::dot ... ok [INFO] [stdout] test vector3::len ... ok [INFO] [stdout] test vector3::norm ... ok [INFO] [stdout] test vector3::scalar_mul_vector ... ok [INFO] [stdout] test vector3::sub ... ok [INFO] [stdout] test vector3::vector_mul_scalar ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee8a81aa0c0e8a06b7bf04255b679b0589d967a9b8c05929a0acb5f98997f142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8a81aa0c0e8a06b7bf04255b679b0589d967a9b8c05929a0acb5f98997f142", kill_on_drop: false }` [INFO] [stdout] ee8a81aa0c0e8a06b7bf04255b679b0589d967a9b8c05929a0acb5f98997f142