[INFO] cloning repository https://github.com/rudolphalmeida/raytrac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rudolphalmeida/raytrac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudolphalmeida%2Fraytrac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudolphalmeida%2Fraytrac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d12c5dd5691122ef3f4de14fd3774e631b31094 [INFO] testing rudolphalmeida/raytrac 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%2Frudolphalmeida%2Fraytrac" "/workspace/builds/worker-88/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-88/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rudolphalmeida/raytrac 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/rudolphalmeida/raytrac [INFO] finished tweaking git repo https://github.com/rudolphalmeida/raytrac [INFO] tweaked toml for git repo https://github.com/rudolphalmeida/raytrac written to /workspace/builds/worker-88/source/Cargo.toml [INFO] crate git repo https://github.com/rudolphalmeida/raytrac 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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] a9448817010d3a845660d5283992610161f9d4aeffa18d4354a0f8ccaf97e4d2 [INFO] running `Command { std: "docker" "start" "-a" "a9448817010d3a845660d5283992610161f9d4aeffa18d4354a0f8ccaf97e4d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9448817010d3a845660d5283992610161f9d4aeffa18d4354a0f8ccaf97e4d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9448817010d3a845660d5283992610161f9d4aeffa18d4354a0f8ccaf97e4d2", kill_on_drop: false }` [INFO] [stdout] a9448817010d3a845660d5283992610161f9d4aeffa18d4354a0f8ccaf97e4d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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] a1664723f1a515f5902ab2a048fd19b1c7900719a61ae1c8e2ab0371e4d04107 [INFO] running `Command { std: "docker" "start" "-a" "a1664723f1a515f5902ab2a048fd19b1c7900719a61ae1c8e2ab0371e4d04107", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling termios v0.3.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling indicatif v0.7.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling tiff v0.2.1 [INFO] [stderr] Compiling image v0.20.0 [INFO] [stderr] Compiling raytrac v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | hittable: Option<&'a Box>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - hittable: Option<&'a Box>, [INFO] [stdout] 19 + hittable: Option<&'a Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 156 + fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 156 + fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 170 + fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:170:45 [INFO] [stdout] | [INFO] [stdout] 170 | fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 170 + fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 - fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 184 + fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 - fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 184 + fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stdout] 80 + pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stdout] 90 + fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stdout] 129 + fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn lerp(ray: &Ray, world: &Hittable, depth: i32) -> Vector3 { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - fn lerp(ray: &Ray, world: &Hittable, depth: i32) -> Vector3 { [INFO] [stdout] 85 + fn lerp(ray: &Ray, world: &dyn Hittable, depth: i32) -> Vector3 { [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 38.64s [INFO] running `Command { std: "docker" "inspect" "a1664723f1a515f5902ab2a048fd19b1c7900719a61ae1c8e2ab0371e4d04107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1664723f1a515f5902ab2a048fd19b1c7900719a61ae1c8e2ab0371e4d04107", kill_on_drop: false }` [INFO] [stdout] a1664723f1a515f5902ab2a048fd19b1c7900719a61ae1c8e2ab0371e4d04107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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] aa4946c627f182ddfbb7e9f4d210d2a02a5ee2348c3eecee35c23bc0a6cd428e [INFO] running `Command { std: "docker" "start" "-a" "aa4946c627f182ddfbb7e9f4d210d2a02a5ee2348c3eecee35c23bc0a6cd428e", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | hittable: Option<&'a Box>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - hittable: Option<&'a Box>, [INFO] [stdout] 19 + hittable: Option<&'a Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 156 + fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 156 + fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 170 + fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:170:45 [INFO] [stdout] | [INFO] [stdout] 170 | fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 170 + fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 - fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 184 + fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 - fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 184 + fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stdout] 80 + pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stdout] 90 + fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stdout] 129 + fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raytrac v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn lerp(ray: &Ray, world: &Hittable, depth: i32) -> Vector3 { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - fn lerp(ray: &Ray, world: &Hittable, depth: i32) -> Vector3 { [INFO] [stdout] 85 + fn lerp(ray: &Ray, world: &dyn Hittable, depth: i32) -> Vector3 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | hittable: Option<&'a Box>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - hittable: Option<&'a Box>, [INFO] [stdout] 19 + hittable: Option<&'a Box>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 156 + fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 156 - fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 156 + fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:170:26 [INFO] [stdout] | [INFO] [stdout] 170 | fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 170 + fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:170:45 [INFO] [stdout] | [INFO] [stdout] 170 | fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 170 - fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 170 + fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 - fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 184 + fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:184:45 [INFO] [stdout] | [INFO] [stdout] 184 | fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 184 - fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] 184 + fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stdout] 80 + pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 - fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stdout] 90 + fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:129:45 [INFO] [stdout] | [INFO] [stdout] 129 | fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 - fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stdout] 129 + fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | fn lerp(ray: &Ray, world: &Hittable, depth: i32) -> Vector3 { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - fn lerp(ray: &Ray, world: &Hittable, depth: i32) -> Vector3 { [INFO] [stdout] 85 + fn lerp(ray: &Ray, world: &dyn Hittable, depth: i32) -> Vector3 { [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 1.50s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/raytrac-7fb6204e70428845) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/raytrac-d2cd916ec5609271) [INFO] running `Command { std: "docker" "inspect" "aa4946c627f182ddfbb7e9f4d210d2a02a5ee2348c3eecee35c23bc0a6cd428e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa4946c627f182ddfbb7e9f4d210d2a02a5ee2348c3eecee35c23bc0a6cd428e", kill_on_drop: false }` [INFO] [stdout] aa4946c627f182ddfbb7e9f4d210d2a02a5ee2348c3eecee35c23bc0a6cd428e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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] 345e09c745f91684a2ffb366d34736f1e22388845dce602c4609906729b16bcd [INFO] running `Command { std: "docker" "start" "-a" "345e09c745f91684a2ffb366d34736f1e22388845dce602c4609906729b16bcd", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:19:30 [INFO] [stderr] | [INFO] [stderr] 19 | hittable: Option<&'a Box>, [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 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - hittable: Option<&'a Box>, [INFO] [stderr] 19 + hittable: Option<&'a Box>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:156:26 [INFO] [stderr] | [INFO] [stderr] 156 | fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 156 - fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] 156 + fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:156:45 [INFO] [stderr] | [INFO] [stderr] 156 | fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 156 - fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] 156 + fn box_x_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:170:26 [INFO] [stderr] | [INFO] [stderr] 170 | fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 170 - fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] 170 + fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:170:45 [INFO] [stderr] | [INFO] [stderr] 170 | fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 170 - fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] 170 + fn box_y_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:184:26 [INFO] [stderr] | [INFO] [stderr] 184 | fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 184 - fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] 184 + fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:184:45 [INFO] [stderr] | [INFO] [stderr] 184 | fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 184 - fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] 184 + fn box_z_compare(a: &Box, b: &Box, time0: f64, time1: f64) -> Ordering { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:80:32 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 80 - pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stderr] 80 + pub fn new(l: &'a mut [Box], time0: f64, time1: f64) -> BvhTree<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:90:41 [INFO] [stderr] | [INFO] [stderr] 90 | fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 90 - fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stderr] 90 + fn build(&mut self, l: &'a mut [Box], time0: f64, time1: f64) -> NodeId { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:129:45 [INFO] [stderr] | [INFO] [stderr] 129 | fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 129 - fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stderr] 129 + fn new_leaf(&mut self, hitable: &'a Box, time0: f64, time1: f64) -> NodeId { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:85:28 [INFO] [stderr] | [INFO] [stderr] 85 | fn lerp(ray: &Ray, world: &Hittable, depth: i32) -> Vector3 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 85 - fn lerp(ray: &Ray, world: &Hittable, depth: i32) -> Vector3 { [INFO] [stderr] 85 + fn lerp(ray: &Ray, world: &dyn Hittable, depth: i32) -> Vector3 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `raytrac` (lib) generated 11 warnings [INFO] [stderr] warning: `raytrac` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/raytrac-7fb6204e70428845) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytrac-d2cd916ec5609271) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests raytrac [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "345e09c745f91684a2ffb366d34736f1e22388845dce602c4609906729b16bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "345e09c745f91684a2ffb366d34736f1e22388845dce602c4609906729b16bcd", kill_on_drop: false }` [INFO] [stdout] 345e09c745f91684a2ffb366d34736f1e22388845dce602c4609906729b16bcd