[INFO] updating cached repository https://github.com/arora-aditya/just-another-ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5ff9bf7ba8f0c262f8b63ee0b2cf331fa8eee21 [INFO] testing arora-aditya/just-another-ray-tracer against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farora-aditya%2Fjust-another-ray-tracer" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 58% (35/60) Checking out files: 60% (36/60) Checking out files: 61% (37/60) Checking out files: 63% (38/60) Checking out files: 65% (39/60) Checking out files: 66% (40/60) Checking out files: 68% (41/60) Checking out files: 70% (42/60) Checking out files: 71% (43/60) Checking out files: 73% (44/60) Checking out files: 75% (45/60) Checking out files: 76% (46/60) Checking out files: 78% (47/60) Checking out files: 80% (48/60) Checking out files: 81% (49/60) Checking out files: 83% (50/60) Checking out files: 85% (51/60) Checking out files: 86% (52/60) Checking out files: 88% (53/60) Checking out files: 90% (54/60) Checking out files: 91% (55/60) Checking out files: 93% (56/60) Checking out files: 95% (57/60) Checking out files: 96% (58/60) Checking out files: 98% (59/60) Checking out files: 100% (60/60) Checking out files: 100% (60/60), done. [INFO] validating manifest of git repo https://github.com/arora-aditya/just-another-ray-tracer on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arora-aditya/just-another-ray-tracer [INFO] finished tweaking git repo https://github.com/arora-aditya/just-another-ray-tracer [INFO] tweaked toml for git repo https://github.com/arora-aditya/just-another-ray-tracer written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/arora-aditya/just-another-ray-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] a2e2397905a4507d9483b423547b3f42acd0dd5a5ddc46d5c936b9c8bfa31016 [INFO] running `Command { std: "docker" "start" "-a" "a2e2397905a4507d9483b423547b3f42acd0dd5a5ddc46d5c936b9c8bfa31016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2e2397905a4507d9483b423547b3f42acd0dd5a5ddc46d5c936b9c8bfa31016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e2397905a4507d9483b423547b3f42acd0dd5a5ddc46d5c936b9c8bfa31016", kill_on_drop: false }` [INFO] [stdout] a2e2397905a4507d9483b423547b3f42acd0dd5a5ddc46d5c936b9c8bfa31016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 572dd432aad3202735a42a4c0e6f7aa53c4be2d22925979bd9c601eac90f6bbb [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" "572dd432aad3202735a42a4c0e6f7aa53c4be2d22925979bd9c601eac90f6bbb", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling ray-tracing-in-a-weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/render/mod.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::tracer::ray::{self, Ray}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::objects::hittable` [INFO] [stdout] --> src/render/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::objects::hittable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material` [INFO] [stdout] --> src/render/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::material; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/render/mod.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::camera::camera::{self, Camera}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/render/mod.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | if ((center-Vec3{e: [4.0,0.2,0.0]}).length() > 0.9) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/tracer/vec3.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | (self.e[0]*self.e[0] + self.e[1]*self.e[1] + self.e[2]*self.e[2]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MulAssign` [INFO] [stdout] --> src/tracer/color.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, AddAssign, DivAssign, Mul, MulAssign}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/sphere.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub material: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/objects/sphere.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub material: Box, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Material` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec3`, `self` [INFO] [stdout] --> src/material/base.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::tracer::vec3::{self, Vec3}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/material/base.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::{self, Random}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns aren't allowed in functions without bodies [INFO] [stdout] --> src/material/base.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | fn scatter(&self, mut random: &mut Random, r_in: Ray, hit_record: HitRecord) -> Option; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(patterns_in_fns_without_body)]` 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 a future release! [INFO] [stdout] = note: for more information, see issue #35203 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/material/dielectric.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::{self, Random}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-in-a-weekend`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "572dd432aad3202735a42a4c0e6f7aa53c4be2d22925979bd9c601eac90f6bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572dd432aad3202735a42a4c0e6f7aa53c4be2d22925979bd9c601eac90f6bbb", kill_on_drop: false }` [INFO] [stdout] 572dd432aad3202735a42a4c0e6f7aa53c4be2d22925979bd9c601eac90f6bbb