[INFO] cloning repository https://github.com/myuon/ruyt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/myuon/ruyt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fruyt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fruyt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1dd48a002d701164c9b97b0af739d8a2d810487d [INFO] checking myuon/ruyt against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fruyt" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/myuon/ruyt on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/myuon/ruyt [INFO] finished tweaking git repo https://github.com/myuon/ruyt [INFO] tweaked toml for git repo https://github.com/myuon/ruyt written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/myuon/ruyt 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.5.4 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 539b4f56916304239e489982726b8c1b71096ef3a45c963fdb0cfba875087c25 [INFO] running `Command { std: "docker" "start" "-a" "539b4f56916304239e489982726b8c1b71096ef3a45c963fdb0cfba875087c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "539b4f56916304239e489982726b8c1b71096ef3a45c963fdb0cfba875087c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "539b4f56916304239e489982726b8c1b71096ef3a45c963fdb0cfba875087c25", kill_on_drop: false }` [INFO] [stdout] 539b4f56916304239e489982726b8c1b71096ef3a45c963fdb0cfba875087c25 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf9a02c5594d5abce770d20ae61afba4121fbc126f447abbb104b5eb0d3fbd4 [INFO] running `Command { std: "docker" "start" "-a" "cdf9a02c5594d5abce770d20ae61afba4121fbc126f447abbb104b5eb0d3fbd4", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking ruyt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vector.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &dyn Fn(f32) -> f32) -> V3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vector.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &dyn Fn(f32) -> f32) -> V3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/figures.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/figures.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn random(&self, o: V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn random(&self, o: V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/figures.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | Some(rec) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/figures.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | Some(rec) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:502:37 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:502:37 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/figures.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let db = false; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/figures.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let db = false; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:633:37 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:633:37 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/figures.rs:763:30 [INFO] [stdout] | [INFO] [stdout] 763 | Figures::Figures(fs) => unimplemented!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/figures.rs:763:30 [INFO] [stdout] | [INFO] [stdout] 763 | Figures::Figures(fs) => unimplemented!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/textures.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/textures.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/textures.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/textures.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/textures.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/textures.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/materials.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/materials.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/materials.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/materials.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/materials.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/materials.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/materials.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/materials.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/materials.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/materials.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `XYRect` is more private than the item `figures::Figures::XYRect::0` [INFO] [stdout] --> src/figures.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | XYRect(XYRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::XYRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `XYRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | struct XYRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `XYRect` is more private than the item `figures::Figures::XYRect::0` [INFO] [stdout] --> src/figures.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | XYRect(XYRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::XYRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `XYRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | struct XYRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YZRect` is more private than the item `figures::Figures::YZRect::0` [INFO] [stdout] --> src/figures.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | YZRect(YZRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::YZRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `YZRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | struct YZRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `XZRect` is more private than the item `figures::Figures::XZRect::0` [INFO] [stdout] --> src/figures.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | XZRect(XZRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::XZRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `XZRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | struct XZRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FlipNormals` is more private than the item `figures::Figures::FlipNormals::0` [INFO] [stdout] --> src/figures.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | FlipNormals(FlipNormals), [INFO] [stdout] | ^^^^^^^^^^^ field `figures::Figures::FlipNormals::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FlipNormals` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | struct FlipNormals { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YZRect` is more private than the item `figures::Figures::YZRect::0` [INFO] [stdout] --> src/figures.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | YZRect(YZRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::YZRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `YZRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | struct YZRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cuboid` is more private than the item `figures::Figures::Cuboid::0` [INFO] [stdout] --> src/figures.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | Cuboid(Cuboid), [INFO] [stdout] | ^^^^^^ field `figures::Figures::Cuboid::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Cuboid` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 363 | struct Cuboid { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Translate` is more private than the item `figures::Figures::Translate::0` [INFO] [stdout] --> src/figures.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | Translate(Translate), [INFO] [stdout] | ^^^^^^^^^ field `figures::Figures::Translate::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Translate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | struct Translate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `XZRect` is more private than the item `figures::Figures::XZRect::0` [INFO] [stdout] --> src/figures.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | XZRect(XZRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::XZRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `XZRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | struct XZRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RotateY` is more private than the item `figures::Figures::RotateY::0` [INFO] [stdout] --> src/figures.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | RotateY(RotateY), [INFO] [stdout] | ^^^^^^^ field `figures::Figures::RotateY::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RotateY` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 426 | struct RotateY { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FlipNormals` is more private than the item `figures::Figures::FlipNormals::0` [INFO] [stdout] --> src/figures.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | FlipNormals(FlipNormals), [INFO] [stdout] | ^^^^^^^^^^^ field `figures::Figures::FlipNormals::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FlipNormals` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | struct FlipNormals { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConstantMedium` is more private than the item `figures::Figures::ConstantMedium::0` [INFO] [stdout] --> src/figures.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `figures::Figures::ConstantMedium::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConstantMedium` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | struct ConstantMedium { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BvhNode` is more private than the item `figures::Figures::BvhNode::0` [INFO] [stdout] --> src/figures.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ field `figures::Figures::BvhNode::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `BvhNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:556:1 [INFO] [stdout] | [INFO] [stdout] 556 | struct BvhNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cuboid` is more private than the item `figures::Figures::Cuboid::0` [INFO] [stdout] --> src/figures.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | Cuboid(Cuboid), [INFO] [stdout] | ^^^^^^ field `figures::Figures::Cuboid::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Cuboid` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 363 | struct Cuboid { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SolidTexture` is more private than the item `textures::Textures::Solid::0` [INFO] [stdout] --> src/textures.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] | ^^^^^^^^^^^^ field `textures::Textures::Solid::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SolidTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct SolidTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckerTexture` is more private than the item `textures::Textures::Checker::0` [INFO] [stdout] --> src/textures.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `textures::Textures::Checker::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckerTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Translate` is more private than the item `figures::Figures::Translate::0` [INFO] [stdout] --> src/figures.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | Translate(Translate), [INFO] [stdout] | ^^^^^^^^^ field `figures::Figures::Translate::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Translate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | struct Translate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NoiseTexture` is more private than the item `textures::Textures::Noise::0` [INFO] [stdout] --> src/textures.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^^^^^^^^ field `textures::Textures::Noise::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `NoiseTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | struct NoiseTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RotateY` is more private than the item `figures::Figures::RotateY::0` [INFO] [stdout] --> src/figures.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | RotateY(RotateY), [INFO] [stdout] | ^^^^^^^ field `figures::Figures::RotateY::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RotateY` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 426 | struct RotateY { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DiffuseLight` is more private than the item `materials::Materials::DiffuseLight::0` [INFO] [stdout] --> src/materials.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | DiffuseLight(DiffuseLight), [INFO] [stdout] | ^^^^^^^^^^^^ field `materials::Materials::DiffuseLight::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DiffuseLight` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/materials.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | struct DiffuseLight { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConstantMedium` is more private than the item `figures::Figures::ConstantMedium::0` [INFO] [stdout] --> src/figures.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `figures::Figures::ConstantMedium::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConstantMedium` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | struct ConstantMedium { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BvhNode` is more private than the item `figures::Figures::BvhNode::0` [INFO] [stdout] --> src/figures.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ field `figures::Figures::BvhNode::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `BvhNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:556:1 [INFO] [stdout] | [INFO] [stdout] 556 | struct BvhNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SolidTexture` is more private than the item `textures::Textures::Solid::0` [INFO] [stdout] --> src/textures.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] | ^^^^^^^^^^^^ field `textures::Textures::Solid::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SolidTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct SolidTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_random_scene` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn create_random_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_nextweek_scene` is never used [INFO] [stdout] --> src/main.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn create_nextweek_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u` and `v` are never used [INFO] [stdout] --> src/figures.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Onb { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn u(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn v(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `surround` is never used [INFO] [stdout] --> src/figures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Aabb { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn surround(&self, other: &Aabb) -> Aabb { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `box_x_compare`, `box_y_compare`, and `box_z_compare` are never used [INFO] [stdout] --> src/figures.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 562 | impl BvhNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | fn box_x_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | fn box_y_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 604 | fn box_z_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConstantMedium` and `BvhNode` are never constructed [INFO] [stdout] --> src/figures.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 639 | pub enum Figures { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 649 | Figures(Vec), [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Figures` 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 `constant_medium` and `bvh_node` are never used [INFO] [stdout] --> src/figures.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 653 | impl Figures { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckerTexture` is more private than the item `textures::Textures::Checker::0` [INFO] [stdout] --> src/textures.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `textures::Textures::Checker::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckerTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NoiseTexture` is more private than the item `textures::Textures::Noise::0` [INFO] [stdout] --> src/textures.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^^^^^^^^ field `textures::Textures::Noise::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `NoiseTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | struct NoiseTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `perlin_generate`, `permute`, and `perlin_generate_perm` are never used [INFO] [stdout] --> src/textures.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Perlin { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 58 | fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn perlin_generate() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn permute(vec: &mut Vec, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 153 | fn new(scaler: f32) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Checker` and `Noise` are never constructed [INFO] [stdout] --> src/textures.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub enum Textures { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `checker` and `noise` are never used [INFO] [stdout] --> src/textures.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Textures { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn noise(scaler: f32) -> Textures { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DiffuseLight` is more private than the item `materials::Materials::DiffuseLight::0` [INFO] [stdout] --> src/materials.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | DiffuseLight(DiffuseLight), [INFO] [stdout] | ^^^^^^^^^^^^ field `materials::Materials::DiffuseLight::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DiffuseLight` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/materials.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | struct DiffuseLight { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pdf.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl OnbPdf { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(vec: &V3) -> OnbPdf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_random_scene` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn create_random_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MixPdf` is never constructed [INFO] [stdout] --> src/pdf.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum Pdfs { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 119 | MixPdf(MixPdf), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pdfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_nextweek_scene` is never used [INFO] [stdout] --> src/main.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn create_nextweek_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Metal` is never constructed [INFO] [stdout] --> src/materials.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Materials { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 161 | Lambertian(Lambertian), [INFO] [stdout] 162 | Metal(Metal), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `metal` is never used [INFO] [stdout] --> src/materials.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl Materials { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn metal(albedo: V3, fuzz: f32) -> Materials { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u` and `v` are never used [INFO] [stdout] --> src/figures.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Onb { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn u(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn v(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_V3` should have a snake case name [INFO] [stdout] --> src/vector.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_V3(self) -> V3 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `as_v3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `surround` is never used [INFO] [stdout] --> src/figures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Aabb { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn surround(&self, other: &Aabb) -> Aabb { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let invD = 1.0 / ray.direction.x(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let invD = 1.0 / ray.direction.y(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `box_x_compare`, `box_y_compare`, and `box_z_compare` are never used [INFO] [stdout] --> src/figures.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 562 | impl BvhNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | fn box_x_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | fn box_y_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 604 | fn box_z_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let invD = 1.0 / ray.direction.z(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConstantMedium` and `BvhNode` are never constructed [INFO] [stdout] --> src/figures.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 639 | pub enum Figures { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 649 | Figures(Vec), [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Figures` 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 `constant_medium` and `bvh_node` are never used [INFO] [stdout] --> src/figures.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 653 | impl Figures { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `perlin_generate`, `permute`, and `perlin_generate_perm` are never used [INFO] [stdout] --> src/textures.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Perlin { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 58 | fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn perlin_generate() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn permute(vec: &mut Vec, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 153 | fn new(scaler: f32) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Checker` and `Noise` are never constructed [INFO] [stdout] --> src/textures.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub enum Textures { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `checker` and `noise` are never used [INFO] [stdout] --> src/textures.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Textures { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn noise(scaler: f32) -> Textures { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pdf.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl OnbPdf { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(vec: &V3) -> OnbPdf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MixPdf` is never constructed [INFO] [stdout] --> src/pdf.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum Pdfs { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 119 | MixPdf(MixPdf), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pdfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Metal` is never constructed [INFO] [stdout] --> src/materials.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Materials { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 161 | Lambertian(Lambertian), [INFO] [stdout] 162 | Metal(Metal), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `metal` is never used [INFO] [stdout] --> src/materials.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl Materials { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn metal(albedo: V3, fuzz: f32) -> Materials { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_V3` should have a snake case name [INFO] [stdout] --> src/vector.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_V3(self) -> V3 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `as_v3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let invD = 1.0 / ray.direction.x(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let invD = 1.0 / ray.direction.y(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let invD = 1.0 / ray.direction.z(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "cdf9a02c5594d5abce770d20ae61afba4121fbc126f447abbb104b5eb0d3fbd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf9a02c5594d5abce770d20ae61afba4121fbc126f447abbb104b5eb0d3fbd4", kill_on_drop: false }` [INFO] [stdout] cdf9a02c5594d5abce770d20ae61afba4121fbc126f447abbb104b5eb0d3fbd4 [INFO] checking myuon/ruyt against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmyuon%2Fruyt" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/myuon/ruyt on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/myuon/ruyt [INFO] finished tweaking git repo https://github.com/myuon/ruyt [INFO] tweaked toml for git repo https://github.com/myuon/ruyt written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/myuon/ruyt 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 099ec53bb7da8e1363efe7e342163d68bbdddb50e6ab64e94185e57f3b77e2fb [INFO] running `Command { std: "docker" "start" "-a" "099ec53bb7da8e1363efe7e342163d68bbdddb50e6ab64e94185e57f3b77e2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "099ec53bb7da8e1363efe7e342163d68bbdddb50e6ab64e94185e57f3b77e2fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "099ec53bb7da8e1363efe7e342163d68bbdddb50e6ab64e94185e57f3b77e2fb", kill_on_drop: false }` [INFO] [stdout] 099ec53bb7da8e1363efe7e342163d68bbdddb50e6ab64e94185e57f3b77e2fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8565ed4f91ded53a36f2add2439dc0b95a04428448e2eefb411fdc34db084b5 [INFO] running `Command { std: "docker" "start" "-a" "a8565ed4f91ded53a36f2add2439dc0b95a04428448e2eefb411fdc34db084b5", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking ruyt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 | renderer: Box Color>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vector.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &dyn Fn(f32) -> f32) -> V3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vector.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &Fn(f32) -> f32) -> V3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | pub fn map(self, f: &dyn Fn(f32) -> f32) -> V3 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/figures.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn random(&self, o: V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/figures.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | fn pdf_value(&self, o: V3, v: V3U) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/figures.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | fn random(&self, o: V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:186:28 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/figures.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | Some(rec) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:186:37 [INFO] [stdout] | [INFO] [stdout] 186 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> src/figures.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | Some(rec) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:282:28 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:321:28 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:391:28 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:502:37 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/figures.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let db = false; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:502:28 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:502:37 [INFO] [stdout] | [INFO] [stdout] 502 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/figures.rs:515:13 [INFO] [stdout] | [INFO] [stdout] 515 | let db = false; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:633:37 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/figures.rs:633:28 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/figures.rs:633:37 [INFO] [stdout] | [INFO] [stdout] 633 | fn bounding_box(&self, t0: f32, t1: f32) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/figures.rs:763:30 [INFO] [stdout] | [INFO] [stdout] 763 | Figures::Figures(fs) => unimplemented!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fs` [INFO] [stdout] --> src/figures.rs:763:30 [INFO] [stdout] | [INFO] [stdout] 763 | Figures::Figures(fs) => unimplemented!(), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/textures.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/textures.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/textures.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/textures.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/textures.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/textures.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn value(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/materials.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/materials.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/materials.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/materials.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/materials.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit_record` [INFO] [stdout] --> src/materials.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hit_record` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> src/materials.rs:17:68 [INFO] [stdout] | [INFO] [stdout] 17 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/materials.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/materials.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/materials.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f32, v: f32, point: &V3) -> V3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_in` [INFO] [stdout] --> src/materials.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn scattering_pdf(&self, ray_in: &Ray, hit_record: &HitRecord, scattered: &Ray) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `XYRect` is more private than the item `figures::Figures::XYRect::0` [INFO] [stdout] --> src/figures.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | XYRect(XYRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::XYRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `XYRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | struct XYRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `XYRect` is more private than the item `figures::Figures::XYRect::0` [INFO] [stdout] --> src/figures.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | XYRect(XYRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::XYRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `XYRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | struct XYRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YZRect` is more private than the item `figures::Figures::YZRect::0` [INFO] [stdout] --> src/figures.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | YZRect(YZRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::YZRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `YZRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | struct YZRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `YZRect` is more private than the item `figures::Figures::YZRect::0` [INFO] [stdout] --> src/figures.rs:642:12 [INFO] [stdout] | [INFO] [stdout] 642 | YZRect(YZRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::YZRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `YZRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | struct YZRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `XZRect` is more private than the item `figures::Figures::XZRect::0` [INFO] [stdout] --> src/figures.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | XZRect(XZRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::XZRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `XZRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | struct XZRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `XZRect` is more private than the item `figures::Figures::XZRect::0` [INFO] [stdout] --> src/figures.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | XZRect(XZRect), [INFO] [stdout] | ^^^^^^ field `figures::Figures::XZRect::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `XZRect` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | struct XZRect { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FlipNormals` is more private than the item `figures::Figures::FlipNormals::0` [INFO] [stdout] --> src/figures.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | FlipNormals(FlipNormals), [INFO] [stdout] | ^^^^^^^^^^^ field `figures::Figures::FlipNormals::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FlipNormals` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | struct FlipNormals { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `FlipNormals` is more private than the item `figures::Figures::FlipNormals::0` [INFO] [stdout] --> src/figures.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | FlipNormals(FlipNormals), [INFO] [stdout] | ^^^^^^^^^^^ field `figures::Figures::FlipNormals::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `FlipNormals` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 345 | struct FlipNormals { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cuboid` is more private than the item `figures::Figures::Cuboid::0` [INFO] [stdout] --> src/figures.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | Cuboid(Cuboid), [INFO] [stdout] | ^^^^^^ field `figures::Figures::Cuboid::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Cuboid` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 363 | struct Cuboid { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Cuboid` is more private than the item `figures::Figures::Cuboid::0` [INFO] [stdout] --> src/figures.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 645 | Cuboid(Cuboid), [INFO] [stdout] | ^^^^^^ field `figures::Figures::Cuboid::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Cuboid` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 363 | struct Cuboid { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Translate` is more private than the item `figures::Figures::Translate::0` [INFO] [stdout] --> src/figures.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | Translate(Translate), [INFO] [stdout] | ^^^^^^^^^ field `figures::Figures::Translate::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Translate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | struct Translate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RotateY` is more private than the item `figures::Figures::RotateY::0` [INFO] [stdout] --> src/figures.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | RotateY(RotateY), [INFO] [stdout] | ^^^^^^^ field `figures::Figures::RotateY::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RotateY` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 426 | struct RotateY { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Translate` is more private than the item `figures::Figures::Translate::0` [INFO] [stdout] --> src/figures.rs:646:15 [INFO] [stdout] | [INFO] [stdout] 646 | Translate(Translate), [INFO] [stdout] | ^^^^^^^^^ field `figures::Figures::Translate::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Translate` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:400:1 [INFO] [stdout] | [INFO] [stdout] 400 | struct Translate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RotateY` is more private than the item `figures::Figures::RotateY::0` [INFO] [stdout] --> src/figures.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | RotateY(RotateY), [INFO] [stdout] | ^^^^^^^ field `figures::Figures::RotateY::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RotateY` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 426 | struct RotateY { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConstantMedium` is more private than the item `figures::Figures::ConstantMedium::0` [INFO] [stdout] --> src/figures.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `figures::Figures::ConstantMedium::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConstantMedium` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | struct ConstantMedium { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConstantMedium` is more private than the item `figures::Figures::ConstantMedium::0` [INFO] [stdout] --> src/figures.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `figures::Figures::ConstantMedium::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConstantMedium` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:508:1 [INFO] [stdout] | [INFO] [stdout] 508 | struct ConstantMedium { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BvhNode` is more private than the item `figures::Figures::BvhNode::0` [INFO] [stdout] --> src/figures.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ field `figures::Figures::BvhNode::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `BvhNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:556:1 [INFO] [stdout] | [INFO] [stdout] 556 | struct BvhNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BvhNode` is more private than the item `figures::Figures::BvhNode::0` [INFO] [stdout] --> src/figures.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ field `figures::Figures::BvhNode::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `BvhNode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/figures.rs:556:1 [INFO] [stdout] | [INFO] [stdout] 556 | struct BvhNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SolidTexture` is more private than the item `textures::Textures::Solid::0` [INFO] [stdout] --> src/textures.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] | ^^^^^^^^^^^^ field `textures::Textures::Solid::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SolidTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct SolidTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SolidTexture` is more private than the item `textures::Textures::Solid::0` [INFO] [stdout] --> src/textures.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] | ^^^^^^^^^^^^ field `textures::Textures::Solid::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SolidTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct SolidTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckerTexture` is more private than the item `textures::Textures::Checker::0` [INFO] [stdout] --> src/textures.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `textures::Textures::Checker::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckerTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NoiseTexture` is more private than the item `textures::Textures::Noise::0` [INFO] [stdout] --> src/textures.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^^^^^^^^ field `textures::Textures::Noise::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `NoiseTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | struct NoiseTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CheckerTexture` is more private than the item `textures::Textures::Checker::0` [INFO] [stdout] --> src/textures.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^^^^^^^^ field `textures::Textures::Checker::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CheckerTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct CheckerTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DiffuseLight` is more private than the item `materials::Materials::DiffuseLight::0` [INFO] [stdout] --> src/materials.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | DiffuseLight(DiffuseLight), [INFO] [stdout] | ^^^^^^^^^^^^ field `materials::Materials::DiffuseLight::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DiffuseLight` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/materials.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | struct DiffuseLight { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `NoiseTexture` is more private than the item `textures::Textures::Noise::0` [INFO] [stdout] --> src/textures.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^^^^^^^^ field `textures::Textures::Noise::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `NoiseTexture` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/textures.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | struct NoiseTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_random_scene` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn create_random_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `DiffuseLight` is more private than the item `materials::Materials::DiffuseLight::0` [INFO] [stdout] --> src/materials.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 164 | DiffuseLight(DiffuseLight), [INFO] [stdout] | ^^^^^^^^^^^^ field `materials::Materials::DiffuseLight::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `DiffuseLight` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/materials.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | struct DiffuseLight { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_nextweek_scene` is never used [INFO] [stdout] --> src/main.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn create_nextweek_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_random_scene` is never used [INFO] [stdout] --> src/main.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn create_random_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u` and `v` are never used [INFO] [stdout] --> src/figures.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Onb { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn u(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn v(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_nextweek_scene` is never used [INFO] [stdout] --> src/main.rs:249:4 [INFO] [stdout] | [INFO] [stdout] 249 | fn create_nextweek_scene() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `surround` is never used [INFO] [stdout] --> src/figures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Aabb { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn surround(&self, other: &Aabb) -> Aabb { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `u` and `v` are never used [INFO] [stdout] --> src/figures.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Onb { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn u(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn v(&self) -> V3 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `surround` is never used [INFO] [stdout] --> src/figures.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Aabb { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn surround(&self, other: &Aabb) -> Aabb { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `box_x_compare`, `box_y_compare`, and `box_z_compare` are never used [INFO] [stdout] --> src/figures.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 562 | impl BvhNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | fn box_x_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | fn box_y_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 604 | fn box_z_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `box_x_compare`, `box_y_compare`, and `box_z_compare` are never used [INFO] [stdout] --> src/figures.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 562 | impl BvhNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | fn box_x_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | fn box_y_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 604 | fn box_z_compare(left: &Figures, right: &Figures) -> ::std::cmp::Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConstantMedium` and `BvhNode` are never constructed [INFO] [stdout] --> src/figures.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 639 | pub enum Figures { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 649 | Figures(Vec), [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Figures` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ConstantMedium` and `BvhNode` are never constructed [INFO] [stdout] --> src/figures.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 639 | pub enum Figures { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 648 | ConstantMedium(ConstantMedium), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 649 | Figures(Vec), [INFO] [stdout] 650 | BvhNode(BvhNode), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Figures` 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 `constant_medium` and `bvh_node` are never used [INFO] [stdout] --> src/figures.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 653 | impl Figures { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `constant_medium` and `bvh_node` are never used [INFO] [stdout] --> src/figures.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 653 | impl Figures { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `perlin_generate`, `permute`, and `perlin_generate_perm` are never used [INFO] [stdout] --> src/textures.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Perlin { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 58 | fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn perlin_generate() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn permute(vec: &mut Vec, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl CheckerTexture { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 153 | fn new(scaler: f32) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `perlin_generate`, `permute`, and `perlin_generate_perm` are never used [INFO] [stdout] --> src/textures.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl Perlin { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 58 | fn new() -> Perlin { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn perlin_generate() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn permute(vec: &mut Vec, n: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/textures.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl NoiseTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 153 | fn new(scaler: f32) -> NoiseTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Checker` and `Noise` are never constructed [INFO] [stdout] --> src/textures.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub enum Textures { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Checker` and `Noise` are never constructed [INFO] [stdout] --> src/textures.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub enum Textures { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 168 | Solid(SolidTexture), [INFO] [stdout] 169 | Checker(CheckerTexture), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 170 | Noise(NoiseTexture), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `checker` and `noise` are never used [INFO] [stdout] --> src/textures.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Textures { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn noise(scaler: f32) -> Textures { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `checker` and `noise` are never used [INFO] [stdout] --> src/textures.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl Textures { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn noise(scaler: f32) -> Textures { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pdf.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl OnbPdf { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(vec: &V3) -> OnbPdf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MixPdf` is never constructed [INFO] [stdout] --> src/pdf.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum Pdfs { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 119 | MixPdf(MixPdf), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pdfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Metal` is never constructed [INFO] [stdout] --> src/materials.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Materials { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 161 | Lambertian(Lambertian), [INFO] [stdout] 162 | Metal(Metal), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pdf.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl OnbPdf { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(vec: &V3) -> OnbPdf { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `metal` is never used [INFO] [stdout] --> src/materials.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl Materials { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn metal(albedo: V3, fuzz: f32) -> Materials { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MixPdf` is never constructed [INFO] [stdout] --> src/pdf.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub enum Pdfs { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 119 | MixPdf(MixPdf), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pdfs` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:483:41 [INFO] [stdout] | [INFO] [stdout] 481 | let light_shape = Figures::xz_rect(213.0, 343.0, 227.0, 332.0, 554.0); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 482 | let grass_sphere = Figures::sphere(V3(190.0, 90.0, 190.0), 90.0); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 483 | de_nan(scene.color(ray, Figures::Figures(vec![ light_shape, grass_sphere ]), 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Metal` is never constructed [INFO] [stdout] --> src/materials.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 160 | pub enum Materials { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 161 | Lambertian(Lambertian), [INFO] [stdout] 162 | Metal(Metal), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_V3` should have a snake case name [INFO] [stdout] --> src/vector.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_V3(self) -> V3 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `as_v3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let invD = 1.0 / ray.direction.x(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `metal` is never used [INFO] [stdout] --> src/materials.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl Materials { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn metal(albedo: V3, fuzz: f32) -> Materials { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let invD = 1.0 / ray.direction.y(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let invD = 1.0 / ray.direction.z(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:483:41 [INFO] [stdout] | [INFO] [stdout] 481 | let light_shape = Figures::xz_rect(213.0, 343.0, 227.0, 332.0, 554.0); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 482 | let grass_sphere = Figures::sphere(V3(190.0, 90.0, 190.0), 90.0); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 483 | de_nan(scene.color(ray, Figures::Figures(vec![ light_shape, grass_sphere ]), 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:469:21 [INFO] [stdout] | [INFO] [stdout] 434 | fn new(angle: f32, figure: Figures) -> RotateY { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | figure: Box::new(figure), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_V3` should have a snake case name [INFO] [stdout] --> src/vector.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn as_V3(self) -> V3 { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `as_v3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let invD = 1.0 / ray.direction.x(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let invD = 1.0 / ray.direction.y(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/figures.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let invD = 1.0 / ray.direction.z(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:469:21 [INFO] [stdout] | [INFO] [stdout] 434 | fn new(angle: f32, figure: Figures) -> RotateY { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | figure: Box::new(figure), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | let (box_left, box_right) = [INFO] [stdout] | -------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 591 | left: Box::new(box_left), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:591:19 [INFO] [stdout] | [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | let (box_left, box_right) = [INFO] [stdout] | -------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 591 | left: Box::new(box_left), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | let (box_left, box_right) = [INFO] [stdout] | -------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 592 | right: Box::new(box_right), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 563 | fn new(mut figures: Vec, time0: f32, time1: f32) -> BvhNode { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 576 | let (box_left, box_right) = [INFO] [stdout] | -------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 592 | right: Box::new(box_right), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:692:30 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn flip_normals(figure: Figures) -> Figures { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 692 | Figures::FlipNormals(FlipNormals { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 693 | | figure: Box::new(figure), [INFO] [stdout] 694 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:692:30 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn flip_normals(figure: Figures) -> Figures { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 692 | Figures::FlipNormals(FlipNormals { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 693 | | figure: Box::new(figure), [INFO] [stdout] 694 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:702:28 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn translate(offset: V3, figure: Figures) -> Figures { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 702 | Figures::Translate(Translate { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 703 | | offset: offset, [INFO] [stdout] 704 | | figure: Box::new(figure), [INFO] [stdout] 705 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:709:26 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn rotate_y(angle: f32, figure: Figures) -> Figures { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | Figures::RotateY(RotateY::new(angle, figure)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:702:28 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn translate(offset: V3, figure: Figures) -> Figures { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 702 | Figures::Translate(Translate { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 703 | | offset: offset, [INFO] [stdout] 704 | | figure: Box::new(figure), [INFO] [stdout] 705 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:713:33 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 713 | Figures::ConstantMedium(ConstantMedium { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 714 | | density: density, [INFO] [stdout] 715 | | boundary: Box::new(boundary), [INFO] [stdout] 716 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | Figures::BvhNode(BvhNode::new(figures, time0, time1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/textures.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ------------- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | CheckerTexture { [INFO] [stdout] 33 | odd: Box::new(odd), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/textures.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ------------- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | even: Box::new(even), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/textures.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stdout] | -------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | Textures::Checker(CheckerTexture::new(odd, even)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pdf.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(p0: Pdfs, p1: Pdfs) -> MixPdf { [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | MixPdf { [INFO] [stdout] 70 | pdf: (Box::new(p0), Box::new(p1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/materials.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn lambertian(albedo: Textures) -> Materials { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | Materials::Lambertian(Lambertian { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 170 | | albedo: albedo, [INFO] [stdout] 171 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/materials.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn diffuse_light(emit: Textures) -> Materials { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | Materials::DiffuseLight(DiffuseLight { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 189 | | emit: emit [INFO] [stdout] 190 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:709:26 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn rotate_y(angle: f32, figure: Figures) -> Figures { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 709 | Figures::RotateY(RotateY::new(angle, figure)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:713:33 [INFO] [stdout] | [INFO] [stdout] 712 | pub fn constant_medium(density: f32, boundary: Figures) -> Figures { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 713 | Figures::ConstantMedium(ConstantMedium { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 714 | | density: density, [INFO] [stdout] 715 | | boundary: Box::new(boundary), [INFO] [stdout] 716 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/figures.rs:720:26 [INFO] [stdout] | [INFO] [stdout] 719 | pub fn bvh_node(figures: Vec, time0: f32, time1: f32) -> Figures { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 720 | Figures::BvhNode(BvhNode::new(figures, time0, time1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/textures.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ------------- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | CheckerTexture { [INFO] [stdout] 33 | odd: Box::new(odd), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/textures.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn new(odd: Textures, even: Textures) -> CheckerTexture { [INFO] [stdout] | ------------- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | even: Box::new(even), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/textures.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn checker(even: Textures, odd: Textures) -> Textures { [INFO] [stdout] | -------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 179 | Textures::Checker(CheckerTexture::new(odd, even)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pdf.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(p0: Pdfs, p1: Pdfs) -> MixPdf { [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | MixPdf { [INFO] [stdout] 70 | pdf: (Box::new(p0), Box::new(p1)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/materials.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn lambertian(albedo: Textures) -> Materials { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | Materials::Lambertian(Lambertian { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 170 | | albedo: albedo, [INFO] [stdout] 171 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/materials.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn diffuse_light(emit: Textures) -> Materials { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | Materials::DiffuseLight(DiffuseLight { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 189 | | emit: emit [INFO] [stdout] 190 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruyt` (bin "ruyt" test) due to 16 previous errors; 65 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ruyt` (bin "ruyt") due to 16 previous errors; 65 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a8565ed4f91ded53a36f2add2439dc0b95a04428448e2eefb411fdc34db084b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8565ed4f91ded53a36f2add2439dc0b95a04428448e2eefb411fdc34db084b5", kill_on_drop: false }` [INFO] [stdout] a8565ed4f91ded53a36f2add2439dc0b95a04428448e2eefb411fdc34db084b5