[INFO] fetching crate tcp-server 0.2.2... [INFO] checking tcp-server-0.2.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tcp-server 0.2.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate tcp-server 0.2.2 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 tcp-server 0.2.2 [INFO] finished tweaking crates.io crate tcp-server 0.2.2 [INFO] tweaked toml for crates.io crate tcp-server 0.2.2 written to /workspace/builds/worker-0-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 142 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding tcp-client v0.1.1 (latest: v0.2.0) [INFO] [stderr] Adding tcp-handler v0.5.3 (latest: v1.0.1) [INFO] [stderr] Adding variable-len-reader v2.4.0 (latest: v3.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c230ba78a97b83f78a712beb52026dcbd5a9e5e937dbd1d5e7d785f6b7c6be8d [INFO] running `Command { std: "docker" "start" "-a" "c230ba78a97b83f78a712beb52026dcbd5a9e5e937dbd1d5e7d785f6b7c6be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c230ba78a97b83f78a712beb52026dcbd5a9e5e937dbd1d5e7d785f6b7c6be8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c230ba78a97b83f78a712beb52026dcbd5a9e5e937dbd1d5e7d785f6b7c6be8d", kill_on_drop: false }` [INFO] [stdout] c230ba78a97b83f78a712beb52026dcbd5a9e5e937dbd1d5e7d785f6b7c6be8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4e113183223857aa2d61f2d55c658e37dbe7a52f6ca3111c1025599455351bb0 [INFO] running `Command { std: "docker" "start" "-a" "4e113183223857aa2d61f2d55c658e37dbe7a52f6ca3111c1025599455351bb0", kill_on_drop: false }` [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rustls v0.23.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling webpki-roots v0.26.5 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling rustls-webpki v0.102.7 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rsa v0.9.6 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Compiling reportme v0.2.1 [INFO] [stderr] Compiling variable-len-reader v2.4.0 [INFO] [stderr] Compiling tcp-handler v0.5.3 [INFO] [stderr] Compiling tcp-server v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tcp-client v0.1.1 [INFO] [stderr] warning: tcp-server@0.2.2: ReportMe: https://crateio.xxc-metrics.pages.dev/metrics: Dns Failed: resolve dns name 'crateio.xxc-metrics.pages.dev:443': failed to lookup address information: Temporary failure in name resolution [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:95:79 [INFO] [stdout] | [INFO] [stdout] 94 | async fn handle_error(&self, func: &str, error: Error, _stream: &mut IOStream) -> Result<(), NetworkError> [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | where R: AsyncReadExt + Unpin + Send, W: AsyncWriteExt + Unpin + Send { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 96 | | error!("Failed to handle in {}: {}", func, error); [INFO] [stdout] 97 | | Ok(()) [INFO] [stdout] 98 | | } [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/network.rs:118:45 [INFO] [stdout] | [INFO] [stdout] 114 | let init = server_init(&mut receiver, server.get_identifier(), |v| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | server_start(&mut sender, init).await [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/mutable_cipher.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(cipher: AesCipher) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Self { [INFO] [stdout] 23 | cipher: Mutex::new(Some(cipher)) [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/handler_base.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn new(receiver: R, sender: W, cipher: AesCipher, addr: SocketAddr, version: String) -> 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Self { receiver, sender, cipher: MutableCipher::new(cipher), addr, version } [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: tcp-server@0.2.2: ReportMe: https://crateio.xxc-metrics.pages.dev/metrics: Dns Failed: resolve dns name 'crateio.xxc-metrics.pages.dev:443': failed to lookup address information: Temporary failure in name resolution [INFO] [stderr] [INFO] [stderr] error: could not compile `tcp-server` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:95:79 [INFO] [stdout] | [INFO] [stdout] 94 | async fn handle_error(&self, func: &str, error: Error, _stream: &mut IOStream) -> Result<(), NetworkError> [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | where R: AsyncReadExt + Unpin + Send, W: AsyncWriteExt + Unpin + Send { [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 96 | | error!("Failed to handle in {}: {}", func, error); [INFO] [stdout] 97 | | Ok(()) [INFO] [stdout] 98 | | } [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/network.rs:118:45 [INFO] [stdout] | [INFO] [stdout] 114 | let init = server_init(&mut receiver, server.get_identifier(), |v| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | server_start(&mut sender, init).await [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/mutable_cipher.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) fn new(cipher: AesCipher) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | Self { [INFO] [stdout] 23 | cipher: Mutex::new(Some(cipher)) [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/handler_base.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn new(receiver: R, sender: W, cipher: AesCipher, addr: SocketAddr, version: String) -> 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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | Self { receiver, sender, cipher: MutableCipher::new(cipher), addr, version } [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: tcp-server@0.2.2: ReportMe: https://crateio.xxc-metrics.pages.dev/metrics: Dns Failed: resolve dns name 'crateio.xxc-metrics.pages.dev:443': failed to lookup address information: Temporary failure in name resolution [INFO] [stderr] [INFO] [stderr] error: could not compile `tcp-server` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "4e113183223857aa2d61f2d55c658e37dbe7a52f6ca3111c1025599455351bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e113183223857aa2d61f2d55c658e37dbe7a52f6ca3111c1025599455351bb0", kill_on_drop: false }` [INFO] [stdout] 4e113183223857aa2d61f2d55c658e37dbe7a52f6ca3111c1025599455351bb0