[INFO] cloning repository https://github.com/BjarkePedersen/raytracey-not-a-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BjarkePedersen/raytracey-not-a-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjarkePedersen%2Fraytracey-not-a-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjarkePedersen%2Fraytracey-not-a-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bb7f3779715147ab534ee75e30d6e3c6469ced2 [INFO] checking BjarkePedersen/raytracey-not-a-raytracer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjarkePedersen%2Fraytracey-not-a-raytracer" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BjarkePedersen/raytracey-not-a-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/BjarkePedersen/raytracey-not-a-raytracer [INFO] finished tweaking git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer [INFO] tweaked toml for git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/BjarkePedersen/raytracey-not-a-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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d2118d623de0208b629ad60cfc390d8588025999a4a06e896fc61f4e47461d9 [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" "7d2118d623de0208b629ad60cfc390d8588025999a4a06e896fc61f4e47461d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d2118d623de0208b629ad60cfc390d8588025999a4a06e896fc61f4e47461d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d2118d623de0208b629ad60cfc390d8588025999a4a06e896fc61f4e47461d9", kill_on_drop: false }` [INFO] [stdout] 7d2118d623de0208b629ad60cfc390d8588025999a4a06e896fc61f4e47461d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb342da09d5ad5cd8d696704e7f8a69d8c13d51b0185abb67107abf2341d0700 [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" "fb342da09d5ad5cd8d696704e7f8a69d8c13d51b0185abb67107abf2341d0700", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking rgb v0.8.12 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Checking libc v0.2.47 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking rand v0.4.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling minifb v0.11.2 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking cgmath v0.17.0 [INFO] [stderr] Checking simple_rust_cpu_raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bresenham.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/bresenham.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ord` [INFO] [stdout] --> src/skybox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/main.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let col = col * Col::from_hue(cr) * (1.0 / Col::from_hue(cr).luminance()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ord` [INFO] [stdout] --> src/skybox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/main.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | let col = col * Col::from_hue(cr) * (1.0 / Col::from_hue(cr).luminance()); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `powf` [INFO] [stdout] --> src/helpers.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn powf(&self, power: f32) -> Col { [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: `powi` [INFO] [stdout] --> src/helpers.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn powi(&self, power: i32) -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/helpers.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn red() -> Col { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/helpers.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn green() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/helpers.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn blue() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yellow` [INFO] [stdout] --> src/helpers.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn yellow() -> Col { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cyan` [INFO] [stdout] --> src/helpers.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn cyan() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magenta` [INFO] [stdout] --> src/helpers.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn magenta() -> Col { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `black` [INFO] [stdout] --> src/helpers.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn black() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `white` [INFO] [stdout] --> src/helpers.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn white() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grey` [INFO] [stdout] --> src/helpers.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn grey() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `light_grey` [INFO] [stdout] --> src/helpers.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn light_grey() -> Col { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dark_grey` [INFO] [stdout] --> src/helpers.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn dark_grey() -> Col { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_random_hue` [INFO] [stdout] --> src/helpers.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn from_random_hue(rng: &mut StdRng) -> Col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uv_to_pixel_coordinates` [INFO] [stdout] --> src/helpers.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn uv_to_pixel_coordinates(uv: UV, width: f32, height: f32) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dimensions` [INFO] [stdout] --> src/helpers.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/helpers.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn new(dimensions: usize) -> Axis { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/helpers.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn next(&self) -> Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `powf` [INFO] [stdout] --> src/helpers.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn powf(&self, power: f32) -> Col { [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: `powi` [INFO] [stdout] --> src/helpers.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn powi(&self, power: i32) -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/helpers.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn red() -> Col { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/helpers.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn green() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/helpers.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn blue() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yellow` [INFO] [stdout] --> src/helpers.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn yellow() -> Col { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cyan` [INFO] [stdout] --> src/helpers.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn cyan() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magenta` [INFO] [stdout] --> src/helpers.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn magenta() -> Col { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `black` [INFO] [stdout] --> src/helpers.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn black() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `white` [INFO] [stdout] --> src/helpers.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn white() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grey` [INFO] [stdout] --> src/helpers.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn grey() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `light_grey` [INFO] [stdout] --> src/helpers.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn light_grey() -> Col { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dark_grey` [INFO] [stdout] --> src/helpers.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn dark_grey() -> Col { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_random_hue` [INFO] [stdout] --> src/helpers.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn from_random_hue(rng: &mut StdRng) -> Col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uv_to_pixel_coordinates` [INFO] [stdout] --> src/helpers.rs:308:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn uv_to_pixel_coordinates(uv: UV, width: f32, height: f32) -> Vector2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `dimensions` [INFO] [stdout] --> src/helpers.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/helpers.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn new(dimensions: usize) -> Axis { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next` [INFO] [stdout] --> src/helpers.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn next(&self) -> Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.67s [INFO] running `Command { std: "docker" "inspect" "fb342da09d5ad5cd8d696704e7f8a69d8c13d51b0185abb67107abf2341d0700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb342da09d5ad5cd8d696704e7f8a69d8c13d51b0185abb67107abf2341d0700", kill_on_drop: false }` [INFO] [stdout] fb342da09d5ad5cd8d696704e7f8a69d8c13d51b0185abb67107abf2341d0700