[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x11-dl v2.2.1 [INFO] [stderr] Downloaded minifb v0.9.1 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2d26a06b0231375f89a15761e2c6699fcc65bafa9f2503feb2e646b5da6a8b4 [INFO] running `Command { std: "docker" "start" "-a" "f2d26a06b0231375f89a15761e2c6699fcc65bafa9f2503feb2e646b5da6a8b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2d26a06b0231375f89a15761e2c6699fcc65bafa9f2503feb2e646b5da6a8b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2d26a06b0231375f89a15761e2c6699fcc65bafa9f2503feb2e646b5da6a8b4", kill_on_drop: false }` [INFO] [stdout] f2d26a06b0231375f89a15761e2c6699fcc65bafa9f2503feb2e646b5da6a8b4 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5123aa55aed5f702c33c816e424219a7f98b6dd5a8c7b6baf9e2b05b82d42c62 [INFO] running `Command { std: "docker" "start" "-a" "5123aa55aed5f702c33c816e424219a7f98b6dd5a8c7b6baf9e2b05b82d42c62", kill_on_drop: false }` [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 46.96s [INFO] running `Command { std: "docker" "inspect" "5123aa55aed5f702c33c816e424219a7f98b6dd5a8c7b6baf9e2b05b82d42c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5123aa55aed5f702c33c816e424219a7f98b6dd5a8c7b6baf9e2b05b82d42c62", kill_on_drop: false }` [INFO] [stdout] 5123aa55aed5f702c33c816e424219a7f98b6dd5a8c7b6baf9e2b05b82d42c62 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7df558d5b088a4cfb04b2ac6a1fa026a2a46e72d5768320f54f59ff52a5a1120 [INFO] running `Command { std: "docker" "start" "-a" "7df558d5b088a4cfb04b2ac6a1fa026a2a46e72d5768320f54f59ff52a5a1120", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 4.80s [INFO] running `Command { std: "docker" "inspect" "7df558d5b088a4cfb04b2ac6a1fa026a2a46e72d5768320f54f59ff52a5a1120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df558d5b088a4cfb04b2ac6a1fa026a2a46e72d5768320f54f59ff52a5a1120", kill_on_drop: false }` [INFO] [stdout] 7df558d5b088a4cfb04b2ac6a1fa026a2a46e72d5768320f54f59ff52a5a1120 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0dd47f504c6a357b927b1ee2a47ed9dcce01df215e782deeadf956e55778503f [INFO] running `Command { std: "docker" "start" "-a" "0dd47f504c6a357b927b1ee2a47ed9dcce01df215e782deeadf956e55778503f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 2.96s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raytrace-d73f22cf4938e5ec) [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::to_pixel_color ... ok [INFO] [stdout] test color::sub ... ok [INFO] [stdout] test vector3::cross ... ok [INFO] [stdout] test vector3::add ... ok [INFO] [stdout] test vector3::len ... ok [INFO] [stdout] test vector3::dot ... 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" "0dd47f504c6a357b927b1ee2a47ed9dcce01df215e782deeadf956e55778503f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd47f504c6a357b927b1ee2a47ed9dcce01df215e782deeadf956e55778503f", kill_on_drop: false }` [INFO] [stdout] 0dd47f504c6a357b927b1ee2a47ed9dcce01df215e782deeadf956e55778503f