[INFO] cloning repository https://github.com/SolarLiner/raytracer.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SolarLiner/raytracer.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarLiner%2Fraytracer.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarLiner%2Fraytracer.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e553b6dafae47a8edde079920a5d49ae96edca2 [INFO] checking SolarLiner/raytracer.rs/6e553b6dafae47a8edde079920a5d49ae96edca2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolarLiner%2Fraytracer.rs" "/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/SolarLiner/raytracer.rs on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SolarLiner/raytracer.rs [INFO] finished tweaking git repo https://github.com/SolarLiner/raytracer.rs [INFO] tweaked toml for git repo https://github.com/SolarLiner/raytracer.rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SolarLiner/raytracer.rs 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef764a2bc185e542c7d118ca8a3b1212bcf9a5ca00aa193d1f9a45715c3f7b7e [INFO] running `Command { std: "docker" "start" "-a" "ef764a2bc185e542c7d118ca8a3b1212bcf9a5ca00aa193d1f9a45715c3f7b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef764a2bc185e542c7d118ca8a3b1212bcf9a5ca00aa193d1f9a45715c3f7b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef764a2bc185e542c7d118ca8a3b1212bcf9a5ca00aa193d1f9a45715c3f7b7e", kill_on_drop: false }` [INFO] [stdout] ef764a2bc185e542c7d118ca8a3b1212bcf9a5ca00aa193d1f9a45715c3f7b7e [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1e56d4a80644e61358b683e5f5ad1bba40cb20e0061be318910a7830b852f7e [INFO] running `Command { std: "docker" "start" "-a" "c1e56d4a80644e61358b683e5f5ad1bba40cb20e0061be318910a7830b852f7e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Transform3` [INFO] [stdout] --> src/objects.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | use cgmath::{EuclideanSpace, InnerSpace, Matrix4, Transform, Transform3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/objects.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetricSpace` [INFO] [stdout] --> src/sdf.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{EuclideanSpace, InnerSpace, MetricSpace, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transform3` [INFO] [stdout] --> src/objects.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | use cgmath::{EuclideanSpace, InnerSpace, Matrix4, Transform, Transform3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/objects.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetricSpace` [INFO] [stdout] --> src/sdf.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{EuclideanSpace, InnerSpace, MetricSpace, Point3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/traits.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{InnerSpace, Point3, Vector3, Array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> src/traits.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::{InnerSpace, Point3, Vector3, Array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/sky.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let theta = dir.y.atan2(dir.x); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/sky.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let phi = dir.z.acos(); // Assuming dir is constant [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sky` is never constructed [INFO] [stdout] --> src/material.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Bounce { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 82 | Sky(Ray), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bounce` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_copy` is never used [INFO] [stdout] --> src/sdf.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Positioned { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn map_copy U>(&self, mapper: F) -> Positioned { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sdf_d` is never used [INFO] [stdout] --> src/sdf.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Positioned { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn sdf_d(&self, pos: P3) -> V3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sun_color` is never used [INFO] [stdout] --> src/sky.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sky { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn sun_color(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn random_in_hemisphere(rng: &mut ThreadRng, normal: V3) -> V3 { [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/main.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | .map_world::, _>(|w| w.into_iter().map(|o| o.into()).collect()); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/scene.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn from(s: config::Scene) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | world: s.world.into(), [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/scene.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(scn: Scene) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | world: scn.world.into(), [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/scene.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn map_world U>(self, map: F) -> Scene { [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] 48 | world, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | world: map(world), [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/sdf.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn map U>(self, mapper: F) -> Positioned { [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] 44 | value: mapper(self.value), [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/sdf.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn map_copy U>(&self, mapper: F) -> Positioned { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | value: mapper(&self.value), [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/sdf.rs:149:70 [INFO] [stdout] | [INFO] [stdout] 149 | left: config::Positioned::from(left.map(|v| Box::new(v.into()))), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sdf.rs:150:72 [INFO] [stdout] | [INFO] [stdout] 150 | right: config::Positioned::from(right.map(|v| Box::new(v.into()))), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sdf.rs:158:70 [INFO] [stdout] | [INFO] [stdout] 158 | left: config::Positioned::from(left.map(|v| Box::new(v.into()))), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sdf.rs:159:72 [INFO] [stdout] | [INFO] [stdout] 159 | right: config::Positioned::from(right.map(|v| Box::new(v.into()))), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 10 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 11 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `theta` [INFO] [stdout] --> src/sky.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let theta = dir.y.atan2(dir.x); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_theta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phi` [INFO] [stdout] --> src/sky.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let phi = dir.z.acos(); // Assuming dir is constant [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_phi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Sky` is never constructed [INFO] [stdout] --> src/material.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum Bounce { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 82 | Sky(Ray), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bounce` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map_copy` is never used [INFO] [stdout] --> src/sdf.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Positioned { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn map_copy U>(&self, mapper: F) -> Positioned { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sdf_d` is never used [INFO] [stdout] --> src/sdf.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Positioned { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn sdf_d(&self, pos: P3) -> V3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sun_color` is never used [INFO] [stdout] --> src/sky.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Sky { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn sun_color(&self) -> Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_in_hemisphere` is never used [INFO] [stdout] --> src/utils.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn random_in_hemisphere(rng: &mut ThreadRng, normal: V3) -> V3 { [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/main.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | .map_world::, _>(|w| w.into_iter().map(|o| o.into()).collect()); [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/scene.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 21 | fn from(s: config::Scene) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | world: s.world.into(), [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/scene.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 33 | fn from(scn: Scene) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | world: scn.world.into(), [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/scene.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn map_world U>(self, map: F) -> Scene { [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] 48 | world, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | world: map(world), [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/sdf.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn map U>(self, mapper: F) -> Positioned { [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] 44 | value: mapper(self.value), [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/sdf.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn map_copy U>(&self, mapper: F) -> Positioned { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | value: mapper(&self.value), [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/sdf.rs:149:70 [INFO] [stdout] | [INFO] [stdout] 149 | left: config::Positioned::from(left.map(|v| Box::new(v.into()))), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sdf.rs:150:72 [INFO] [stdout] | [INFO] [stdout] 150 | right: config::Positioned::from(right.map(|v| Box::new(v.into()))), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sdf.rs:158:70 [INFO] [stdout] | [INFO] [stdout] 158 | left: config::Positioned::from(left.map(|v| Box::new(v.into()))), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/sdf.rs:159:72 [INFO] [stdout] | [INFO] [stdout] 159 | right: config::Positioned::from(right.map(|v| Box::new(v.into()))), [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 10 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 11 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c1e56d4a80644e61358b683e5f5ad1bba40cb20e0061be318910a7830b852f7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1e56d4a80644e61358b683e5f5ad1bba40cb20e0061be318910a7830b852f7e", kill_on_drop: false }` [INFO] [stdout] c1e56d4a80644e61358b683e5f5ad1bba40cb20e0061be318910a7830b852f7e