[INFO] cloning repository https://github.com/AlexanderStein/raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexanderStein/raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderStein%2Fraytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexanderStein%2Fraytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 58b5cd1ef10197190cedaed1665f16c670aecc0d [INFO] checking AlexanderStein/raytracing/58b5cd1ef10197190cedaed1665f16c670aecc0d 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%2FAlexanderStein%2Fraytracing" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlexanderStein/raytracing 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/AlexanderStein/raytracing [INFO] finished tweaking git repo https://github.com/AlexanderStein/raytracing [INFO] tweaked toml for git repo https://github.com/AlexanderStein/raytracing written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AlexanderStein/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f89541c3210f240416d8c2b70205646dcac9b0a9cfb1ed791b2000532c1e9d14 [INFO] running `Command { std: "docker" "start" "-a" "f89541c3210f240416d8c2b70205646dcac9b0a9cfb1ed791b2000532c1e9d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f89541c3210f240416d8c2b70205646dcac9b0a9cfb1ed791b2000532c1e9d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89541c3210f240416d8c2b70205646dcac9b0a9cfb1ed791b2000532c1e9d14", kill_on_drop: false }` [INFO] [stdout] f89541c3210f240416d8c2b70205646dcac9b0a9cfb1ed791b2000532c1e9d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] adc499e43fcdd73e465bff7a880772bd8d23a05ef318da91d8709be8676b2fe1 [INFO] running `Command { std: "docker" "start" "-a" "adc499e43fcdd73e465bff7a880772bd8d23a05ef318da91d8709be8676b2fe1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling vergen v7.2.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libgit2-sys v0.13.4+1.4.2 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling git2 v0.14.4 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:354:11 [INFO] [stdout] | [INFO] [stdout] 32 | let matches = command!() [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] 37 | / arg!( [INFO] [stdout] 38 | | -x --"image-width" "image width in pixel" [INFO] [stdout] 39 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / arg!( [INFO] [stdout] 46 | | -y --"image-height" "image height in pixel" [INFO] [stdout] 47 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | / arg!( [INFO] [stdout] 54 | | -s --"samples-per-pixel" "per pixel over-sampling. 500 for good results. Beware: time-consuming" [INFO] [stdout] 55 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | / arg!( [INFO] [stdout] 62 | | -t --threads "maximum threads to be used in parallel. Default: all physical CPUs" [INFO] [stdout] 63 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | / arg!( [INFO] [stdout] 70 | | -w --world "Select world" [INFO] [stdout] 71 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | | let (world, lookfrom, lookat, vfov, aperture, background) = [INFO] [stdout] | | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 354 | | match load_from_memory_with_format(&pnm_data.into_bytes(), ImageFormat::Pnm) { [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/constant_medium.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(boundary: H, density: f64, texture: T) -> 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] 16 | phase_function: Box::new(Isotropic::new(Box::new(texture))), [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/hitable_list.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn push(&mut self, object: impl Hittable + 'static) { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.objects.push(Box::new(object)) [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:354:11 [INFO] [stdout] | [INFO] [stdout] 32 | let matches = command!() [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] 37 | / arg!( [INFO] [stdout] 38 | | -x --"image-width" "image width in pixel" [INFO] [stdout] 39 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | / arg!( [INFO] [stdout] 46 | | -y --"image-height" "image height in pixel" [INFO] [stdout] 47 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | / arg!( [INFO] [stdout] 54 | | -s --"samples-per-pixel" "per pixel over-sampling. 500 for good results. Beware: time-consuming" [INFO] [stdout] 55 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | / arg!( [INFO] [stdout] 62 | | -t --threads "maximum threads to be used in parallel. Default: all physical CPUs" [INFO] [stdout] 63 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | / arg!( [INFO] [stdout] 70 | | -w --world "Select world" [INFO] [stdout] 71 | | ) [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 95 | | let (world, lookfrom, lookat, vfov, aperture, background) = [INFO] [stdout] | | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 354 | | match load_from_memory_with_format(&pnm_data.into_bytes(), ImageFormat::Pnm) { [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/constant_medium.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(boundary: H, density: f64, texture: T) -> 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] 16 | phase_function: Box::new(Isotropic::new(Box::new(texture))), [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/hitable_list.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn push(&mut self, object: impl Hittable + 'static) { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | self.objects.push(Box::new(object)) [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "adc499e43fcdd73e465bff7a880772bd8d23a05ef318da91d8709be8676b2fe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc499e43fcdd73e465bff7a880772bd8d23a05ef318da91d8709be8676b2fe1", kill_on_drop: false }` [INFO] [stdout] adc499e43fcdd73e465bff7a880772bd8d23a05ef318da91d8709be8676b2fe1