[INFO] fetching crate nmstatectl 2.2.36... [INFO] checking nmstatectl-2.2.36 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate nmstatectl 2.2.36 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate nmstatectl 2.2.36 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 nmstatectl 2.2.36 [INFO] finished tweaking crates.io crate nmstatectl 2.2.36 [INFO] tweaked toml for crates.io crate nmstatectl 2.2.36 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate nmstatectl 2.2.36 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e9c5d47aeead23892099a1226a73a1470eb921236d5977ac5aa00f203ac23edd [INFO] running `Command { std: "docker" "start" "-a" "e9c5d47aeead23892099a1226a73a1470eb921236d5977ac5aa00f203ac23edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9c5d47aeead23892099a1226a73a1470eb921236d5977ac5aa00f203ac23edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c5d47aeead23892099a1226a73a1470eb921236d5977ac5aa00f203ac23edd", kill_on_drop: false }` [INFO] [stdout] e9c5d47aeead23892099a1226a73a1470eb921236d5977ac5aa00f203ac23edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0ba5b8230c9cec002c39fa397aa4a1733ecc9e64bbceed7d610fc0b0ee06ecf0 [INFO] running `Command { std: "docker" "start" "-a" "0ba5b8230c9cec002c39fa397aa4a1733ecc9e64bbceed7d610fc0b0ee06ecf0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking nb-connect v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking netlink-packet-generic v0.3.3 [INFO] [stderr] Checking netlink-packet-route v0.19.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling zbus_macros v1.9.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zvariant_derive v2.10.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking netlink-sys v0.8.6 [INFO] [stderr] Checking netlink-proto v0.11.3 [INFO] [stderr] Checking genetlink v0.2.5 [INFO] [stderr] Checking mptcp-pm v0.1.3 [INFO] [stderr] Checking ethtool v0.2.5 [INFO] [stderr] Checking rtnetlink v0.14.1 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking zvariant v2.10.0 [INFO] [stderr] Checking toml_edit v0.22.21 [INFO] [stderr] Checking nispor v1.2.19 [INFO] [stderr] Checking zbus v1.9.3 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking nmstate v2.2.36 [INFO] [stderr] Checking nmstatectl v2.2.36 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `NetworkState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> apply.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 266 | net_state: NetworkState, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | ) -> Result { [INFO] [stdout] 268 | let mut cur_state = NetworkState::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / tokio::select! { [INFO] [stdout] 278 | | _ = ctrlc_stream.recv() => { [INFO] [stdout] 279 | | rollback("")?; [INFO] [stdout] 280 | | Err("Interrupted by SIGINT".into()) [INFO] [stdout] ... | [INFO] [stdout] 285 | | } [INFO] [stdout] 286 | | } [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] | [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 `NetworkState` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> apply.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 266 | net_state: NetworkState, [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 267 | ) -> Result { [INFO] [stdout] 268 | let mut cur_state = NetworkState::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | / tokio::select! { [INFO] [stdout] 278 | | _ = ctrlc_stream.recv() => { [INFO] [stdout] 279 | | rollback("")?; [INFO] [stdout] 280 | | Err("Interrupted by SIGINT".into()) [INFO] [stdout] ... | [INFO] [stdout] 285 | | } [INFO] [stdout] 286 | | } [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] | [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] --> policy.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 81 | let mut fd = std::fs::File::open(file_path)?; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | match serde_yaml::from_str(&content) { [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> policy.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 81 | let mut fd = std::fs::File::open(file_path)?; [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | match serde_yaml::from_str(&content) { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nmstatectl` (bin "nmstatectl") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nmstatectl` (bin "nmstatectl" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0ba5b8230c9cec002c39fa397aa4a1733ecc9e64bbceed7d610fc0b0ee06ecf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba5b8230c9cec002c39fa397aa4a1733ecc9e64bbceed7d610fc0b0ee06ecf0", kill_on_drop: false }` [INFO] [stdout] 0ba5b8230c9cec002c39fa397aa4a1733ecc9e64bbceed7d610fc0b0ee06ecf0