[INFO] cloning repository https://github.com/ismasgrove/raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ismasgrove/raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismasgrove%2Fraytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismasgrove%2Fraytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 159bb540dc87375a8d58f08e4740b5858d5ed5f9 [INFO] checking ismasgrove/raytracing against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fismasgrove%2Fraytracing" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ismasgrove/raytracing 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/ismasgrove/raytracing [INFO] finished tweaking git repo https://github.com/ismasgrove/raytracing [INFO] tweaked toml for git repo https://github.com/ismasgrove/raytracing written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ismasgrove/raytracing 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 console v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] eb2e0d5f9dd7cb2c9ef2b91c384ce3b25557ffd9828bebe5c2830bab60b51591 [INFO] running `Command { std: "docker" "start" "-a" "eb2e0d5f9dd7cb2c9ef2b91c384ce3b25557ffd9828bebe5c2830bab60b51591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb2e0d5f9dd7cb2c9ef2b91c384ce3b25557ffd9828bebe5c2830bab60b51591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2e0d5f9dd7cb2c9ef2b91c384ce3b25557ffd9828bebe5c2830bab60b51591", kill_on_drop: false }` [INFO] [stdout] eb2e0d5f9dd7cb2c9ef2b91c384ce3b25557ffd9828bebe5c2830bab60b51591 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0d195d9d25096a45b3c129b1d5f6fca76535bc774e9b18fcacab335396fa1e5b [INFO] running `Command { std: "docker" "start" "-a" "0d195d9d25096a45b3c129b1d5f6fca76535bc774e9b18fcacab335396fa1e5b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `scenes::two_perlin_spheres` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scenes::two_perlin_spheres; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scenes::two_perlin_spheres` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scenes::two_perlin_spheres; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dielectric` and `Material` [INFO] [stdout] --> src/scenes.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use material::{Dielectric, Lambertian, Material}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle` [INFO] [stdout] --> src/scenes.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | Pyramid, RotateY, Sphere, Translate, Triangle, Vec3, XYRect, XZRect, YZRect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dielectric` and `Material` [INFO] [stdout] --> src/scenes.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use material::{Dielectric, Lambertian, Material}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle` [INFO] [stdout] --> src/scenes.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | Pyramid, RotateY, Sphere, Translate, Triangle, Vec3, XYRect, XZRect, YZRect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/plane.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/plane.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounding_box(&self, t0: f64, t1: f64) -> 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/plane.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/plane.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `construct_tree`, `comparator`, `comparator_x`, `comparator_y`, and `comparator_z` are never used [INFO] [stdout] --> src/bvh.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl BVHNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 16 | fn new(root_box: AABB, left: Arc, right: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn construct_tree(hitlist: HittableList, t0: f64, t1: f64) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn comparator(axis: i32, a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn comparator_x(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn comparator_y(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn comparator_z(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list` and `len` are never used [INFO] [stdout] --> src/hittable.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl HittableList { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn list(&self) -> &Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instance_transforms.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Translate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(object: Arc, offset: Direction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instance_transforms.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl RotateY { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 53 | pub fn new(object: Arc, angle: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Lambertian { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(col: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(albedo: Color, fuzziness: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new(refr_index: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 112 | pub fn new(emit: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `trilinear_interpolation` is never used [INFO] [stdout] --> src/perlin.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Perlin { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn trilinear_interpolation(c: Vec>>, u: f64, v: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pixel_color` is never read [INFO] [stdout] --> src/pixel.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pixel { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub pixel_color: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `color` is never used [INFO] [stdout] --> src/pixel.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | pub fn color(&self) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pyramid.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Pyramid { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(base: XZRect, apex: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl XYRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(x0: f64, x1: f64, y0: f64, y1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl YZRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(y0: f64, y1: f64, z0: f64, z1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl XZRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 127 | pub fn new(x0: f64, x1: f64, z0: f64, z1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Cuboid { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 179 | pub fn new(p0: Vec3, p1: Vec3, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/scenes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn random_scene() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_spheres` is never used [INFO] [stdout] --> src/scenes.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn two_spheres() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `globe` is never used [INFO] [stdout] --> src/scenes.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn globe() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/scenes.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn simple_light() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_box` is never used [INFO] [stdout] --> src/scenes.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn cornell_box() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `construct_tree`, `comparator`, `comparator_x`, `comparator_y`, and `comparator_z` are never used [INFO] [stdout] --> src/bvh.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl BVHNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 16 | fn new(root_box: AABB, left: Arc, right: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn construct_tree(hitlist: HittableList, t0: f64, t1: f64) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn comparator(axis: i32, a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn comparator_x(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn comparator_y(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn comparator_z(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_smoke` is never used [INFO] [stdout] --> src/scenes.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn cornell_smoke() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_scene` is never used [INFO] [stdout] --> src/scenes.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn final_scene() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(center: Vec3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list` and `len` are never used [INFO] [stdout] --> src/hittable.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl HittableList { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn list(&self) -> &Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 79 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `color_rgb` and `color_vec3` are never used [INFO] [stdout] --> src/texture.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Solid { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 14 | fn color_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn color_vec3(color: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instance_transforms.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Translate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(object: Arc, offset: Direction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_vec3` are never used [INFO] [stdout] --> src/texture.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Checker { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 36 | pub fn new(odd: Arc, even: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_vec3(c1: Vec3, c2: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/texture.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 92 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instance_transforms.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl RotateY { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 53 | pub fn new(object: Arc, angle: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `barycentric` are never used [INFO] [stdout] --> src/triangle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Triangle { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 10 | pub fn new(vertices: [Vec3; 3], material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn barycentric(p: Vec3, vertices: [Vec3; 3]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volume.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(density: f64, boundary: Arc, tex: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Lambertian { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(col: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volume.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(albedo: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(albedo: Color, fuzziness: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new(refr_index: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 112 | pub fn new(emit: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `trilinear_interpolation` is never used [INFO] [stdout] --> src/perlin.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Perlin { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn trilinear_interpolation(c: Vec>>, u: f64, v: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pixel_color` is never read [INFO] [stdout] --> src/pixel.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pixel { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub pixel_color: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `color` is never used [INFO] [stdout] --> src/pixel.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | pub fn color(&self) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pyramid.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Pyramid { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(base: XZRect, apex: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl XYRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(x0: f64, x1: f64, y0: f64, y1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl YZRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(y0: f64, y1: f64, z0: f64, z1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl XZRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 127 | pub fn new(x0: f64, x1: f64, z0: f64, z1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Cuboid { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 179 | pub fn new(p0: Vec3, p1: Vec3, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/scenes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn random_scene() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_spheres` is never used [INFO] [stdout] --> src/scenes.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn two_spheres() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `globe` is never used [INFO] [stdout] --> src/scenes.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn globe() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/scenes.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn simple_light() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_box` is never used [INFO] [stdout] --> src/scenes.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn cornell_box() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_smoke` is never used [INFO] [stdout] --> src/scenes.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn cornell_smoke() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_scene` is never used [INFO] [stdout] --> src/scenes.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn final_scene() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(center: Vec3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 79 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `color_rgb` and `color_vec3` are never used [INFO] [stdout] --> src/texture.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Solid { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 14 | fn color_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn color_vec3(color: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_vec3` are never used [INFO] [stdout] --> src/texture.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Checker { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 36 | pub fn new(odd: Arc, even: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_vec3(c1: Vec3, c2: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/texture.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 92 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `barycentric` are never used [INFO] [stdout] --> src/triangle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Triangle { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 10 | pub fn new(vertices: [Vec3; 3], material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn barycentric(p: Vec3, vertices: [Vec3; 3]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volume.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(density: f64, boundary: Arc, tex: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volume.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(albedo: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.25s [INFO] running `Command { std: "docker" "inspect" "0d195d9d25096a45b3c129b1d5f6fca76535bc774e9b18fcacab335396fa1e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d195d9d25096a45b3c129b1d5f6fca76535bc774e9b18fcacab335396fa1e5b", kill_on_drop: false }` [INFO] [stdout] 0d195d9d25096a45b3c129b1d5f6fca76535bc774e9b18fcacab335396fa1e5b [INFO] checking ismasgrove/raytracing 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%2Fismasgrove%2Fraytracing" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ismasgrove/raytracing 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/ismasgrove/raytracing [INFO] finished tweaking git repo https://github.com/ismasgrove/raytracing [INFO] tweaked toml for git repo https://github.com/ismasgrove/raytracing written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ismasgrove/raytracing 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 824833ac1e622fbe6005a76d70986c17448fa44071564f4187ef57d2e47cd808 [INFO] running `Command { std: "docker" "start" "-a" "824833ac1e622fbe6005a76d70986c17448fa44071564f4187ef57d2e47cd808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "824833ac1e622fbe6005a76d70986c17448fa44071564f4187ef57d2e47cd808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824833ac1e622fbe6005a76d70986c17448fa44071564f4187ef57d2e47cd808", kill_on_drop: false }` [INFO] [stdout] 824833ac1e622fbe6005a76d70986c17448fa44071564f4187ef57d2e47cd808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] fd395ed071fdad58684cf96d056ef21b472d755ffbe8328d77b8a3e8f46adc3b [INFO] running `Command { std: "docker" "start" "-a" "fd395ed071fdad58684cf96d056ef21b472d755ffbe8328d77b8a3e8f46adc3b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `scenes::two_perlin_spheres` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scenes::two_perlin_spheres; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dielectric` and `Material` [INFO] [stdout] --> src/scenes.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use material::{Dielectric, Lambertian, Material}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle` [INFO] [stdout] --> src/scenes.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | Pyramid, RotateY, Sphere, Translate, Triangle, Vec3, XYRect, XZRect, YZRect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scenes::two_perlin_spheres` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scenes::two_perlin_spheres; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dielectric` and `Material` [INFO] [stdout] --> src/scenes.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use material::{Dielectric, Lambertian, Material}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Triangle` [INFO] [stdout] --> src/scenes.rs:7:42 [INFO] [stdout] | [INFO] [stdout] 7 | Pyramid, RotateY, Sphere, Translate, Triangle, Vec3, XYRect, XZRect, YZRect, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/plane.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/plane.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounding_box(&self, t0: f64, t1: f64) -> 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/plane.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/plane.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn bounding_box(&self, t0: f64, t1: f64) -> Option { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `construct_tree`, `comparator`, `comparator_x`, `comparator_y`, and `comparator_z` are never used [INFO] [stdout] --> src/bvh.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl BVHNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 16 | fn new(root_box: AABB, left: Arc, right: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn construct_tree(hitlist: HittableList, t0: f64, t1: f64) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn comparator(axis: i32, a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn comparator_x(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn comparator_y(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn comparator_z(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list` and `len` are never used [INFO] [stdout] --> src/hittable.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl HittableList { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn list(&self) -> &Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instance_transforms.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Translate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(object: Arc, offset: Direction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instance_transforms.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl RotateY { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 53 | pub fn new(object: Arc, angle: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Lambertian { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(col: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(albedo: Color, fuzziness: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new(refr_index: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 112 | pub fn new(emit: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `trilinear_interpolation` is never used [INFO] [stdout] --> src/perlin.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Perlin { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn trilinear_interpolation(c: Vec>>, u: f64, v: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pixel_color` is never read [INFO] [stdout] --> src/pixel.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pixel { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub pixel_color: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `color` is never used [INFO] [stdout] --> src/pixel.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | pub fn color(&self) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pyramid.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Pyramid { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(base: XZRect, apex: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl XYRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(x0: f64, x1: f64, y0: f64, y1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl YZRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(y0: f64, y1: f64, z0: f64, z1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl XZRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 127 | pub fn new(x0: f64, x1: f64, z0: f64, z1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Cuboid { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 179 | pub fn new(p0: Vec3, p1: Vec3, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/scenes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn random_scene() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_spheres` is never used [INFO] [stdout] --> src/scenes.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn two_spheres() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `globe` is never used [INFO] [stdout] --> src/scenes.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn globe() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/scenes.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn simple_light() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_box` is never used [INFO] [stdout] --> src/scenes.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn cornell_box() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_smoke` is never used [INFO] [stdout] --> src/scenes.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn cornell_smoke() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_scene` is never used [INFO] [stdout] --> src/scenes.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn final_scene() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(center: Vec3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 79 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `color_rgb` and `color_vec3` are never used [INFO] [stdout] --> src/texture.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Solid { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 14 | fn color_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn color_vec3(color: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_vec3` are never used [INFO] [stdout] --> src/texture.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Checker { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 36 | pub fn new(odd: Arc, even: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_vec3(c1: Vec3, c2: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/texture.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 92 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `barycentric` are never used [INFO] [stdout] --> src/triangle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Triangle { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 10 | pub fn new(vertices: [Vec3; 3], material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn barycentric(p: Vec3, vertices: [Vec3; 3]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volume.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(density: f64, boundary: Arc, tex: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volume.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(albedo: Arc) -> Self { [INFO] [stdout] | ^^^ [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/bvh.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn construct_tree(hitlist: HittableList, t0: f64, t1: f64) -> Arc { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | assert_ne!(hitlist.len(), 0); [INFO] [stdout] 26 | let mut objects = hitlist.list().clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let (right, left) = match objects.len() { [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] 51 | let objects_split = objects.split_off(mid); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (hitlist_left, hitlist_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] 61 | Arc::new(BVHNode::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | AABB::surrounding_box( [INFO] [stdout] 63 | | left.bounding_box(t0, t1).unwrap(), [INFO] [stdout] 64 | | right.bounding_box(t0, t1).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 67 | | right, [INFO] [stdout] 68 | | )) [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/bvh.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 98 | let hit_left = self.left.hit(&r, t_min, t_max); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let hit_right = self.right.hit(&r, t_min, t_max); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | [INFO] [stdout] 101 | match (hit_left, hit_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/scenes.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 11 | let mut world: HittableList = HittableList::new(vec![]); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let checker = Arc::new(texture::Checker::from_vec3( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let ground_material = Arc::new(material::Lambertian::textured(checker)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | (cam, Arc::new(world), Vec3::new(0.7, 0.8, 1.)) [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/scenes.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 101 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | [INFO] [stdout] 103 | let checker = Arc::new(texture::Checker::from_vec3( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let checker = Arc::new(texture::Checker::from_vec3( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | (cam, Arc::new(objects), Vec3::new(0.7, 0.8, 1.)) [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/scenes.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 142 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | (cam, Arc::new(objects), Vec3::new(0.7, 0.8, 1.)) [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/scenes.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 186 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | (cam, Arc::new(objects), Vec3::new(0.7, 0.8, 1.)) [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/scenes.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 237 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let difflight = Arc::new(material::DiffuseLight::new(Arc::new( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | (cam, Arc::new(objects), background) [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/scenes.rs:376:11 [INFO] [stdout] | [INFO] [stdout] 279 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | [INFO] [stdout] 281 | let red = Arc::new(material::Lambertian::new(Vec3::new(0.65, 0.05, 0.05))); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | let white = Arc::new(material::Lambertian::new(Vec3::new(0.73, 0.73, 0.73))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let green = Arc::new(material::Lambertian::new(Vec3::new(0.12, 0.45, 0.15))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let light = Arc::new(material::DiffuseLight::new(Arc::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let base = XZRect::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | let pyramid = Arc::new(Pyramid::new(base, Vec3::new(0., 150., 0.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | [INFO] [stdout] 334 | let pyramid = Arc::new(RotateY::new(pyramid, -25.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | [INFO] [stdout] 336 | let pyramid = Arc::new(Translate::new(pyramid, Vec3::new(140., -200. + 554., 400.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | let base = XZRect::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | let pyramid = Arc::new(Pyramid::new(base, Vec3::new(0., -150., 0.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | [INFO] [stdout] 350 | let pyramid = Arc::new(RotateY::new(pyramid, -25.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | [INFO] [stdout] 352 | let pyramid = Arc::new(Translate::new(pyramid, Vec3::new(140., -200. + 554., 400.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | let cuboid1 = Arc::new(Cuboid::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | let cuboid1 = Arc::new(RotateY::new(cuboid1, 15.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 363 | let cuboid1 = Arc::new(Translate::new(cuboid1, Vec3::new(265., 0., 295.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | let cuboid2 = Arc::new(Cuboid::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | let cuboid2 = Arc::new(RotateY::new(cuboid2, -18.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 373 | let cuboid2 = Arc::new(Translate::new(cuboid2, Vec3::new(140., 0., 65.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | (cam, Arc::new(objects), background) [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/scenes.rs:455:11 [INFO] [stdout] | [INFO] [stdout] 395 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | [INFO] [stdout] 397 | let red = Arc::new(material::Lambertian::new(Vec3::new(0.65, 0.05, 0.05))); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | let white = Arc::new(material::Lambertian::new(Vec3::new(0.73, 0.73, 0.73))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 399 | let green = Arc::new(material::Lambertian::new(Vec3::new(0.12, 0.45, 0.15))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | let light = Arc::new(material::DiffuseLight::new(Arc::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | let cuboid1 = Arc::new(Cuboid::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | let cuboid1 = Arc::new(RotateY::new(cuboid1, 15.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 432 | let cuboid1 = Arc::new(Translate::new(cuboid1, Vec3::new(265., 0., 295.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 433 | let cuboid1 = Arc::new(ConstantMedium::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | let cuboid2 = Arc::new(Cuboid::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | let cuboid2 = Arc::new(RotateY::new(cuboid2, -18.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 447 | let cuboid2 = Arc::new(Translate::new(cuboid2, Vec3::new(130., 0., 65.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | let cuboid2 = Arc::new(ConstantMedium::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | (cam, Arc::new(objects), background) [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/scenes.rs:585:11 [INFO] [stdout] | [INFO] [stdout] 474 | let mut boxes1 = HittableList::new(vec![]); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 475 | [INFO] [stdout] 476 | let ground = Arc::new(Lambertian::new(Vec3::new(0.48, 0.83, 0.53))); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 493 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 497 | let light = Arc::new(material::DiffuseLight::new(Arc::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 504 | let moving_sphere_material = Arc::new(material::Lambertian::new(Vec3::new(0.7, 0.3, 0.1))); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | let boundary = Arc::new(Sphere::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 539 | let boundary = Arc::new(Sphere::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 551 | let globe_material = Arc::new(material::Lambertian::textured(Arc::new( [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | let pertext = Arc::new(texture::Noise::new(0.1)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 568 | let mut boxes2 = HittableList::new(vec![]); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 569 | [INFO] [stdout] 570 | let white = Arc::new(material::Lambertian::new(Vec3::new(0.73, 0.73, 0.73))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 585 | (cam, Arc::new(objects), background) [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/volume.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(density: f64, boundary: Arc, tex: Arc) -> Self { [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] 14 | phase_fn: Arc::new(Isotropic::new(tex)), [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: associated functions `new`, `construct_tree`, `comparator`, `comparator_x`, `comparator_y`, and `comparator_z` are never used [INFO] [stdout] --> src/bvh.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl BVHNode { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 16 | fn new(root_box: AABB, left: Arc, right: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn construct_tree(hitlist: HittableList, t0: f64, t1: f64) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn comparator(axis: i32, a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn comparator_x(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn comparator_y(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn comparator_z(a: &Arc, b: &Arc) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `list` and `len` are never used [INFO] [stdout] --> src/hittable.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl HittableList { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn list(&self) -> &Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instance_transforms.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Translate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(object: Arc, offset: Direction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/instance_transforms.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl RotateY { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 53 | pub fn new(object: Arc, angle: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Lambertian { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(col: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Metal { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 46 | pub fn new(albedo: Color, fuzziness: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Dielectric { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new(refr_index: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/material.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl DiffuseLight { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 112 | pub fn new(emit: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `trilinear_interpolation` is never used [INFO] [stdout] --> src/perlin.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Perlin { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn trilinear_interpolation(c: Vec>>, u: f64, v: f64, w: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pixel_color` is never read [INFO] [stdout] --> src/pixel.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Pixel { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub pixel_color: Vec3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pixel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `color` is never used [INFO] [stdout] --> src/pixel.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Pixel { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 14 | pub fn color(&self) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pyramid.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Pyramid { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 17 | pub fn new(base: XZRect, apex: Vec3) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl XYRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(x0: f64, x1: f64, y0: f64, y1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl YZRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 70 | pub fn new(y0: f64, y1: f64, z0: f64, z1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl XZRect { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 127 | pub fn new(x0: f64, x1: f64, z0: f64, z1: f64, k: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rect.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 178 | impl Cuboid { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 179 | pub fn new(p0: Vec3, p1: Vec3, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_scene` is never used [INFO] [stdout] --> src/scenes.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn random_scene() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_spheres` is never used [INFO] [stdout] --> src/scenes.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn two_spheres() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `globe` is never used [INFO] [stdout] --> src/scenes.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn globe() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_light` is never used [INFO] [stdout] --> src/scenes.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn simple_light() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_box` is never used [INFO] [stdout] --> src/scenes.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | pub fn cornell_box() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cornell_smoke` is never used [INFO] [stdout] --> src/scenes.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn cornell_smoke() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `final_scene` is never used [INFO] [stdout] --> src/scenes.rs:458:8 [INFO] [stdout] | [INFO] [stdout] 458 | pub fn final_scene() -> (Camera, Arc, Vec3) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(center: Vec3, radius: f64, material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/sphere.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl MovingSphere { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 79 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `color_rgb` and `color_vec3` are never used [INFO] [stdout] --> src/texture.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Solid { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 14 | fn color_rgb(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn color_vec3(color: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_vec3` are never used [INFO] [stdout] --> src/texture.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Checker { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 36 | pub fn new(odd: Arc, even: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn from_vec3(c1: Vec3, c2: Vec3) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/texture.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 92 | pub fn new(filename: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `barycentric` are never used [INFO] [stdout] --> src/triangle.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Triangle { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 10 | pub fn new(vertices: [Vec3; 3], material: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn barycentric(p: Vec3, vertices: [Vec3; 3]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volume.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ConstantMedium { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(density: f64, boundary: Arc, tex: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/volume.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Isotropic { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(albedo: Arc) -> Self { [INFO] [stdout] | ^^^ [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/bvh.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn construct_tree(hitlist: HittableList, t0: f64, t1: f64) -> Arc { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | assert_ne!(hitlist.len(), 0); [INFO] [stdout] 26 | let mut objects = hitlist.list().clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let (right, left) = match objects.len() { [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] 51 | let objects_split = objects.split_off(mid); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (hitlist_left, hitlist_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] 61 | Arc::new(BVHNode::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 62 | | AABB::surrounding_box( [INFO] [stdout] 63 | | left.bounding_box(t0, t1).unwrap(), [INFO] [stdout] 64 | | right.bounding_box(t0, t1).unwrap(), [INFO] [stdout] ... | [INFO] [stdout] 67 | | right, [INFO] [stdout] 68 | | )) [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/bvh.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 98 | let hit_left = self.left.hit(&r, t_min, t_max); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | let hit_right = self.right.hit(&r, t_min, t_max); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | [INFO] [stdout] 101 | match (hit_left, hit_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/scenes.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 11 | let mut world: HittableList = HittableList::new(vec![]); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | let checker = Arc::new(texture::Checker::from_vec3( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | let ground_material = Arc::new(material::Lambertian::textured(checker)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | (cam, Arc::new(world), Vec3::new(0.7, 0.8, 1.)) [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 11 previous errors; 36 warnings emitted [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/scenes.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 101 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | [INFO] [stdout] 103 | let checker = Arc::new(texture::Checker::from_vec3( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let checker = Arc::new(texture::Checker::from_vec3( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | (cam, Arc::new(objects), Vec3::new(0.7, 0.8, 1.)) [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/scenes.rs:182:11 [INFO] [stdout] | [INFO] [stdout] 142 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | (cam, Arc::new(objects), Vec3::new(0.7, 0.8, 1.)) [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/scenes.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 186 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | (cam, Arc::new(objects), Vec3::new(0.7, 0.8, 1.)) [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/scenes.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 237 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let difflight = Arc::new(material::DiffuseLight::new(Arc::new( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 260 | (cam, Arc::new(objects), background) [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/scenes.rs:376:11 [INFO] [stdout] | [INFO] [stdout] 279 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | [INFO] [stdout] 281 | let red = Arc::new(material::Lambertian::new(Vec3::new(0.65, 0.05, 0.05))); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | let white = Arc::new(material::Lambertian::new(Vec3::new(0.73, 0.73, 0.73))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | let green = Arc::new(material::Lambertian::new(Vec3::new(0.12, 0.45, 0.15))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | let light = Arc::new(material::DiffuseLight::new(Arc::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let base = XZRect::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 332 | let pyramid = Arc::new(Pyramid::new(base, Vec3::new(0., 150., 0.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | [INFO] [stdout] 334 | let pyramid = Arc::new(RotateY::new(pyramid, -25.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 335 | [INFO] [stdout] 336 | let pyramid = Arc::new(Translate::new(pyramid, Vec3::new(140., -200. + 554., 400.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | let base = XZRect::new( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | let pyramid = Arc::new(Pyramid::new(base, Vec3::new(0., -150., 0.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 349 | [INFO] [stdout] 350 | let pyramid = Arc::new(RotateY::new(pyramid, -25.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | [INFO] [stdout] 352 | let pyramid = Arc::new(Translate::new(pyramid, Vec3::new(140., -200. + 554., 400.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 356 | let cuboid1 = Arc::new(Cuboid::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 362 | let cuboid1 = Arc::new(RotateY::new(cuboid1, 15.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 363 | let cuboid1 = Arc::new(Translate::new(cuboid1, Vec3::new(265., 0., 295.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 366 | let cuboid2 = Arc::new(Cuboid::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 372 | let cuboid2 = Arc::new(RotateY::new(cuboid2, -18.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 373 | let cuboid2 = Arc::new(Translate::new(cuboid2, Vec3::new(140., 0., 65.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | (cam, Arc::new(objects), background) [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/scenes.rs:455:11 [INFO] [stdout] | [INFO] [stdout] 395 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | [INFO] [stdout] 397 | let red = Arc::new(material::Lambertian::new(Vec3::new(0.65, 0.05, 0.05))); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | let white = Arc::new(material::Lambertian::new(Vec3::new(0.73, 0.73, 0.73))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 399 | let green = Arc::new(material::Lambertian::new(Vec3::new(0.12, 0.45, 0.15))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 400 | let light = Arc::new(material::DiffuseLight::new(Arc::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 425 | let cuboid1 = Arc::new(Cuboid::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | let cuboid1 = Arc::new(RotateY::new(cuboid1, 15.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 432 | let cuboid1 = Arc::new(Translate::new(cuboid1, Vec3::new(265., 0., 295.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 433 | let cuboid1 = Arc::new(ConstantMedium::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | let cuboid2 = Arc::new(Cuboid::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | let cuboid2 = Arc::new(RotateY::new(cuboid2, -18.)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 447 | let cuboid2 = Arc::new(Translate::new(cuboid2, Vec3::new(130., 0., 65.))); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 448 | let cuboid2 = Arc::new(ConstantMedium::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | (cam, Arc::new(objects), background) [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/scenes.rs:585:11 [INFO] [stdout] | [INFO] [stdout] 474 | let mut boxes1 = HittableList::new(vec![]); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 475 | [INFO] [stdout] 476 | let ground = Arc::new(Lambertian::new(Vec3::new(0.48, 0.83, 0.53))); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 493 | let mut objects = HittableList::new(vec![]); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 497 | let light = Arc::new(material::DiffuseLight::new(Arc::new( [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 504 | let moving_sphere_material = Arc::new(material::Lambertian::new(Vec3::new(0.7, 0.3, 0.1))); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | let boundary = Arc::new(Sphere::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 539 | let boundary = Arc::new(Sphere::new( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 551 | let globe_material = Arc::new(material::Lambertian::textured(Arc::new( [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 561 | let pertext = Arc::new(texture::Noise::new(0.1)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 568 | let mut boxes2 = HittableList::new(vec![]); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 569 | [INFO] [stdout] 570 | let white = Arc::new(material::Lambertian::new(Vec3::new(0.73, 0.73, 0.73))); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 585 | (cam, Arc::new(objects), background) [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/volume.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(density: f64, boundary: Arc, tex: Arc) -> Self { [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] 14 | phase_fn: Arc::new(Isotropic::new(tex)), [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 11 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 12 previous errors; 36 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 12 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fd395ed071fdad58684cf96d056ef21b472d755ffbe8328d77b8a3e8f46adc3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd395ed071fdad58684cf96d056ef21b472d755ffbe8328d77b8a3e8f46adc3b", kill_on_drop: false }` [INFO] [stdout] fd395ed071fdad58684cf96d056ef21b472d755ffbe8328d77b8a3e8f46adc3b