[INFO] cloning repository https://github.com/tstullich/rust-pt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tstullich/rust-pt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftstullich%2Frust-pt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftstullich%2Frust-pt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be3b17aa53874c86afc824e0e932a9464c420b15 [INFO] testing tstullich/rust-pt against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftstullich%2Frust-pt" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tstullich/rust-pt on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tstullich/rust-pt [INFO] finished tweaking git repo https://github.com/tstullich/rust-pt [INFO] tweaked toml for git repo https://github.com/tstullich/rust-pt written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/tstullich/rust-pt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61a50518202219e73a51d7013c4d51830708d553df2000815398418f4e8305a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "61a50518202219e73a51d7013c4d51830708d553df2000815398418f4e8305a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61a50518202219e73a51d7013c4d51830708d553df2000815398418f4e8305a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61a50518202219e73a51d7013c4d51830708d553df2000815398418f4e8305a0", kill_on_drop: false }` [INFO] [stdout] 61a50518202219e73a51d7013c4d51830708d553df2000815398418f4e8305a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8f1c563344585314902ce644d23c00de06054d4ef62bdc4374aa180c853586d4 [INFO] running `Command { std: "docker" "start" "-a" "8f1c563344585314902ce644d23c00de06054d4ef62bdc4374aa180c853586d4", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling indicatif v0.9.0 [INFO] [stderr] Compiling pathtracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | hitable: Option<&'a Box>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new(l: &'a mut [Box]) -> BvhTree<'a> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | fn build(&mut self, l: &'a mut [Box]) -> NodeId { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | fn new_leaf(&mut self, hitable: &'a Box) -> NodeId { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:203:44 [INFO] [stdout] | [INFO] [stdout] 203 | fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:217:26 [INFO] [stdout] | [INFO] [stdout] 217 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bvh_node.rs:217:44 [INFO] [stdout] | [INFO] [stdout] 217 | fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | impl fmt::Debug for Hitable { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::Material` [INFO] [stdout] --> src/hitable_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MovingSphere`, `Sphere` [INFO] [stdout] --> src/hitable_list.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use sphere::{MovingSphere, Sphere}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vector::Vec3` [INFO] [stdout] --> src/hitable_list.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vector::Vec3; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable_list.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub objs: Vec>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable_list.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | let objs: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable_list.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn push(&mut self, obj: Box) { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Hitable` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/material.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | Lambertian(Texture), [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `material::Material` [INFO] [stdout] --> src/renderer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use material::Material; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sphere::Sphere` [INFO] [stdout] --> src/renderer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | odd: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | even: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(t0: &Box, t1: &Box) -> Checker { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/texture.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new(t0: &Box, t1: &Box) -> Checker { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Texture` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> src/material.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub enum Material { [INFO] [stdout] 9 | Lambertian(Texture), [INFO] [stdout] | ------- this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `Copy` may not be implemented for this type [INFO] [stdout] --> src/texture.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub struct Checker { [INFO] [stdout] 26 | odd: Box, [INFO] [stdout] | ----------------- this field does not implement `Copy` [INFO] [stdout] 27 | even: Box, [INFO] [stdout] | ------------------ this field does not implement `Copy` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pathtracer` due to 3 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f1c563344585314902ce644d23c00de06054d4ef62bdc4374aa180c853586d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1c563344585314902ce644d23c00de06054d4ef62bdc4374aa180c853586d4", kill_on_drop: false }` [INFO] [stdout] 8f1c563344585314902ce644d23c00de06054d4ef62bdc4374aa180c853586d4