[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#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbllu404%2Fraytracing-wknd" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bllu404/raytracing-wknd on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-0-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" "+2e6fc425411280c658d852813de01c5157255088" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee8faa2d9d1bb6ad8c4f15fc3359c323b13a8da2a04ca041cdf4db5ed5039f89 [INFO] running `Command { std: "docker" "start" "-a" "ee8faa2d9d1bb6ad8c4f15fc3359c323b13a8da2a04ca041cdf4db5ed5039f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee8faa2d9d1bb6ad8c4f15fc3359c323b13a8da2a04ca041cdf4db5ed5039f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8faa2d9d1bb6ad8c4f15fc3359c323b13a8da2a04ca041cdf4db5ed5039f89", kill_on_drop: false }` [INFO] [stdout] ee8faa2d9d1bb6ad8c4f15fc3359c323b13a8da2a04ca041cdf4db5ed5039f89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 304d6e6b637297104e097d27f6db864d04e6dc5bf00ba130ddbc776cc8318fc6 [INFO] running `Command { std: "docker" "start" "-a" "304d6e6b637297104e097d27f6db864d04e6dc5bf00ba130ddbc776cc8318fc6", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getrandom v0.2.11 [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 approx v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling gltf-derive v1.3.0 [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: `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: `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: `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: `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: 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] = 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] = note: `#[warn(dead_code)]` on by default [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: 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: 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 `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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.54s [INFO] running `Command { std: "docker" "inspect" "304d6e6b637297104e097d27f6db864d04e6dc5bf00ba130ddbc776cc8318fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304d6e6b637297104e097d27f6db864d04e6dc5bf00ba130ddbc776cc8318fc6", kill_on_drop: false }` [INFO] [stdout] 304d6e6b637297104e097d27f6db864d04e6dc5bf00ba130ddbc776cc8318fc6