[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/c68082eeed5173880b7d178c9a58e05d2cd8f6ef against master#5fe0e40e05f2d0408c6a292b160f96d595aedfbc for pr-130367 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbllu404%2Fraytracing-wknd" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bllu404/raytracing-wknd on toolchain 5fe0e40e05f2d0408c6a292b160f96d595aedfbc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fe0e40e05f2d0408c6a292b160f96d595aedfbc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+5fe0e40e05f2d0408c6a292b160f96d595aedfbc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded easy-gltf v1.1.1 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+5fe0e40e05f2d0408c6a292b160f96d595aedfbc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d4dea20158961fd61d77e4b31a54506dba44aeed60f80afe0158b29f2e793cc [INFO] running `Command { std: "docker" "start" "-a" "4d4dea20158961fd61d77e4b31a54506dba44aeed60f80afe0158b29f2e793cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d4dea20158961fd61d77e4b31a54506dba44aeed60f80afe0158b29f2e793cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4dea20158961fd61d77e4b31a54506dba44aeed60f80afe0158b29f2e793cc", kill_on_drop: false }` [INFO] [stdout] 4d4dea20158961fd61d77e4b31a54506dba44aeed60f80afe0158b29f2e793cc [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+5fe0e40e05f2d0408c6a292b160f96d595aedfbc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24151f6f1e9f0d800d8c9949276e1934cfa92cfb357deaed9ce4c592189df132 [INFO] running `Command { std: "docker" "start" "-a" "24151f6f1e9f0d800d8c9949276e1934cfa92cfb357deaed9ce4c592189df132", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking approx v0.4.0 [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)]` 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 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)]` 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)]` on by default [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)]` 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: 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)]` 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> { [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: 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)]` 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> { [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.57s [INFO] running `Command { std: "docker" "inspect" "24151f6f1e9f0d800d8c9949276e1934cfa92cfb357deaed9ce4c592189df132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24151f6f1e9f0d800d8c9949276e1934cfa92cfb357deaed9ce4c592189df132", kill_on_drop: false }` [INFO] [stdout] 24151f6f1e9f0d800d8c9949276e1934cfa92cfb357deaed9ce4c592189df132