[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftstullich%2Frust-pt" "/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/tstullich/rust-pt on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-4/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" "+beta-2022-04-10" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] 036a594b6b8b88022ee6ef7434396e1ee8e4d12697ec4527c8fc415e3f3a4cb2 [INFO] running `Command { std: "docker" "start" "-a" "036a594b6b8b88022ee6ef7434396e1ee8e4d12697ec4527c8fc415e3f3a4cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "036a594b6b8b88022ee6ef7434396e1ee8e4d12697ec4527c8fc415e3f3a4cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036a594b6b8b88022ee6ef7434396e1ee8e4d12697ec4527c8fc415e3f3a4cb2", kill_on_drop: false }` [INFO] [stdout] 036a594b6b8b88022ee6ef7434396e1ee8e4d12697ec4527c8fc415e3f3a4cb2 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9637c4934bcd6012ffc8941ffbe8ecbee0b93002071e29a63a7d79e2c5c3f521 [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" "9637c4934bcd6012ffc8941ffbe8ecbee0b93002071e29a63a7d79e2c5c3f521", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling parking_lot v0.6.4 [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: 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: 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/hitable_list.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub objs: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub objs: Vec>, [INFO] [stdout] 9 + pub objs: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - hitable: Option<&'a Box>, [INFO] [stdout] 21 + hitable: Option<&'a Box>, [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - Lambertian(Texture), [INFO] [stdout] 9 + Lambertian(dyn Texture), [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - odd: Box, [INFO] [stdout] 26 + odd: Box, [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - even: Box, [INFO] [stdout] 27 + even: Box, [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 - fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 189 + fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 - fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 189 + fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 203 + fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 203 - fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 203 + fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 - fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 217 + fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 - fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] 217 + fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - pub fn new(l: &'a mut [Box]) -> BvhTree<'a> { [INFO] [stdout] 85 + pub fn new(l: &'a mut [Box]) -> BvhTree<'a> { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 - fn build(&mut self, l: &'a mut [Box]) -> NodeId { [INFO] [stdout] 95 + fn build(&mut self, l: &'a mut [Box]) -> NodeId { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 - fn new_leaf(&mut self, hitable: &'a Box) -> NodeId { [INFO] [stdout] 134 + fn new_leaf(&mut self, hitable: &'a Box) -> NodeId { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - impl fmt::Debug for Hitable { [INFO] [stdout] 13 + impl fmt::Debug for dyn Hitable { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - pub fn push(&mut self, obj: Box) { [INFO] [stdout] 21 + pub fn push(&mut self, obj: Box) { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn new(t0: &Box, t1: &Box) -> Checker { [INFO] [stdout] 42 + pub fn new(t0: &Box, t1: &Box) -> Checker { [INFO] [stdout] | [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] | ^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - pub fn new(t0: &Box, t1: &Box) -> Checker { [INFO] [stdout] 42 + pub fn new(t0: &Box, t1: &Box) -> Checker { [INFO] [stdout] | [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; 23 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; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9637c4934bcd6012ffc8941ffbe8ecbee0b93002071e29a63a7d79e2c5c3f521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9637c4934bcd6012ffc8941ffbe8ecbee0b93002071e29a63a7d79e2c5c3f521", kill_on_drop: false }` [INFO] [stdout] 9637c4934bcd6012ffc8941ffbe8ecbee0b93002071e29a63a7d79e2c5c3f521