[INFO] cloning repository https://github.com/NSchiffmacher/RustRayTracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NSchiffmacher/RustRayTracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNSchiffmacher%2FRustRayTracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNSchiffmacher%2FRustRayTracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bf3f0345e8f5a87cc75bab7987f82d9bbec218a [INFO] checking NSchiffmacher/RustRayTracing/6bf3f0345e8f5a87cc75bab7987f82d9bbec218a 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%2FNSchiffmacher%2FRustRayTracing" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NSchiffmacher/RustRayTracing 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/NSchiffmacher/RustRayTracing [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/NSchiffmacher/RustRayTracing [INFO] tweaked toml for git repo https://github.com/NSchiffmacher/RustRayTracing written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NSchiffmacher/RustRayTracing 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8bcfa49e918d1297d067b31d6ec71232f5bb1871d02f83070e6a8dc8df92873f [INFO] running `Command { std: "docker" "start" "-a" "8bcfa49e918d1297d067b31d6ec71232f5bb1871d02f83070e6a8dc8df92873f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bcfa49e918d1297d067b31d6ec71232f5bb1871d02f83070e6a8dc8df92873f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bcfa49e918d1297d067b31d6ec71232f5bb1871d02f83070e6a8dc8df92873f", kill_on_drop: false }` [INFO] [stdout] 8bcfa49e918d1297d067b31d6ec71232f5bb1871d02f83070e6a8dc8df92873f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ddd024ea7d484379fc794a225f60417c5a30ba75a3e35b1c10a1c4c2ef924cac [INFO] running `Command { std: "docker" "start" "-a" "ddd024ea7d484379fc794a225f60417c5a30ba75a3e35b1c10a1c4c2ef924cac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking termion v2.0.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking raytracing v0.1.0 (/opt/rustwide/workdir) [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/hittable/bvh.rs:47:59 [INFO] [stdout] | [INFO] [stdout] 47 | indices.sort_by(|a, b| Self::box_compare(&objects.borrow()[*a], &objects.borrow()[*b], axis)); [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/hittable/bvh.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | indices.sort_by(|a, b| Self::box_compare(&objects.borrow()[*a], &objects.borrow()[*b], axis)); [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/hittable/constant_medium.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(boundary: Box, density: f64, a: Rc) -> Box { [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] 21 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | boundary, [INFO] [stdout] 23 | | inv_neg_density: -1.0 / density, [INFO] [stdout] 24 | | phase_function: Isotropic::new(a), [INFO] [stdout] 25 | | }) [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/hittable/constant_medium.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_color(boundary: Box, density: f64, color: Color) -> Box { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Self::new(boundary, density, SolidColor::new(color)) [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/hittable/constant_medium.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 39 | let mut hit_record1 = if let Some(hr) = self.boundary.hit(ray, &Interval::universe()) { [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] 45 | let hit_record2 = if let Some(hr) = self.boundary.hit(ray, &Interval::new(hit_record1.t + 0.0001, f64::INFINITY)) { [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] 70 | Some(HitRecord::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 71 | | ray.at(t), [INFO] [stdout] 72 | | Vec3::new(1., 0., 0.), // Arbitrary [INFO] [stdout] 73 | | t, [INFO] [stdout] ... | [INFO] [stdout] 76 | | self.phase_function.clone(), [INFO] [stdout] 77 | | )) [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/hittable/sphere.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(center: Point, radius: f64, material: Rc) -> Box { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 25 | | initial_center: center, [INFO] [stdout] 26 | | center_vec: Vec3::zero(), [INFO] [stdout] 27 | | is_moving: false, [INFO] [stdout] ... | [INFO] [stdout] 30 | | bbox, [INFO] [stdout] 31 | | }) [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/hittable/sphere.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new_moving(initial_center: Point, final_center: Point, radius: f64, material: Rc) -> Box { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 41 | | initial_center, [INFO] [stdout] 42 | | center_vec: final_center - initial_center, [INFO] [stdout] 43 | | is_moving: true, [INFO] [stdout] ... | [INFO] [stdout] 46 | | bbox, [INFO] [stdout] 47 | | }) [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/hittable/quad.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(q: Point, u: Vec3, v: Vec3, material: Rc) -> Box { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Box::new(Self { q, u, v, w, material, bbox, normal, d }) [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/hittable/hittable_list.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 39 | let tree = BvhTree::from_list(self); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | objects: Rc::new(RefCell::new(vec![Box::new(tree)])), [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/material/diffuse_light.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(emit: Rc) -> Rc { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Rc::new(Self { emit }) [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/material/isotropic.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(albedo: Rc) -> Rc { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Rc::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 17 | | albedo, [INFO] [stdout] 18 | | }) [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/material/lambertian.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_texture(albedo: Rc) -> Rc { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Rc::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 29 | | albedo, [INFO] [stdout] 30 | | }) [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/texture/checker_texture.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(odd: Rc, even: Rc, scale: f64) -> Rc { [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] 15 | Rc::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 16 | | odd, [INFO] [stdout] 17 | | even, [INFO] [stdout] 18 | | inv_scale: 1. / scale, [INFO] [stdout] 19 | | }) [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/terminal.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | size: Size { [INFO] [stdout] 30 | | width: size.0, [INFO] [stdout] 31 | | height: size.1.saturating_sub(2), // For the two status lines [INFO] [stdout] 32 | | }, [INFO] [stdout] 33 | | _stdout: stdout().into_raw_mode()?, [INFO] [stdout] 34 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 14 previous errors [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/hittable/bvh.rs:47:59 [INFO] [stdout] | [INFO] [stdout] 47 | indices.sort_by(|a, b| Self::box_compare(&objects.borrow()[*a], &objects.borrow()[*b], axis)); [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/hittable/bvh.rs:47:82 [INFO] [stdout] | [INFO] [stdout] 47 | indices.sort_by(|a, b| Self::box_compare(&objects.borrow()[*a], &objects.borrow()[*b], axis)); [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/hittable/constant_medium.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(boundary: Box, density: f64, a: Rc) -> Box { [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] 21 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 22 | | boundary, [INFO] [stdout] 23 | | inv_neg_density: -1.0 / density, [INFO] [stdout] 24 | | phase_function: Isotropic::new(a), [INFO] [stdout] 25 | | }) [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/hittable/constant_medium.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_color(boundary: Box, density: f64, color: Color) -> Box { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Self::new(boundary, density, SolidColor::new(color)) [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/hittable/constant_medium.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 39 | let mut hit_record1 = if let Some(hr) = self.boundary.hit(ray, &Interval::universe()) { [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] 45 | let hit_record2 = if let Some(hr) = self.boundary.hit(ray, &Interval::new(hit_record1.t + 0.0001, f64::INFINITY)) { [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] 70 | Some(HitRecord::new( [INFO] [stdout] | ______________^ [INFO] [stdout] 71 | | ray.at(t), [INFO] [stdout] 72 | | Vec3::new(1., 0., 0.), // Arbitrary [INFO] [stdout] 73 | | t, [INFO] [stdout] ... | [INFO] [stdout] 76 | | self.phase_function.clone(), [INFO] [stdout] 77 | | )) [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/hittable/sphere.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(center: Point, radius: f64, material: Rc) -> Box { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 25 | | initial_center: center, [INFO] [stdout] 26 | | center_vec: Vec3::zero(), [INFO] [stdout] 27 | | is_moving: false, [INFO] [stdout] ... | [INFO] [stdout] 30 | | bbox, [INFO] [stdout] 31 | | }) [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/hittable/sphere.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new_moving(initial_center: Point, final_center: Point, radius: f64, material: Rc) -> Box { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Box::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 41 | | initial_center, [INFO] [stdout] 42 | | center_vec: final_center - initial_center, [INFO] [stdout] 43 | | is_moving: true, [INFO] [stdout] ... | [INFO] [stdout] 46 | | bbox, [INFO] [stdout] 47 | | }) [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/hittable/quad.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(q: Point, u: Vec3, v: Vec3, material: Rc) -> Box { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Box::new(Self { q, u, v, w, material, bbox, normal, d }) [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/hittable/hittable_list.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 39 | let tree = BvhTree::from_list(self); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | objects: Rc::new(RefCell::new(vec![Box::new(tree)])), [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/material/diffuse_light.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(emit: Rc) -> Rc { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Rc::new(Self { emit }) [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/material/isotropic.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(albedo: Rc) -> Rc { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Rc::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 17 | | albedo, [INFO] [stdout] 18 | | }) [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/material/lambertian.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_texture(albedo: Rc) -> Rc { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Rc::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 29 | | albedo, [INFO] [stdout] 30 | | }) [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] [stderr] error: could not compile `raytracing` (lib test) due to 15 previous errors [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/texture/checker_texture.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(odd: Rc, even: Rc, scale: f64) -> Rc { [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] 15 | Rc::new(Self { [INFO] [stdout] | _________________^ [INFO] [stdout] 16 | | odd, [INFO] [stdout] 17 | | even, [INFO] [stdout] 18 | | inv_scale: 1. / scale, [INFO] [stdout] 19 | | }) [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] [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/terminal.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | size: Size { [INFO] [stdout] 30 | | width: size.0, [INFO] [stdout] 31 | | height: size.1.saturating_sub(2), // For the two status lines [INFO] [stdout] 32 | | }, [INFO] [stdout] 33 | | _stdout: stdout().into_raw_mode()?, [INFO] [stdout] 34 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing` (lib) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "ddd024ea7d484379fc794a225f60417c5a30ba75a3e35b1c10a1c4c2ef924cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd024ea7d484379fc794a225f60417c5a30ba75a3e35b1c10a1c4c2ef924cac", kill_on_drop: false }` [INFO] [stdout] ddd024ea7d484379fc794a225f60417c5a30ba75a3e35b1c10a1c4c2ef924cac