[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] building rudolphalmeida/raytrac/6d12c5dd5691122ef3f4de14fd3774e631b31094 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frudolphalmeida%2Fraytrac" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rudolphalmeida/raytrac on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termios v0.3.0 [INFO] [stderr] Downloaded image v0.20.0 [INFO] [stderr] Downloaded indicatif v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d83bcb167bee6ca317da5ebe9cdc18e501bb761419e6619d45b5e10f43dc16a [INFO] running `Command { std: "docker" "start" "-a" "8d83bcb167bee6ca317da5ebe9cdc18e501bb761419e6619d45b5e10f43dc16a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d83bcb167bee6ca317da5ebe9cdc18e501bb761419e6619d45b5e10f43dc16a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d83bcb167bee6ca317da5ebe9cdc18e501bb761419e6619d45b5e10f43dc16a", kill_on_drop: false }` [INFO] [stdout] 8d83bcb167bee6ca317da5ebe9cdc18e501bb761419e6619d45b5e10f43dc16a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab27f6e1d084429f5384f91dabdce6ee565a9b1833d5bf4eac8087b3d2aa54dd [INFO] running `Command { std: "docker" "start" "-a" "ab27f6e1d084429f5384f91dabdce6ee565a9b1833d5bf4eac8087b3d2aa54dd", 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 unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling termios v0.3.0 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling indicatif v0.7.0 [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | fn lerp(ray: &Ray, world: &dyn Hittable, depth: i32) -> Vector3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ab27f6e1d084429f5384f91dabdce6ee565a9b1833d5bf4eac8087b3d2aa54dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab27f6e1d084429f5384f91dabdce6ee565a9b1833d5bf4eac8087b3d2aa54dd", kill_on_drop: false }` [INFO] [stdout] ab27f6e1d084429f5384f91dabdce6ee565a9b1833d5bf4eac8087b3d2aa54dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 479313930f373c2f66bcc57e49893e6e934f2275475d1af449b0f5cae312ae3b [INFO] running `Command { std: "docker" "start" "-a" "479313930f373c2f66bcc57e49893e6e934f2275475d1af449b0f5cae312ae3b", 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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | fn lerp(ray: &Ray, world: &dyn Hittable, depth: i32) -> Vector3 { [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/bvh.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | hittable: Option<&'a Box>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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/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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | fn lerp(ray: &Ray, world: &dyn Hittable, depth: i32) -> Vector3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "479313930f373c2f66bcc57e49893e6e934f2275475d1af449b0f5cae312ae3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "479313930f373c2f66bcc57e49893e6e934f2275475d1af449b0f5cae312ae3b", kill_on_drop: false }` [INFO] [stdout] 479313930f373c2f66bcc57e49893e6e934f2275475d1af449b0f5cae312ae3b