[INFO] cloning repository https://github.com/bllu404/raytracing-wknd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bllu404/raytracing-wknd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbllu404%2Fraytracing-wknd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbllu404%2Fraytracing-wknd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c68082eeed5173880b7d178c9a58e05d2cd8f6ef
[INFO] checking bllu404/raytracing-wknd against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbllu404%2Fraytracing-wknd" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bllu404/raytracing-wknd
[INFO] finished tweaking git repo https://github.com/bllu404/raytracing-wknd
[INFO] tweaked toml for git repo https://github.com/bllu404/raytracing-wknd written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bllu404/raytracing-wknd on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bllu404/raytracing-wknd 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" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fdeflate v0.3.1
[INFO] [stderr]   Downloaded easy-gltf v1.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec
[INFO] running `Command { std: "docker" "start" "e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec", 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" "e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec", 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" "e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]    Compiling serde v1.0.192
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking fdeflate v0.3.1
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling syn v2.0.39
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking rayon v1.8.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking exr v1.71.0
[INFO] [stderr]     Checking png v0.17.10
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling gltf-derive v1.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.192
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]     Checking tiff v0.9.0
[INFO] [stderr]     Checking image v0.24.7
[INFO] [stderr]     Checking gltf-json v1.3.0
[INFO] [stderr]     Checking gltf v1.3.0
[INFO] [stderr]     Checking easy-gltf v1.1.1
[INFO] [stderr]     Checking raytracer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::utils::get_random_f64`
[INFO] [stdout]  --> src/material.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::get_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: `std::cmp::min`
[INFO] [stdout]  --> src/vec.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_random_f64`
[INFO] [stdout]  --> src/vec.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::{get_random_f64, get_random_f64_custom};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::load_triangles`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use models::load_triangles;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]    --> src/hittable.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         normal: Vec3,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `triangles`
[INFO] [stdout]   --> src/models.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let triangles = wizard.triangles().expect("Failed to get triangles");
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_color` is never used
[INFO] [stdout]   --> src/color.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Color {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get_color(r: f32, g: f32, b: f32) -> Color {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Right`, `Up`, `Down`, `Forward`, and `Backward` are never constructed
[INFO] [stdout]    --> src/hittable.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub enum Translation {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] 115 |     Left(f64),
[INFO] [stdout] 116 |     Right(f64),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 117 |     Up(f64),
[INFO] [stdout]     |     ^^
[INFO] [stdout] 118 |     Down(f64),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 119 |     Forward(f64),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 120 |     Backward(f64),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_with_normal` and `scale` are never used
[INFO] [stdout]    --> src/hittable.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl Triangle {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn new_with_normal(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn scale(self, scalar: f64) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reflectance` is never used
[INFO] [stdout]   --> src/material.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn reflectance(cosine: f64, ref_idx: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_triangles` is never used
[INFO] [stdout]  --> src/models.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn load_triangles(filename: &str) -> Vec<Box<Triangle>> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PI` is never used
[INFO] [stdout]  --> src/utils.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const PI: f64 = 3.1415926535897932385;
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gamma_to_linear` is never used
[INFO] [stdout]   --> src/utils.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn gamma_to_linear(linear_component: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::get_random_f64`
[INFO] [stdout]  --> src/material.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::get_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: `std::cmp::min`
[INFO] [stdout]  --> src/vec.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `get_random_f64`
[INFO] [stdout]  --> src/vec.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::{get_random_f64, get_random_f64_custom};
[INFO] [stdout]   |                    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `models::load_triangles`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use models::load_triangles;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]    --> src/hittable.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         normal: Vec3,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `triangles`
[INFO] [stdout]   --> src/models.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let triangles = wizard.triangles().expect("Failed to get triangles");
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_triangles`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_color` is never used
[INFO] [stdout]   --> src/color.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl Color {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn get_color(r: f32, g: f32, b: f32) -> Color {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Right`, `Up`, `Down`, `Forward`, and `Backward` are never constructed
[INFO] [stdout]    --> src/hittable.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub enum Translation {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] 115 |     Left(f64),
[INFO] [stdout] 116 |     Right(f64),
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 117 |     Up(f64),
[INFO] [stdout]     |     ^^
[INFO] [stdout] 118 |     Down(f64),
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 119 |     Forward(f64),
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 120 |     Backward(f64),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_with_normal` and `scale` are never used
[INFO] [stdout]    --> src/hittable.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout] 123 | impl Triangle {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn new_with_normal(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn scale(self, scalar: f64) -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reflectance` is never used
[INFO] [stdout]   --> src/material.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn reflectance(cosine: f64, ref_idx: f64) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_triangles` is never used
[INFO] [stdout]  --> src/models.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn load_triangles(filename: &str) -> Vec<Box<Triangle>> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PI` is never used
[INFO] [stdout]  --> src/utils.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const PI: f64 = 3.1415926535897932385;
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `gamma_to_linear` is never used
[INFO] [stdout]   --> src/utils.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn gamma_to_linear(linear_component: f64) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.09s
[INFO] running `Command { std: "docker" "inspect" "e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec", kill_on_drop: false }`
[INFO] [stdout] e4d5d23154cbe5c27df1149361fcc400a5d30967cc3cf42665fad0c0a422a6ec
