[INFO] cloning repository https://github.com/ParkMyCar/cargo-gazelle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ParkMyCar/cargo-gazelle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkMyCar%2Fcargo-gazelle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkMyCar%2Fcargo-gazelle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37f1df5b921ab85f17fcc3d41578804ad6bc7602 [INFO] checking ParkMyCar/cargo-gazelle/37f1df5b921ab85f17fcc3d41578804ad6bc7602 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FParkMyCar%2Fcargo-gazelle" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ParkMyCar/cargo-gazelle 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 git repo https://github.com/ParkMyCar/cargo-gazelle [INFO] finished tweaking git repo https://github.com/ParkMyCar/cargo-gazelle [INFO] tweaked toml for git repo https://github.com/ParkMyCar/cargo-gazelle written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ParkMyCar/cargo-gazelle 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ffbddd9d3b6e7c3ff2f1be590d2440ab806d071376cf5d709d8ab4ab20c88a1b [INFO] running `Command { std: "docker" "start" "-a" "ffbddd9d3b6e7c3ff2f1be590d2440ab806d071376cf5d709d8ab4ab20c88a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffbddd9d3b6e7c3ff2f1be590d2440ab806d071376cf5d709d8ab4ab20c88a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbddd9d3b6e7c3ff2f1be590d2440ab806d071376cf5d709d8ab4ab20c88a1b", kill_on_drop: false }` [INFO] [stdout] ffbddd9d3b6e7c3ff2f1be590d2440ab806d071376cf5d709d8ab4ab20c88a1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 332ea20b2ba263034abb237e50a67c2a608bed4bfc4182f86fd2a79d71cb4a1d [INFO] running `Command { std: "docker" "start" "-a" "332ea20b2ba263034abb237e50a67c2a608bed4bfc4182f86fd2a79d71cb4a1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling guppy-workspace-hack v0.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling target-spec v3.1.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling protobuf v3.4.0 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Checking winnow v0.5.37 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking nested v0.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking cfg-expr v0.15.8 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking debug-ignore v1.0.5 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking insta v1.36.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking protobuf-support v3.4.0 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking protobuf-parse v3.4.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking cargo-platform v0.1.6 [INFO] [stderr] Checking toml_edit v0.21.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking guppy v0.17.5 [INFO] [stderr] Checking toml v0.8.9 [INFO] [stderr] Checking cargo_toml v0.19.1 [INFO] [stderr] Checking cargo-gazelle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Module` and `Rule` [INFO] [stdout] --> src/header.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::{LoadStatement, Module, Rule}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/header.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{BTreeMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dependency` and `Manifest` [INFO] [stdout] --> src/targets.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use cargo_toml::{Dependency, Manifest}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/targets.rs:699:9 [INFO] [stdout] | [INFO] [stdout] 699 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Module` and `Rule` [INFO] [stdout] --> src/header.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::rules::{LoadStatement, Module, Rule}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/header.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{BTreeMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Dependency` and `Manifest` [INFO] [stdout] --> src/targets.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use cargo_toml::{Dependency, Manifest}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `compile_data` is never read [INFO] [stdout] --> src/targets.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct RustTest { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 161 | compile_data: Field>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustTest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn new(items: impl IntoIterator) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | List { [INFO] [stdout] 187 | items: items.into_iter().collect(), [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/lib.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn new(items: impl IntoIterator) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | objects: Vec::new(), [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/lib.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 224 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | List { [INFO] [stdout] 226 | items: iter.into_iter().collect(), [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/lib.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 224 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | objects: Vec::new(), [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/context.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | .map(|expr| find_proto_files(config, expr.to_token_stream())) [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/targets.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 69 | let features: List<_> = crate_features(config, &metadata)? [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let mut deps = all_deps [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let proc_macro_deps = all_deps [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let unit_test = RustTest::library(config, metadata)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let doc_tests = RustDocTest::generate(config, metadata)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let mut compile_data = List::empty(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(RustLibrary { [INFO] [stdout] | ____________^ [INFO] [stdout] 108 | | name: Field::new("name", name), [INFO] [stdout] 109 | | is_proc_macro: metadata.is_proc_macro(), [INFO] [stdout] 110 | | features: Field::new("crate_features", features), [INFO] [stdout] ... | [INFO] [stdout] 116 | | doc_tests, [INFO] [stdout] 117 | | }) [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] | | 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] | | 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] | [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/targets.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 177 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | kind: RustTestKind, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | let mut deps = all_deps [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let mut proc_macro_deps = all_deps [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | Ok(RustTest { [INFO] [stdout] | ____________^ [INFO] [stdout] 212 | | name: Field::new("name", name), [INFO] [stdout] 213 | | kind, [INFO] [stdout] 214 | | aliases: Field::new("aliases", aliases), [INFO] [stdout] ... | [INFO] [stdout] 218 | | size: Field::new("size", size), [INFO] [stdout] 219 | | }) [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/targets.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | RustTestKind::integration([test_target.to_string()]), [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/targets.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn integration(srcs: impl IntoIterator) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let srcs = srcs.into_iter().map(QuotedString::new).collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | Self::Integration(Field::new("srcs", srcs)) [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/targets.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 349 | let deps = all_deps [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | Ok(RustDocTest { [INFO] [stdout] | ____________^ [INFO] [stdout] 356 | | name: Field::new("name", name), [INFO] [stdout] 357 | | crate_: Field::new("crate", crate_), [INFO] [stdout] 358 | | deps: Field::new("deps", deps), [INFO] [stdout] 359 | | }) [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/targets.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 421 | let script_src = Field::new( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | let deps = all_deps [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 433 | let proc_macro_deps = all_deps [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | let mut extras: Vec> = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 492 | Ok(Some(CargoBuildScript { [INFO] [stdout] | ____________^ [INFO] [stdout] 493 | | name: Field::new("name", name), [INFO] [stdout] 494 | | script_src, [INFO] [stdout] 495 | | deps: Field::new("deps", deps), [INFO] [stdout] ... | [INFO] [stdout] 498 | | extras, [INFO] [stdout] 499 | | })) [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] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/targets.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 674 | let features = package [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 680 | let features: HashSet<_> = features [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 694 | Ok(features.into_iter()) [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] warning: field `compile_data` is never read [INFO] [stdout] --> src/targets.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct RustTest { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 161 | compile_data: Field>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RustTest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:187:20 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn new(items: impl IntoIterator) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | List { [INFO] [stdout] 187 | items: items.into_iter().collect(), [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/lib.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn new(items: impl IntoIterator) -> Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | objects: Vec::new(), [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/lib.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 224 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | List { [INFO] [stdout] 226 | items: iter.into_iter().collect(), [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/lib.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 224 | fn from_iter>(iter: T) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | objects: Vec::new(), [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/context.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | .map(|expr| find_proto_files(config, expr.to_token_stream())) [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 12 previous errors; 5 warnings emitted [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/targets.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 69 | let features: List<_> = crate_features(config, &metadata)? [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let mut deps = all_deps [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let proc_macro_deps = all_deps [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let unit_test = RustTest::library(config, metadata)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | let doc_tests = RustDocTest::generate(config, metadata)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let mut compile_data = List::empty(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(RustLibrary { [INFO] [stdout] | ____________^ [INFO] [stdout] 108 | | name: Field::new("name", name), [INFO] [stdout] 109 | | is_proc_macro: metadata.is_proc_macro(), [INFO] [stdout] 110 | | features: Field::new("crate_features", features), [INFO] [stdout] ... | [INFO] [stdout] 116 | | doc_tests, [INFO] [stdout] 117 | | }) [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] | | 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] | | 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] | [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/targets.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 177 | name: impl Into, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | kind: RustTestKind, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | let mut deps = all_deps [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let mut proc_macro_deps = all_deps [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | Ok(RustTest { [INFO] [stdout] | ____________^ [INFO] [stdout] 212 | | name: Field::new("name", name), [INFO] [stdout] 213 | | kind, [INFO] [stdout] 214 | | aliases: Field::new("aliases", aliases), [INFO] [stdout] ... | [INFO] [stdout] 218 | | size: Field::new("size", size), [INFO] [stdout] 219 | | }) [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/targets.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | RustTestKind::integration([test_target.to_string()]), [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/targets.rs:296:27 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn integration(srcs: impl IntoIterator) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let srcs = srcs.into_iter().map(QuotedString::new).collect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 296 | Self::Integration(Field::new("srcs", srcs)) [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/targets.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 349 | let deps = all_deps [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | Ok(RustDocTest { [INFO] [stdout] | ____________^ [INFO] [stdout] 356 | | name: Field::new("name", name), [INFO] [stdout] 357 | | crate_: Field::new("crate", crate_), [INFO] [stdout] 358 | | deps: Field::new("deps", deps), [INFO] [stdout] 359 | | }) [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/targets.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 421 | let script_src = Field::new( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | let deps = all_deps [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 433 | let proc_macro_deps = all_deps [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | let mut extras: Vec> = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 492 | Ok(Some(CargoBuildScript { [INFO] [stdout] | ____________^ [INFO] [stdout] 493 | | name: Field::new("name", name), [INFO] [stdout] 494 | | script_src, [INFO] [stdout] 495 | | deps: Field::new("deps", deps), [INFO] [stdout] ... | [INFO] [stdout] 498 | | extras, [INFO] [stdout] 499 | | })) [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] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/targets.rs:694:8 [INFO] [stdout] | [INFO] [stdout] 674 | let features = package [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 680 | let features: HashSet<_> = features [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 694 | Ok(features.into_iter()) [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: aborting due to 12 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-gazelle` (lib test) due to 13 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-gazelle` (lib) due to 13 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "332ea20b2ba263034abb237e50a67c2a608bed4bfc4182f86fd2a79d71cb4a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "332ea20b2ba263034abb237e50a67c2a608bed4bfc4182f86fd2a79d71cb4a1d", kill_on_drop: false }` [INFO] [stdout] 332ea20b2ba263034abb237e50a67c2a608bed4bfc4182f86fd2a79d71cb4a1d