[INFO] cloning repository https://github.com/tandalesc/rust-ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tandalesc/rust-ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b27ecb44e5d39a4591abc32e50f3e743dd8f339 [INFO] checking tandalesc/rust-ray-tracer against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftandalesc%2Frust-ray-tracer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tandalesc/rust-ray-tracer on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tandalesc/rust-ray-tracer [INFO] finished tweaking git repo https://github.com/tandalesc/rust-ray-tracer [INFO] tweaked toml for git repo https://github.com/tandalesc/rust-ray-tracer written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tandalesc/rust-ray-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inflate v0.4.4 [INFO] [stderr] Downloaded num-derive v0.2.4 [INFO] [stderr] Downloaded png v0.14.0 [INFO] [stderr] Downloaded color_quant v1.0.1 [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded approx v0.3.1 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded safe-transmute v0.10.1 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded gif v0.10.1 [INFO] [stderr] Downloaded cgmath v0.17.0 [INFO] [stderr] Downloaded rayon-core v1.4.1 [INFO] [stderr] Downloaded arrayvec v0.4.10 [INFO] [stderr] Downloaded jpeg-decoder v0.1.15 [INFO] [stderr] Downloaded deflate v0.7.19 [INFO] [stderr] Downloaded image v0.21.0 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded rayon v1.0.3 [INFO] [stderr] Downloaded num_cpus v1.9.0 [INFO] [stderr] Downloaded num-rational v0.2.1 [INFO] [stderr] Downloaded libc v0.2.48 [INFO] [stderr] Downloaded tiff v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0db6e904e1a94fe6b37d2a4f49d687d338c6710442451ed2c8d614948e89e374 [INFO] running `Command { std: "docker" "start" "-a" "0db6e904e1a94fe6b37d2a4f49d687d338c6710442451ed2c8d614948e89e374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0db6e904e1a94fe6b37d2a4f49d687d338c6710442451ed2c8d614948e89e374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db6e904e1a94fe6b37d2a4f49d687d338c6710442451ed2c8d614948e89e374", kill_on_drop: false }` [INFO] [stdout] 0db6e904e1a94fe6b37d2a4f49d687d338c6710442451ed2c8d614948e89e374 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d862f2671cbb020b0fb007240883627746af51d56d7432ab488604bad48adab3 [INFO] running `Command { std: "docker" "start" "-a" "d862f2671cbb020b0fb007240883627746af51d56d7432ab488604bad48adab3", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking rust-ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub object: &'a dyn Object, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub objects: Vec<&'a Object>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub objects: Vec<&'a dyn Object>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub lights: Vec<&'a Light>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub lights: Vec<&'a dyn Light>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | pub object: &'a Object, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 | pub object: &'a dyn Object, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | pub objects: Vec<&'a Object>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub objects: Vec<&'a dyn Object>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub lights: Vec<&'a Light>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub lights: Vec<&'a dyn Light>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'b>(distance: f64, object: &'b dyn Object) -> Intersection<'b> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:100:87 [INFO] [stdout] | [INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &dyn Object) -> Color { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'b>(distance: f64, object: &'b Object) -> Intersection<'b> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'b>(distance: f64, object: &'b dyn Object) -> Intersection<'b> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene.rs:100:87 [INFO] [stdout] | [INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &Object) -> Color { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | fn shade_diffuse(scene: &Scene, hit_point: Point, surface_normal: Direction, object: &dyn Object) -> Color { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Diffuse`, `Reflective`, and `Refractive` are never constructed [INFO] [stdout] --> src/primitives.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum SurfaceType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 32 | Diffuse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | Reflective { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | Refractive { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SurfaceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.02s [INFO] running `Command { std: "docker" "inspect" "d862f2671cbb020b0fb007240883627746af51d56d7432ab488604bad48adab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d862f2671cbb020b0fb007240883627746af51d56d7432ab488604bad48adab3", kill_on_drop: false }` [INFO] [stdout] d862f2671cbb020b0fb007240883627746af51d56d7432ab488604bad48adab3