[INFO] fetching crate lockfree 0.5.1... [INFO] building lockfree-0.5.1 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate lockfree 0.5.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate lockfree 0.5.1 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lockfree 0.5.1 [INFO] finished tweaking crates.io crate lockfree 0.5.1 [INFO] tweaked toml for crates.io crate lockfree 0.5.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5c0701e192d0c0bfe950d2b2c8cc9a84d8ad0013bf6d341df366fe0531132e5 [INFO] running `Command { std: "docker" "start" "-a" "f5c0701e192d0c0bfe950d2b2c8cc9a84d8ad0013bf6d341df366fe0531132e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5c0701e192d0c0bfe950d2b2c8cc9a84d8ad0013bf6d341df366fe0531132e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5c0701e192d0c0bfe950d2b2c8cc9a84d8ad0013bf6d341df366fe0531132e5", kill_on_drop: false }` [INFO] [stdout] f5c0701e192d0c0bfe950d2b2c8cc9a84d8ad0013bf6d341df366fe0531132e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f80e62247e2703dd98ed87d119a9b4c7c070274ccebf9a743610768aa2e6eef [INFO] running `Command { std: "docker" "start" "-a" "6f80e62247e2703dd98ed87d119a9b4c7c070274ccebf9a743610768aa2e6eef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling owned-alloc v0.2.0 [INFO] [stderr] Compiling lockfree v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:325:48 [INFO] [stdout] | [INFO] [stdout] 325 | mem::{forget, replace, uninitialized}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/removable.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | mem::{replace, uninitialized, ManuallyDrop}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/removable.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | item: ManuallyDrop::new(unsafe { uninitialized() }), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/map/bucket.rs:555:31 [INFO] [stdout] | [INFO] [stdout] 555 | let res = self.atomic.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/tls/mod.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | while let Some(mut table) = tables.pop() { [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `table` calls a custom destructor [INFO] [stdout] | `table` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] note: `table` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/tls/mod.rs:366:37 [INFO] [stdout] | [INFO] [stdout] 366 | while let Some(mut table) = tables.pop() { [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `table` calls a custom destructor [INFO] [stdout] | `table` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] note: `table` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/map/table.rs:191:27 [INFO] [stdout] | [INFO] [stdout] 178 | let mut bucket = OwnedAlloc::from_raw(bucket_nnptr); [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | `bucket` calls a custom destructor [INFO] [stdout] | `bucket` will be dropped later as of Edition 2024 [INFO] [stdout] 179 | bucket.take_first(); [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | match bucket.insert(inserter, pause, incin) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | } else { [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> src/map/guard.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | / impl Drop for Removed { [INFO] [stdout] 253 | | fn drop(&mut self) { [INFO] [stdout] 254 | | // We own the allocation. This must be safe. [INFO] [stdout] 255 | | let alloc = unsafe { OwnedAlloc::from_raw(self.nnptr) }; [INFO] [stdout] ... | [INFO] [stdout] 258 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `bucket` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/map/mod.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | while let Some(mut table) = tables.pop() { [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `table` calls a custom destructor [INFO] [stdout] | `table` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] note: `table` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/map/mod.rs:411:37 [INFO] [stdout] | [INFO] [stdout] 411 | while let Some(mut table) = tables.pop() { [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `table` calls a custom destructor [INFO] [stdout] | `table` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 415 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] note: `table` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/channel/spsc.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | match node.message.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | unsafe { OwnedAlloc::from_raw(self.front) }; [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | unsafe { OwnedAlloc::from_raw(self.front) }; [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/channel/mpsc.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | match node.message.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | OwnedAlloc::from_raw(self.front); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | OwnedAlloc::from_raw(self.front); [INFO] [stdout] | -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/owned-alloc-0.2.0/src/owned.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Drop for OwnedAlloc [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | T: ?Sized, [INFO] [stdout] | |______________^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pause` is never read [INFO] [stdout] --> src/map/guard.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ReadGuard<'map, K, V> [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pause: Pause<'map, Garbage>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `compare_exchange`'s failure ordering may not be `Release` or `AcqRel`, since a failed `compare_exchange` does not result in a write [INFO] [stdout] --> src/tls/mod.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | Release, [INFO] [stdout] | ^^^^^^^ invalid failure ordering [INFO] [stdout] | [INFO] [stdout] = help: consider using `Acquire` or `Relaxed` failure ordering instead [INFO] [stdout] = note: `#[deny(invalid_atomic_ordering)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/queue.rs:261:1 [INFO] [stdout] | [INFO] [stdout] 261 | / make_shared_incin! { [INFO] [stdout] 262 | | { "[`Queue`]" } [INFO] [stdout] 263 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 264 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/stack.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / make_shared_incin! { [INFO] [stdout] 205 | | { "[`Stack`]" } [INFO] [stdout] 206 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 207 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/map/mod.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | / make_shared_incin! { [INFO] [stdout] 502 | | { "[`Map`]" } [INFO] [stdout] 503 | | pub SharedIncin of Garbage [INFO] [stdout] 504 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/channel/spmc.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | / make_shared_incin! { [INFO] [stdout] 330 | | { "`spmc::Receiver`" } [INFO] [stdout] 331 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 332 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Arc>>>` does not permit being left uninitialized [INFO] [stdout] --> src/incin.rs:332:50 [INFO] [stdout] | [INFO] [stdout] 332 | replace(&mut self.inner, uninitialized()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/channel/mpmc.rs:446:1 [INFO] [stdout] | [INFO] [stdout] 446 | / make_shared_incin! { [INFO] [stdout] 447 | | { "`mpmc::Receiver`" } [INFO] [stdout] 448 | | pub SharedIncin of OwnedAlloc> [INFO] [stdout] 449 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `std::sync::Arc>>>` must be non-null [INFO] [stdout] = note: because `std::ptr::NonNull>>>>` must be non-null [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: this warning originates in the macro `make_shared_incin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lockfree` (lib) due to 8 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f80e62247e2703dd98ed87d119a9b4c7c070274ccebf9a743610768aa2e6eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f80e62247e2703dd98ed87d119a9b4c7c070274ccebf9a743610768aa2e6eef", kill_on_drop: false }` [INFO] [stdout] 6f80e62247e2703dd98ed87d119a9b4c7c070274ccebf9a743610768aa2e6eef