[INFO] cloning repository https://github.com/Ryan-82/Rust-Raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryan-82/Rust-Raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan-82%2FRust-Raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan-82%2FRust-Raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dac4e762bde83c1e68a9d34042f761d581a5af74 [INFO] checking Ryan-82/Rust-Raytracer against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan-82%2FRust-Raytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ryan-82/Rust-Raytracer [INFO] finished tweaking git repo https://github.com/Ryan-82/Rust-Raytracer [INFO] tweaked toml for git repo https://github.com/Ryan-82/Rust-Raytracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ryan-82/Rust-Raytracer on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ryan-82/Rust-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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Ryan-82/Rust-Raytracer against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan-82%2FRust-Raytracer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ryan-82/Rust-Raytracer [INFO] finished tweaking git repo https://github.com/Ryan-82/Rust-Raytracer [INFO] tweaked toml for git repo https://github.com/Ryan-82/Rust-Raytracer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ryan-82/Rust-Raytracer on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ryan-82/Rust-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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57a1edd8022f9aeb61b661707925c36d0e7c4ab41a715a0cdb4edc24c6258f89 [INFO] running `Command { std: "docker" "start" "-a" "57a1edd8022f9aeb61b661707925c36d0e7c4ab41a715a0cdb4edc24c6258f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57a1edd8022f9aeb61b661707925c36d0e7c4ab41a715a0cdb4edc24c6258f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a1edd8022f9aeb61b661707925c36d0e7c4ab41a715a0cdb4edc24c6258f89", kill_on_drop: false }` [INFO] [stdout] 57a1edd8022f9aeb61b661707925c36d0e7c4ab41a715a0cdb4edc24c6258f89 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b83acca1bd02e58a72c71e043d85147e26c53385f172e9ba4fdbd0c8bc005b6f [INFO] running `Command { std: "docker" "start" "-a" "b83acca1bd02e58a72c71e043d85147e26c53385f172e9ba4fdbd0c8bc005b6f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::Color` [INFO] [stdout] --> color.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Color` [INFO] [stdout] --> color.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::Color; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hittable::*` [INFO] [stdout] --> color.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::hittable::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hittable::*` [INFO] [stdout] --> color.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::hittable::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::*` [INFO] [stdout] --> main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use color::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color::*` [INFO] [stdout] --> main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use color::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::*` [INFO] [stdout] --> camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::material::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::material::*` [INFO] [stdout] --> camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::material::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> material.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | return r0 + (1.0 - r0) * f64::powi((1.0 - cosine), 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - return r0 + (1.0 - r0) * f64::powi((1.0 - cosine), 5); [INFO] [stdout] 124 + return r0 + (1.0 - r0) * f64::powi(1.0 - cosine , 5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> material.rs:124:38 [INFO] [stdout] | [INFO] [stdout] 124 | return r0 + (1.0 - r0) * f64::powi((1.0 - cosine), 5); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 124 - return r0 + (1.0 - r0) * f64::powi((1.0 - cosine), 5); [INFO] [stdout] 124 + return r0 + (1.0 - r0) * f64::powi(1.0 - cosine , 5); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> camera.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | for sample in 0..self.samples_per_pixel { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> camera.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | for sample in 0..self.samples_per_pixel { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> material.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | fn scatter(&self, ray_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> material.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | fn scatter(&self, ray_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> material.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | let mut direction: Vector = Vector::unit_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> material.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | let mut direction: Vector = Vector::unit_vector(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INFINITY` is never used [INFO] [stdout] --> main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | static INFINITY: f64 = f64::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EMPTY` is never used [INFO] [stdout] --> main.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | static EMPTY: Interval = Interval{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `UNIVERSE` is never used [INFO] [stdout] --> main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | static UNIVERSE: Interval = Interval{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit_sphere` is never used [INFO] [stdout] --> color.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit_sphere(center: &Point, radius: f64, r: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `contains` are never used [INFO] [stdout] --> interval.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aspect_ratio` and `vfov` are never read [INFO] [stdout] --> camera.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | pub aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | vfov: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INFINITY` is never used [INFO] [stdout] --> main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | static INFINITY: f64 = f64::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `EMPTY` is never used [INFO] [stdout] --> main.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | static EMPTY: Interval = Interval{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `UNIVERSE` is never used [INFO] [stdout] --> main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | static UNIVERSE: Interval = Interval{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hit_sphere` is never used [INFO] [stdout] --> color.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit_sphere(center: &Point, radius: f64, r: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size` and `contains` are never used [INFO] [stdout] --> interval.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | impl Interval { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn size(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `aspect_ratio` and `vfov` are never read [INFO] [stdout] --> camera.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | pub aspect_ratio: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | vfov: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "b83acca1bd02e58a72c71e043d85147e26c53385f172e9ba4fdbd0c8bc005b6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b83acca1bd02e58a72c71e043d85147e26c53385f172e9ba4fdbd0c8bc005b6f", kill_on_drop: false }` [INFO] [stdout] b83acca1bd02e58a72c71e043d85147e26c53385f172e9ba4fdbd0c8bc005b6f