[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] 85a7187dfaf79742b6e56af6b84db4cb3d59c1e3 [INFO] checking bartuakyurek/furry-tracer against master#377656d3dd3f9c23a9c8713e163f4365a5261a84 for pr-146470-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbartuakyurek%2Ffurry-tracer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bartuakyurek/furry-tracer on toolchain 377656d3dd3f9c23a9c8713e163f4365a5261a84 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "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" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "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_utils v0.17.1 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded downcast-rs v2.0.2 [INFO] [stderr] Downloaded bevy_macro_utils v0.17.1 [INFO] [stderr] Downloaded bevy_ptr v0.17.1 [INFO] [stderr] Downloaded bevy_platform 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 rand_distr v0.5.1 [INFO] [stderr] Downloaded bevy_math v0.17.1 [INFO] [stderr] Downloaded bevy_reflect v0.17.1 [INFO] [stderr] Downloaded glam v0.30.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f22cc5c6854c10121ffd440d4e3b5b587f820e846445a7095387d9fa5ebccb35 [INFO] running `Command { std: "docker" "start" "-a" "f22cc5c6854c10121ffd440d4e3b5b587f820e846445a7095387d9fa5ebccb35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f22cc5c6854c10121ffd440d4e3b5b587f820e846445a7095387d9fa5ebccb35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f22cc5c6854c10121ffd440d4e3b5b587f820e846445a7095387d9fa5ebccb35", kill_on_drop: false }` [INFO] [stdout] f22cc5c6854c10121ffd440d4e3b5b587f820e846445a7095387d9fa5ebccb35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+377656d3dd3f9c23a9c8713e163f4365a5261a84" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54a2d75aaa15912d7987710ce987bdc556cb8b0826ffda49d85e02fd1db1d149 [INFO] running `Command { std: "docker" "start" "-a" "54a2d75aaa15912d7987710ce987bdc556cb8b0826ffda49d85e02fd1db1d149", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking aligned v0.4.2 [INFO] [stderr] Checking zune-jpeg v0.5.6 [INFO] [stderr] Checking moxcms v0.7.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [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 fax_derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling num-derive v0.4.2 [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 aligned-vec v0.6.4 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerocopy v0.8.27 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking av-scenechange v0.14.1 [INFO] [stderr] Checking av1-grain v0.2.5 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rav1e v0.8.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking tiff v0.10.3 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking serde-ply v0.2.1 [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: `TexCoordData` [INFO] [stdout] --> src/mesh.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::random; // traits needed for norm_squared( ) [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: `NormedVectorSpace` [INFO] [stdout] --> src/renderer.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use bevy_math::{NormedVectorSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/renderer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextureMap` [INFO] [stdout] --> src/renderer.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::image::{DecalMode, ImageData, Interpolation, TextureMap, Textures}; [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: `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: `TexCoordData` [INFO] [stdout] --> src/mesh.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | 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:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::random; // traits needed for norm_squared( ) [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: `NormedVectorSpace` [INFO] [stdout] --> src/renderer.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use bevy_math::{NormedVectorSpace}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/renderer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextureMap` [INFO] [stdout] --> src/renderer.rs:25:57 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::image::{DecalMode, ImageData, Interpolation, TextureMap, Textures}; [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: `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: `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: unused variable: `n_verts` [INFO] [stdout] --> src/scene.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | let n_verts = verts._data.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_verts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_verts` [INFO] [stdout] --> src/scene.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | let n_verts = verts._data.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_verts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/renderer.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | _ => { 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:63:17 [INFO] [stdout] | [INFO] [stdout] 41 | ... 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] 42 | ... DecalMode::ReplaceKd => { brdf.diffuse_rf = tex_color; }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 43 | ... DecalMode::ReplaceKs => { brdf.specular_rf = tex_color; }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 44 | ... DecalMode::ReplaceAll => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | ... _ => { 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: unreachable pattern [INFO] [stdout] --> src/renderer.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | _ => { 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:63:17 [INFO] [stdout] | [INFO] [stdout] 41 | ... 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] 42 | ... DecalMode::ReplaceKd => { brdf.diffuse_rf = tex_color; }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 43 | ... DecalMode::ReplaceKs => { brdf.specular_rf = tex_color; }, [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 44 | ... DecalMode::ReplaceAll => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | ... _ => { 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: unused variable: `envl` [INFO] [stdout] --> src/light.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | 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:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | 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:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | 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:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | LightKind::Env(envl) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_envl` [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:231:16 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 231 | 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:360:16 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct Plane { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 360 | 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: 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:231:16 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct Sphere { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 231 | 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:360:16 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct Plane { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 360 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.63s [INFO] running `Command { std: "docker" "inspect" "54a2d75aaa15912d7987710ce987bdc556cb8b0826ffda49d85e02fd1db1d149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a2d75aaa15912d7987710ce987bdc556cb8b0826ffda49d85e02fd1db1d149", kill_on_drop: false }` [INFO] [stdout] 54a2d75aaa15912d7987710ce987bdc556cb8b0826ffda49d85e02fd1db1d149