[INFO] fetching crate cmake-parser-derive 0.1.0-alpha.1... [INFO] checking cmake-parser-derive-0.1.0-alpha.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cmake-parser-derive 0.1.0-alpha.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cmake-parser-derive 0.1.0-alpha.1 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 crates.io crate cmake-parser-derive 0.1.0-alpha.1 [INFO] finished tweaking crates.io crate cmake-parser-derive 0.1.0-alpha.1 [INFO] tweaked toml for crates.io crate cmake-parser-derive 0.1.0-alpha.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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 10 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b0b21f9b423db948baaad769aade9bf370532f823890d225f45faf0712cb0021 [INFO] running `Command { std: "docker" "start" "-a" "b0b21f9b423db948baaad769aade9bf370532f823890d225f45faf0712cb0021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0b21f9b423db948baaad769aade9bf370532f823890d225f45faf0712cb0021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b21f9b423db948baaad769aade9bf370532f823890d225f45faf0712cb0021", kill_on_drop: false }` [INFO] [stdout] b0b21f9b423db948baaad769aade9bf370532f823890d225f45faf0712cb0021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9309ac64582351395022b837d112dce76a08b682d23c799eb41793420d2190da [INFO] running `Command { std: "docker" "start" "-a" "9309ac64582351395022b837d112dce76a08b682d23c799eb41793420d2190da", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking inflections v1.1.1 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking cmake-parser-derive v0.1.0-alpha.1 (/opt/rustwide/workdir) [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:157:9 [INFO] [stdout] | [INFO] [stdout] 154 | mode_default: proc_macro2::TokenStream, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | / move |CMakeOption { [INFO] [stdout] 158 | | ident, [INFO] [stdout] 159 | | ident_mode, [INFO] [stdout] 160 | | lit_bstr, [INFO] [stdout] ... | [INFO] [stdout] 173 | | } else } [INFO] [stdout] 174 | | }, [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:219:25 [INFO] [stdout] | [INFO] [stdout] 206 | .map(|(ident, ty, attr)| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | let ident_mode = quote::format_ident!("{}", id.to_pascal_case()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | ty: Some(ty), [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:238:9 [INFO] [stdout] | [INFO] [stdout] 237 | fn from_variants<'a>(variants: impl IntoIterator) -> Vec { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | / variants [INFO] [stdout] 239 | | .into_iter() [INFO] [stdout] 240 | | .map(|f| { [INFO] [stdout] 241 | | ( [INFO] [stdout] ... | [INFO] [stdout] 279 | | } [INFO] [stdout] 280 | | }) [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:270:29 [INFO] [stdout] | [INFO] [stdout] 254 | .map(|(ident, attr, unnamed)| { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | let ident_mode = quote::format_ident!("{}", id.to_pascal_case()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | option: CMakeOption { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 271 | | attr, [INFO] [stdout] 272 | | ident, [INFO] [stdout] 273 | | ident_mode, [INFO] [stdout] ... | [INFO] [stdout] 276 | | ty: None, [INFO] [stdout] 277 | | }, [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:914:10 [INFO] [stdout] | [INFO] [stdout] 854 | let nested = attr [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 862 | let mut pkg = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 914 | Some(CMakeAttribute { [INFO] [stdout] | __________^ [INFO] [stdout] 915 | | default, [INFO] [stdout] 916 | | keyword_after, [INFO] [stdout] 917 | | list, [INFO] [stdout] ... | [INFO] [stdout] 927 | | except, [INFO] [stdout] 928 | | }) [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:932:5 [INFO] [stdout] | [INFO] [stdout] 931 | fn to_vec_string(elems: Punctuated) -> Vec { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 932 | / elems [INFO] [stdout] 933 | | .iter() [INFO] [stdout] 934 | | .filter_map(|elem| match elem { [INFO] [stdout] 935 | | Expr::Lit(ExprLit { [INFO] [stdout] ... | [INFO] [stdout] 938 | | _ => None, [INFO] [stdout] 939 | | }) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cmake-parser-derive` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:157:9 [INFO] [stdout] | [INFO] [stdout] 154 | mode_default: proc_macro2::TokenStream, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | / move |CMakeOption { [INFO] [stdout] 158 | | ident, [INFO] [stdout] 159 | | ident_mode, [INFO] [stdout] 160 | | lit_bstr, [INFO] [stdout] ... | [INFO] [stdout] 173 | | } else } [INFO] [stdout] 174 | | }, [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:219:25 [INFO] [stdout] | [INFO] [stdout] 206 | .map(|(ident, ty, attr)| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | let ident_mode = quote::format_ident!("{}", id.to_pascal_case()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | ty: Some(ty), [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:238:9 [INFO] [stdout] | [INFO] [stdout] 237 | fn from_variants<'a>(variants: impl IntoIterator) -> Vec { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 238 | / variants [INFO] [stdout] 239 | | .into_iter() [INFO] [stdout] 240 | | .map(|f| { [INFO] [stdout] 241 | | ( [INFO] [stdout] ... | [INFO] [stdout] 279 | | } [INFO] [stdout] 280 | | }) [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:270:29 [INFO] [stdout] | [INFO] [stdout] 254 | .map(|(ident, attr, unnamed)| { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | let ident_mode = quote::format_ident!("{}", id.to_pascal_case()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | option: CMakeOption { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 271 | | attr, [INFO] [stdout] 272 | | ident, [INFO] [stdout] 273 | | ident_mode, [INFO] [stdout] ... | [INFO] [stdout] 276 | | ty: None, [INFO] [stdout] 277 | | }, [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:914:10 [INFO] [stdout] | [INFO] [stdout] 854 | let nested = attr [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 862 | let mut pkg = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 914 | Some(CMakeAttribute { [INFO] [stdout] | __________^ [INFO] [stdout] 915 | | default, [INFO] [stdout] 916 | | keyword_after, [INFO] [stdout] 917 | | list, [INFO] [stdout] ... | [INFO] [stdout] 927 | | except, [INFO] [stdout] 928 | | }) [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:932:5 [INFO] [stdout] | [INFO] [stdout] 931 | fn to_vec_string(elems: Punctuated) -> Vec { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 932 | / elems [INFO] [stdout] 933 | | .iter() [INFO] [stdout] 934 | | .filter_map(|elem| match elem { [INFO] [stdout] 935 | | Expr::Lit(ExprLit { [INFO] [stdout] ... | [INFO] [stdout] 938 | | _ => None, [INFO] [stdout] 939 | | }) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cmake-parser-derive` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "9309ac64582351395022b837d112dce76a08b682d23c799eb41793420d2190da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9309ac64582351395022b837d112dce76a08b682d23c799eb41793420d2190da", kill_on_drop: false }` [INFO] [stdout] 9309ac64582351395022b837d112dce76a08b682d23c799eb41793420d2190da