[INFO] fetching crate async-io 2.3.4... [INFO] checking async-io-2.3.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate async-io 2.3.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate async-io 2.3.4 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 async-io 2.3.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate async-io 2.3.4 [INFO] tweaked toml for crates.io crate async-io 2.3.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate async-io 2.3.4 already has a lockfile, it will not be regenerated [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7a7e982f10e143f3aeee8a253dd3505882b1cd5ee70dc913f94fde285c0c9851 [INFO] running `Command { std: "docker" "start" "-a" "7a7e982f10e143f3aeee8a253dd3505882b1cd5ee70dc913f94fde285c0c9851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a7e982f10e143f3aeee8a253dd3505882b1cd5ee70dc913f94fde285c0c9851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a7e982f10e143f3aeee8a253dd3505882b1cd5ee70dc913f94fde285c0c9851", kill_on_drop: false }` [INFO] [stdout] 7a7e982f10e143f3aeee8a253dd3505882b1cd5ee70dc913f94fde285c0c9851 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cebb6498850efb865def6ad74ac10e7ad8df0e5d333ee64088cac2bd25420800 [INFO] running `Command { std: "docker" "start" "-a" "cebb6498850efb865def6ad74ac10e7ad8df0e5d333ee64088cac2bd25420800", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.205 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking timerfd v1.6.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking async-io v2.3.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:686:12 [INFO] [stdout] | [INFO] [stdout] 681 | pub fn new_nonblocking(io: T) -> io::Result> { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 686 | Ok(Async { [INFO] [stdout] | ____________^ [INFO] [stdout] 687 | | source: Reactor::get().insert_io(registration)?, [INFO] [stdout] 688 | | io: Some(io), [INFO] [stdout] 689 | | }) [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/lib.rs:712:20 [INFO] [stdout] | [INFO] [stdout] 711 | fn try_from(value: OwnedFd) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 712 | Async::new(value.into()) [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/lib.rs:721:9 [INFO] [stdout] | [INFO] [stdout] 720 | fn try_from(value: Async) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 721 | value.into_inner().map(Into::into) [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/lib.rs:1435:20 [INFO] [stdout] | [INFO] [stdout] 1433 | pub fn bind>(addr: A) -> io::Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1434 | let addr = addr.into(); [INFO] [stdout] 1435 | Async::new(TcpListener::bind(addr)?) [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/lib.rs:1485:18 [INFO] [stdout] | [INFO] [stdout] 1484 | let res = listener.accept().await.map(|(stream, _)| stream); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1485 | Some((res, listener)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/lib.rs:1589:20 [INFO] [stdout] | [INFO] [stdout] 1587 | pub fn bind>(addr: A) -> io::Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1588 | let addr = addr.into(); [INFO] [stdout] 1589 | Async::new(UdpSocket::bind(addr)?) [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/lib.rs:1771:20 [INFO] [stdout] | [INFO] [stdout] 1769 | pub fn bind>(path: P) -> io::Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1770 | let path = path.as_ref().to_owned(); [INFO] [stdout] 1771 | Async::new(UnixListener::bind(path)?) [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/lib.rs:1821:18 [INFO] [stdout] | [INFO] [stdout] 1820 | let res = listener.accept().await.map(|(stream, _)| stream); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1821 | Some((res, listener)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/lib.rs:1880:12 [INFO] [stdout] | [INFO] [stdout] 1879 | let (stream1, stream2) = UnixStream::pair()?; [INFO] [stdout] | ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1880 | Ok((Async::new(stream1)?, Async::new(stream2)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/lib.rs:1909:20 [INFO] [stdout] | [INFO] [stdout] 1907 | pub fn bind>(path: P) -> io::Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1908 | let path = path.as_ref().to_owned(); [INFO] [stdout] 1909 | Async::new(UnixDatagram::bind(path)?) [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/lib.rs:1942:12 [INFO] [stdout] | [INFO] [stdout] 1941 | let (socket1, socket2) = UnixDatagram::pair()?; [INFO] [stdout] | ------- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1942 | Ok((Async::new(socket1)?, Async::new(socket2)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/driver.rs:175:16 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn block_on(future: impl Future) -> T { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | let span = tracing::trace_span!("async_io::block_on"); [INFO] [stdout] | ---- ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let _enter = span.enter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | let _guard = CallOnDrop(|| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | CACHE.with(|cache| { [INFO] [stdout] | ________________^ [INFO] [stdout] 176 | | // Try grabbing the cached parker and waker. [INFO] [stdout] 177 | | let tmp_cached; [INFO] [stdout] 178 | | let tmp_fresh; [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | }) [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/driver.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 152 | fn create(io_blocked: Arc, unparker: parking::Unparker) -> Waker { [INFO] [stdout] | --------------------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | Waker::from(Arc::new(BlockOnWaker { [INFO] [stdout] | _________________________^ [INFO] [stdout] 154 | | io_blocked, [INFO] [stdout] 155 | | unparker, [INFO] [stdout] 156 | | })) [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/reactor.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 489 | pub(crate) fn readable_owned(handle: Arc>) -> ReadableOwned { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 490 | ReadableOwned(Self::ready(handle, 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/reactor.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 499 | pub(crate) fn writable_owned(handle: Arc>) -> WritableOwned { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | WritableOwned(Self::ready(handle, 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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async-io` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cebb6498850efb865def6ad74ac10e7ad8df0e5d333ee64088cac2bd25420800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cebb6498850efb865def6ad74ac10e7ad8df0e5d333ee64088cac2bd25420800", kill_on_drop: false }` [INFO] [stdout] cebb6498850efb865def6ad74ac10e7ad8df0e5d333ee64088cac2bd25420800