[INFO] fetching crate elytra-ping 5.1.0... [INFO] checking elytra-ping-5.1.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate elytra-ping 5.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate elytra-ping 5.1.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate elytra-ping 5.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate elytra-ping 5.1.0 [INFO] tweaked toml for crates.io crate elytra-ping 5.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate elytra-ping 5.1.0 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cab8e058a96018fe6c1fc149510ef6889b13bb3e93a0822409aec026573656af [INFO] running `Command { std: "docker" "start" "-a" "cab8e058a96018fe6c1fc149510ef6889b13bb3e93a0822409aec026573656af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cab8e058a96018fe6c1fc149510ef6889b13bb3e93a0822409aec026573656af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab8e058a96018fe6c1fc149510ef6889b13bb3e93a0822409aec026573656af", kill_on_drop: false }` [INFO] [stdout] cab8e058a96018fe6c1fc149510ef6889b13bb3e93a0822409aec026573656af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f9c9ee70f4b8898d5ff0f9f7c71bb3413899b4c3403914bb71a25797b1425aa [INFO] running `Command { std: "docker" "start" "-a" "0f9c9ee70f4b8898d5ff0f9f7c71bb3413899b4c3403914bb71a25797b1425aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking object v0.32.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking mc-varint v0.1.1 [INFO] [stderr] Checking chrono v0.4.28 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling snafu-derive v0.8.1 [INFO] [stderr] Compiling ctor v0.2.4 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking snafu v0.8.1 [INFO] [stderr] Checking trust-dns-proto v0.23.0 [INFO] [stderr] Checking trust-dns-resolver v0.23.0 [INFO] [stderr] Checking elytra-ping v5.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated enum `protocol::frame::ServerState`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::frame::{Frame, FrameError, ServerState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `protocol::frame::ServerState`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | server_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `protocol::frame::ServerState`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | server_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `protocol::frame::ServerState`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol/frame.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | server_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `protocol::frame::ServerState::Handshake`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol/frame.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | Some(ServerState::Handshake) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `protocol::frame::ServerState::Status`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol/frame.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | Some(ServerState::Status) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `protocol::frame::ServerState`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | pub use self::frame::{Frame, FrameError, ServerState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `protocol::frame::ServerState`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | server_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `protocol::frame::ServerState`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol.rs:212:30 [INFO] [stdout] | [INFO] [stdout] 212 | server_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `protocol::frame::ServerState`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol/frame.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | server_state: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `protocol::frame::ServerState::Handshake`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol/frame.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 113 | Some(ServerState::Handshake) => { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `protocol::frame::ServerState::Status`: Elytra Ping as a SLP server is untested and not supported [INFO] [stdout] --> src/protocol/frame.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | Some(ServerState::Status) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::UdpSocket` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bedrock.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let socket = UdpSocket::bind("0.0.0.0:0") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / tokio::select! { [INFO] [stdout] 209 | | biased; [INFO] [stdout] 210 | | _ = tokio::time::sleep(retry_timeout) => continue, [INFO] [stdout] 211 | | res = attempt_ping(&socket) => response = res, [INFO] [stdout] 212 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `tokio::net::UdpSocket` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bedrock.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let socket = UdpSocket::bind("0.0.0.0:0") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | / tokio::select! { [INFO] [stdout] 209 | | biased; [INFO] [stdout] 210 | | _ = tokio::time::sleep(retry_timeout) => continue, [INFO] [stdout] 211 | | res = attempt_ping(&socket) => response = res, [INFO] [stdout] 212 | | } [INFO] [stdout] | |_________- these local bindings with significant drop implementation may 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `PingError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 160 | let ping = ping_or_timeout((address, port), PING_TIMEOUT).await; [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | match ping { [INFO] [stdout] 162 | Err(err) => panic!("Error: {err} ({err:?})\n{:?}", err.backtrace().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: this value of type `PingError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 171 | let ping = ping_or_timeout((address, port), PING_TIMEOUT).await; [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 172 | match ping { [INFO] [stdout] 173 | Err(err) => panic!("Error: {err} ({err:?})\n{:?}", err.backtrace().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: this value of type `PingError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 183 | let ping = ping_or_timeout((address, port), PING_TIMEOUT).await; [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | match ping { [INFO] [stdout] 185 | Err(err) => panic!("Error: {err} ({err:?})\n{:?}", err.backtrace().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: this value of type `PingError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 195 | let ping = ping_or_timeout((address, port), PING_TIMEOUT).await; [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | match ping { [INFO] [stdout] 197 | Err(err) => panic!("Error: {err} ({err:?})\n{:?}", err.backtrace().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: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elytra-ping` (lib test) due to 6 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elytra-ping` (lib) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f9c9ee70f4b8898d5ff0f9f7c71bb3413899b4c3403914bb71a25797b1425aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f9c9ee70f4b8898d5ff0f9f7c71bb3413899b4c3403914bb71a25797b1425aa", kill_on_drop: false }` [INFO] [stdout] 0f9c9ee70f4b8898d5ff0f9f7c71bb3413899b4c3403914bb71a25797b1425aa