[INFO] cloning repository https://github.com/pstmps/raytrace_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pstmps/raytrace_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstmps%2Fraytrace_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstmps%2Fraytrace_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9903c0b0678877a1805b7dc24c6e48a75910f788
[INFO] testing pstmps/raytrace_rs against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstmps%2Fraytrace_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pstmps/raytrace_rs
[INFO] finished tweaking git repo https://github.com/pstmps/raytrace_rs
[INFO] tweaked toml for git repo https://github.com/pstmps/raytrace_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pstmps/raytrace_rs on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pstmps/raytrace_rs 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rayon-core v1.13.0
[INFO] [stderr]   Downloaded rayon v1.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a1296bc07a010404348d3f05145868992bedb241a2cc992f97be748a026c494f
[INFO] running `Command { std: "docker" "start" "-a" "a1296bc07a010404348d3f05145868992bedb241a2cc992f97be748a026c494f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a1296bc07a010404348d3f05145868992bedb241a2cc992f97be748a026c494f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1296bc07a010404348d3f05145868992bedb241a2cc992f97be748a026c494f", kill_on_drop: false }`
[INFO] [stdout] a1296bc07a010404348d3f05145868992bedb241a2cc992f97be748a026c494f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 583904a18c39a9d12ad13ee99c8b7be63cb75c8ae7cfcffd43cff2ec8be43297
[INFO] running `Command { std: "docker" "start" "-a" "583904a18c39a9d12ad13ee99c8b7be63cb75c8ae7cfcffd43cff2ec8be43297", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling raytrace_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/vec3.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Sub, Mul, Div, Neg, Deref, DerefMut};
[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 imports: `Add`, `DerefMut`, `Deref`, `Div`, `Mul`, `Neg`, and `Sub`
[INFO] [stdout]  --> src/hittable.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div, Neg, Deref, DerefMut};
[INFO] [stdout]   |                ^^^  ^^^  ^^^  ^^^  ^^^  ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::MaterialPtr`
[INFO] [stdout]  --> src/hittable_list.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::material::MaterialPtr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/camera.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PI` and `Shared`
[INFO] [stdout]  --> src/camera.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians, random_double};
[INFO] [stdout]   |                        ^^^^^^                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HitRecord`
[INFO] [stdout]   --> src/camera.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::hittable::{Hittable, HitRecord};
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/material.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vec3::{Vec3, Point3};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/material.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let direction = match (ri * sin_theta) {
[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] 86 -         let direction = match (ri * sin_theta) {
[INFO] [stdout] 86 +         let direction = match ri * sin_theta {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]    --> src/camera.rs:224:21
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 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 imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/vec3.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Sub, Mul, Div, Neg, Deref, DerefMut};
[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 imports: `Add`, `DerefMut`, `Deref`, `Div`, `Mul`, `Neg`, and `Sub`
[INFO] [stdout]  --> src/hittable.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div, Neg, Deref, DerefMut};
[INFO] [stdout]   |                ^^^  ^^^  ^^^  ^^^  ^^^  ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::MaterialPtr`
[INFO] [stdout]  --> src/hittable_list.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::material::MaterialPtr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::color::Color`
[INFO] [stdout]   --> src/rtweekend.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use crate::color::Color;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ray::Ray`
[INFO] [stdout]   --> src/rtweekend.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use crate::ray::Ray;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Point3` and `Vec3`
[INFO] [stdout]   --> src/rtweekend.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::vec3::{Vec3, Point3};
[INFO] [stdout]    |                       ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/camera.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PI` and `Shared`
[INFO] [stdout]  --> src/camera.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians, random_double};
[INFO] [stdout]   |                        ^^^^^^                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HitRecord`
[INFO] [stdout]   --> src/camera.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::hittable::{Hittable, HitRecord};
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/material.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vec3::{Vec3, Point3};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/material.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let direction = match (ri * sin_theta) {
[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] 86 -         let direction = match (ri * sin_theta) {
[INFO] [stdout] 86 +         let direction = match ri * sin_theta {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ray::Ray`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use ray::Ray;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HitRecord` and `Hittable`
[INFO] [stdout]   --> src/main.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | use hittable::{Hittable, HitRecord};
[INFO] [stdout]    |                ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sphere::Sphere`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use sphere::Sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `INFINITY_F64`, `PI`, and `degrees_to_radians`
[INFO] [stdout]   --> src/main.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 | use rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians};
[INFO] [stdout]    |                         ^^^^^^^^^^^^  ^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter` and `Write`
[INFO] [stdout]   --> src/main.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 | use std::io::{self, Write, BufWriter};
[INFO] [stdout]    |                     ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mat_left = Shared::new(Dielectric::new((1.50)));
[INFO] [stdout]    |                                                ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -     let mat_left = Shared::new(Dielectric::new((1.50)));
[INFO] [stdout] 47 +     let mat_left = Shared::new(Dielectric::new(1.50));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]    --> src/camera.rs:224:21
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 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: associated items `with_capacity`, `push`, and `clear` are never used
[INFO] [stdout]   --> src/hittable_list.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HittableList {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self { Self { objects: Vec::new() } }
[INFO] [stdout] 14 |     pub fn with_capacity(cap: usize) -> Self { Self { objects: Vec::with_capacity(cap) } }
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn push<T>(&mut self, v: T)
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn clear(&mut self) { self.objects.clear() }
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `surrounds` is never used
[INFO] [stdout]   --> src/interval.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Interval {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn surrounds(&self, x: f64) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.13s
[INFO] running `Command { std: "docker" "inspect" "583904a18c39a9d12ad13ee99c8b7be63cb75c8ae7cfcffd43cff2ec8be43297", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "583904a18c39a9d12ad13ee99c8b7be63cb75c8ae7cfcffd43cff2ec8be43297", kill_on_drop: false }`
[INFO] [stdout] 583904a18c39a9d12ad13ee99c8b7be63cb75c8ae7cfcffd43cff2ec8be43297
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29024fdb12c7d02624b34101cb646b45569ea7e626c8185c69cb8b6b07d40609
[INFO] running `Command { std: "docker" "start" "-a" "29024fdb12c7d02624b34101cb646b45569ea7e626c8185c69cb8b6b07d40609", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/vec3.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Sub, Mul, Div, Neg, Deref, DerefMut};
[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 imports: `Add`, `DerefMut`, `Deref`, `Div`, `Mul`, `Neg`, and `Sub`
[INFO] [stdout]  --> src/hittable.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div, Neg, Deref, DerefMut};
[INFO] [stdout]   |                ^^^  ^^^  ^^^  ^^^  ^^^  ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::MaterialPtr`
[INFO] [stdout]  --> src/hittable_list.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::material::MaterialPtr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/camera.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PI` and `Shared`
[INFO] [stdout]  --> src/camera.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians, random_double};
[INFO] [stdout]   |                        ^^^^^^                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HitRecord`
[INFO] [stdout]   --> src/camera.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::hittable::{Hittable, HitRecord};
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/material.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vec3::{Vec3, Point3};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/material.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let direction = match (ri * sin_theta) {
[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] 86 -         let direction = match (ri * sin_theta) {
[INFO] [stdout] 86 +         let direction = match ri * sin_theta {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]    --> src/camera.rs:224:21
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 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] [stderr]    Compiling raytrace_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/vec3.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Sub, Mul, Div, Neg, Deref, DerefMut};
[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 imports: `Add`, `DerefMut`, `Deref`, `Div`, `Mul`, `Neg`, and `Sub`
[INFO] [stdout]  --> src/hittable.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div, Neg, Deref, DerefMut};
[INFO] [stdout]   |                ^^^  ^^^  ^^^  ^^^  ^^^  ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::MaterialPtr`
[INFO] [stdout]  --> src/hittable_list.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::material::MaterialPtr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::color::Color`
[INFO] [stdout]   --> src/rtweekend.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub use crate::color::Color;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ray::Ray`
[INFO] [stdout]   --> src/rtweekend.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub use crate::ray::Ray;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Point3` and `Vec3`
[INFO] [stdout]   --> src/rtweekend.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub use crate::vec3::{Vec3, Point3};
[INFO] [stdout]    |                       ^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/camera.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PI` and `Shared`
[INFO] [stdout]  --> src/camera.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians, random_double};
[INFO] [stdout]   |                        ^^^^^^                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HitRecord`
[INFO] [stdout]   --> src/camera.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::hittable::{Hittable, HitRecord};
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/material.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vec3::{Vec3, Point3};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/material.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let direction = match (ri * sin_theta) {
[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] 86 -         let direction = match (ri * sin_theta) {
[INFO] [stdout] 86 +         let direction = match ri * sin_theta {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ray::Ray`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use ray::Ray;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HitRecord` and `Hittable`
[INFO] [stdout]   --> src/main.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | use hittable::{Hittable, HitRecord};
[INFO] [stdout]    |                ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sphere::Sphere`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use sphere::Sphere;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `INFINITY_F64`, `PI`, and `degrees_to_radians`
[INFO] [stdout]   --> src/main.rs:22:25
[INFO] [stdout]    |
[INFO] [stdout] 22 | use rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians};
[INFO] [stdout]    |                         ^^^^^^^^^^^^  ^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | use std::cmp::max;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufWriter` and `Write`
[INFO] [stdout]   --> src/main.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 | use std::io::{self, Write, BufWriter};
[INFO] [stdout]    |                     ^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/main.rs:47:48
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mat_left = Shared::new(Dielectric::new((1.50)));
[INFO] [stdout]    |                                                ^    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -     let mat_left = Shared::new(Dielectric::new((1.50)));
[INFO] [stdout] 47 +     let mat_left = Shared::new(Dielectric::new(1.50));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stdout]  --> src/vec3.rs:1:52
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, AddAssign, Sub, Mul, Div, Neg, Deref, DerefMut};
[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 imports: `Add`, `DerefMut`, `Deref`, `Div`, `Mul`, `Neg`, and `Sub`
[INFO] [stdout]  --> src/hittable.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Add, Sub, Mul, Div, Neg, Deref, DerefMut};
[INFO] [stdout]   |                ^^^  ^^^  ^^^  ^^^  ^^^  ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::material::MaterialPtr`
[INFO] [stdout]  --> src/hittable_list.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::material::MaterialPtr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/camera.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PI` and `Shared`
[INFO] [stdout]  --> src/camera.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians, random_double};
[INFO] [stdout]   |                        ^^^^^^                ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HitRecord`
[INFO] [stdout]   --> src/camera.rs:10:33
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::hittable::{Hittable, HitRecord};
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point3`
[INFO] [stdout]  --> src/material.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::vec3::{Vec3, Point3};
[INFO] [stdout]   |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stdout]   --> src/material.rs:86:31
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let direction = match (ri * sin_theta) {
[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] 86 -         let direction = match (ri * sin_theta) {
[INFO] [stdout] 86 +         let direction = match ri * sin_theta {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sample`
[INFO] [stdout]    --> src/camera.rs:224:21
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 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]    --> src/camera.rs:224:21
[INFO] [stdout]     |
[INFO] [stdout] 224 |                 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: associated items `with_capacity`, `push`, and `clear` are never used
[INFO] [stdout]   --> src/hittable_list.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl HittableList {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new() -> Self { Self { objects: Vec::new() } }
[INFO] [stdout] 14 |     pub fn with_capacity(cap: usize) -> Self { Self { objects: Vec::with_capacity(cap) } }
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn push<T>(&mut self, v: T)
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn clear(&mut self) { self.objects.clear() }
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `surrounds` is never used
[INFO] [stdout]   --> src/interval.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Interval {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 11 |     pub fn surrounds(&self, x: f64) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] running `Command { std: "docker" "inspect" "29024fdb12c7d02624b34101cb646b45569ea7e626c8185c69cb8b6b07d40609", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29024fdb12c7d02624b34101cb646b45569ea7e626c8185c69cb8b6b07d40609", kill_on_drop: false }`
[INFO] [stdout] 29024fdb12c7d02624b34101cb646b45569ea7e626c8185c69cb8b6b07d40609
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 67ad10ff5373cc377eb6a2ac4bab03b485e61942eeada589d8d39be9b9a70ade
[INFO] running `Command { std: "docker" "start" "-a" "67ad10ff5373cc377eb6a2ac4bab03b485e61942eeada589d8d39be9b9a70ade", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `DerefMut` and `Deref`
[INFO] [stderr]  --> src/vec3.rs:1:52
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::{Add, AddAssign, Sub, Mul, Div, Neg, Deref, DerefMut};
[INFO] [stderr]   |                                                    ^^^^^  ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Add`, `DerefMut`, `Deref`, `Div`, `Mul`, `Neg`, and `Sub`
[INFO] [stderr]  --> src/hittable.rs:1:16
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::ops::{Add, Sub, Mul, Div, Neg, Deref, DerefMut};
[INFO] [stderr]   |                ^^^  ^^^  ^^^  ^^^  ^^^  ^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::material::MaterialPtr`
[INFO] [stderr]  --> src/hittable_list.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::material::MaterialPtr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::max`
[INFO] [stderr]  --> src/camera.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::cmp::max;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `PI` and `Shared`
[INFO] [stderr]  --> src/camera.rs:8:24
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians, random_double};
[INFO] [stderr]   |                        ^^^^^^                ^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HitRecord`
[INFO] [stderr]   --> src/camera.rs:10:33
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::hittable::{Hittable, HitRecord};
[INFO] [stderr]    |                                 ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Point3`
[INFO] [stderr]  --> src/material.rs:5:25
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::vec3::{Vec3, Point3};
[INFO] [stderr]   |                         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]   --> src/material.rs:86:31
[INFO] [stderr]    |
[INFO] [stderr] 86 |         let direction = match (ri * sin_theta) {
[INFO] [stderr]    |                               ^              ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 86 -         let direction = match (ri * sin_theta) {
[INFO] [stderr] 86 +         let direction = match ri * sin_theta {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sample`
[INFO] [stderr]    --> src/camera.rs:224:21
[INFO] [stderr]     |
[INFO] [stderr] 224 |                 for sample in 0..self.samples_per_pixel {
[INFO] [stderr]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `raytrace_rs` (lib) generated 9 warnings (run `cargo fix --lib -p raytrace_rs` to apply 9 suggestions)
[INFO] [stderr] warning: `raytrace_rs` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr] warning: unused import: `crate::color::Color`
[INFO] [stderr]   --> src/rtweekend.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub use crate::color::Color;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::ray::Ray`
[INFO] [stderr]   --> src/rtweekend.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub use crate::ray::Ray;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Point3` and `Vec3`
[INFO] [stderr]   --> src/rtweekend.rs:17:23
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub use crate::vec3::{Vec3, Point3};
[INFO] [stderr]    |                       ^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ray::Ray`
[INFO] [stderr]   --> src/main.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use ray::Ray;
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HitRecord` and `Hittable`
[INFO] [stderr]   --> src/main.rs:19:16
[INFO] [stderr]    |
[INFO] [stderr] 19 | use hittable::{Hittable, HitRecord};
[INFO] [stderr]    |                ^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sphere::Sphere`
[INFO] [stderr]   --> src/main.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use sphere::Sphere;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `INFINITY_F64`, `PI`, and `degrees_to_radians`
[INFO] [stderr]   --> src/main.rs:22:25
[INFO] [stderr]    |
[INFO] [stderr] 22 | use rtweekend::{Shared, INFINITY_F64, PI, degrees_to_radians};
[INFO] [stderr]    |                         ^^^^^^^^^^^^  ^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]   --> src/main.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | use std::sync::Arc;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::cmp::max`
[INFO] [stderr]   --> src/main.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 | use std::cmp::max;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]   --> src/main.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | use std::fs::File;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufWriter` and `Write`
[INFO] [stderr]   --> src/main.rs:33:21
[INFO] [stderr]    |
[INFO] [stderr] 33 | use std::io::{self, Write, BufWriter};
[INFO] [stderr]    |                     ^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]   --> src/main.rs:35:5
[INFO] [stderr]    |
[INFO] [stderr] 35 | use std::time::Duration;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]   --> src/main.rs:47:48
[INFO] [stderr]    |
[INFO] [stderr] 47 |     let mat_left = Shared::new(Dielectric::new((1.50)));
[INFO] [stderr]    |                                                ^    ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 47 -     let mat_left = Shared::new(Dielectric::new((1.50)));
[INFO] [stderr] 47 +     let mat_left = Shared::new(Dielectric::new(1.50));
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `with_capacity`, `push`, and `clear` are never used
[INFO] [stderr]   --> src/hittable_list.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 12 | impl HittableList {
[INFO] [stderr]    | ----------------- associated items in this implementation
[INFO] [stderr] 13 |     pub fn new() -> Self { Self { objects: Vec::new() } }
[INFO] [stderr] 14 |     pub fn with_capacity(cap: usize) -> Self { Self { objects: Vec::with_capacity(cap) } }
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 22 |     pub fn push<T>(&mut self, v: T)
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub fn clear(&mut self) { self.objects.clear() }
[INFO] [stderr]    |            ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `surrounds` is never used
[INFO] [stderr]   --> src/interval.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr]  6 | impl Interval {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 11 |     pub fn surrounds(&self, x: f64) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `raytrace_rs` (bin "raytrace_rs" test) generated 24 warnings (9 duplicates) (run `cargo fix --bin "raytrace_rs" -p raytrace_rs --tests` to apply 13 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/raytrace_rs-25c5decc1df4c2e6)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/raytrace_rs-bc4084b86d89e4a3)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test vec3::tests::basics ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Doc-tests raytrace_rs
[INFO] [stdout] test vec3::tests::basics ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression
[INFO] [stderr]   --> src/material.rs:86:31
[INFO] [stderr]    |
[INFO] [stderr] 86 |         let direction = match (ri * sin_theta) {
[INFO] [stderr]    |                               ^              ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 86 -         let direction = match (ri * sin_theta) {
[INFO] [stderr] 86 +         let direction = match ri * sin_theta {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[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" "67ad10ff5373cc377eb6a2ac4bab03b485e61942eeada589d8d39be9b9a70ade", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67ad10ff5373cc377eb6a2ac4bab03b485e61942eeada589d8d39be9b9a70ade", kill_on_drop: false }`
[INFO] [stdout] 67ad10ff5373cc377eb6a2ac4bab03b485e61942eeada589d8d39be9b9a70ade
