[INFO] cloning repository https://github.com/Kethku/RustyRayTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kethku/RustyRayTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FRustyRayTracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FRustyRayTracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25633642276e2a25325f760faa1f58d1fa1bb375 [INFO] checking Kethku/RustyRayTracer/25633642276e2a25325f760faa1f58d1fa1bb375 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FRustyRayTracer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kethku/RustyRayTracer on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kethku/RustyRayTracer [INFO] finished tweaking git repo https://github.com/Kethku/RustyRayTracer [INFO] tweaked toml for git repo https://github.com/Kethku/RustyRayTracer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kethku/RustyRayTracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded gdi32-sys v0.1.2 [INFO] [stderr] Downloaded num-integer v0.1.36 [INFO] [stderr] Downloaded num-traits v0.1.41 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded x11-dl v2.14.0 [INFO] [stderr] Downloaded num-traits v0.2.0 [INFO] [stderr] Downloaded time v0.1.39 [INFO] [stderr] Downloaded redox_syscall v0.1.32 [INFO] [stderr] Downloaded num-iter v0.1.35 [INFO] [stderr] Downloaded num v0.1.41 [INFO] [stderr] Downloaded libc v0.2.34 [INFO] [stderr] Downloaded user32-sys v0.1.3 [INFO] [stderr] Downloaded pkg-config v0.3.9 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded orbclient v0.3.12 [INFO] [stderr] Downloaded minifb v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 470cff73d2d8b12bfd9df0196a7e85d1fd5aa222f612842f6f589709d72d9530 [INFO] running `Command { std: "docker" "start" "-a" "470cff73d2d8b12bfd9df0196a7e85d1fd5aa222f612842f6f589709d72d9530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "470cff73d2d8b12bfd9df0196a7e85d1fd5aa222f612842f6f589709d72d9530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "470cff73d2d8b12bfd9df0196a7e85d1fd5aa222f612842f6f589709d72d9530", kill_on_drop: false }` [INFO] [stdout] 470cff73d2d8b12bfd9df0196a7e85d1fd5aa222f612842f6f589709d72d9530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7951505c3f6b4e71910ce8b4c0230e9efe9fda5f9e11364729098652539ea020 [INFO] running `Command { std: "docker" "start" "-a" "7951505c3f6b4e71910ce8b4c0230e9efe9fda5f9e11364729098652539ea020", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling minifb v0.10.4 [INFO] [stderr] Checking rusty_ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Barrier` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex, Barrier}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::f64::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn ray_cast(&self, Vector, Vector) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn ray_cast(&self, Vector, Vector) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | fn distance(&self, Vector) -> f64; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn normal(&self, Vector) -> Vector; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | fn characteristics(&self, Vector) -> Characteristics; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `characteristics::*` [INFO] [stdout] --> src/scene.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use characteristics::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_field::*` [INFO] [stdout] --> src/atmosphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use distance_field::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scene::*` [INFO] [stdout] --> src/atmosphere.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use scene::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmosphere::*` [INFO] [stdout] --> src/scene_renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use atmosphere::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_step_by` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_step_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Barrier` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex, Barrier}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::f64::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn ray_cast(&self, Vector, Vector) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn ray_cast(&self, Vector, Vector) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | fn distance(&self, Vector) -> f64; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn normal(&self, Vector) -> Vector; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | fn characteristics(&self, Vector) -> Characteristics; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `characteristics::*` [INFO] [stdout] --> src/scene.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use characteristics::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_field::*` [INFO] [stdout] --> src/atmosphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use distance_field::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scene::*` [INFO] [stdout] --> src/atmosphere.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use scene::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmosphere::*` [INFO] [stdout] --> src/scene_renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use atmosphere::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_step_by` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_step_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn characteristics(&self, pos: Vector) -> Characteristics { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | fn normal(&self, pos: Vector) -> Vector { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | fn characteristics(&self, pos: Vector) -> Characteristics { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/scene_renderer.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | for i in 0..iterations { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn characteristics(&self, pos: Vector) -> Characteristics { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | fn normal(&self, pos: Vector) -> Vector { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | fn characteristics(&self, pos: Vector) -> Characteristics { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersect` [INFO] [stdout] --> src/scene_renderer.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | Some(intersect) => continue, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/scene_renderer.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | for i in 0..iterations { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersect` [INFO] [stdout] --> src/scene_renderer.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | Some(intersect) => continue, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distance_field.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(pos: Vector, r: f64, chars: Characteristics) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distance_field.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(pos: Vector, r: f64, chars: Characteristics) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distance_field.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(normal: Vector, point: Vector, chars: Characteristics) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_THRESHOLD` is never used [INFO] [stdout] --> src/scene.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const MINIMUM_THRESHOLD: f64 = 0.001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scene { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 14 | pub fn trace(&self, position: Vector, direction: Vector, sun_dir: Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `roughness`, `reflectance`, and `absorbance` are never read [INFO] [stdout] --> src/characteristics.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Characteristics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 5 | pub color: Vector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub roughness: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub reflectance: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub absorbance: f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Characteristics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `default`, `mirror`, and `matte` are never used [INFO] [stdout] --> src/characteristics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Characteristics { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn default() -> Characteristics { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn mirror(color: Vector) -> Characteristics { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn matte(color: Vector) -> Characteristics { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UP` is never used [INFO] [stdout] --> src/scene_renderer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const UP: Vector = Vector { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scene_renderer` is never used [INFO] [stdout] --> src/scene_renderer.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn scene_renderer(colors_mutex: Arc>>, width: usize, height: usize, threads: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distance_field.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(normal: Vector, point: Vector, chars: Characteristics) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_THRESHOLD` is never used [INFO] [stdout] --> src/scene.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const MINIMUM_THRESHOLD: f64 = 0.001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scene { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 14 | pub fn trace(&self, position: Vector, direction: Vector, sun_dir: Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `roughness`, `reflectance`, and `absorbance` are never read [INFO] [stdout] --> src/characteristics.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Characteristics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 5 | pub color: Vector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub roughness: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub reflectance: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub absorbance: f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Characteristics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `default`, `mirror`, and `matte` are never used [INFO] [stdout] --> src/characteristics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Characteristics { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn default() -> Characteristics { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn mirror(color: Vector) -> Characteristics { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn matte(color: Vector) -> Characteristics { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UP` is never used [INFO] [stdout] --> src/scene_renderer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const UP: Vector = Vector { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scene_renderer` is never used [INFO] [stdout] --> src/scene_renderer.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn scene_renderer(colors_mutex: Arc>>, width: usize, height: usize, threads: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.37s [INFO] running `Command { std: "docker" "inspect" "7951505c3f6b4e71910ce8b4c0230e9efe9fda5f9e11364729098652539ea020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7951505c3f6b4e71910ce8b4c0230e9efe9fda5f9e11364729098652539ea020", kill_on_drop: false }` [INFO] [stdout] 7951505c3f6b4e71910ce8b4c0230e9efe9fda5f9e11364729098652539ea020