[INFO] cloning repository https://github.com/xiang-xx/raytrace
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiang-xx/raytrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiang-xx%2Fraytrace", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiang-xx%2Fraytrace'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6f4f972e4d89ccd9e20340c627956dc7093ba37e
[INFO] testing xiang-xx/raytrace against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiang-xx%2Fraytrace" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xiang-xx/raytrace
[INFO] finished tweaking git repo https://github.com/xiang-xx/raytrace
[INFO] tweaked toml for git repo https://github.com/xiang-xx/raytrace written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xiang-xx/raytrace on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xiang-xx/raytrace 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "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] testing xiang-xx/raytrace against try#b8e88e5ddf5521a9f43ee3f62a702388c713e4bb for pr-155114
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiang-xx%2Fraytrace" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/xiang-xx/raytrace
[INFO] finished tweaking git repo https://github.com/xiang-xx/raytrace
[INFO] tweaked toml for git repo https://github.com/xiang-xx/raytrace written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xiang-xx/raytrace on toolchain b8e88e5ddf5521a9f43ee3f62a702388c713e4bb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xiang-xx/raytrace 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" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.11
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 11c78596154989905a1c073393c1d29e22ecdaf4c4fea33ab58accbc92abb477
[INFO] running `Command { std: "docker" "start" "-a" "11c78596154989905a1c073393c1d29e22ecdaf4c4fea33ab58accbc92abb477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "11c78596154989905a1c073393c1d29e22ecdaf4c4fea33ab58accbc92abb477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "11c78596154989905a1c073393c1d29e22ecdaf4c4fea33ab58accbc92abb477", kill_on_drop: false }`
[INFO] [stdout] 11c78596154989905a1c073393c1d29e22ecdaf4c4fea33ab58accbc92abb477
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc7ddac2c5e03ab42f479e346d89116ca595cf8b774723d35747ffce5db68c48
[INFO] running `Command { std: "docker" "start" "-a" "bc7ddac2c5e03ab42f479e346d89116ca595cf8b774723d35747ffce5db68c48", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.135
[INFO] [stderr]    Compiling crossbeam-utils v0.8.12
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.11
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling raytrace v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `random_f64`
[INFO] [stdout]  --> src/vec3.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::util::{self, random_f64_range, random_f64};
[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: `rc::Rc`
[INFO] [stdout]  --> src/ray.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{rc::Rc, sync::Arc};
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/ray.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{vec3::{Point3, Vec3, self}, material::Material};
[INFO] [stdout]   |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/sphere.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_in`
[INFO] [stdout]   --> src/material.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> src/camera.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     w: Vec3,
[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 variable `pi` should have an upper case name
[INFO] [stdout]  --> src/util.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub static pi: f64 = 3.1415926535897932385;
[INFO] [stdout]   |            ^^ help: convert the identifier to upper case: `PI`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/main.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use raytrace::vec3::{Vec3, Color, Point3};
[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: `std::process::id`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::process::id;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `current` and `self`
[INFO] [stdout]   --> src/main.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::thread::{self, current};
[INFO] [stdout]    |                   ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Material`
[INFO] [stdout]  --> src/main.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use raytrace::material::{Lambertian, Metal, Material, Dielectric};
[INFO] [stdout]   |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut result = Arc::new(Mutex::new(arr));
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.37s
[INFO] running `Command { std: "docker" "inspect" "bc7ddac2c5e03ab42f479e346d89116ca595cf8b774723d35747ffce5db68c48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc7ddac2c5e03ab42f479e346d89116ca595cf8b774723d35747ffce5db68c48", kill_on_drop: false }`
[INFO] [stdout] bc7ddac2c5e03ab42f479e346d89116ca595cf8b774723d35747ffce5db68c48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc15215d838e888a6b299c978330ce3fe9a823edfe5fb1f968612647e459241f
[INFO] running `Command { std: "docker" "start" "-a" "bc15215d838e888a6b299c978330ce3fe9a823edfe5fb1f968612647e459241f", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `random_f64`
[INFO] [stdout]  --> src/vec3.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::util::{self, random_f64_range, random_f64};
[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: `rc::Rc`
[INFO] [stdout]  --> src/ray.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{rc::Rc, sync::Arc};
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/ray.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{vec3::{Point3, Vec3, self}, material::Material};
[INFO] [stdout]   |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/sphere.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_in`
[INFO] [stdout]   --> src/material.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> src/camera.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     w: Vec3,
[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 variable `pi` should have an upper case name
[INFO] [stdout]  --> src/util.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub static pi: f64 = 3.1415926535897932385;
[INFO] [stdout]   |            ^^ help: convert the identifier to upper case: `PI`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling raytrace v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/main.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | use raytrace::vec3::{Vec3, Color, Point3};
[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: `std::process::id`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::process::id;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `current` and `self`
[INFO] [stdout]   --> src/main.rs:10:19
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::thread::{self, current};
[INFO] [stdout]    |                   ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `random_f64`
[INFO] [stdout]  --> src/vec3.rs:2:43
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::util::{self, random_f64_range, random_f64};
[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: `rc::Rc`
[INFO] [stdout]  --> src/ray.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{rc::Rc, sync::Arc};
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/ray.rs:3:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{vec3::{Point3, Vec3, self}, material::Material};
[INFO] [stdout]   |                                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/sphere.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Material`
[INFO] [stdout]  --> src/main.rs:1:45
[INFO] [stdout]   |
[INFO] [stdout] 1 | use raytrace::material::{Lambertian, Metal, Material, Dielectric};
[INFO] [stdout]   |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let mut result = Arc::new(Mutex::new(arr));
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_in`
[INFO] [stdout]   --> src/material.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `w` is never read
[INFO] [stdout]   --> src/camera.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct Camera {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     w: Vec3,
[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 variable `pi` should have an upper case name
[INFO] [stdout]  --> src/util.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub static pi: f64 = 3.1415926535897932385;
[INFO] [stdout]   |            ^^ help: convert the identifier to upper case: `PI`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s
[INFO] running `Command { std: "docker" "inspect" "bc15215d838e888a6b299c978330ce3fe9a823edfe5fb1f968612647e459241f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc15215d838e888a6b299c978330ce3fe9a823edfe5fb1f968612647e459241f", kill_on_drop: false }`
[INFO] [stdout] bc15215d838e888a6b299c978330ce3fe9a823edfe5fb1f968612647e459241f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b8e88e5ddf5521a9f43ee3f62a702388c713e4bb" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e6da5dcf598f5441bea7ba0471eb2ac5f30501b3956b8d9f14ffd12c8a935097
[INFO] running `Command { std: "docker" "start" "-a" "e6da5dcf598f5441bea7ba0471eb2ac5f30501b3956b8d9f14ffd12c8a935097", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `random_f64`
[INFO] [stderr]  --> src/vec3.rs:2:43
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::util::{self, random_f64_range, random_f64};
[INFO] [stderr]   |                                           ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rc::Rc`
[INFO] [stderr]  --> src/ray.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{rc::Rc, sync::Arc};
[INFO] [stderr]   |           ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self`
[INFO] [stderr]  --> src/ray.rs:3:34
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::{vec3::{Point3, Vec3, self}, material::Material};
[INFO] [stderr]   |                                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]  --> src/sphere.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::rc::Rc;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r_in`
[INFO] [stderr]   --> src/material.rs:13:23
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn scatter(&self, r_in: &Ray, rec: &HitRecord, attenuation: &mut Color, scattered: &mut Ray) -> bool {
[INFO] [stderr]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `w` is never read
[INFO] [stderr]   --> src/camera.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr]  4 | pub struct Camera {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 12 |     w: Vec3,
[INFO] [stderr]    |     ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `pi` should have an upper case name
[INFO] [stderr]  --> src/util.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub static pi: f64 = 3.1415926535897932385;
[INFO] [stderr]   |            ^^ help: convert the identifier to upper case: `PI`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `raytrace` (lib) generated 7 warnings (run `cargo fix --lib -p raytrace` to apply 5 suggestions)
[INFO] [stderr] warning: `raytrace` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr] warning: unused import: `Point3`
[INFO] [stderr]  --> src/main.rs:4:35
[INFO] [stderr]   |
[INFO] [stderr] 4 | use raytrace::vec3::{Vec3, Color, Point3};
[INFO] [stderr]   |                                   ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::process::id`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::process::id;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::rc::Rc`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::rc::Rc;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `current` and `self`
[INFO] [stderr]   --> src/main.rs:10:19
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::thread::{self, current};
[INFO] [stderr]    |                   ^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Material`
[INFO] [stderr]  --> src/main.rs:1:45
[INFO] [stderr]   |
[INFO] [stderr] 1 | use raytrace::material::{Lambertian, Metal, Material, Dielectric};
[INFO] [stderr]   |                                             ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:123:9
[INFO] [stderr]     |
[INFO] [stderr] 123 |     let mut result = Arc::new(Mutex::new(arr));
[INFO] [stderr]     |         ----^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `raytrace` (bin "raytrace" test) generated 6 warnings (run `cargo fix --bin "raytrace" -p raytrace --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/raytrace-61deaaec5482eb92)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytrace-667b0202aa5cfb3b)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests raytrace
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e6da5dcf598f5441bea7ba0471eb2ac5f30501b3956b8d9f14ffd12c8a935097", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6da5dcf598f5441bea7ba0471eb2ac5f30501b3956b8d9f14ffd12c8a935097", kill_on_drop: false }`
[INFO] [stdout] e6da5dcf598f5441bea7ba0471eb2ac5f30501b3956b8d9f14ffd12c8a935097
