[INFO] fetching crate tokio-rustls-wasi 0.25.0-alpha... [INFO] checking tokio-rustls-wasi-0.25.0-alpha against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tokio-rustls-wasi 0.25.0-alpha into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate tokio-rustls-wasi 0.25.0-alpha 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate tokio-rustls-wasi 0.25.0-alpha [INFO] finished tweaking crates.io crate tokio-rustls-wasi 0.25.0-alpha [INFO] tweaked toml for crates.io crate tokio-rustls-wasi 0.25.0-alpha written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate tokio-rustls-wasi 0.25.0-alpha 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-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] 2c39b40d8f7d81ccf0c0ff0f3ce1678a793358e3892db6cde762dd3b0ffcddda [INFO] running `Command { std: "docker" "start" "-a" "2c39b40d8f7d81ccf0c0ff0f3ce1678a793358e3892db6cde762dd3b0ffcddda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c39b40d8f7d81ccf0c0ff0f3ce1678a793358e3892db6cde762dd3b0ffcddda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c39b40d8f7d81ccf0c0ff0f3ce1678a793358e3892db6cde762dd3b0ffcddda", kill_on_drop: false }` [INFO] [stdout] 2c39b40d8f7d81ccf0c0ff0f3ce1678a793358e3892db6cde762dd3b0ffcddda [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] 3c69c9e796dd9402f3fa116c4f7fd99f272c758f7d759c404731deb0969c952d [INFO] running `Command { std: "docker" "start" "-a" "3c69c9e796dd9402f3fa116c4f7fd99f272c758f7d759c404731deb0969c952d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking rustls-pki-types v1.1.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling rustls v0.22.1 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking webpki-roots v0.26.0 [INFO] [stderr] Checking rustls-pemfile v2.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.42 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking rustls-webpki v0.102.0 [INFO] [stderr] Checking tokio-rustls-wasi v0.25.0-alpha (/opt/rustwide/workdir) [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:139:17 [INFO] [stdout] | [INFO] [stdout] 119 | stream: IO, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let mut session = match ClientConnection::new(self.inner.clone(), domain) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Ok(session) => session, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 128 | Err(error) => { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | Connect(MidHandshake::Handshaking(client::TlsStream { [INFO] [stdout] | _________________^ [INFO] [stdout] 140 | | io: stream, [INFO] [stdout] 141 | | [INFO] [stdout] 142 | | #[cfg(not(feature = "early-data"))] [INFO] [stdout] ... | [INFO] [stdout] 155 | | session, [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] = 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:187:16 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn accept_with(&self, stream: IO, f: F) -> Accept [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] ... [INFO] [stdout] 174 | let mut session = match ServerConnection::new(self.inner.clone()) { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | Ok(session) => session, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | Err(error) => { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | Accept(MidHandshake::Handshaking(server::TlsStream { [INFO] [stdout] | ________________^ [INFO] [stdout] 188 | | session, [INFO] [stdout] 189 | | io: stream, [INFO] [stdout] 190 | | state: TlsState::Stream, [INFO] [stdout] 191 | | })) [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:208:17 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new(acceptor: rustls::server::Acceptor, io: IO) -> Self { [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] ... [INFO] [stdout] 208 | io: Some(io), [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:333:16 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn into_stream_with(self, config: Arc, f: F) -> Accept [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | let mut conn = match self.accepted.into_connection(config) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | Ok(conn) => conn, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | Err(error) => { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | Accept(MidHandshake::Handshaking(server::TlsStream { [INFO] [stdout] | ________________^ [INFO] [stdout] 334 | | session: conn, [INFO] [stdout] 335 | | io: self.io, [INFO] [stdout] 336 | | state: TlsState::Stream, [INFO] [stdout] 337 | | })) [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/common/mod.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 98 | Err(err) => return Poll::Ready(Err(err)), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Poll::Ready(Ok(n)) [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/common/mod.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 130 | f: impl FnOnce(Pin<&mut T>, &mut Context<'_>) -> Poll>, [INFO] [stdout] | -------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | ) -> io::Result { [INFO] [stdout] 132 | match f(Pin::new(self.io), self.cx) { [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/common/handshake.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 39 | let mut stream = match mem::replace(this, MidHandshake::End) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | MidHandshake::Handshaking(stream) => stream, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | // Starting the handshake returned an error; fail the future immediately. [INFO] [stdout] 42 | MidHandshake::Error { io, error } => return Poll::Ready(Err((error, io))), [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] ... [INFO] [stdout] 70 | Poll::Ready(Ok(stream)) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-rustls-wasi` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3c69c9e796dd9402f3fa116c4f7fd99f272c758f7d759c404731deb0969c952d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c69c9e796dd9402f3fa116c4f7fd99f272c758f7d759c404731deb0969c952d", kill_on_drop: false }` [INFO] [stdout] 3c69c9e796dd9402f3fa116c4f7fd99f272c758f7d759c404731deb0969c952d