[INFO] fetching crate pebble-skip 0.0.1... [INFO] checking pebble-skip-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pebble-skip 0.0.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate pebble-skip 0.0.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 pebble-skip 0.0.1 [INFO] finished tweaking crates.io crate pebble-skip 0.0.1 [INFO] tweaked toml for crates.io crate pebble-skip 0.0.1 written to /workspace/builds/worker-4-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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6719d1227389910151cabab128fb187d1ffaf0df4266d45bca167eefe3acefb2 [INFO] running `Command { std: "docker" "start" "-a" "6719d1227389910151cabab128fb187d1ffaf0df4266d45bca167eefe3acefb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6719d1227389910151cabab128fb187d1ffaf0df4266d45bca167eefe3acefb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6719d1227389910151cabab128fb187d1ffaf0df4266d45bca167eefe3acefb2", kill_on_drop: false }` [INFO] [stdout] 6719d1227389910151cabab128fb187d1ffaf0df4266d45bca167eefe3acefb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1d830233800ebdec99151eef626fc7d0055a379b15cf1933e003deadc802b02f [INFO] running `Command { std: "docker" "start" "-a" "1d830233800ebdec99151eef626fc7d0055a379b15cf1933e003deadc802b02f", kill_on_drop: false }` [INFO] [stderr] Checking debugless-unwrap v0.0.4 [INFO] [stderr] Checking pebble-sys v0.0.1 [INFO] [stderr] Checking unsafe_unwrap v0.1.0 [INFO] [stderr] Checking pebble-skip v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `core::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | intrinsics::drop_in_place, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/lib.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | drop_in_place(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/standard_c/memory.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | intrinsics::drop_in_place, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/standard_c/memory.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | drop_in_place(discarded) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly [INFO] [stdout] --> src/standard_c/memory.rs:148:2 [INFO] [stdout] | [INFO] [stdout] 148 | drop_in_place(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit_extra` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(maybe_uninit_extra)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `maybe_uninit_ref` has been stable since 1.55.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(maybe_uninit_ref)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsCStr` is never used [INFO] [stdout] --> src/standard_c/mod.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | trait AsCStr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/user_interface/layers.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Layer(pub(crate) Handle<'static, sysLayer>, PhantomData); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Layer((), PhantomData); [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/lib.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 128 | pub unsafe fn downcast_unchecked>(r#box: Self) -> Box<'a, U> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | Box::from_raw(&mut *(Box::leak(r#box) as *mut _ as *mut U)) [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/foundation/resources.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 30 | let mut buffer = Box::new_buffer_uninit(size)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok(Box::assume_init(buffer)) [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/user_interface/window/mod.rs:177:6 [INFO] [stdout] | [INFO] [stdout] 87 | window_handlers: WindowHandlers, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let window_data = Box::new(WindowData { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | Ok(Self(Handle::new(raw_window), PhantomData)) [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] | [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/user_interface/window/mod.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 99 | .map_err(|window_data| WindowCreationError::<_, _, _, _, T> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | window_handlers: Box::into_inner(unsafe { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 101 | | Box::downcast_unchecked(window_data.window_handlers) [INFO] [stdout] 102 | | }), [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/user_interface/window/number_window.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | |wrapper| Box::into_inner(unsafe { Box::downcast_unchecked(wrapper.0) }), [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 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pebble-skip` (lib) due to 6 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1d830233800ebdec99151eef626fc7d0055a379b15cf1933e003deadc802b02f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d830233800ebdec99151eef626fc7d0055a379b15cf1933e003deadc802b02f", kill_on_drop: false }` [INFO] [stdout] 1d830233800ebdec99151eef626fc7d0055a379b15cf1933e003deadc802b02f