[INFO] cloning repository https://github.com/Crystalsage/Spectra [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Crystalsage/Spectra" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalsage%2FSpectra", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalsage%2FSpectra'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 749a73878116a0a05cdee253f842a154f99490bc [INFO] checking Crystalsage/Spectra/749a73878116a0a05cdee253f842a154f99490bc against master#9f48dedc9763334a587c66558974635807a113ed for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalsage%2FSpectra" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Crystalsage/Spectra on toolchain 9f48dedc9763334a587c66558974635807a113ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Crystalsage/Spectra [INFO] finished tweaking git repo https://github.com/Crystalsage/Spectra [INFO] tweaked toml for git repo https://github.com/Crystalsage/Spectra written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Crystalsage/Spectra 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" "+9f48dedc9763334a587c66558974635807a113ed" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6950f378d5decadcf7ea9eb0d0f20a95127f0e6e84df7cbf68059156a0cd8fb [INFO] running `Command { std: "docker" "start" "-a" "f6950f378d5decadcf7ea9eb0d0f20a95127f0e6e84df7cbf68059156a0cd8fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6950f378d5decadcf7ea9eb0d0f20a95127f0e6e84df7cbf68059156a0cd8fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6950f378d5decadcf7ea9eb0d0f20a95127f0e6e84df7cbf68059156a0cd8fb", kill_on_drop: false }` [INFO] [stdout] f6950f378d5decadcf7ea9eb0d0f20a95127f0e6e84df7cbf68059156a0cd8fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd58cbf6ba8b692b4ea7fcf88c4919220f9afa1410c6b339e98f12a85aee98ba [INFO] running `Command { std: "docker" "start" "-a" "cd58cbf6ba8b692b4ea7fcf88c4919220f9afa1410c6b339e98f12a85aee98ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking spectra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::num::NonZeroU8` [INFO] [stdout] --> src/vector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::NonZeroU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::ControlFlow` [INFO] [stdout] --> src/vector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::ControlFlow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::NonZeroU8` [INFO] [stdout] --> src/vector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::num::NonZeroU8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::ControlFlow` [INFO] [stdout] --> src/vector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::ControlFlow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focal_length` [INFO] [stdout] --> src/camera.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let focal_length = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focal_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzz` [INFO] [stdout] --> src/material.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let fuzz = match f < 1.0 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fuzz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | fn scatter_lambertian(c: Color, r_in: &Ray, rec: &HitRecord, attentuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersects_sphere` is never used [INFO] [stdout] --> src/color.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn intersects_sphere(center: Point3, radius: f64, ray: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/image_writer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Image { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Hittables { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn clear(self: &mut Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INFINITY` is never used [INFO] [stdout] --> src/utility.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const INFINITY: f64 = f64::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `u`, `v`, `w`, and `lens_radius` are never read [INFO] [stdout] --> src/camera.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | u: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 10 | v: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 11 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 12 | lens_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new` is never used [INFO] [stdout] --> src/material.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl MaterialType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 19 | fn new(self: Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focal_length` [INFO] [stdout] --> src/camera.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let focal_length = 1.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_focal_length` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fuzz` [INFO] [stdout] --> src/material.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | let fuzz = match f < 1.0 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fuzz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | fn scatter_lambertian(c: Color, r_in: &Ray, rec: &HitRecord, attentuation: &mut Color, scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersects_sphere` is never used [INFO] [stdout] --> src/color.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn intersects_sphere(center: Point3, radius: f64, ray: &Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/image_writer.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Image { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_image_write` is never used [INFO] [stdout] --> src/image_writer.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn test_image_write() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Hittables { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn clear(self: &mut Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INFINITY` is never used [INFO] [stdout] --> src/utility.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const INFINITY: f64 = f64::INFINITY; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `u`, `v`, `w`, and `lens_radius` are never read [INFO] [stdout] --> src/camera.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | u: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 10 | v: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 11 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] 12 | lens_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new` is never used [INFO] [stdout] --> src/material.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl MaterialType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 19 | fn new(self: Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.57s [INFO] running `Command { std: "docker" "inspect" "cd58cbf6ba8b692b4ea7fcf88c4919220f9afa1410c6b339e98f12a85aee98ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd58cbf6ba8b692b4ea7fcf88c4919220f9afa1410c6b339e98f12a85aee98ba", kill_on_drop: false }` [INFO] [stdout] cd58cbf6ba8b692b4ea7fcf88c4919220f9afa1410c6b339e98f12a85aee98ba