[INFO] fetching crate conquer-once 0.4.0... [INFO] checking conquer-once-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate conquer-once 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate conquer-once 0.4.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 conquer-once 0.4.0 [INFO] finished tweaking crates.io crate conquer-once 0.4.0 [INFO] tweaked toml for crates.io crate conquer-once 0.4.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 2 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 071f34968b7d513d115458541f8d5de83e70ae9e3699ccda6e1f96850e6db7a8 [INFO] running `Command { std: "docker" "start" "-a" "071f34968b7d513d115458541f8d5de83e70ae9e3699ccda6e1f96850e6db7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "071f34968b7d513d115458541f8d5de83e70ae9e3699ccda6e1f96850e6db7a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071f34968b7d513d115458541f8d5de83e70ae9e3699ccda6e1f96850e6db7a8", kill_on_drop: false }` [INFO] [stdout] 071f34968b7d513d115458541f8d5de83e70ae9e3699ccda6e1f96850e6db7a8 [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] c061f527594db0f5799991231b103073dce13db895afc59cf791eb304dbf0630 [INFO] running `Command { std: "docker" "start" "-a" "c061f527594db0f5799991231b103073dce13db895afc59cf791eb304dbf0630", kill_on_drop: false }` [INFO] [stderr] Checking conquer-util v0.3.0 [INFO] [stderr] Checking conquer-once v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | WouldBlock(BlockedState), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 172 | WouldBlock(()), [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/cell.rs:297:45 [INFO] [stdout] | [INFO] [stdout] 297 | self.try_init_inner(&mut || func.take().unwrap()())?; [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/cell.rs:352:55 [INFO] [stdout] | [INFO] [stdout] 352 | let res = self.try_init_inner(&mut || func.take().unwrap()())?; [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/lazy.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub const fn new(init: F) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Self { cell: OnceCell::uninit(), init: ManuallyDrop::new(init) } [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `conquer-once` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/state.rs:172:16 [INFO] [stdout] | [INFO] [stdout] 172 | WouldBlock(BlockedState), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 172 | WouldBlock(()), [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/tests.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 44 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let cell = Arc::clone(&cell); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 47 | | barrier.wait(); [INFO] [stdout] 48 | | assert!(cell.try_init_once(|| id + 1).is_err()); [INFO] [stdout] 49 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/noblock.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | generate_tests_non_blocking!(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `generate_tests_non_blocking` (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/tests.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 76 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let winner = Arc::clone(&winner); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 79 | | assert_eq!(CELL.try_get(), Err(TryGetError::Uninit)); [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | barrier.wait(); [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/noblock.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | generate_tests_non_blocking!(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests_non_blocking` (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/tests.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 44 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let cell = Arc::clone(&cell); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 47 | | barrier.wait(); [INFO] [stdout] 48 | | assert!(cell.try_init_once(|| id + 1).is_err()); [INFO] [stdout] 49 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spin.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | generate_tests_non_blocking!(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests_non_blocking` (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/tests.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 76 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let winner = Arc::clone(&winner); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 79 | | assert_eq!(CELL.try_get(), Err(TryGetError::Uninit)); [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | barrier.wait(); [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spin.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | generate_tests_non_blocking!(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests_non_blocking` (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/tests.rs:246:35 [INFO] [stdout] | [INFO] [stdout] 244 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | let cell = Arc::clone(&cell); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 247 | | barrier.wait(); [INFO] [stdout] 248 | | // all threads block and have to wait for the main thread to [INFO] [stdout] 249 | | // initialize the cell [INFO] [stdout] 250 | | let res = cell.get_or_init(|| id + 1); [INFO] [stdout] 251 | | assert_eq!(*res, 0); [INFO] [stdout] 252 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spin.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | generate_tests!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests` (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/tests.rs:278:35 [INFO] [stdout] | [INFO] [stdout] 276 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | let cell = Arc::clone(&cell); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 279 | | barrier.wait(); [INFO] [stdout] 280 | | let _res = cell.get_or_init(|| id + 1); [INFO] [stdout] 281 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/spin.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | generate_tests!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests` (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/tests.rs:346:50 [INFO] [stdout] | [INFO] [stdout] 346 | assert!(std::panic::catch_unwind(|| *PANIC).is_err()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/spin.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | generate_tests!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests` (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/tests.rs:347:50 [INFO] [stdout] | [INFO] [stdout] 347 | assert!(std::panic::catch_unwind(|| *PANIC).is_err()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/spin.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | generate_tests!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests` (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/cell.rs:297:45 [INFO] [stdout] | [INFO] [stdout] 297 | self.try_init_inner(&mut || func.take().unwrap()())?; [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/cell.rs:352:55 [INFO] [stdout] | [INFO] [stdout] 352 | let res = self.try_init_inner(&mut || func.take().unwrap()())?; [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/lazy.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 36 | pub const fn new(init: F) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | Self { cell: OnceCell::uninit(), init: ManuallyDrop::new(init) } [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/tests.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 44 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let cell = Arc::clone(&cell); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 47 | | barrier.wait(); [INFO] [stdout] 48 | | assert!(cell.try_init_once(|| id + 1).is_err()); [INFO] [stdout] 49 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/park.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | generate_tests_non_blocking!(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests_non_blocking` (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/tests.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 76 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let winner = Arc::clone(&winner); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 78 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 79 | | assert_eq!(CELL.try_get(), Err(TryGetError::Uninit)); [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | barrier.wait(); [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/park.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | generate_tests_non_blocking!(); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests_non_blocking` (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/tests.rs:246:35 [INFO] [stdout] | [INFO] [stdout] 244 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | let cell = Arc::clone(&cell); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 247 | | barrier.wait(); [INFO] [stdout] 248 | | // all threads block and have to wait for the main thread to [INFO] [stdout] 249 | | // initialize the cell [INFO] [stdout] 250 | | let res = cell.get_or_init(|| id + 1); [INFO] [stdout] 251 | | assert_eq!(*res, 0); [INFO] [stdout] 252 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/park.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | generate_tests!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests` (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/tests.rs:278:35 [INFO] [stdout] | [INFO] [stdout] 276 | let barrier = Arc::clone(&barrier); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | let cell = Arc::clone(&cell); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 278 | thread::spawn(move || { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 279 | | barrier.wait(); [INFO] [stdout] 280 | | let _res = cell.get_or_init(|| id + 1); [INFO] [stdout] 281 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/park.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | generate_tests!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests` (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/tests.rs:346:50 [INFO] [stdout] | [INFO] [stdout] 346 | assert!(std::panic::catch_unwind(|| *PANIC).is_err()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/park.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | generate_tests!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests` (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/tests.rs:347:50 [INFO] [stdout] | [INFO] [stdout] 347 | assert!(std::panic::catch_unwind(|| *PANIC).is_err()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/park.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | generate_tests!(); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_tests` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `conquer-once` (lib test) due to 18 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c061f527594db0f5799991231b103073dce13db895afc59cf791eb304dbf0630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c061f527594db0f5799991231b103073dce13db895afc59cf791eb304dbf0630", kill_on_drop: false }` [INFO] [stdout] c061f527594db0f5799991231b103073dce13db895afc59cf791eb304dbf0630