[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatihope%2FRustRayTracing" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matihope/RustRayTracing on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd8315f6ac0c20c5ce21c9ae2ac10c51441c85f63d7d662863e2d890fc846742 [INFO] running `Command { std: "docker" "start" "-a" "fd8315f6ac0c20c5ce21c9ae2ac10c51441c85f63d7d662863e2d890fc846742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd8315f6ac0c20c5ce21c9ae2ac10c51441c85f63d7d662863e2d890fc846742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd8315f6ac0c20c5ce21c9ae2ac10c51441c85f63d7d662863e2d890fc846742", kill_on_drop: false }` [INFO] [stdout] fd8315f6ac0c20c5ce21c9ae2ac10c51441c85f63d7d662863e2d890fc846742 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16ad22673b7df6a78fc144d06cdc418134a2125d75b99884372b1c52d2eedb0d [INFO] running `Command { std: "docker" "start" "-a" "16ad22673b7df6a78fc144d06cdc418134a2125d75b99884372b1c52d2eedb0d", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking indicatif v0.17.8 [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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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: `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 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 5.27s [INFO] running `Command { std: "docker" "inspect" "16ad22673b7df6a78fc144d06cdc418134a2125d75b99884372b1c52d2eedb0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ad22673b7df6a78fc144d06cdc418134a2125d75b99884372b1c52d2eedb0d", kill_on_drop: false }` [INFO] [stdout] 16ad22673b7df6a78fc144d06cdc418134a2125d75b99884372b1c52d2eedb0d