[INFO] cloning repository https://github.com/bela333/cliraytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bela333/cliraytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbela333%2Fcliraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbela333%2Fcliraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16790bed910cacb44813d4dafeae3fe98732f26b [INFO] checking bela333/cliraytracer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbela333%2Fcliraytracer" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bela333/cliraytracer 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/bela333/cliraytracer [INFO] finished tweaking git repo https://github.com/bela333/cliraytracer [INFO] tweaked toml for git repo https://github.com/bela333/cliraytracer written to /workspace/builds/worker-60/source/Cargo.toml [INFO] crate git repo https://github.com/bela333/cliraytracer 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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] 0d5122ba6586ae07ec42ae587bc62c7444e42937f7f63a51dbfbc9b82f528ff0 [INFO] running `Command { std: "docker" "start" "-a" "0d5122ba6586ae07ec42ae587bc62c7444e42937f7f63a51dbfbc9b82f528ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d5122ba6586ae07ec42ae587bc62c7444e42937f7f63a51dbfbc9b82f528ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d5122ba6586ae07ec42ae587bc62c7444e42937f7f63a51dbfbc9b82f528ff0", kill_on_drop: false }` [INFO] [stdout] 0d5122ba6586ae07ec42ae587bc62c7444e42937f7f63a51dbfbc9b82f528ff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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] 586a87bea33d1c45be209424969c4c617f0154c5bea66c02dc7306eb363208e6 [INFO] running `Command { std: "docker" "start" "-a" "586a87bea33d1c45be209424969c4c617f0154c5bea66c02dc7306eb363208e6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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.85: align [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking cliraytracer v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: enum is never used: `Components` [INFO] [stdout] --> src/utilities.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Components{ [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: `srgb` [INFO] [stdout] --> src/utilities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn srgb(&self) -> Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_int` [INFO] [stdout] --> src/utilities.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_int(v: u32) -> Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_linear` [INFO] [stdout] --> src/utilities.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn to_linear(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_component` [INFO] [stdout] --> src/utilities.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn largest_component(&self) -> Components{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_component_value` [INFO] [stdout] --> src/utilities.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn largest_component_value(&self) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `only_largest_component` [INFO] [stdout] --> src/utilities.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn only_largest_component(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/utilities.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn abs(&self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/utilities.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn zero() -> Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_single` [INFO] [stdout] --> src/utilities.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn from_single(a: f32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `restrict_value` [INFO] [stdout] --> src/utilities.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn restrict_value(v: f32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `restrict_values` [INFO] [stdout] --> src/utilities.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn restrict_values(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_color_array` [INFO] [stdout] --> src/utilities.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn to_color_array(&self) -> [u8;3]{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/utilities.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn reflect(&self, normal: Self) -> Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comp_multiply` [INFO] [stdout] --> src/utilities.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn comp_multiply(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_scalar` [INFO] [stdout] --> src/utilities.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn add_scalar(&self, a: f32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow` [INFO] [stdout] --> src/utilities.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn pow(&self, a: f32) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/utilities.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn max(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min` [INFO] [stdout] --> src/utilities.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn min(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `refract` [INFO] [stdout] --> src/utilities.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn refract(&self, n: Self, eta: f32) -> Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/utilities.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn negate(&self) -> Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Components` [INFO] [stdout] --> src/utilities.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Components{ [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: `srgb` [INFO] [stdout] --> src/utilities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn srgb(&self) -> Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_int` [INFO] [stdout] --> src/utilities.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_int(v: u32) -> Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_linear` [INFO] [stdout] --> src/utilities.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn to_linear(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_component` [INFO] [stdout] --> src/utilities.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn largest_component(&self) -> Components{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_component_value` [INFO] [stdout] --> src/utilities.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn largest_component_value(&self) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `only_largest_component` [INFO] [stdout] --> src/utilities.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn only_largest_component(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/utilities.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn abs(&self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/utilities.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn zero() -> Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_single` [INFO] [stdout] --> src/utilities.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn from_single(a: f32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `restrict_value` [INFO] [stdout] --> src/utilities.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn restrict_value(v: f32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `restrict_values` [INFO] [stdout] --> src/utilities.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn restrict_values(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_color_array` [INFO] [stdout] --> src/utilities.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn to_color_array(&self) -> [u8;3]{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/utilities.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn reflect(&self, normal: Self) -> Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comp_multiply` [INFO] [stdout] --> src/utilities.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn comp_multiply(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_scalar` [INFO] [stdout] --> src/utilities.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn add_scalar(&self, a: f32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow` [INFO] [stdout] --> src/utilities.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn pow(&self, a: f32) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/utilities.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn max(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min` [INFO] [stdout] --> src/utilities.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn min(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `refract` [INFO] [stdout] --> src/utilities.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn refract(&self, n: Self, eta: f32) -> Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/utilities.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn negate(&self) -> Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.67s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking cliraytracer v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: enum is never used: `Components` [INFO] [stdout] --> src/utilities.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Components{ [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: `srgb` [INFO] [stdout] --> src/utilities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn srgb(&self) -> Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_int` [INFO] [stdout] --> src/utilities.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_int(v: u32) -> Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_linear` [INFO] [stdout] --> src/utilities.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn to_linear(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_component` [INFO] [stdout] --> src/utilities.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn largest_component(&self) -> Components{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_component_value` [INFO] [stdout] --> src/utilities.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn largest_component_value(&self) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `only_largest_component` [INFO] [stdout] --> src/utilities.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn only_largest_component(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/utilities.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn abs(&self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/utilities.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn zero() -> Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_single` [INFO] [stdout] --> src/utilities.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn from_single(a: f32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `restrict_value` [INFO] [stdout] --> src/utilities.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn restrict_value(v: f32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `restrict_values` [INFO] [stdout] --> src/utilities.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn restrict_values(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_color_array` [INFO] [stdout] --> src/utilities.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn to_color_array(&self) -> [u8;3]{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/utilities.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn reflect(&self, normal: Self) -> Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comp_multiply` [INFO] [stdout] --> src/utilities.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn comp_multiply(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_scalar` [INFO] [stdout] --> src/utilities.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn add_scalar(&self, a: f32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow` [INFO] [stdout] --> src/utilities.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn pow(&self, a: f32) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/utilities.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn max(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min` [INFO] [stdout] --> src/utilities.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn min(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `refract` [INFO] [stdout] --> src/utilities.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn refract(&self, n: Self, eta: f32) -> Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/utilities.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn negate(&self) -> Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Components` [INFO] [stdout] --> src/utilities.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Components{ [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: `srgb` [INFO] [stdout] --> src/utilities.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn srgb(&self) -> Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_int` [INFO] [stdout] --> src/utilities.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn from_int(v: u32) -> Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_linear` [INFO] [stdout] --> src/utilities.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn to_linear(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_component` [INFO] [stdout] --> src/utilities.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn largest_component(&self) -> Components{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `largest_component_value` [INFO] [stdout] --> src/utilities.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn largest_component_value(&self) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `only_largest_component` [INFO] [stdout] --> src/utilities.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn only_largest_component(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/utilities.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn abs(&self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zero` [INFO] [stdout] --> src/utilities.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn zero() -> Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_single` [INFO] [stdout] --> src/utilities.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn from_single(a: f32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `restrict_value` [INFO] [stdout] --> src/utilities.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn restrict_value(v: f32) -> f32{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `restrict_values` [INFO] [stdout] --> src/utilities.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn restrict_values(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_color_array` [INFO] [stdout] --> src/utilities.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn to_color_array(&self) -> [u8;3]{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reflect` [INFO] [stdout] --> src/utilities.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn reflect(&self, normal: Self) -> Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comp_multiply` [INFO] [stdout] --> src/utilities.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn comp_multiply(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_scalar` [INFO] [stdout] --> src/utilities.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn add_scalar(&self, a: f32) -> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pow` [INFO] [stdout] --> src/utilities.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn pow(&self, a: f32) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/utilities.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn max(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min` [INFO] [stdout] --> src/utilities.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn min(&self, a: Self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `refract` [INFO] [stdout] --> src/utilities.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn refract(&self, n: Self, eta: f32) -> Self{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `negate` [INFO] [stdout] --> src/utilities.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn negate(&self) -> Self{ [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 6.96s [INFO] running `Command { std: "docker" "inspect" "586a87bea33d1c45be209424969c4c617f0154c5bea66c02dc7306eb363208e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "586a87bea33d1c45be209424969c4c617f0154c5bea66c02dc7306eb363208e6", kill_on_drop: false }` [INFO] [stdout] 586a87bea33d1c45be209424969c4c617f0154c5bea66c02dc7306eb363208e6