[INFO] cloning repository https://github.com/urbanautomaton/rayon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/urbanautomaton/rayon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furbanautomaton%2Frayon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furbanautomaton%2Frayon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09ba12bc036a69c84d09cce051bae9e335ace621 [INFO] testing urbanautomaton/rayon against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Furbanautomaton%2Frayon" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/urbanautomaton/rayon on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/urbanautomaton/rayon [INFO] finished tweaking git repo https://github.com/urbanautomaton/rayon [INFO] tweaked toml for git repo https://github.com/urbanautomaton/rayon written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/urbanautomaton/rayon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88e8379c8d3af963bbfbff28c2cde384a7ddd33b2ae178263d0f8735a45c1976 [INFO] running `Command { std: "docker" "start" "-a" "88e8379c8d3af963bbfbff28c2cde384a7ddd33b2ae178263d0f8735a45c1976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88e8379c8d3af963bbfbff28c2cde384a7ddd33b2ae178263d0f8735a45c1976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88e8379c8d3af963bbfbff28c2cde384a7ddd33b2ae178263d0f8735a45c1976", kill_on_drop: false }` [INFO] [stdout] 88e8379c8d3af963bbfbff28c2cde384a7ddd33b2ae178263d0f8735a45c1976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ab2cf56649bd00f817674ba5e95aef8cc1e6b01cdeccf9c06a9cfedacb2bd04 [INFO] running `Command { std: "docker" "start" "-a" "8ab2cf56649bd00f817674ba5e95aef8cc1e6b01cdeccf9c06a9cfedacb2bd04", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling rand v0.7.0-pre.1 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling getrandom v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_xoshiro v0.3.0 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling console v0.7.5 [INFO] [stderr] Compiling indicatif v0.11.0 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling image v0.21.1 [INFO] [stderr] Compiling raygrass v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | left: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | right: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | mut hittables: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let left: Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let right: Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(hittables: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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/camera.rs:171:48 [INFO] [stdout] | [INFO] [stdout] 171 | fn ray_hit<'a>(&'a self, objects: &'a [Box], ray: Ray) -> Option { [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/hittable.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub material: &'a Material, [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/scene.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub objects: 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/scene.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | let objects: 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: panic message is not a string literal [INFO] [stdout] --> src/geometry/point/mod.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!(format!("Index {} out of range for Point3", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!("Index {} out of range for Point3", index), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geometry/unit/mod.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | _ => panic!(format!("Index {} out of range for Unit3", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 65 | _ => panic!("Index {} out of range for Unit3", index), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geometry/vector/mod.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!(format!("Index {} out of range for Vector3", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!("Index {} out of range for Vector3", index), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.49s [INFO] running `Command { std: "docker" "inspect" "8ab2cf56649bd00f817674ba5e95aef8cc1e6b01cdeccf9c06a9cfedacb2bd04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab2cf56649bd00f817674ba5e95aef8cc1e6b01cdeccf9c06a9cfedacb2bd04", kill_on_drop: false }` [INFO] [stdout] 8ab2cf56649bd00f817674ba5e95aef8cc1e6b01cdeccf9c06a9cfedacb2bd04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1233874f214f478de81af4cabe56c03385dd2bd4c818a52e8d79aeba73d10cde [INFO] running `Command { std: "docker" "start" "-a" "1233874f214f478de81af4cabe56c03385dd2bd4c818a52e8d79aeba73d10cde", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling raygrass v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | left: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | right: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | mut hittables: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | let left: Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let right: Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(hittables: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [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/camera.rs:171:48 [INFO] [stdout] | [INFO] [stdout] 171 | fn ray_hit<'a>(&'a self, objects: &'a [Box], ray: Ray) -> Option { [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/hittable.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub material: &'a Material, [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/scene.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub objects: 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/scene.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | let objects: 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: panic message is not a string literal [INFO] [stdout] --> src/geometry/point/mod.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!(format!("Index {} out of range for Point3", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!("Index {} out of range for Point3", index), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geometry/unit/mod.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | _ => panic!(format!("Index {} out of range for Unit3", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 65 | _ => panic!("Index {} out of range for Unit3", index), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/geometry/vector/mod.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!(format!("Index {} out of range for Vector3", index)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 58 | _ => panic!("Index {} out of range for Vector3", index), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.05s [INFO] running `Command { std: "docker" "inspect" "1233874f214f478de81af4cabe56c03385dd2bd4c818a52e8d79aeba73d10cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1233874f214f478de81af4cabe56c03385dd2bd4c818a52e8d79aeba73d10cde", kill_on_drop: false }` [INFO] [stdout] 1233874f214f478de81af4cabe56c03385dd2bd4c818a52e8d79aeba73d10cde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71cb0f681fe3074f3932b8ff3ec9b91ac2dd92ae12a79ba937e76499b5d81157 [INFO] running `Command { std: "docker" "start" "-a" "71cb0f681fe3074f3932b8ff3ec9b91ac2dd92ae12a79ba937e76499b5d81157", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:11:15 [INFO] [stderr] | [INFO] [stderr] 11 | left: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | right: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | mut hittables: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:29:23 [INFO] [stderr] | [INFO] [stderr] 29 | let left: Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | let right: Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bvh.rs:55:35 [INFO] [stderr] | [INFO] [stderr] 55 | pub fn new(hittables: Vec>) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn BoundedHittable + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/camera.rs:171:48 [INFO] [stderr] | [INFO] [stderr] 171 | fn ray_hit<'a>(&'a self, objects: &'a [Box], ray: Ray) -> Option { [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hittable.rs:13:23 [INFO] [stderr] | [INFO] [stderr] 13 | pub material: &'a Material, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:16:26 [INFO] [stderr] | [INFO] [stderr] 16 | pub objects: Vec>, [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/scene.rs:161:30 [INFO] [stderr] | [INFO] [stderr] 161 | let objects: Vec> = [INFO] [stderr] | ^^^^^^^^ help: use `dyn`: `dyn Hittable` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/geometry/point/mod.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | _ => panic!(format!("Index {} out of range for Point3", index)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 66 | _ => panic!("Index {} out of range for Point3", index), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/geometry/unit/mod.rs:65:25 [INFO] [stderr] | [INFO] [stderr] 65 | _ => panic!(format!("Index {} out of range for Unit3", index)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 65 | _ => panic!("Index {} out of range for Unit3", index), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/geometry/vector/mod.rs:58:25 [INFO] [stderr] | [INFO] [stderr] 58 | _ => panic!(format!("Index {} out of range for Vector3", index)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 58 | _ => panic!("Index {} out of range for Vector3", index), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raygrass-832b93df3cb3a01e) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test hittable::tests::bounding_box::a_glancing_ray ... ok [INFO] [stdout] test hittable::tests::bounding_box::a_hit_for_ray_within_box ... ok [INFO] [stdout] test hittable::tests::bounding_box::a_diagonal_ray ... ok [INFO] [stdout] test hittable::tests::bounding_box::a_hit_on_x_y_plane ... ok [INFO] [stdout] test hittable::tests::bounding_box::a_ray_pointing_away ... ok [INFO] [stdout] test object::sphere::test::hit::it_returns_none_for_a_ray_pointing_away_from_the_sphere ... ok [INFO] [stdout] test object::sphere::test::hit::it_returns_the_distance_for_a_ray_pointing_at_the_center ... ok [INFO] [stdout] test object::sphere::test::hit::it_returns_the_distance_for_a_ray_pointing_from_the_diagonal ... ok [INFO] [stdout] test object::sphere::test::hit::it_returns_the_distance_for_a_ray_pointing_from_the_top ... ok [INFO] [stdout] test object::sphere::test::hit::it_returns_the_distance_for_a_ray_pointing_from_the_other_direction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "71cb0f681fe3074f3932b8ff3ec9b91ac2dd92ae12a79ba937e76499b5d81157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71cb0f681fe3074f3932b8ff3ec9b91ac2dd92ae12a79ba937e76499b5d81157", kill_on_drop: false }` [INFO] [stdout] 71cb0f681fe3074f3932b8ff3ec9b91ac2dd92ae12a79ba937e76499b5d81157