[INFO] fetching crate shredder 0.2.0... [INFO] checking shredder-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate shredder 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate shredder 0.2.0 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 shredder 0.2.0 [INFO] finished tweaking crates.io crate shredder 0.2.0 [INFO] tweaked toml for crates.io crate shredder 0.2.0 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 77 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding parking_lot v0.11.2 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.8.6 (latest: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.2.16 (latest: v0.5.3) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] 4e7a040a290eb1f5e1318e7ce5247ce4e39eacba67a13e0370a88e6b7d01af83 [INFO] running `Command { std: "docker" "start" "-a" "4e7a040a290eb1f5e1318e7ce5247ce4e39eacba67a13e0370a88e6b7d01af83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7a040a290eb1f5e1318e7ce5247ce4e39eacba67a13e0370a88e6b7d01af83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7a040a290eb1f5e1318e7ce5247ce4e39eacba67a13e0370a88e6b7d01af83", kill_on_drop: false }` [INFO] [stdout] 4e7a040a290eb1f5e1318e7ce5247ce4e39eacba67a13e0370a88e6b7d01af83 [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] fa8a956272c00e8b0214f14a8127c30477a0152bb716b4cde840bbd4baaf5a5a [INFO] running `Command { std: "docker" "start" "-a" "fa8a956272c00e8b0214f14a8127c30477a0152bb716b4cde840bbd4baaf5a5a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dynqueue v0.3.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling shredder_derive v0.2.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Checking shredder v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `do_stuff` is never used [INFO] [stdout] --> src/smart_ptr/gc.rs:531:16 [INFO] [stdout] | [INFO] [stdout] 530 | trait NoSize: Scan { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 531 | fn do_stuff(&self); [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/atomic.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 46 | let atomic_ptr = Arc::new(AtomicPtr::new(data_ptr as _)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | atomic_ptr: atomic_ptr.clone(), [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/atomic.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 46 | let atomic_ptr = Arc::new(AtomicPtr::new(data_ptr as _)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | backing_handle: COLLECTOR.new_handle_for_atomic(atomic_ptr), [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/collector/mod.rs:350:24 [INFO] [stdout] | [INFO] [stdout] 334 | let mock_scannable: Box = Box::new(MockAllocation); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 337 | let mock_master_list = ChunkedLinkedList::new(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | let handle_arc = Arc::new(GcHandle { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | InternalGcRef::new(mock_master_list.insert(handle_arc)) [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: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/concurrency/chunked_ll.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | Box::from_raw(new_head); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = Box::from_raw(new_head); [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/scan.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn new(callback: F) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Self { [INFO] [stdout] 122 | scan_callback: Box::new(callback), [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: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `isize` [INFO] [stdout] ... [INFO] [stdout] 69 | test_no_panic_finalize!(isize, 1); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `usize` [INFO] [stdout] ... [INFO] [stdout] 70 | test_no_panic_finalize!(usize, 1); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i8` [INFO] [stdout] ... [INFO] [stdout] 72 | test_no_panic_finalize!(i8, 1); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u8` [INFO] [stdout] ... [INFO] [stdout] 73 | test_no_panic_finalize!(u8, 1); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i16` [INFO] [stdout] ... [INFO] [stdout] 75 | test_no_panic_finalize!(i16, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u16` [INFO] [stdout] ... [INFO] [stdout] 76 | test_no_panic_finalize!(u16, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] ... [INFO] [stdout] 78 | test_no_panic_finalize!(i32, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u32` [INFO] [stdout] ... [INFO] [stdout] 79 | test_no_panic_finalize!(u32, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i64` [INFO] [stdout] ... [INFO] [stdout] 81 | test_no_panic_finalize!(i64, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u64` [INFO] [stdout] ... [INFO] [stdout] 82 | test_no_panic_finalize!(u64, 1); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i128` [INFO] [stdout] ... [INFO] [stdout] 84 | test_no_panic_finalize!(i128, 1); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `u128` [INFO] [stdout] ... [INFO] [stdout] 85 | test_no_panic_finalize!(u128, 1); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `f32` [INFO] [stdout] ... [INFO] [stdout] 87 | test_no_panic_finalize!(f32, 1.0); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `f64` [INFO] [stdout] ... [INFO] [stdout] 88 | test_no_panic_finalize!(f64, 1.0); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/std_impls/value_types.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | forget(v); [INFO] [stdout] | ^^^^^^^-^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Instant` [INFO] [stdout] ... [INFO] [stdout] 91 | test_no_panic_finalize!(Instant, Instant::now()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_no_panic_finalize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 63 - forget(v); [INFO] [stdout] 63 + let _ = v; [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/wrappers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn try_borrow(g: GcGuard<'a, RefCell>) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let internal_ref = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { internal_ref }) [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/wrappers.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn try_borrow_mut(g: GcGuard<'a, RefCell>) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let internal_ref = gc_refcell_internals::GcRefMutInt::try_new(g, RefCell::try_borrow_mut) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(Self { internal_ref }) [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/wrappers.rs:153:84 [INFO] [stdout] | [INFO] [stdout] 153 | let internal_guard = gc_mutex_internals::GcMutexGuardInt::new(g, |g| match g.lock() { [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/wrappers.rs:173:71 [INFO] [stdout] | [INFO] [stdout] 173 | gc_mutex_internals::GcMutexGuardInt::try_new(g, |g| match g.try_lock() { [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/wrappers.rs:248:78 [INFO] [stdout] | [INFO] [stdout] 248 | gc_rwlock_internals::GcRwLockReadGuardInternal::new(g, |g| match g.read() { [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/wrappers.rs:269:82 [INFO] [stdout] | [INFO] [stdout] 269 | gc_rwlock_internals::GcRwLockReadGuardInternal::try_new(g, |g| match g.try_read() { [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/wrappers.rs:316:79 [INFO] [stdout] | [INFO] [stdout] 316 | gc_rwlock_internals::GcRwLockWriteGuardInternal::new(g, |g| match g.write() { [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/wrappers.rs:336:83 [INFO] [stdout] | [INFO] [stdout] 336 | gc_rwlock_internals::GcRwLockWriteGuardInternal::try_new(g, |g| match g.try_write() { [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; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shredder` (lib test) due to 13 previous errors; 17 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/atomic.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 46 | let atomic_ptr = Arc::new(AtomicPtr::new(data_ptr as _)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | atomic_ptr: atomic_ptr.clone(), [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/atomic.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 46 | let atomic_ptr = Arc::new(AtomicPtr::new(data_ptr as _)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | backing_handle: COLLECTOR.new_handle_for_atomic(atomic_ptr), [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: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/concurrency/chunked_ll.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | Box::from_raw(new_head); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 167 | let _ = Box::from_raw(new_head); [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/scan.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 120 | pub(crate) fn new(callback: F) -> Self { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Self { [INFO] [stdout] 122 | scan_callback: Box::new(callback), [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/wrappers.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn try_borrow(g: GcGuard<'a, RefCell>) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let internal_ref = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { internal_ref }) [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/wrappers.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub(crate) fn try_borrow_mut(g: GcGuard<'a, RefCell>) -> Result { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let internal_ref = gc_refcell_internals::GcRefMutInt::try_new(g, RefCell::try_borrow_mut) [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(Self { internal_ref }) [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/wrappers.rs:153:84 [INFO] [stdout] | [INFO] [stdout] 153 | let internal_guard = gc_mutex_internals::GcMutexGuardInt::new(g, |g| match g.lock() { [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/wrappers.rs:173:71 [INFO] [stdout] | [INFO] [stdout] 173 | gc_mutex_internals::GcMutexGuardInt::try_new(g, |g| match g.try_lock() { [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/wrappers.rs:248:78 [INFO] [stdout] | [INFO] [stdout] 248 | gc_rwlock_internals::GcRwLockReadGuardInternal::new(g, |g| match g.read() { [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/wrappers.rs:269:82 [INFO] [stdout] | [INFO] [stdout] 269 | gc_rwlock_internals::GcRwLockReadGuardInternal::try_new(g, |g| match g.try_read() { [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/wrappers.rs:316:79 [INFO] [stdout] | [INFO] [stdout] 316 | gc_rwlock_internals::GcRwLockWriteGuardInternal::new(g, |g| match g.write() { [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/wrappers.rs:336:83 [INFO] [stdout] | [INFO] [stdout] 336 | gc_rwlock_internals::GcRwLockWriteGuardInternal::try_new(g, |g| match g.try_write() { [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 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shredder` (lib) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fa8a956272c00e8b0214f14a8127c30477a0152bb716b4cde840bbd4baaf5a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8a956272c00e8b0214f14a8127c30477a0152bb716b4cde840bbd4baaf5a5a", kill_on_drop: false }` [INFO] [stdout] fa8a956272c00e8b0214f14a8127c30477a0152bb716b4cde840bbd4baaf5a5a