[INFO] cloning repository https://github.com/matihope/RustRayTracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matihope/RustRayTracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatihope%2FRustRayTracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatihope%2FRustRayTracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8b2a31e415664921c706a8cc9dfb53410db122a [INFO] checking matihope/RustRayTracing against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatihope%2FRustRayTracing" "/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/matihope/RustRayTracing on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/matihope/RustRayTracing [INFO] finished tweaking git repo https://github.com/matihope/RustRayTracing [INFO] tweaked toml for git repo https://github.com/matihope/RustRayTracing written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/matihope/RustRayTracing 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c44429abba9a4e63fd54bfca941a368eb5f7016878dde12b9eabcc8a2bc06bbc [INFO] running `Command { std: "docker" "start" "-a" "c44429abba9a4e63fd54bfca941a368eb5f7016878dde12b9eabcc8a2bc06bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c44429abba9a4e63fd54bfca941a368eb5f7016878dde12b9eabcc8a2bc06bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c44429abba9a4e63fd54bfca941a368eb5f7016878dde12b9eabcc8a2bc06bbc", kill_on_drop: false }` [INFO] [stdout] c44429abba9a4e63fd54bfca941a368eb5f7016878dde12b9eabcc8a2bc06bbc [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f559c0d296037c7cad594c002efe2b3fd711c4586a2025b8711e6e23a86e628e [INFO] running `Command { std: "docker" "start" "-a" "f559c0d296037c7cad594c002efe2b3fd711c4586a2025b8711e6e23a86e628e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking ray_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Normal` [INFO] [stdout] --> src/draw_image.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use rand_distr::{Distribution, Normal}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Normal` [INFO] [stdout] --> src/draw_image.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use rand_distr::{Distribution, Normal}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ray` [INFO] [stdout] --> src/camera.rs:6:99 [INFO] [stdout] | [INFO] [stdout] 6 | color::Color, hittables::prelude::*, material::material::ScatterResult, my_math::{prelude::*, ray}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ray` [INFO] [stdout] --> src/camera.rs:6:99 [INFO] [stdout] | [INFO] [stdout] 6 | color::Color, hittables::prelude::*, material::material::ScatterResult, my_math::{prelude::*, ray}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/draw_image.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use rand_distr::{Distribution, Normal}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material_right` [INFO] [stdout] --> src/draw_image.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let material_right = Arc::new(Metal::new(Color::new(0.8, 0.6, 0.2), 0.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/draw_image.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let dist = Uniform::new(0, 3); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Distribution` [INFO] [stdout] --> src/draw_image.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use rand_distr::{Distribution, Normal}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material_right` [INFO] [stdout] --> src/draw_image.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let material_right = Arc::new(Metal::new(Color::new(0.8, 0.6, 0.2), 0.1)); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_right` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> src/draw_image.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let dist = Uniform::new(0, 3); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_world` is never used [INFO] [stdout] --> src/draw_image.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn make_world() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitRecordNoHit` is never constructed [INFO] [stdout] --> src/hittables/hittable.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HitRecordNoHit; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear` are never used [INFO] [stdout] --> src/hittables/hittable_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl HittableList { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new(hittable: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `random` and `random_in_hemisphere` are never used [INFO] [stdout] --> src/my_math/vec3.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vec3 { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `contains`, `EMPTY`, and `UNIVERSE` are never used [INFO] [stdout] --> src/my_math/interval.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub const EMPTY: Interval = Interval::new(INFINITY, -INFINITY); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub const UNIVERSE: Interval = Interval::new(-INFINITY, INFINITY); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_world` is never used [INFO] [stdout] --> src/draw_image.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn make_world() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HitRecordNoHit` is never constructed [INFO] [stdout] --> src/hittables/hittable.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct HitRecordNoHit; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `clear` are never used [INFO] [stdout] --> src/hittables/hittable_list.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl HittableList { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn new(hittable: Rc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `random` and `random_in_hemisphere` are never used [INFO] [stdout] --> src/my_math/vec3.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vec3 { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | fn random() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `contains`, `EMPTY`, and `UNIVERSE` are never used [INFO] [stdout] --> src/my_math/interval.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn contains(&self, x: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub const EMPTY: Interval = Interval::new(INFINITY, -INFINITY); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | pub const UNIVERSE: Interval = Interval::new(-INFINITY, INFINITY); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.38s [INFO] running `Command { std: "docker" "inspect" "f559c0d296037c7cad594c002efe2b3fd711c4586a2025b8711e6e23a86e628e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f559c0d296037c7cad594c002efe2b3fd711c4586a2025b8711e6e23a86e628e", kill_on_drop: false }` [INFO] [stdout] f559c0d296037c7cad594c002efe2b3fd711c4586a2025b8711e6e23a86e628e