[INFO] updating cached repository https://github.com/ivan2029/raytracer_in_a_weekend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 697defabc4067ae9e0569fae4603bb796344bc96 [INFO] checking ivan2029/raytracer_in_a_weekend against master#8ac1525e091d3db28e67adcbbd6db1e1deaa37fb for pr-73323 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivan2029%2Fraytracer_in_a_weekend" "/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/ivan2029/raytracer_in_a_weekend on toolchain 8ac1525e091d3db28e67adcbbd6db1e1deaa37fb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivan2029/raytracer_in_a_weekend [INFO] finished tweaking git repo https://github.com/ivan2029/raytracer_in_a_weekend [INFO] tweaked toml for git repo https://github.com/ivan2029/raytracer_in_a_weekend written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ivan2029/raytracer_in_a_weekend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d165a46257b57992a4281fda2edf5c1b64c1361f289c280ed8d4ca5e2e8f249f [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" "d165a46257b57992a4281fda2edf5c1b64c1361f289c280ed8d4ca5e2e8f249f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d165a46257b57992a4281fda2edf5c1b64c1361f289c280ed8d4ca5e2e8f249f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d165a46257b57992a4281fda2edf5c1b64c1361f289c280ed8d4ca5e2e8f249f", kill_on_drop: false }` [INFO] [stdout] d165a46257b57992a4281fda2edf5c1b64c1361f289c280ed8d4ca5e2e8f249f [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+8ac1525e091d3db28e67adcbbd6db1e1deaa37fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8a16d8692482ae1cb0be78a28561a9034c670d2dd8420d1f117eb42d2f128b06 [INFO] running `Command { std: "docker" "start" "-a" "8a16d8692482ae1cb0be78a28561a9034c670d2dd8420d1f117eb42d2f128b06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking instant v0.1.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking wide v0.4.6 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking ultraviolet v0.4.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking png v0.16.5 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking gfx-hal v0.5.2 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking ash v0.30.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon v1.3.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.5 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking gfx-backend-empty v0.5.0 [INFO] [stderr] Checking gfx-memory v0.1.3 [INFO] [stderr] Checking gfx-descriptor v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling peek-poke-derive v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking peek-poke v0.2.0 [INFO] [stderr] Checking wgpu-types v0.5.1 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking gfx-backend-vulkan v0.5.8 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking wgpu-core v0.5.5 [INFO] [stderr] Checking wgpu-native v0.5.0 [INFO] [stderr] Checking wgpu v0.5.0 [INFO] [stderr] Checking pixels v0.0.4 [INFO] [stderr] Checking raytracer_in_a_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Neg` [INFO] [stdout] --> src/raytracer/linalg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Neg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event::VirtualKeyCode::Colon` [INFO] [stdout] --> src/raytracer/raytrace.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::event::VirtualKeyCode::Colon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Neg` [INFO] [stdout] --> src/raytracer/linalg.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Neg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::event::VirtualKeyCode::Colon` [INFO] [stdout] --> src/raytracer/raytrace.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winit::event::VirtualKeyCode::Colon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursion_depth` [INFO] [stdout] --> src/raytracer/raytrace.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | recursion_depth: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursion_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rays_per_bounce` [INFO] [stdout] --> src/raytracer/raytrace.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | rays_per_bounce: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rays_per_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `BLACK` [INFO] [stdout] --> src/raytracer/color.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub const BLACK: ColorRgba = ColorRgba::from_rgb(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `RED` [INFO] [stdout] --> src/raytracer/color.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub const RED: ColorRgba = ColorRgba::from_rgb(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `GREEN` [INFO] [stdout] --> src/raytracer/color.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub const GREEN: ColorRgba = ColorRgba::from_rgb(0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `BLUE` [INFO] [stdout] --> src/raytracer/color.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub const BLUE: ColorRgba = ColorRgba::from_rgb(0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `YELLOW` [INFO] [stdout] --> src/raytracer/color.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub const YELLOW: ColorRgba = ColorRgba::from_rgb(1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAGENTA` [INFO] [stdout] --> src/raytracer/color.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub const MAGENTA: ColorRgba = ColorRgba::from_rgb(1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `CYAN` [INFO] [stdout] --> src/raytracer/color.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const CYAN: ColorRgba = ColorRgba::from_rgb(0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rgba` [INFO] [stdout] --> src/raytracer/color.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub const fn from_rgba(r: f32, g: f32, b: f32, a: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `r_mut` [INFO] [stdout] --> src/raytracer/color.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn r_mut(&mut self) -> &mut f32 { &mut self.channels.x } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `g_mut` [INFO] [stdout] --> src/raytracer/color.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn g_mut(&mut self) -> &mut f32 { &mut self.channels.y } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `b_mut` [INFO] [stdout] --> src/raytracer/color.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn b_mut(&mut self) -> &mut f32 { &mut self.channels.z } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a_mut` [INFO] [stdout] --> src/raytracer/color.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn a_mut(&mut self) -> &mut f32 { &mut self.channels.w } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/raytracer/linalg.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn cross(self, other: Vector3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ONE` [INFO] [stdout] --> src/raytracer/linalg.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / pub const ONE: Vector4 = Vector4 { [INFO] [stdout] 196 | | x: 1.0, [INFO] [stdout] 197 | | y: 1.0, [INFO] [stdout] 198 | | z: 1.0, [INFO] [stdout] 199 | | w: 0.0, [INFO] [stdout] 200 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `X` [INFO] [stdout] --> src/raytracer/linalg.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / pub const X: Vector4 = Vector4 { [INFO] [stdout] 204 | | x: 1.0, [INFO] [stdout] 205 | | y: 0.0, [INFO] [stdout] 206 | | z: 0.0, [INFO] [stdout] 207 | | w: 0.0, [INFO] [stdout] 208 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `Y` [INFO] [stdout] --> src/raytracer/linalg.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | / pub const Y: Vector4 = Vector4 { [INFO] [stdout] 212 | | x: 0.0, [INFO] [stdout] 213 | | y: 1.0, [INFO] [stdout] 214 | | z: 0.0, [INFO] [stdout] 215 | | w: 0.0, [INFO] [stdout] 216 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `Z` [INFO] [stdout] --> src/raytracer/linalg.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | / pub const Z: Vector4 = Vector4 { [INFO] [stdout] 220 | | x: 0.0, [INFO] [stdout] 221 | | y: 0.0, [INFO] [stdout] 222 | | z: 1.0, [INFO] [stdout] 223 | | w: 0.0, [INFO] [stdout] 224 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `W` [INFO] [stdout] --> src/raytracer/linalg.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / pub const W: Vector4 = Vector4 { [INFO] [stdout] 228 | | x: 0.0, [INFO] [stdout] 229 | | y: 0.0, [INFO] [stdout] 230 | | z: 0.0, [INFO] [stdout] 231 | | w: 1.0, [INFO] [stdout] 232 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/raytracer/linalg.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn dot(self, other: Vector4) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm_squared` [INFO] [stdout] --> src/raytracer/linalg.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn norm_squared(self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm` [INFO] [stdout] --> src/raytracer/linalg.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn norm(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalized` [INFO] [stdout] --> src/raytracer/linalg.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn normalized(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_elements` [INFO] [stdout] --> src/raytracer/linalg.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn from_elements(elements: [[f32; 3]; 3]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_diagonal` [INFO] [stdout] --> src/raytracer/linalg.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn from_diagonal(diagonal: [f32; 3]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one` [INFO] [stdout] --> src/raytracer/linalg.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn one() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotation_x` [INFO] [stdout] --> src/raytracer/linalg.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn rotation_x(angle: Radian) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotation_y` [INFO] [stdout] --> src/raytracer/linalg.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn rotation_y(angle: Radian) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotation_z` [INFO] [stdout] --> src/raytracer/linalg.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn rotation_z(angle: Radian) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_angle_and_direction` [INFO] [stdout] --> src/raytracer/linalg.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn from_angle_and_direction(angle: Radian, direction: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm_squared` [INFO] [stdout] --> src/raytracer/linalg.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn norm_squared(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm` [INFO] [stdout] --> src/raytracer/linalg.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn norm(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalized` [INFO] [stdout] --> src/raytracer/linalg.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn normalized(&self) -> Quaternion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_rotation_matrix` [INFO] [stdout] --> src/raytracer/linalg.rs:553:12 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn to_rotation_matrix(&self) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recursion_depth` [INFO] [stdout] --> src/raytracer/raytrace.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | recursion_depth: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recursion_depth` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rays_per_bounce` [INFO] [stdout] --> src/raytracer/raytrace.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | rays_per_bounce: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rays_per_bounce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `BLACK` [INFO] [stdout] --> src/raytracer/color.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub const BLACK: ColorRgba = ColorRgba::from_rgb(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `RED` [INFO] [stdout] --> src/raytracer/color.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub const RED: ColorRgba = ColorRgba::from_rgb(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `GREEN` [INFO] [stdout] --> src/raytracer/color.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub const GREEN: ColorRgba = ColorRgba::from_rgb(0.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `BLUE` [INFO] [stdout] --> src/raytracer/color.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub const BLUE: ColorRgba = ColorRgba::from_rgb(0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `YELLOW` [INFO] [stdout] --> src/raytracer/color.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub const YELLOW: ColorRgba = ColorRgba::from_rgb(1.0, 1.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAGENTA` [INFO] [stdout] --> src/raytracer/color.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub const MAGENTA: ColorRgba = ColorRgba::from_rgb(1.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `CYAN` [INFO] [stdout] --> src/raytracer/color.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub const CYAN: ColorRgba = ColorRgba::from_rgb(0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_rgba` [INFO] [stdout] --> src/raytracer/color.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub const fn from_rgba(r: f32, g: f32, b: f32, a: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `r_mut` [INFO] [stdout] --> src/raytracer/color.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn r_mut(&mut self) -> &mut f32 { &mut self.channels.x } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `g_mut` [INFO] [stdout] --> src/raytracer/color.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn g_mut(&mut self) -> &mut f32 { &mut self.channels.y } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `b_mut` [INFO] [stdout] --> src/raytracer/color.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn b_mut(&mut self) -> &mut f32 { &mut self.channels.z } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a_mut` [INFO] [stdout] --> src/raytracer/color.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn a_mut(&mut self) -> &mut f32 { &mut self.channels.w } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/raytracer/linalg.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn cross(self, other: Vector3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `ONE` [INFO] [stdout] --> src/raytracer/linalg.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / pub const ONE: Vector4 = Vector4 { [INFO] [stdout] 196 | | x: 1.0, [INFO] [stdout] 197 | | y: 1.0, [INFO] [stdout] 198 | | z: 1.0, [INFO] [stdout] 199 | | w: 0.0, [INFO] [stdout] 200 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `X` [INFO] [stdout] --> src/raytracer/linalg.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / pub const X: Vector4 = Vector4 { [INFO] [stdout] 204 | | x: 1.0, [INFO] [stdout] 205 | | y: 0.0, [INFO] [stdout] 206 | | z: 0.0, [INFO] [stdout] 207 | | w: 0.0, [INFO] [stdout] 208 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `Y` [INFO] [stdout] --> src/raytracer/linalg.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | / pub const Y: Vector4 = Vector4 { [INFO] [stdout] 212 | | x: 0.0, [INFO] [stdout] 213 | | y: 1.0, [INFO] [stdout] 214 | | z: 0.0, [INFO] [stdout] 215 | | w: 0.0, [INFO] [stdout] 216 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `Z` [INFO] [stdout] --> src/raytracer/linalg.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | / pub const Z: Vector4 = Vector4 { [INFO] [stdout] 220 | | x: 0.0, [INFO] [stdout] 221 | | y: 0.0, [INFO] [stdout] 222 | | z: 1.0, [INFO] [stdout] 223 | | w: 0.0, [INFO] [stdout] 224 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `W` [INFO] [stdout] --> src/raytracer/linalg.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / pub const W: Vector4 = Vector4 { [INFO] [stdout] 228 | | x: 0.0, [INFO] [stdout] 229 | | y: 0.0, [INFO] [stdout] 230 | | z: 0.0, [INFO] [stdout] 231 | | w: 1.0, [INFO] [stdout] 232 | | }; [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/raytracer/linalg.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn dot(self, other: Vector4) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm_squared` [INFO] [stdout] --> src/raytracer/linalg.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn norm_squared(self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm` [INFO] [stdout] --> src/raytracer/linalg.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn norm(self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalized` [INFO] [stdout] --> src/raytracer/linalg.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn normalized(self) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_elements` [INFO] [stdout] --> src/raytracer/linalg.rs:386:12 [INFO] [stdout] | [INFO] [stdout] 386 | pub fn from_elements(elements: [[f32; 3]; 3]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_diagonal` [INFO] [stdout] --> src/raytracer/linalg.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn from_diagonal(diagonal: [f32; 3]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one` [INFO] [stdout] --> src/raytracer/linalg.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn one() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotation_x` [INFO] [stdout] --> src/raytracer/linalg.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | pub fn rotation_x(angle: Radian) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotation_y` [INFO] [stdout] --> src/raytracer/linalg.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn rotation_y(angle: Radian) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotation_z` [INFO] [stdout] --> src/raytracer/linalg.rs:447:12 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn rotation_z(angle: Radian) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_angle_and_direction` [INFO] [stdout] --> src/raytracer/linalg.rs:519:12 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn from_angle_and_direction(angle: Radian, direction: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm_squared` [INFO] [stdout] --> src/raytracer/linalg.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn norm_squared(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `norm` [INFO] [stdout] --> src/raytracer/linalg.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn norm(&self) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalized` [INFO] [stdout] --> src/raytracer/linalg.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn normalized(&self) -> Quaternion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_rotation_matrix` [INFO] [stdout] --> src/raytracer/linalg.rs:553:12 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn to_rotation_matrix(&self) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "8a16d8692482ae1cb0be78a28561a9034c670d2dd8420d1f117eb42d2f128b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a16d8692482ae1cb0be78a28561a9034c670d2dd8420d1f117eb42d2f128b06", kill_on_drop: false }` [INFO] [stdout] 8a16d8692482ae1cb0be78a28561a9034c670d2dd8420d1f117eb42d2f128b06