[INFO] fetching crate slice-dst 1.5.1... [INFO] checking slice-dst-1.5.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate slice-dst 1.5.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate slice-dst 1.5.1 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 crates.io crate slice-dst 1.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate slice-dst 1.5.1 [INFO] tweaked toml for crates.io crate slice-dst 1.5.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a366c12776ba0e4394947417255793c82bff38f8d5861a7c963a6a3deb03b975 [INFO] running `Command { std: "docker" "start" "-a" "a366c12776ba0e4394947417255793c82bff38f8d5861a7c963a6a3deb03b975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a366c12776ba0e4394947417255793c82bff38f8d5861a7c963a6a3deb03b975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a366c12776ba0e4394947417255793c82bff38f8d5861a7c963a6a3deb03b975", kill_on_drop: false }` [INFO] [stdout] a366c12776ba0e4394947417255793c82bff38f8d5861a7c963a6a3deb03b975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a129e529906670ddc29267652b2edeee06c8d49ec1b574648b7a15908f71a060 [INFO] running `Command { std: "docker" "start" "-a" "a129e529906670ddc29267652b2edeee06c8d49ec1b574648b7a15908f71a060", kill_on_drop: false }` [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling slice-dst v1.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `has_ptr_slice_from_raw_parts` [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(has_ptr_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_ptr_slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_ptr_slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_ptr_slice_from_raw_parts` [INFO] [stdout] --> src/lib.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(not(has_ptr_slice_from_raw_parts))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_ptr_slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_ptr_slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_ptr_slice_from_raw_parts` [INFO] [stdout] --> src/lib.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(has_ptr_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_ptr_slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_ptr_slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_ptr_slice_from_raw_parts` [INFO] [stdout] --> src/lib.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(not(has_ptr_slice_from_raw_parts))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_ptr_slice_from_raw_parts)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_ptr_slice_from_raw_parts)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::{Layout, LayoutErr}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | alloc::{Layout, LayoutErr}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:7:85 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn extend_layout(this: &Layout, next: Layout) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:7:85 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn extend_layout(this: &Layout, next: Layout) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn layout_array(n: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn layout_array(n: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:29:77 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn repr_c_3(fields: [Layout; 3]) -> Result<(Layout, [usize; 3]), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:48:70 [INFO] [stdout] | [INFO] [stdout] 48 | fn repeat_layout(this: &Layout, n: usize) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:29:77 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn repr_c_3(fields: [Layout; 3]) -> Result<(Layout, [usize; 3]), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:48:70 [INFO] [stdout] | [INFO] [stdout] 48 | fn repeat_layout(this: &Layout, n: usize) -> Result<(Layout, usize), LayoutErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn layout_err() -> LayoutErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `core::alloc::LayoutErr`: Name does not follow std convention, use LayoutError [INFO] [stdout] --> src/layout_polyfill.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn layout_err() -> LayoutErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 318 | impl_alloc_by_try_alloc!(Box); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 318 | impl_alloc_by_try_alloc!(Box); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 353 | impl_alloc_by_try_alloc!(Rc); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 353 | impl_alloc_by_try_alloc!(Rc); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 364 | impl_alloc_by_try_alloc!(Arc); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | Err(void) => match void {}, [INFO] [stdout] | ^^^^^^^^^ matches no values because ` as AllocSliceDst>::new_slice_dst::Void` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 364 | impl_alloc_by_try_alloc!(Arc); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: this warning originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe fn new_slice_dst(len: usize, init: I) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let init = |ptr| ::core::result::Result::<(), Void>::Ok(init(ptr)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | match >::try_new_slice_dst(len, init) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | impl_alloc_by_try_alloc!(Box); [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this error originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 320 | unsafe fn try_new_slice_dst(len: usize, init: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 346 | let ptr = RawBox::new(len); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | init(ptr.0)?; [INFO] [stdout] 348 | Ok(ptr.finalize()) [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/lib.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe fn new_slice_dst(len: usize, init: I) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let init = |ptr| ::core::result::Result::<(), Void>::Ok(init(ptr)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | match >::try_new_slice_dst(len, init) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | impl_alloc_by_try_alloc!(Rc); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe fn try_new_slice_dst(len: usize, init: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | Box::try_new_slice_dst(len, init).map(Into::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/lib.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe fn new_slice_dst(len: usize, init: I) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let init = |ptr| ::core::result::Result::<(), Void>::Ok(init(ptr)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | match >::try_new_slice_dst(len, init) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | impl_alloc_by_try_alloc!(Arc); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 366 | unsafe fn try_new_slice_dst(len: usize, init: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | Box::try_new_slice_dst(len, init).map(Into::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: aborting due to 6 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slice-dst` (lib test) due to 7 previous errors; 11 warnings 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/lib.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe fn new_slice_dst(len: usize, init: I) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let init = |ptr| ::core::result::Result::<(), Void>::Ok(init(ptr)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | match >::try_new_slice_dst(len, init) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | impl_alloc_by_try_alloc!(Box); [INFO] [stdout] | ----------------------------- in this macro invocation [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] = note: this error originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 320 | unsafe fn try_new_slice_dst(len: usize, init: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 346 | let ptr = RawBox::new(len); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 347 | init(ptr.0)?; [INFO] [stdout] 348 | Ok(ptr.finalize()) [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/lib.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe fn new_slice_dst(len: usize, init: I) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let init = |ptr| ::core::result::Result::<(), Void>::Ok(init(ptr)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | match >::try_new_slice_dst(len, init) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | impl_alloc_by_try_alloc!(Rc); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 355 | unsafe fn try_new_slice_dst(len: usize, init: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | Box::try_new_slice_dst(len, init).map(Into::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/lib.rs:289:23 [INFO] [stdout] | [INFO] [stdout] 282 | unsafe fn new_slice_dst(len: usize, init: I) -> Self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | let init = |ptr| ::core::result::Result::<(), Void>::Ok(init(ptr)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | match >::try_new_slice_dst(len, init) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | impl_alloc_by_try_alloc!(Arc); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `impl_alloc_by_try_alloc` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:370:9 [INFO] [stdout] | [INFO] [stdout] 366 | unsafe fn try_new_slice_dst(len: usize, init: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 370 | Box::try_new_slice_dst(len, init).map(Into::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: aborting due to 6 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `slice-dst` (lib) due to 7 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a129e529906670ddc29267652b2edeee06c8d49ec1b574648b7a15908f71a060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a129e529906670ddc29267652b2edeee06c8d49ec1b574648b7a15908f71a060", kill_on_drop: false }` [INFO] [stdout] a129e529906670ddc29267652b2edeee06c8d49ec1b574648b7a15908f71a060