[INFO] fetching crate tc-chain 0.5.0... [INFO] checking tc-chain-0.5.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tc-chain 0.5.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate tc-chain 0.5.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tc-chain 0.5.0 [INFO] finished tweaking crates.io crate tc-chain 0.5.0 [INFO] tweaked toml for crates.io crate tc-chain 0.5.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 169 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding attribute-derive v0.6.1 (available: v0.10.1) [INFO] [stderr] Adding attribute-derive-macro v0.6.1 (available: v0.10.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding ds-ext v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.30) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding lru v0.7.8 (available: v0.12.4) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding proc-macro-utils v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding quick-xml v0.18.1 (available: v0.36.2) [INFO] [stderr] Adding quote-use v0.7.2 (available: v0.8.4) [INFO] [stderr] Adding quote-use-macros v0.7.2 (available: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc7e02adac01cb2a8818c2f17645f91617086221fe62c8841c41abfbbe840142 [INFO] running `Command { std: "docker" "start" "-a" "fc7e02adac01cb2a8818c2f17645f91617086221fe62c8841c41abfbbe840142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc7e02adac01cb2a8818c2f17645f91617086221fe62c8841c41abfbbe840142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7e02adac01cb2a8818c2f17645f91617086221fe62c8841c41abfbbe840142", kill_on_drop: false }` [INFO] [stdout] fc7e02adac01cb2a8818c2f17645f91617086221fe62c8841c41abfbbe840142 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b72db99478a696c003d2ebf11800cae2f934f3f04065f14d5dea1a4f9df218c [INFO] running `Command { std: "docker" "start" "-a" "7b72db99478a696c003d2ebf11800cae2f934f3f04065f14d5dea1a4f9df218c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Checking safecast v0.2.3 [INFO] [stderr] Checking get-size v0.1.4 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking collate v0.4.2 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling attribute-derive v0.6.1 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling get-size-derive v0.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ds-ext v0.2.0 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking destream v0.8.0 [INFO] [stderr] Checking async-hash v0.5.4 [INFO] [stderr] Checking email-address-parser v2.0.0 [INFO] [stderr] Checking handlebars v6.1.0 [INFO] [stderr] Checking hr-id v0.6.0 [INFO] [stderr] Checking tbon v0.6.0 [INFO] [stderr] Checking number-general v0.12.0 [INFO] [stderr] Checking txn_lock v0.10.0 [INFO] [stderr] Checking pathlink v0.3.0 [INFO] [stderr] Checking freqfs v0.10.0 [INFO] [stderr] Checking txfs v0.4.0 [INFO] [stderr] Checking tc-error v0.12.0 [INFO] [stderr] Checking tcgeneric v0.11.0 [INFO] [stderr] Checking tc-value v0.13.1 [INFO] [stderr] Checking tc-transact v0.21.1 [INFO] [stderr] Checking tc-scalar v0.5.0 [INFO] [stderr] Checking tc-collection v0.5.0 [INFO] [stderr] Checking tc-chain v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `txn_lock::guard::TxnReadGuard` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/history.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 185 | pub async fn replicate(&self, txn: &State::Txn, subject: &T, other: Self) -> TCResult<()> [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let (latest, other_latest) = [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 198 | try_join!(self.latest.read(*txn.id()), other.latest.read(*txn.id()))?; [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | let (block, other) = try_join!(self.read_block(i), other.read_block(i))?; [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | let (mut dest, source) = try_join!( [INFO] [stdout] | ______________________________________- [INFO] [stdout] | |______________________________________| [INFO] [stdout] | |______________________________________| [INFO] [stdout] | |______________________________________| [INFO] [stdout] | |______________________________________| [INFO] [stdout] 228 | | self.write_block(*latest) [INFO] [stdout] 229 | | .map_err(|cause| internal!("missing chain block {}: {cause}", *latest)), [INFO] [stdout] 230 | | other [INFO] [stdout] 231 | | .read_block(*latest) [INFO] [stdout] 232 | | .map_err(|cause| bad_request!("invalid source Chain: {cause}")) [INFO] [stdout] 233 | | )?; [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] | 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 `txn_lock::guard::TxnReadGuard` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/history.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 185 | pub async fn replicate(&self, txn: &State::Txn, subject: &T, other: Self) -> TCResult<()> [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | let (latest, other_latest) = [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 198 | try_join!(self.latest.read(*txn.id()), other.latest.read(*txn.id()))?; [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | let (block, other) = try_join!(self.read_block(i), other.read_block(i))?; [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] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | let (mut dest, source) = try_join!( [INFO] [stdout] | ______________________________________- [INFO] [stdout] | |______________________________________| [INFO] [stdout] | |______________________________________| [INFO] [stdout] | |______________________________________| [INFO] [stdout] | |______________________________________| [INFO] [stdout] 228 | | self.write_block(*latest) [INFO] [stdout] 229 | | .map_err(|cause| internal!("missing chain block {}: {cause}", *latest)), [INFO] [stdout] 230 | | other [INFO] [stdout] 231 | | .read_block(*latest) [INFO] [stdout] 232 | | .map_err(|cause| bad_request!("invalid source Chain: {cause}")) [INFO] [stdout] 233 | | )?; [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] | 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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tc-chain` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tc-chain` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "7b72db99478a696c003d2ebf11800cae2f934f3f04065f14d5dea1a4f9df218c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b72db99478a696c003d2ebf11800cae2f934f3f04065f14d5dea1a4f9df218c", kill_on_drop: false }` [INFO] [stdout] 7b72db99478a696c003d2ebf11800cae2f934f3f04065f14d5dea1a4f9df218c