[INFO] fetching crate redhac 0.10.5... [INFO] checking redhac-0.10.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate redhac 0.10.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate redhac 0.10.5 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 redhac 0.10.5 [INFO] finished tweaking crates.io crate redhac 0.10.5 [INFO] tweaked toml for crates.io crate redhac 0.10.5 written to /workspace/builds/worker-2-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 232 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [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 indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] efdb72da65d1c86f22ead9387dd6e2b0edd5a5608163c8e859ae4d85c6dfc467 [INFO] running `Command { std: "docker" "start" "-a" "efdb72da65d1c86f22ead9387dd6e2b0edd5a5608163c8e859ae4d85c6dfc467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efdb72da65d1c86f22ead9387dd6e2b0edd5a5608163c8e859ae4d85c6dfc467", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efdb72da65d1c86f22ead9387dd6e2b0edd5a5608163c8e859ae4d85c6dfc467", kill_on_drop: false }` [INFO] [stdout] efdb72da65d1c86f22ead9387dd6e2b0edd5a5608163c8e859ae4d85c6dfc467 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b2f53e15d764ba656410f86d0c483cd5111f968e3527f9591dd9e38fcc43db60 [INFO] running `Command { std: "docker" "start" "-a" "b2f53e15d764ba656410f86d0c483cd5111f968e3527f9591dd9e38fcc43db60", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking gethostname v0.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling prost-types v0.13.3 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking axum v0.7.7 [INFO] [stderr] Compiling prost-build v0.13.3 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking cached v0.53.1 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Compiling redhac v0.10.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.9 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stdout] error: this value of type `QuorumHealthState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1241:9 [INFO] [stdout] | [INFO] [stdout] 1229 | health_state: Option, [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] ... [INFO] [stdout] 1241 | let health_state = if let Some(health_state) = health_state { [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: this value of type `QuorumHealthState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1241:9 [INFO] [stdout] | [INFO] [stdout] 1229 | health_state: Option, [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] ... [INFO] [stdout] 1241 | let health_state = if let Some(health_state) = health_state { [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: this value of type `HashMap` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quorum.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 206 | tx_quorum: flume::Sender, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | tx_watch: watch::Sender>, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | rx: flume::Receiver, [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | tx_remote: flume::Sender, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | clients_count: usize, [INFO] [stdout] 211 | cache_map: CacheMap, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let mut hosts = HashMap::with_capacity(clients_count); [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 `HashMap` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/quorum.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 206 | tx_quorum: flume::Sender, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | tx_watch: watch::Sender>, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 208 | rx: flume::Receiver, [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | tx_remote: flume::Sender, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 210 | clients_count: usize, [INFO] [stdout] 211 | cache_map: CacheMap, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let mut hosts = HashMap::with_capacity(clients_count); [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 `Uri` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 187 | tx_quorum: Arc>, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | tx_remote: flume::Sender, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | rx_remote_req: flume::Receiver, [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | let uri = Uri::from_str(&host).expect("Unable to build GRPC URI"); [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 `Uri` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 187 | tx_quorum: Arc>, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | tx_remote: flume::Sender, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | rx_remote_req: flume::Receiver, [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | let uri = Uri::from_str(&host).expect("Unable to build GRPC URI"); [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 `redhac` (lib) 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 `redhac` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b2f53e15d764ba656410f86d0c483cd5111f968e3527f9591dd9e38fcc43db60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f53e15d764ba656410f86d0c483cd5111f968e3527f9591dd9e38fcc43db60", kill_on_drop: false }` [INFO] [stdout] b2f53e15d764ba656410f86d0c483cd5111f968e3527f9591dd9e38fcc43db60