[INFO] fetching crate tf-provider 0.2.2... [INFO] checking tf-provider-0.2.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tf-provider 0.2.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate tf-provider 0.2.2 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 tf-provider 0.2.2 [INFO] finished tweaking crates.io crate tf-provider 0.2.2 [INFO] tweaked toml for crates.io crate tf-provider 0.2.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate tf-provider 0.2.2 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2d36a51fff2fd2096ff0d4b9269c8e8c13b9a30c9b4f9f5258250d43dd9e387f [INFO] running `Command { std: "docker" "start" "-a" "2d36a51fff2fd2096ff0d4b9269c8e8c13b9a30c9b4f9f5258250d43dd9e387f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d36a51fff2fd2096ff0d4b9269c8e8c13b9a30c9b4f9f5258250d43dd9e387f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d36a51fff2fd2096ff0d4b9269c8e8c13b9a30c9b4f9f5258250d43dd9e387f", kill_on_drop: false }` [INFO] [stdout] 2d36a51fff2fd2096ff0d4b9269c8e8c13b9a30c9b4f9f5258250d43dd9e387f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a2c69a32f61ffa5344d365641219e770951b42f8566c7c112f515c628abdad65 [INFO] running `Command { std: "docker" "start" "-a" "a2c69a32f61ffa5344d365641219e770951b42f8566c7c112f515c628abdad65", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.38.1 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Checking rcgen v0.13.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Compiling prost-types v0.13.1 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Compiling tonic-build v0.12.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Compiling tf-provider v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking tonic v0.12.1 [INFO] [stdout] error: this value of type `std::sync::Arc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let server = Arc::new(Server::new(name, provider)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | / try_join!( [INFO] [stdout] 228 | | serve.map_err(|e| anyhow!(e)), [INFO] [stdout] 229 | | info(&endpoint, tls_config.cert.as_slice()), [INFO] [stdout] 230 | | )?; [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] | [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 `std::sync::Arc` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let server = Arc::new(Server::new(name, provider)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | / try_join!( [INFO] [stdout] 228 | | serve.map_err(|e| anyhow!(e)), [INFO] [stdout] 229 | | info(&endpoint, tls_config.cert.as_slice()), [INFO] [stdout] 230 | | )?; [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] | [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 41 | let output = async_stream::try_stream! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 42 | | loop { [INFO] [stdout] 43 | | / tokio::select!{ [INFO] [stdout] 44 | | | Some(conn_info) = stream.next() => match conn_info { [INFO] [stdout] | | | ^^^^^^^^^ [INFO] [stdout] 45 | | | Ok(conn_info) => { [INFO] [stdout] 46 | | | writeln!(io.stdout(), "relay {}", conn_info).unwrap_or(()); [INFO] [stdout] ... | | [INFO] [stdout] 53 | | | _ = token.cancelled() => break, [INFO] [stdout] 54 | | | }; [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] | | |_________________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] 55 | | | } [INFO] [stdout] 56 | | | }; [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] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/plugin.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 41 | let output = async_stream::try_stream! { [INFO] [stdout] | _______________________________- [INFO] [stdout] 42 | | loop { [INFO] [stdout] 43 | | / tokio::select!{ [INFO] [stdout] 44 | | | Some(conn_info) = stream.next() => match conn_info { [INFO] [stdout] | | | ^^^^^^^^^ [INFO] [stdout] 45 | | | Ok(conn_info) => { [INFO] [stdout] 46 | | | writeln!(io.stdout(), "relay {}", conn_info).unwrap_or(()); [INFO] [stdout] ... | | [INFO] [stdout] 53 | | | _ = token.cancelled() => break, [INFO] [stdout] 54 | | | }; [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] | | |_________________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] 55 | | | } [INFO] [stdout] 56 | | | }; [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] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/value.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 119 | let mut iter = vec.into_iter(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | if let Some(value) = iter.next() { [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 `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/value.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 119 | let mut iter = vec.into_iter(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | if let Some(value) = iter.next() { [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tf-provider` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tf-provider` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a2c69a32f61ffa5344d365641219e770951b42f8566c7c112f515c628abdad65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c69a32f61ffa5344d365641219e770951b42f8566c7c112f515c628abdad65", kill_on_drop: false }` [INFO] [stdout] a2c69a32f61ffa5344d365641219e770951b42f8566c7c112f515c628abdad65