[INFO] fetching crate cursed 0.0.1... [INFO] checking cursed-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cursed 0.0.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cursed 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 cursed 0.0.1 [INFO] finished tweaking crates.io crate cursed 0.0.1 [INFO] tweaked toml for crates.io crate cursed 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 32 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.12) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.3) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [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] 648d59fb86c2607ca4c1be0b24c6d46eeaf223d320f40f76778ec939a11d4d75 [INFO] running `Command { std: "docker" "start" "-a" "648d59fb86c2607ca4c1be0b24c6d46eeaf223d320f40f76778ec939a11d4d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "648d59fb86c2607ca4c1be0b24c6d46eeaf223d320f40f76778ec939a11d4d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648d59fb86c2607ca4c1be0b24c6d46eeaf223d320f40f76778ec939a11d4d75", kill_on_drop: false }` [INFO] [stdout] 648d59fb86c2607ca4c1be0b24c6d46eeaf223d320f40f76778ec939a11d4d75 [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] 2c837bd243345fe940d4ce74241a26838ecf2f6a041eabd6f1dcb23c88d9efd7 [INFO] running `Command { std: "docker" "start" "-a" "2c837bd243345fe940d4ce74241a26838ecf2f6a041eabd6f1dcb23c88d9efd7", kill_on_drop: false }` [INFO] [stderr] Checking cursed v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `exception` [INFO] [stdout] --> src/vec.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception` [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception` [INFO] [stdout] --> src/vec.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception` [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadSafePtr` is never constructed [INFO] [stdout] --> src/vec.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct ThreadSafePtr(*const T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/exception.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | let c_str = CString::new(string)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | Ok(Exception(NonNull::new(c_str.into_raw()).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sync.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(item: T) -> ArcPtr { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | ArcPtr::from(Arc::new(item)) [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/sync.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn nullable_arc(thing: T) -> Nullable> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Nullable::from(ArcPtr::new(thing)) [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/vec.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 24 | let x = self.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | match x.1.downcast() { [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/vec.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 69 | let typed_void = self.0.write().pop()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Some(typed_void.resolve()) [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/vec.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 75 | let guard = self.0.read(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let typed_void = guard.get(index)?; [INFO] [stdout] 77 | Some(typed_void.resolve()) [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/vec.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 102 | fn iter(&self, f: F) -> O [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | f(self.vec.read().iter()) [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/vec.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 126 | let guard = self.vec.read(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let item = guard.get(index)?; [INFO] [stdout] 128 | Some(Arc::clone(&item)) [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/vec.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | self.0.pop().and_then(|v| v.downcast().ok()) [INFO] [stdout] | - ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vec.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | self.0.get(index).and_then(|v| v.downcast().ok()) [INFO] [stdout] | - ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vec.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn into_raw(self) -> *const Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Box::into_raw(Box::new(self.0)) as *const _ [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] warning: fields `field1` and `field2` are never read [INFO] [stdout] --> src/nullable.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | struct TestStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 46 | field1: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | field2: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadSafePtr` is never constructed [INFO] [stdout] --> src/vec.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct ThreadSafePtr(*const T); [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/exception.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | let c_str = CString::new(string)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | Ok(Exception(NonNull::new(c_str.into_raw()).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sync.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(item: T) -> ArcPtr { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | ArcPtr::from(Arc::new(item)) [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/sync.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn nullable_arc(thing: T) -> Nullable> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | Nullable::from(ArcPtr::new(thing)) [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/vec.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 24 | let x = self.clone(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | match x.1.downcast() { [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/vec.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 69 | let typed_void = self.0.write().pop()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Some(typed_void.resolve()) [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/vec.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 75 | let guard = self.0.read(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let typed_void = guard.get(index)?; [INFO] [stdout] 77 | Some(typed_void.resolve()) [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/vec.rs:106:11 [INFO] [stdout] | [INFO] [stdout] 102 | fn iter(&self, f: F) -> O [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | f(self.vec.read().iter()) [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/vec.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 126 | let guard = self.vec.read(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let item = guard.get(index)?; [INFO] [stdout] 128 | Some(Arc::clone(&item)) [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/vec.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | self.0.pop().and_then(|v| v.downcast().ok()) [INFO] [stdout] | - ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vec.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | self.0.get(index).and_then(|v| v.downcast().ok()) [INFO] [stdout] | - ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vec.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn into_raw(self) -> *const Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Box::into_raw(Box::new(self.0)) as *const _ [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] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | pub extern "C" fn vec_new(ty: TypeId) -> $crate::nullable::Nullable { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:285:61 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:299:68 [INFO] [stdout] | [INFO] [stdout] 299 | pub extern "C" fn vec_debug_print(handle: *mut RawVec, ty: TypeId) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | pub extern "C" fn vec_new(ty: TypeId) -> $crate::nullable::Nullable { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:285:61 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:299:68 [INFO] [stdout] | [INFO] [stdout] 299 | pub extern "C" fn vec_debug_print(handle: *mut RawVec, ty: TypeId) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (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/vec.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 364 | let mut vec = AnyVec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | vec.push::("hello".into()); [INFO] [stdout] 366 | assert_eq!(*vec.get::(0).unwrap().unwrap(), "hello") [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 12 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cursed` (lib) due to 12 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cursed` (lib test) due to 13 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c837bd243345fe940d4ce74241a26838ecf2f6a041eabd6f1dcb23c88d9efd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c837bd243345fe940d4ce74241a26838ecf2f6a041eabd6f1dcb23c88d9efd7", kill_on_drop: false }` [INFO] [stdout] 2c837bd243345fe940d4ce74241a26838ecf2f6a041eabd6f1dcb23c88d9efd7