[INFO] cloning repository https://github.com/eggmund/raymarcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eggmund/raymarcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmund%2Fraymarcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmund%2Fraymarcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3736fad1a08da5b60ca94e7c0c04690b0ef39637 [INFO] checking eggmund/raymarcher against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggmund%2Fraymarcher" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eggmund/raymarcher on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eggmund/raymarcher [INFO] finished tweaking git repo https://github.com/eggmund/raymarcher [INFO] tweaked toml for git repo https://github.com/eggmund/raymarcher written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/eggmund/raymarcher already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6562818d7d737c4a267d164f662ed2c80838ccfecf0cc377baed6639d7601fd0 [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" "6562818d7d737c4a267d164f662ed2c80838ccfecf0cc377baed6639d7601fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6562818d7d737c4a267d164f662ed2c80838ccfecf0cc377baed6639d7601fd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6562818d7d737c4a267d164f662ed2c80838ccfecf0cc377baed6639d7601fd0", kill_on_drop: false }` [INFO] [stdout] 6562818d7d737c4a267d164f662ed2c80838ccfecf0cc377baed6639d7601fd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 38708a7bd6693fa85546878e9776dce4056d795ed164dc5d363385b983405342 [INFO] running `Command { std: "docker" "start" "-a" "38708a7bd6693fa85546878e9776dce4056d795ed164dc5d363385b983405342", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling paste-impl v0.1.10 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking paste v0.1.10 [INFO] [stderr] Checking simba v0.1.2 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Checking nalgebra v0.21.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Perspective3`, `Vector2` [INFO] [stdout] --> src/ray.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{Point3, Point2, Vector3, Vector2, Perspective3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ray::Ray` [INFO] [stdout] --> src/objects.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pixel`, `Rgba` [INFO] [stdout] --> src/scene.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{DynamicImage, GenericImage, Rgba, Pixel}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Isometry3`, `Matrix4`, `Point3`, `Vector3` [INFO] [stdout] --> src/scene.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Point3, Perspective3, Vector3, Matrix4, Isometry3}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sphere` [INFO] [stdout] --> src/scene.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::objects::{Sphere, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RAY_HIT_THRESHOLD` [INFO] [stdout] --> src/scene.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ray::{Ray, HitData, RAY_MAX_TRAVEL_DISTANCE, RAY_REFLECT_LIMIT, RAY_HIT_THRESHOLD}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/scene.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::lighting::{Light, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/lighting.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Point3, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Vector3` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use na::{Point3, Vector3, Matrix4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Perspective3`, `Vector2` [INFO] [stdout] --> src/ray.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{Point3, Point2, Vector3, Vector2, Perspective3}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ray::Ray` [INFO] [stdout] --> src/objects.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pixel`, `Rgba` [INFO] [stdout] --> src/scene.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{DynamicImage, GenericImage, Rgba, Pixel}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Isometry3`, `Matrix4`, `Point3`, `Vector3` [INFO] [stdout] --> src/scene.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Point3, Perspective3, Vector3, Matrix4, Isometry3}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sphere` [INFO] [stdout] --> src/scene.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::objects::{Sphere, Object}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RAY_HIT_THRESHOLD` [INFO] [stdout] --> src/scene.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ray::{Ray, HitData, RAY_MAX_TRAVEL_DISTANCE, RAY_REFLECT_LIMIT, RAY_HIT_THRESHOLD}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/scene.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::lighting::{Light, Color}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector3` [INFO] [stdout] --> src/lighting.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{Point3, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix4`, `Vector3` [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use na::{Point3, Vector3, Matrix4}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/ray.rs:28:73 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new_with_color(origin: Point3, direction: Vector3, color: Color) -> Ray { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/objects.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_normal(&self, point: &Point3) -> Vector3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/scene.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | for i in 0..RAY_REFLECT_LIMIT+1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_dot1` [INFO] [stdout] --> src/scene.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let light_dot1 = (self.lights[0].pos - hit_data.point_of_contact).dot(&surface_normal); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_dot1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance_traveled` [INFO] [stdout] --> src/scene.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | let (hit_data, distance_traveled) = shadow_ray.march_until_hit(&self.objects, &[hit_data.object_index]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance_traveled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fade_amount` [INFO] [stdout] --> src/lighting.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let fade_amount = distance_travelled/RAY_MAX_TRAVEL_DISTANCE; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fade_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut main_scene = Scene::new(DIMS.0, DIMS.1, 90.0, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_color` [INFO] [stdout] --> src/ray.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new_with_color(origin: Point3, direction: Vector3, color: Color) -> Ray { [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: `black` [INFO] [stdout] --> src/lighting.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn black() -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grey_from_float` [INFO] [stdout] --> src/lighting.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn grey_from_float(a: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fade_due_to_render_distance` [INFO] [stdout] --> src/lighting.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn fade_due_to_render_distance(ray_col: &Color, distance_travelled: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_black` [INFO] [stdout] --> src/lighting.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_black(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/ray.rs:28:73 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new_with_color(origin: Point3, direction: Vector3, color: Color) -> Ray { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/objects.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_normal(&self, point: &Point3) -> Vector3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/scene.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | for i in 0..RAY_REFLECT_LIMIT+1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_dot1` [INFO] [stdout] --> src/scene.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let light_dot1 = (self.lights[0].pos - hit_data.point_of_contact).dot(&surface_normal); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_dot1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance_traveled` [INFO] [stdout] --> src/scene.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | let (hit_data, distance_traveled) = shadow_ray.march_until_hit(&self.objects, &[hit_data.object_index]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance_traveled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fade_amount` [INFO] [stdout] --> src/lighting.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let fade_amount = distance_travelled/RAY_MAX_TRAVEL_DISTANCE; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fade_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut main_scene = Scene::new(DIMS.0, DIMS.1, 90.0, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_with_color` [INFO] [stdout] --> src/ray.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new_with_color(origin: Point3, direction: Vector3, color: Color) -> Ray { [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: `black` [INFO] [stdout] --> src/lighting.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn black() -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grey_from_float` [INFO] [stdout] --> src/lighting.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn grey_from_float(a: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fade_due_to_render_distance` [INFO] [stdout] --> src/lighting.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn fade_due_to_render_distance(ray_col: &Color, distance_travelled: f32) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_black` [INFO] [stdout] --> src/lighting.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_black(&self) -> bool { [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 1m 11s [INFO] running `Command { std: "docker" "inspect" "38708a7bd6693fa85546878e9776dce4056d795ed164dc5d363385b983405342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38708a7bd6693fa85546878e9776dce4056d795ed164dc5d363385b983405342", kill_on_drop: false }` [INFO] [stdout] 38708a7bd6693fa85546878e9776dce4056d795ed164dc5d363385b983405342