[INFO] cloning repository https://github.com/igaryhe/Raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/igaryhe/Raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2FRaytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2FRaytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51f9b6f52cc24a4bc791a920c9c2b78e315db8c4 [INFO] checking igaryhe/Raytracer against master#7606c13961ddc1174b70638e934df0439b7dc515 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2FRaytracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/igaryhe/Raytracer on toolchain 7606c13961ddc1174b70638e934df0439b7dc515 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7606c13961ddc1174b70638e934df0439b7dc515" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/igaryhe/Raytracer [INFO] finished tweaking git repo https://github.com/igaryhe/Raytracer [INFO] tweaked toml for git repo https://github.com/igaryhe/Raytracer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/igaryhe/Raytracer 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" "+7606c13961ddc1174b70638e934df0439b7dc515" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking igaryhe/Raytracer against try#ae973628c64ab60398819bcc1fd9f08ae68ad5b5 for pr-121979 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figaryhe%2FRaytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/igaryhe/Raytracer on toolchain ae973628c64ab60398819bcc1fd9f08ae68ad5b5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/igaryhe/Raytracer [INFO] finished tweaking git repo https://github.com/igaryhe/Raytracer [INFO] tweaked toml for git repo https://github.com/igaryhe/Raytracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/igaryhe/Raytracer 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" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc3acff56220edcd07bfec2850b61c054a47937e8c8ff12f0cb5a348f3043e71 [INFO] running `Command { std: "docker" "start" "-a" "bc3acff56220edcd07bfec2850b61c054a47937e8c8ff12f0cb5a348f3043e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc3acff56220edcd07bfec2850b61c054a47937e8c8ff12f0cb5a348f3043e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc3acff56220edcd07bfec2850b61c054a47937e8c8ff12f0cb5a348f3043e71", kill_on_drop: false }` [INFO] [stdout] bc3acff56220edcd07bfec2850b61c054a47937e8c8ff12f0cb5a348f3043e71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ae973628c64ab60398819bcc1fd9f08ae68ad5b5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aff2547b8b1780302df376c3d1909a5acc84184f8fd54de874405fd570caae5a [INFO] running `Command { std: "docker" "start" "-a" "aff2547b8b1780302df376c3d1909a5acc84184f8fd54de874405fd570caae5a", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking getrandom v0.1.7 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/structure/vec3.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | (self.e[0] * other.e[0] + self.e[1] * other.e[1] +self.e[2] * other.e[2]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - (self.e[0] * other.e[0] + self.e[1] * other.e[1] +self.e[2] * other.e[2]) [INFO] [stdout] 98 + self.e[0] * other.e[0] + self.e[1] * other.e[1] +self.e[2] * other.e[2] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/structure/vec3.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | (self.e[0] * other.e[0] + self.e[1] * other.e[1] +self.e[2] * other.e[2]) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 98 - (self.e[0] * other.e[0] + self.e[1] * other.e[1] +self.e[2] * other.e[2]) [INFO] [stdout] 98 + self.e[0] * other.e[0] + self.e[1] * other.e[1] +self.e[2] * other.e[2] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ray` is imported redundantly [INFO] [stdout] --> src/hitable/hitablelist.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structure::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Ray` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Ray` is imported redundantly [INFO] [stdout] --> src/hitable/hitablelist.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structure::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Ray` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material/lambertian.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material/lambertian.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Vec3, scattered: &mut Ray) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image; [INFO] [stdout] | ^^^^^ the item `image` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | fn color(r: &Ray, world: &Hitable, depth: u32) -> Vec3 { [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] 12 | fn color(r: &Ray, world: &dyn Hitable, depth: u32) -> Vec3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image; [INFO] [stdout] | ^^^^^ the item `image` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand; [INFO] [stdout] | ^^^^ the item `rand` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | fn color(r: &Ray, world: &Hitable, depth: u32) -> Vec3 { [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] 12 | fn color(r: &Ray, world: &dyn Hitable, depth: u32) -> Vec3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.23s [INFO] running `Command { std: "docker" "inspect" "aff2547b8b1780302df376c3d1909a5acc84184f8fd54de874405fd570caae5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aff2547b8b1780302df376c3d1909a5acc84184f8fd54de874405fd570caae5a", kill_on_drop: false }` [INFO] [stdout] aff2547b8b1780302df376c3d1909a5acc84184f8fd54de874405fd570caae5a