[INFO] cloning repository https://github.com/Wafelack/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wafelack/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2736021eeecde9d4a1ae3f2e86f22a5b0728c364 [INFO] checking Wafelack/raytracer against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fraytracer" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wafelack/raytracer on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Wafelack/raytracer [INFO] finished tweaking git repo https://github.com/Wafelack/raytracer [INFO] tweaked toml for git repo https://github.com/Wafelack/raytracer written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Wafelack/raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec82aa74bdeb37780876b19ea10bbec17567a2e0735c4f448ec10b5b515d7a3c [INFO] running `Command { std: "docker" "start" "-a" "ec82aa74bdeb37780876b19ea10bbec17567a2e0735c4f448ec10b5b515d7a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec82aa74bdeb37780876b19ea10bbec17567a2e0735c4f448ec10b5b515d7a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec82aa74bdeb37780876b19ea10bbec17567a2e0735c4f448ec10b5b515d7a3c", kill_on_drop: false }` [INFO] [stdout] ec82aa74bdeb37780876b19ea10bbec17567a2e0735c4f448ec10b5b515d7a3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 29f66b352fec7503bd6bf0f402953e6247acf87c2e3714311c6f1b78168d5a8b [INFO] running `Command { std: "docker" "start" "-a" "29f66b352fec7503bd6bf0f402953e6247acf87c2e3714311c6f1b78168d5a8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `io::Write`, `io` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io, io::Write}; [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/vec3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `point3` should have an upper camel case name [INFO] [stdout] --> src/vec3.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | pub type point3 = Vec3; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Point3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `color` should have an upper camel case name [INFO] [stdout] --> src/vec3.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | pub type color = Vec3; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io::Write`, `io` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io, io::Write}; [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/vec3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `point3` should have an upper camel case name [INFO] [stdout] --> src/vec3.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | pub type point3 = Vec3; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Point3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `color` should have an upper camel case name [INFO] [stdout] --> src/vec3.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 155 | pub type color = Vec3; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sphere_material` is never read [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let mut sphere_material: Rc = Rc::new(Metal::from(color::new(), 0.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focal_length` [INFO] [stdout] --> src/camera.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let focal_length = 1.; [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: `front_face` [INFO] [stdout] --> src/objects/sphere.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut front_face = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_face` [INFO] [stdout] --> src/objects/moving_sphere.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut front_face = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/material/material.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut direction = Vec3::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut world = random_scene(); [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/objects/sphere.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut front_face = false; [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/objects/moving_sphere.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut front_face = false; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | w: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_in_hemisphere` [INFO] [stdout] --> src/vec3.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn random_in_hemisphere(normal: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_at` [INFO] [stdout] --> src/vec3.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_at(&self, i: usize) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul` [INFO] [stdout] --> src/vec3.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn mul(&mut self, t: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/vec3.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn div(&mut self, t: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/objects/hittable_list.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sphere_material` is never read [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let mut sphere_material: Rc = Rc::new(Metal::from(color::new(), 0.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `focal_length` [INFO] [stdout] --> src/camera.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let focal_length = 1.; [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: `front_face` [INFO] [stdout] --> src/objects/sphere.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut front_face = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `front_face` [INFO] [stdout] --> src/objects/moving_sphere.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut front_face = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_front_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `direction` is never read [INFO] [stdout] --> src/material/material.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut direction = Vec3::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut world = random_scene(); [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/objects/sphere.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut front_face = false; [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/objects/moving_sphere.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut front_face = false; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | w: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `random_in_hemisphere` [INFO] [stdout] --> src/vec3.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn random_in_hemisphere(normal: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_at` [INFO] [stdout] --> src/vec3.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn get_at(&self, i: usize) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul` [INFO] [stdout] --> src/vec3.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn mul(&mut self, t: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `div` [INFO] [stdout] --> src/vec3.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn div(&mut self, t: f32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/objects/hittable_list.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "29f66b352fec7503bd6bf0f402953e6247acf87c2e3714311c6f1b78168d5a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f66b352fec7503bd6bf0f402953e6247acf87c2e3714311c6f1b78168d5a8b", kill_on_drop: false }` [INFO] [stdout] 29f66b352fec7503bd6bf0f402953e6247acf87c2e3714311c6f1b78168d5a8b