[INFO] cloning repository https://github.com/arhamahmed/ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arhamahmed/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farhamahmed%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farhamahmed%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d5acc51b711e5e36e73f24314a18e7d796bab8d [INFO] checking arhamahmed/ray-tracer/8d5acc51b711e5e36e73f24314a18e7d796bab8d against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farhamahmed%2Fray-tracer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arhamahmed/ray-tracer on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arhamahmed/ray-tracer [INFO] finished tweaking git repo https://github.com/arhamahmed/ray-tracer [INFO] tweaked toml for git repo https://github.com/arhamahmed/ray-tracer written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/arhamahmed/ray-tracer 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74f08ec981c3d06fec1ff297eaaeec75db9117b25c23e15fcf7fd3cad83b293b [INFO] running `Command { std: "docker" "start" "-a" "74f08ec981c3d06fec1ff297eaaeec75db9117b25c23e15fcf7fd3cad83b293b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74f08ec981c3d06fec1ff297eaaeec75db9117b25c23e15fcf7fd3cad83b293b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f08ec981c3d06fec1ff297eaaeec75db9117b25c23e15fcf7fd3cad83b293b", kill_on_drop: false }` [INFO] [stdout] 74f08ec981c3d06fec1ff297eaaeec75db9117b25c23e15fcf7fd3cad83b293b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e4e70a7bd887b906c8aba8e4313f6cdcf1d66c018ca97cad584993a6392dc61 [INFO] running `Command { std: "docker" "start" "-a" "2e4e70a7bd887b906c8aba8e4313f6cdcf1d66c018ca97cad584993a6392dc61", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rays v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `moving_sphere::MovingSphere` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use moving_sphere::MovingSphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `perlin::Perlin` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use perlin::Perlin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `moving_sphere::MovingSphere` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use moving_sphere::MovingSphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `perlin::Perlin` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use perlin::Perlin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/vec3.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let y = *normal * 2.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut u = point.x() - point.x().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut v = point.y() - point.y().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut w = point.z() - point.z().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material_ground` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let material_ground = Color::new(0.8, 0.8, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_1` [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let center_1 = center_0 + Vec3::new(0.0, random_float_in_range(0.0, 0.5), 0.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/vec3.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let y = *normal * 2.0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_in_hemisphere` is never used [INFO] [stdout] --> src/vec3.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vec3 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/moving_sphere.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(center_0: Vec3, time_0: f64, center_1: Vec3, time_1: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable_list.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plane_outward` is never read [INFO] [stdout] --> src/camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | plane_outward: Vec3, // w [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_texture` is never used [INFO] [stdout] --> src/texture.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl CheckeredTexture { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new_with_texture(odd: impl Texture + 'static, even: impl Texture + 'static) -> CheckeredTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y_perms` and `z_perms` are never read [INFO] [stdout] --> src/perlin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Perlin { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | y_perms: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | z_perms: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `computeIntersection` should have a snake case name [INFO] [stdout] --> src/aabb.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn computeIntersection(&self, ray: &Ray, min_t: f64, max_t: f64, dimension: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_intersection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut u = point.x() - point.x().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut v = point.y() - point.y().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/perlin.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut w = point.z() - point.z().floor(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `material_ground` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let material_ground = Color::new(0.8, 0.8, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_1` [INFO] [stdout] --> src/main.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let center_1 = center_0 + Vec3::new(0.0, random_float_in_range(0.0, 0.5), 0.0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `equal_to` and `random_in_hemisphere` are never used [INFO] [stdout] --> src/vec3.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Vec3 { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn equal_to(&self, second: &Vec3) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn random_in_hemisphere(normal: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/moving_sphere.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(center_0: Vec3, time_0: f64, center_1: Vec3, time_1: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/hittable_list.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl HittableList { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `plane_outward` is never read [INFO] [stdout] --> src/camera.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | plane_outward: Vec3, // w [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_texture` is never used [INFO] [stdout] --> src/texture.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl CheckeredTexture { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new_with_texture(odd: impl Texture + 'static, even: impl Texture + 'static) -> CheckeredTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `y_perms` and `z_perms` are never read [INFO] [stdout] --> src/perlin.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Perlin { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | y_perms: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | z_perms: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `computeIntersection` should have a snake case name [INFO] [stdout] --> src/aabb.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn computeIntersection(&self, ray: &Ray, min_t: f64, max_t: f64, dimension: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_intersection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.54s [INFO] running `Command { std: "docker" "inspect" "2e4e70a7bd887b906c8aba8e4313f6cdcf1d66c018ca97cad584993a6392dc61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4e70a7bd887b906c8aba8e4313f6cdcf1d66c018ca97cad584993a6392dc61", kill_on_drop: false }` [INFO] [stdout] 2e4e70a7bd887b906c8aba8e4313f6cdcf1d66c018ca97cad584993a6392dc61