[INFO] cloning repository https://github.com/ShiCheng-Lu/rusty-raytracing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShiCheng-Lu/rusty-raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiCheng-Lu%2Frusty-raytracing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiCheng-Lu%2Frusty-raytracing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bfa015f6ce9776e43a26a438e85a18bac453615e
[INFO] checking ShiCheng-Lu/rusty-raytracing against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShiCheng-Lu%2Frusty-raytracing" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ShiCheng-Lu/rusty-raytracing
[INFO] finished tweaking git repo https://github.com/ShiCheng-Lu/rusty-raytracing
[INFO] tweaked toml for git repo https://github.com/ShiCheng-Lu/rusty-raytracing written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ShiCheng-Lu/rusty-raytracing on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ShiCheng-Lu/rusty-raytracing 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "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 quote v1.0.37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305
[INFO] running `Command { std: "docker" "start" "714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.91
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rusty-raytracing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/sphere.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::material::{self, Material};
[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: `Point3f`
[INFO] [stdout]  --> src/camera.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::vec3::{Colour, Point3f, Vec3f};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> src/camera.rs:183:21
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 Err(error) => {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_ray`
[INFO] [stdout]   --> src/material.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn scatter(&self, in_ray: &Ray, hit_result: &HitResult) -> ScatterResult {
[INFO] [stdout]    |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_colour_string` is never used
[INFO] [stdout]    --> src/vec3.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl Colour {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 205 |     pub fn to_colour_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `ALL`, `EMPTY`, `size`, and `clamp` are never used
[INFO] [stdout]   --> src/ray.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Interval {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 29 |     pub const ALL: Interval = Interval { min: f32::INFINITY, max: f32::NEG_INFINITY };
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 30 |     pub const EMPTY: Interval = Interval { min: f32::NEG_INFINITY, max: f32::INFINITY };
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn size(&self) -> f32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn clamp(&self, value: f32) -> f32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `random_on_hemisphere` is never used
[INFO] [stdout]   --> src/camera.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Camera {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn random_on_hemisphere(normal: Vec3f) -> Vec3f {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/sphere.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::material::{self, Material};
[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: `Point3f`
[INFO] [stdout]  --> src/camera.rs:6:27
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::vec3::{Colour, Point3f, Vec3f};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> src/camera.rs:183:21
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 Err(error) => {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_ray`
[INFO] [stdout]   --> src/material.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn scatter(&self, in_ray: &Ray, hit_result: &HitResult) -> ScatterResult {
[INFO] [stdout]    |                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_ray`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_colour_string` is never used
[INFO] [stdout]    --> src/vec3.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 204 | impl Colour {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] 205 |     pub fn to_colour_string(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `ALL`, `EMPTY`, `size`, and `clamp` are never used
[INFO] [stdout]   --> src/ray.rs:29:15
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl Interval {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 29 |     pub const ALL: Interval = Interval { min: f32::INFINITY, max: f32::NEG_INFINITY };
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 30 |     pub const EMPTY: Interval = Interval { min: f32::NEG_INFINITY, max: f32::INFINITY };
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn size(&self) -> f32 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn clamp(&self, value: f32) -> f32 {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `random_on_hemisphere` is never used
[INFO] [stdout]   --> src/camera.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl Camera {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     fn random_on_hemisphere(normal: Vec3f) -> Vec3f {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.68s
[INFO] running `Command { std: "docker" "inspect" "714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305", kill_on_drop: false }`
[INFO] [stdout] 714f4ca26cd1b5eeda9ddc8386208dfd40d94730bd122073b0cde04fc843d305
