[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] d2496c6b5c131656078ef766a90415a2475c6ac8 [INFO] checking BjarkePedersen/raytracey-not-a-raytracer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBjarkePedersen%2Fraytracey-not-a-raytracer" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BjarkePedersen/raytracey-not-a-raytracer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded orbclient v0.3.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05f472b3649c3e1970373374979472f96e4f58678b1c7bf42461fb56901bd3a4 [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" "05f472b3649c3e1970373374979472f96e4f58678b1c7bf42461fb56901bd3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05f472b3649c3e1970373374979472f96e4f58678b1c7bf42461fb56901bd3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05f472b3649c3e1970373374979472f96e4f58678b1c7bf42461fb56901bd3a4", kill_on_drop: false }` [INFO] [stdout] 05f472b3649c3e1970373374979472f96e4f58678b1c7bf42461fb56901bd3a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cea50fb08c655f22b842fbe34fcf1a84cdaf7e958738c18e462ecf925aa225a [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" "5cea50fb08c655f22b842fbe34fcf1a84cdaf7e958738c18e462ecf925aa225a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.100 (as host dependency): extra_traits [INFO] [stderr] memchr v2.3.4: default, std, use_std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking time v0.3.1 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking nix v0.20.1 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking simple_rust_cpu_raytracer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/scene.rs (1 fix) [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: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/bresenham.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/pathtrace.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/bresenham.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/pathtrace.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `powf` [INFO] [stdout] --> src/helpers.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | 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:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn red() -> Col { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/helpers.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn green() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/helpers.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn blue() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yellow` [INFO] [stdout] --> src/helpers.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn yellow() -> Col { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cyan` [INFO] [stdout] --> src/helpers.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn cyan() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magenta` [INFO] [stdout] --> src/helpers.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn magenta() -> Col { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `black` [INFO] [stdout] --> src/helpers.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn black() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `white` [INFO] [stdout] --> src/helpers.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn white() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grey` [INFO] [stdout] --> src/helpers.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | 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:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | 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:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | 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:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn from_random_hue(rng: &mut ThreadRng) -> Col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uv_to_pixel_coordinates` [INFO] [stdout] --> src/helpers.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | 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:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/helpers.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | 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:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn next(&self) -> Axis { [INFO] [stdout] | ^^^^ [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `powf` [INFO] [stdout] --> src/helpers.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | 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:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn red() -> Col { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/helpers.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn green() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/helpers.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn blue() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yellow` [INFO] [stdout] --> src/helpers.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn yellow() -> Col { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cyan` [INFO] [stdout] --> src/helpers.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn cyan() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magenta` [INFO] [stdout] --> src/helpers.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn magenta() -> Col { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `black` [INFO] [stdout] --> src/helpers.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn black() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `white` [INFO] [stdout] --> src/helpers.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn white() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grey` [INFO] [stdout] --> src/helpers.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | 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:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | 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:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | 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:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn from_random_hue(rng: &mut ThreadRng) -> Col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uv_to_pixel_coordinates` [INFO] [stdout] --> src/helpers.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | 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:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/helpers.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | 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:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn next(&self) -> Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 03s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking nom v6.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking minifb v0.19.3 [INFO] [stderr] Checking simple_rust_cpu_raytracer v0.1.0 (/tmp/fixit) [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: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/bresenham.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/bresenham.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/pathtrace.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cgmath::Matrix4::::look_at_dir`: Use Matrix4::look_to_rh [INFO] [stdout] --> src/pathtrace.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | let dir = Matrix4::look_at_dir( [INFO] [stdout] | ^^^^^^^^^^^ [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 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: associated function is never used: `powf` [INFO] [stdout] --> src/helpers.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | 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:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn red() -> Col { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/helpers.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn green() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/helpers.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn blue() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yellow` [INFO] [stdout] --> src/helpers.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn yellow() -> Col { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cyan` [INFO] [stdout] --> src/helpers.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn cyan() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magenta` [INFO] [stdout] --> src/helpers.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn magenta() -> Col { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `black` [INFO] [stdout] --> src/helpers.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn black() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `white` [INFO] [stdout] --> src/helpers.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn white() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grey` [INFO] [stdout] --> src/helpers.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | 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:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | 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:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | 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:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn from_random_hue(rng: &mut ThreadRng) -> Col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uv_to_pixel_coordinates` [INFO] [stdout] --> src/helpers.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | 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:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/helpers.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | 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:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn next(&self) -> Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `powf` [INFO] [stdout] --> src/helpers.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | 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:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | 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:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn red() -> Col { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/helpers.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn green() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/helpers.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn blue() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `yellow` [INFO] [stdout] --> src/helpers.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn yellow() -> Col { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cyan` [INFO] [stdout] --> src/helpers.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn cyan() -> Col { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magenta` [INFO] [stdout] --> src/helpers.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn magenta() -> Col { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `black` [INFO] [stdout] --> src/helpers.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn black() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `white` [INFO] [stdout] --> src/helpers.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn white() -> Col { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grey` [INFO] [stdout] --> src/helpers.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | 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:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | 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:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | 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:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn from_random_hue(rng: &mut ThreadRng) -> Col { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uv_to_pixel_coordinates` [INFO] [stdout] --> src/helpers.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | 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:366:5 [INFO] [stdout] | [INFO] [stdout] 366 | dimensions: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/helpers.rs:376:12 [INFO] [stdout] | [INFO] [stdout] 376 | 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:382:12 [INFO] [stdout] | [INFO] [stdout] 382 | pub fn next(&self) -> Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.64s [INFO] running `Command { std: "docker" "inspect" "5cea50fb08c655f22b842fbe34fcf1a84cdaf7e958738c18e462ecf925aa225a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cea50fb08c655f22b842fbe34fcf1a84cdaf7e958738c18e462ecf925aa225a", kill_on_drop: false }` [INFO] [stdout] 5cea50fb08c655f22b842fbe34fcf1a84cdaf7e958738c18e462ecf925aa225a