[INFO] cloning repository https://github.com/fu0110/ray_tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fu0110/ray_tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffu0110%2Fray_tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffu0110%2Fray_tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f31eb91c462900e7581ca428e8eaf84fe817c8e [INFO] checking fu0110/ray_tracing against master#0a8629bff642c3c3b84bb644c0099194f063b627 for pr-86231 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffu0110%2Fray_tracing" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fu0110/ray_tracing on toolchain 0a8629bff642c3c3b84bb644c0099194f063b627 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fu0110/ray_tracing [INFO] finished tweaking git repo https://github.com/fu0110/ray_tracing [INFO] tweaked toml for git repo https://github.com/fu0110/ray_tracing written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/fu0110/ray_tracing already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b3a3c5a0a422c270a5c4fe929cdbd7c498a491a22293e829010a94685bad0e3 [INFO] running `Command { std: "docker" "start" "-a" "0b3a3c5a0a422c270a5c4fe929cdbd7c498a491a22293e829010a94685bad0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b3a3c5a0a422c270a5c4fe929cdbd7c498a491a22293e829010a94685bad0e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b3a3c5a0a422c270a5c4fe929cdbd7c498a491a22293e829010a94685bad0e3", kill_on_drop: false }` [INFO] [stdout] 0b3a3c5a0a422c270a5c4fe929cdbd7c498a491a22293e829010a94685bad0e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+0a8629bff642c3c3b84bb644c0099194f063b627" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ff6e1ca2a3e3b039231d600e5163075ed01aadc415f330bd327e18e5e0c538d [INFO] running `Command { std: "docker" "start" "-a" "5ff6e1ca2a3e3b039231d600e5163075ed01aadc415f330bd327e18e5e0c538d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking bytemuck v1.7.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking thread_pool v1.0.0 (https://github.com/dahai-f/thread_pool.git#1c53721a) [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking ray_tracing v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | left_child: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | right_child: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(aabb: AABB, left_child: Arc, right_child: Arc) -> BvhNode { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(aabb: AABB, left_child: Arc, right_child: Arc) -> BvhNode { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from_hit_list(hittable_list: &mut [Arc], t0: f32, t1: f32) -> BvhNode { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | let (left_child, right_child): (Arc, Arc) = { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | let (left_child, right_child): (Arc, Arc) = { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/diffuse_light.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | emit: Arc, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/lambertian.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | texture: Arc, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moving_sphere.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ray_hit.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ray_hit.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | impl Hittable for &[Box] { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rect.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] ... [INFO] [stdout] 89 | rect!(XyRect, x, y, z, vector3_xyz); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] = note: this warning originates in the macro `rect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rect.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] ... [INFO] [stdout] 90 | rect!(YzRect, y, z, x, vector3_yzx); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] = note: this warning originates in the macro `rect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rect.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] ... [INFO] [stdout] 91 | rect!(ZxRect, z, x, y, vector3_zxy); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] = note: this warning originates in the macro `rect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn random(nx: i32, ny: i32) -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut scene: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn two_spheres() -> Vec> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn two_perlin_sphere(nx: u32, ny: u32) -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn earth() -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:196:39 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn earth_other_half() -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:217:51 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn simple_light(nx: i32, ny: i32) -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:222:39 [INFO] [stdout] | [INFO] [stdout] 222 | let mut obj_list: Vec> = Vec::with_capacity(4); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:265:50 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn cornell_box(nx: i32, ny: i32) -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:273:35 [INFO] [stdout] | [INFO] [stdout] 273 | let mut list: Vec> = Vec::with_capacity(5); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | left_child: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | right_child: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(aabb: AABB, left_child: Arc, right_child: Arc) -> BvhNode { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(aabb: AABB, left_child: Arc, right_child: Arc) -> BvhNode { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from_hit_list(hittable_list: &mut [Arc], t0: f32, t1: f32) -> BvhNode { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | let (left_child, right_child): (Arc, Arc) = { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | let (left_child, right_child): (Arc, Arc) = { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/diffuse_light.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | emit: Arc, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material/lambertian.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | texture: Arc, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moving_sphere.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ray_hit.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ray_hit.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | impl Hittable for &[Box] { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rect.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] ... [INFO] [stdout] 89 | rect!(XyRect, x, y, z, vector3_xyz); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] = note: this warning originates in the macro `rect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rect.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] ... [INFO] [stdout] 90 | rect!(YzRect, y, z, x, vector3_yzx); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] = note: this warning originates in the macro `rect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rect.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] ... [INFO] [stdout] 91 | rect!(ZxRect, z, x, y, vector3_zxy); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] = note: this warning originates in the macro `rect` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn random(nx: i32, ny: i32) -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let mut scene: Vec> = Vec::with_capacity(n + 1); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn two_spheres() -> Vec> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn two_perlin_sphere(nx: u32, ny: u32) -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:175:28 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn earth() -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:196:39 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn earth_other_half() -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:217:51 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn simple_light(nx: i32, ny: i32) -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:222:39 [INFO] [stdout] | [INFO] [stdout] 222 | let mut obj_list: Vec> = Vec::with_capacity(4); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:265:50 [INFO] [stdout] | [INFO] [stdout] 265 | pub fn cornell_box(nx: i32, ny: i32) -> (Vec>, Camera) { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scenes.rs:273:35 [INFO] [stdout] | [INFO] [stdout] 273 | let mut list: Vec> = Vec::with_capacity(5); [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | material: Arc, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right_child` [INFO] [stdout] --> src/bvh.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | right_child: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bvh.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(aabb: AABB, left_child: Arc, right_child: Arc) -> BvhNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_hit_list` [INFO] [stdout] --> src/bvh.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from_hit_list(hittable_list: &mut [Arc], t0: f32, t1: f32) -> BvhNode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right_child` [INFO] [stdout] --> src/bvh.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | right_child: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bvh.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(aabb: AABB, left_child: Arc, right_child: Arc) -> BvhNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_hit_list` [INFO] [stdout] --> src/bvh.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn from_hit_list(hittable_list: &mut [Arc], t0: f32, t1: f32) -> BvhNode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | fn render(r: &Ray, hit_list: &[Box], depth: u32) -> Vector3 { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | fn render(r: &Ray, hit_list: &[Box], depth: u32) -> Vector3 { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_float_secs` found for struct `Duration` in the current scope [INFO] [stdout] --> src/main.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | (after_ray_tracing - start_time).as_float_secs() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_float_secs` found for struct `Duration` in the current scope [INFO] [stdout] --> src/main.rs:55:42 [INFO] [stdout] | [INFO] [stdout] 55 | (after_ray_tracing - start_time).as_float_secs() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5ff6e1ca2a3e3b039231d600e5163075ed01aadc415f330bd327e18e5e0c538d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff6e1ca2a3e3b039231d600e5163075ed01aadc415f330bd327e18e5e0c538d", kill_on_drop: false }` [INFO] [stdout] 5ff6e1ca2a3e3b039231d600e5163075ed01aadc415f330bd327e18e5e0c538d