[INFO] cloning repository https://github.com/bartuakyurek/furry-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bartuakyurek/furry-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartuakyurek%2Ffurry-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartuakyurek%2Ffurry-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3b1c98ce20cf1a4d78515e68695c6abd2212a41 [INFO] checking bartuakyurek/furry-tracer against master#7ad4e69ad585d8ff214f7b42d01f1959eda08f40 for pr-152543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartuakyurek%2Ffurry-tracer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bartuakyurek/furry-tracer [INFO] finished tweaking git repo https://github.com/bartuakyurek/furry-tracer [INFO] tweaked toml for git repo https://github.com/bartuakyurek/furry-tracer written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bartuakyurek/furry-tracer on toolchain 7ad4e69ad585d8ff214f7b42d01f1959eda08f40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7ad4e69ad585d8ff214f7b42d01f1959eda08f40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bartuakyurek/furry-tracer 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" "+7ad4e69ad585d8ff214f7b42d01f1959eda08f40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bevy_platform v0.17.1 [INFO] [stderr] Downloaded bevy_macro_utils v0.17.1 [INFO] [stderr] Downloaded bevy_ptr v0.17.1 [INFO] [stderr] Downloaded serde-ply v0.2.1 [INFO] [stderr] Downloaded bevy_reflect_derive v0.17.1 [INFO] [stderr] Downloaded wgpu-types v26.0.0 [INFO] [stderr] Downloaded bevy_utils v0.17.1 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded downcast-rs v2.0.2 [INFO] [stderr] Downloaded bevy_reflect v0.17.1 [INFO] [stderr] Downloaded bevy_math v0.17.1 [INFO] [stderr] Downloaded glam v0.30.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7ad4e69ad585d8ff214f7b42d01f1959eda08f40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5845cb4fc3ac7358cef9a780096ce1f58baa053e93306b5ab8caa3e75219f251 [INFO] running `Command { std: "docker" "start" "-a" "5845cb4fc3ac7358cef9a780096ce1f58baa053e93306b5ab8caa3e75219f251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5845cb4fc3ac7358cef9a780096ce1f58baa053e93306b5ab8caa3e75219f251", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5845cb4fc3ac7358cef9a780096ce1f58baa053e93306b5ab8caa3e75219f251", kill_on_drop: false }` [INFO] [stdout] 5845cb4fc3ac7358cef9a780096ce1f58baa053e93306b5ab8caa3e75219f251 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7ad4e69ad585d8ff214f7b42d01f1959eda08f40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2570d4fe523727c0e5f9f966d403b2ba994996cd87aa7e6f20a055c08ac0a63f [INFO] running `Command { std: "docker" "start" "-a" "2570d4fe523727c0e5f9f966d403b2ba994996cd87aa7e6f20a055c08ac0a63f", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking y4m v0.8.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking aligned v0.4.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking imgref v1.12.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking zune-core v0.5.0 [INFO] [stderr] Checking avif-serialize v0.8.6 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking lebe v0.5.3 [INFO] [stderr] Checking bit_field v0.10.3 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rgb v0.8.52 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking zune-jpeg v0.5.6 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking gif v0.14.1 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitstream-io v4.9.0 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Checking png v0.18.0 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking pxfm v0.1.27 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking moxcms v0.7.10 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling variadics_please v1.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Checking fax v0.2.6 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking serde-ply v0.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking glam v0.30.8 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking ravif v0.12.0 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking bevy_math v0.17.1 [INFO] [stderr] Checking fury-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VectorSpace` [INFO] [stdout] --> src/ray.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy_math::{NormedVectorSpace, VectorSpace}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/ray.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy_math::NormedVectorSpace` [INFO] [stdout] --> src/mesh.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bevy_math::NormedVectorSpace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TexCoordData` [INFO] [stdout] --> src/mesh.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::json_structs::{FaceType, SingleOrVec, VertexData, TexCoordData}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/image.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/image.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageBuffer` [INFO] [stdout] --> src/image.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{DynamicImage, GenericImageView, ImageBuffer}; // TODO: right now png crate is used to save the final image but as of hw4,... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/scene.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rand::random; // traits needed for norm_squared( ) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageData` [INFO] [stdout] --> src/scene.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::image::{ImageData, Textures}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy_math::NormedVectorSpace` [INFO] [stdout] --> src/camera.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bevy_math::NormedVectorSpace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/camera.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{SeedableRng, random}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::brdf` [INFO] [stdout] --> src/material.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::brdf; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NormedVectorSpace` [INFO] [stdout] --> src/renderer.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use bevy_math::{NormedVectorSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::registry::Data` [INFO] [stdout] --> src/json_structs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing_subscriber::registry::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageBuffer` [INFO] [stdout] --> src/tonemap.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy_math::NormedVectorSpace` [INFO] [stdout] --> src/sampler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bevy_math::NormedVectorSpace; // Adding this resolves error when using Float::PI "associated item not found in `f64`", idk which ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/brdf.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::material::{self, HeapAllocMaterial, ReflectanceParams}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VectorSpace` [INFO] [stdout] --> src/ray.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use bevy_math::{NormedVectorSpace, VectorSpace}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/ray.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::random; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy_math::NormedVectorSpace` [INFO] [stdout] --> src/mesh.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bevy_math::NormedVectorSpace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TexCoordData` [INFO] [stdout] --> src/mesh.rs:12:62 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::json_structs::{FaceType, SingleOrVec, VertexData, TexCoordData}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/image.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/image.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsStr` [INFO] [stdout] --> src/image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::OsStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageBuffer` [INFO] [stdout] --> src/image.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{DynamicImage, GenericImageView, ImageBuffer}; // TODO: right now png crate is used to save the final image but as of hw4,... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::random` [INFO] [stdout] --> src/scene.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use rand::random; // traits needed for norm_squared( ) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageData` [INFO] [stdout] --> src/scene.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::image::{ImageData, Textures}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy_math::NormedVectorSpace` [INFO] [stdout] --> src/camera.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use bevy_math::NormedVectorSpace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/camera.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::{SeedableRng, random}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::brdf` [INFO] [stdout] --> src/material.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::brdf; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NormedVectorSpace` [INFO] [stdout] --> src/renderer.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use bevy_math::{NormedVectorSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::registry::Data` [INFO] [stdout] --> src/json_structs.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing_subscriber::registry::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageBuffer` [INFO] [stdout] --> src/tonemap.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy_math::NormedVectorSpace` [INFO] [stdout] --> src/sampler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bevy_math::NormedVectorSpace; // Adding this resolves error when using Float::PI "associated item not found in `f64`", idk which ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/brdf.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::material::{self, HeapAllocMaterial, ReflectanceParams}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Pixel` [INFO] [stdout] --> src/scene.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use image::Pixel; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude` [INFO] [stdout] --> src/numeric.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::Pixel` [INFO] [stdout] --> src/scene.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use image::Pixel; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prelude` [INFO] [stdout] --> src/numeric.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/image.rs:867:25 [INFO] [stdout] | [INFO] [stdout] 867 | fn trilinear(&self, i: Float, j: Float) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/image.rs:867:35 [INFO] [stdout] | [INFO] [stdout] 867 | fn trilinear(&self, i: Float, j: Float) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/image.rs:867:25 [INFO] [stdout] | [INFO] [stdout] 867 | fn trilinear(&self, i: Float, j: Float) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/image.rs:867:35 [INFO] [stdout] | [INFO] [stdout] 867 | fn trilinear(&self, i: Float, j: Float) -> Vector3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/renderer.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | _ => { debug!("Unexpeced decalibration mode {:?}...", decal_mode); } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/renderer.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 44 | ... DecalMode::BlendKd => { brdf.diffuse_rf = (0.5 * brdf.diffuse_rf) + (0.5 * tex_color); }, // in blendKd do we mix by 0.5 weigh... [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 45 | ... DecalMode::ReplaceKd => { brdf.diffuse_rf = tex_color; }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 46 | ... DecalMode::ReplaceKs => { brdf.specular_rf = tex_color; }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 47 | ... DecalMode::ReplaceAll => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 66 | ... _ => { debug!("Unexpeced decalibration mode {:?}...", decal_mode); } [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `attenuation` is never read [INFO] [stdout] --> src/renderer.rs:641:39 [INFO] [stdout] | [INFO] [stdout] 641 | let mut attenuation = 1.; //Vector3::ONE; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/renderer.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | _ => { debug!("Unexpeced decalibration mode {:?}...", decal_mode); } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/renderer.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 44 | ... DecalMode::BlendKd => { brdf.diffuse_rf = (0.5 * brdf.diffuse_rf) + (0.5 * tex_color); }, // in blendKd do we mix by 0.5 weigh... [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 45 | ... DecalMode::ReplaceKd => { brdf.diffuse_rf = tex_color; }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 46 | ... DecalMode::ReplaceKs => { brdf.specular_rf = tex_color; }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 47 | ... DecalMode::ReplaceAll => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 66 | ... _ => { debug!("Unexpeced decalibration mode {:?}...", decal_mode); } [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `attenuation` is never read [INFO] [stdout] --> src/renderer.rs:641:39 [INFO] [stdout] | [INFO] [stdout] 641 | let mut attenuation = 1.; //Vector3::ONE; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `envl` [INFO] [stdout] --> src/light.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | LightKind::Env(envl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_envl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `envl` [INFO] [stdout] --> src/light.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | LightKind::Env(envl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_envl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `envl` [INFO] [stdout] --> src/light.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | LightKind::Env(envl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_envl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `envl` [INFO] [stdout] --> src/light.rs:103:28 [INFO] [stdout] | [INFO] [stdout] 103 | LightKind::Env(envl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_envl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absorption_index` [INFO] [stdout] --> src/brdf.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let absorption_index = fresnel.0; // TODO: I thought this was necessary but seems like it is not, a refactor might be needed on... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absorption_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absorption_index` [INFO] [stdout] --> src/brdf.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let absorption_index = fresnel.0; // TODO: I thought this was necessary but seems like it is not, a refactor might be needed on... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absorption_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Interpolation` is more private than the item `Textures::tex_from_img` [INFO] [stdout] --> src/image.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn tex_from_img(&self, image_idx: usize, uv: [Float; 2], interpolation: &Interpolation) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Textures::tex_from_img` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Interpolation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | pub(crate) enum Interpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Interpolation` is more private than the item `Textures::tex_from_map` [INFO] [stdout] --> src/image.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn tex_from_map(&self, texmap_idx: usize, uv: [Float; 2], interpolation: &Interpolation, apply_normalization: bool, xyz: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Textures::tex_from_map` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Interpolation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | pub(crate) enum Interpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ImageTexmap` is more private than the item `TextureMap::Image::0` [INFO] [stdout] --> src/image.rs:376:11 [INFO] [stdout] | [INFO] [stdout] 376 | Image(ImageTexmap), [INFO] [stdout] | ^^^^^^^^^^^ field `TextureMap::Image::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ImageTexmap` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:467:1 [INFO] [stdout] | [INFO] [stdout] 467 | struct ImageTexmap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PerlinTexmap` is more private than the item `TextureMap::Perlin::0` [INFO] [stdout] --> src/image.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 377 | Perlin(PerlinTexmap), [INFO] [stdout] | ^^^^^^^^^^^^ field `TextureMap::Perlin::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PerlinTexmap` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:519:1 [INFO] [stdout] | [INFO] [stdout] 519 | struct PerlinTexmap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckerTexmap` is more private than the item `TextureMap::Checkerboard::0` [INFO] [stdout] --> src/image.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | Checkerboard(CheckerTexmap), [INFO] [stdout] | ^^^^^^^^^^^^^ field `TextureMap::Checkerboard::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckerTexmap` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:418:1 [INFO] [stdout] | [INFO] [stdout] 418 | struct CheckerTexmap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecalMode` is more private than the item `TextureMap::decal_mode` [INFO] [stdout] --> src/image.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn decal_mode(&self) -> Option<&DecalMode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TextureMap::decal_mode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecalMode` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:585:1 [INFO] [stdout] | [INFO] [stdout] 585 | pub(crate) enum DecalMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Interpolation` is more private than the item `TextureMap::interpolation` [INFO] [stdout] --> src/image.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn interpolation(&self) -> Option<&Interpolation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TextureMap::interpolation` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Interpolation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | pub(crate) enum Interpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Interpolation` is more private than the item `ImageData::interpolate` [INFO] [stdout] --> src/image.rs:819:5 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn interpolate(&self, row: Float, col: Float, style: &Interpolation) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageData::interpolate` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Interpolation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | pub(crate) enum Interpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `motionblur` is never read [INFO] [stdout] --> src/shapes.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 254 | pub(crate) motionblur: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `motionblur` is never read [INFO] [stdout] --> src/shapes.rs:489:16 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct Plane { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 489 | pub(crate) motionblur: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plane` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setup` is never used [INFO] [stdout] --> src/material.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 403 | impl DielectricMaterial { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 404 | [INFO] [stdout] 405 | fn setup(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `intensity` is never read [INFO] [stdout] --> src/light.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct PointLight2D { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 356 | intensity: Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointLight2D` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/scene.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | layer.setup(jsonpath); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = layer.setup(jsonpath); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Interpolation` is more private than the item `Textures::tex_from_img` [INFO] [stdout] --> src/image.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn tex_from_img(&self, image_idx: usize, uv: [Float; 2], interpolation: &Interpolation) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Textures::tex_from_img` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Interpolation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | pub(crate) enum Interpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Interpolation` is more private than the item `Textures::tex_from_map` [INFO] [stdout] --> src/image.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn tex_from_map(&self, texmap_idx: usize, uv: [Float; 2], interpolation: &Interpolation, apply_normalization: bool, xyz: Vector3) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Textures::tex_from_map` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Interpolation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | pub(crate) enum Interpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ImageTexmap` is more private than the item `TextureMap::Image::0` [INFO] [stdout] --> src/image.rs:376:11 [INFO] [stdout] | [INFO] [stdout] 376 | Image(ImageTexmap), [INFO] [stdout] | ^^^^^^^^^^^ field `TextureMap::Image::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ImageTexmap` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:467:1 [INFO] [stdout] | [INFO] [stdout] 467 | struct ImageTexmap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PerlinTexmap` is more private than the item `TextureMap::Perlin::0` [INFO] [stdout] --> src/image.rs:377:12 [INFO] [stdout] | [INFO] [stdout] 377 | Perlin(PerlinTexmap), [INFO] [stdout] | ^^^^^^^^^^^^ field `TextureMap::Perlin::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `PerlinTexmap` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:519:1 [INFO] [stdout] | [INFO] [stdout] 519 | struct PerlinTexmap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckerTexmap` is more private than the item `TextureMap::Checkerboard::0` [INFO] [stdout] --> src/image.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | Checkerboard(CheckerTexmap), [INFO] [stdout] | ^^^^^^^^^^^^^ field `TextureMap::Checkerboard::0` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckerTexmap` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:418:1 [INFO] [stdout] | [INFO] [stdout] 418 | struct CheckerTexmap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DecalMode` is more private than the item `TextureMap::decal_mode` [INFO] [stdout] --> src/image.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn decal_mode(&self) -> Option<&DecalMode> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TextureMap::decal_mode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `DecalMode` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:585:1 [INFO] [stdout] | [INFO] [stdout] 585 | pub(crate) enum DecalMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Interpolation` is more private than the item `TextureMap::interpolation` [INFO] [stdout] --> src/image.rs:409:5 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn interpolation(&self) -> Option<&Interpolation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TextureMap::interpolation` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Interpolation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | pub(crate) enum Interpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Interpolation` is more private than the item `ImageData::interpolate` [INFO] [stdout] --> src/image.rs:819:5 [INFO] [stdout] | [INFO] [stdout] 819 | pub fn interpolate(&self, row: Float, col: Float, style: &Interpolation) -> Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageData::interpolate` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Interpolation` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/image.rs:605:1 [INFO] [stdout] | [INFO] [stdout] 605 | pub(crate) enum Interpolation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `motionblur` is never read [INFO] [stdout] --> src/shapes.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 254 | pub(crate) motionblur: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sphere` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `motionblur` is never read [INFO] [stdout] --> src/shapes.rs:489:16 [INFO] [stdout] | [INFO] [stdout] 480 | pub struct Plane { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 489 | pub(crate) motionblur: Vector3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Plane` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setup` is never used [INFO] [stdout] --> src/material.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 403 | impl DielectricMaterial { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 404 | [INFO] [stdout] 405 | fn setup(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `intensity` is never read [INFO] [stdout] --> src/light.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct PointLight2D { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 356 | intensity: Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointLight2D` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/scene.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | layer.setup(jsonpath); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 214 | let _ = layer.setup(jsonpath); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imagefolder_pathbuf` [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let imagefolder_pathbuf = get_output_dir(json_path.clone(), "inputs", "outputs")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_imagefolder_pathbuf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emissive_indicator` [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let emissive_indicator = Vector3::new(0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emissive_indicator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imagefolder_pathbuf` [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let imagefolder_pathbuf = get_output_dir(json_path.clone(), "inputs", "outputs")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_imagefolder_pathbuf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emissive_indicator` [INFO] [stdout] --> src/main.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let emissive_indicator = Vector3::new(0.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emissive_indicator` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.54s [INFO] running `Command { std: "docker" "inspect" "2570d4fe523727c0e5f9f966d403b2ba994996cd87aa7e6f20a055c08ac0a63f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2570d4fe523727c0e5f9f966d403b2ba994996cd87aa7e6f20a055c08ac0a63f", kill_on_drop: false }` [INFO] [stdout] 2570d4fe523727c0e5f9f966d403b2ba994996cd87aa7e6f20a055c08ac0a63f