[INFO] cloning repository https://github.com/diptodip/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/diptodip/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiptodip%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiptodip%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f81e05a657f3aca3ebaf6fef9fc92141ea7cafa2 [INFO] checking diptodip/raytracer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdiptodip%2Fraytracer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/diptodip/raytracer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/diptodip/raytracer [INFO] finished tweaking git repo https://github.com/diptodip/raytracer [INFO] tweaked toml for git repo https://github.com/diptodip/raytracer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/diptodip/raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad53d5d7c8beb11f88e1ebae9e0983a9ae49bbf353c4640dca410ed98275b1ec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad53d5d7c8beb11f88e1ebae9e0983a9ae49bbf353c4640dca410ed98275b1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad53d5d7c8beb11f88e1ebae9e0983a9ae49bbf353c4640dca410ed98275b1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad53d5d7c8beb11f88e1ebae9e0983a9ae49bbf353c4640dca410ed98275b1ec", kill_on_drop: false }` [INFO] [stdout] ad53d5d7c8beb11f88e1ebae9e0983a9ae49bbf353c4640dca410ed98275b1ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75c7952593baa3e72bbf82ed2f664704558673e5ba8a56c964a78487862ad000 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75c7952593baa3e72bbf82ed2f664704558673e5ba8a56c964a78487862ad000", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `linalg::dot` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use linalg::dot; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linalg::dot` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use linalg::dot; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/geometry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rand::prelude::*` [INFO] [stdout] --> src/geometry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/geometry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rand::prelude::*` [INFO] [stdout] --> src/geometry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::colors::RGB` [INFO] [stdout] --> src/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::colors::RGB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | image[row][col][0] += (color.r() / samples_per_pixel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | image[row][col][1] += (color.g() / samples_per_pixel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | image[row][col][2] += (color.b() / samples_per_pixel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::colors::RGB` [INFO] [stdout] --> src/camera.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::colors::RGB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | image[row][col][0] += (color.r() / samples_per_pixel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:150:39 [INFO] [stdout] | [INFO] [stdout] 150 | image[row][col][1] += (color.g() / samples_per_pixel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:151:39 [INFO] [stdout] | [INFO] [stdout] 151 | image[row][col][2] += (color.b() / samples_per_pixel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersectable` [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | intersectable: &Intersectable) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersectable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersectable` [INFO] [stdout] --> src/main.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | fn reflected_bounce(intersection: &Intersection, intersectable: &Intersectable, ray: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersectable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_size` [INFO] [stdout] --> src/main.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let (rows, cols, pixel_size) = imsize_to_pixels(image_plane_height, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/main.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | for sample in 0..samples_per_pixel as usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max` is never read [INFO] [stdout] --> src/linalg.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | max += 1e-12; [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: `intersectable` [INFO] [stdout] --> src/main.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | intersectable: &Intersectable) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersectable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersectable` [INFO] [stdout] --> src/main.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | fn reflected_bounce(intersection: &Intersection, intersectable: &Intersectable, ray: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersectable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_size` [INFO] [stdout] --> src/main.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let (rows, cols, pixel_size) = imsize_to_pixels(image_plane_height, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample` [INFO] [stdout] --> src/main.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | for sample in 0..samples_per_pixel as usize { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max` is never read [INFO] [stdout] --> src/linalg.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | max += 1e-12; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rng = rand::thread_rng(); [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/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut rng = rand::thread_rng(); [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: function is never used: `imsize_to_fov` [INFO] [stdout] --> src/camera.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn imsize_to_fov(image_plane_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reflective` [INFO] [stdout] --> src/materials.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Reflective(Reflective), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reflected_bounce` [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn reflected_bounce(intersection: &Intersection, intersectable: &Intersectable, ray: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `imsize_to_fov` [INFO] [stdout] --> src/camera.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn imsize_to_fov(image_plane_height: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reflective` [INFO] [stdout] --> src/materials.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Reflective(Reflective), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reflected_bounce` [INFO] [stdout] --> src/main.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn reflected_bounce(intersection: &Intersection, intersectable: &Intersectable, ray: &Ray) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.16s [INFO] running `Command { std: "docker" "inspect" "75c7952593baa3e72bbf82ed2f664704558673e5ba8a56c964a78487862ad000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75c7952593baa3e72bbf82ed2f664704558673e5ba8a56c964a78487862ad000", kill_on_drop: false }` [INFO] [stdout] 75c7952593baa3e72bbf82ed2f664704558673e5ba8a56c964a78487862ad000