[INFO] fetching crate bitbash-macros 0.5.1... [INFO] checking bitbash-macros-0.5.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bitbash-macros 0.5.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate bitbash-macros 0.5.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 bitbash-macros 0.5.1 [INFO] finished tweaking crates.io crate bitbash-macros 0.5.1 [INFO] tweaked toml for crates.io crate bitbash-macros 0.5.1 written to /workspace/builds/worker-4-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] Updating crates.io index [INFO] [stderr] Locking 5 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 580b35655dc2eebb2c9d8a7322deacb16e03defea9aefde80815d2183d30b96b [INFO] running `Command { std: "docker" "start" "-a" "580b35655dc2eebb2c9d8a7322deacb16e03defea9aefde80815d2183d30b96b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "580b35655dc2eebb2c9d8a7322deacb16e03defea9aefde80815d2183d30b96b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "580b35655dc2eebb2c9d8a7322deacb16e03defea9aefde80815d2183d30b96b", kill_on_drop: false }` [INFO] [stdout] 580b35655dc2eebb2c9d8a7322deacb16e03defea9aefde80815d2183d30b96b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 57251f27b93ae8968a97c10fded1f3842a148de257c37d2001875d1d48d7218f [INFO] running `Command { std: "docker" "start" "-a" "57251f27b93ae8968a97c10fded1f3842a148de257c37d2001875d1d48d7218f", kill_on_drop: false }` [INFO] [stderr] Checking syn v1.0.109 [INFO] [stderr] Checking bitbash-macros v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `paren_token` and `semi_token` are never read [INFO] [stdout] --> src/bitfield/parse.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct New { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub paren_token: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | pub init_fields: Punctuated, [INFO] [stdout] 28 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `New` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi_token` is never read [INFO] [stdout] --> src/bitfield/parse.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DeriveDebug { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeriveDebug` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field_token` and `colon_token` are never read [INFO] [stdout] --> src/bitfield/parse.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub field_token: kw::field, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | pub name: Ident, [INFO] [stdout] 44 | pub colon_token: Token![:], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eq_token` and `semi_token` are never read [INFO] [stdout] --> src/bitfield/parse.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | Concatenation { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 52 | eq_token: Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | bits: Punctuated, [INFO] [stdout] 54 | semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Composition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brace_token` is never read [INFO] [stdout] --> src/bitfield/parse.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | Mapping { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 57 | brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Composition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arrow_token` is never read [INFO] [stdout] --> src/bitfield/parse.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Relationship { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 64 | pub from: Bits, [INFO] [stdout] 65 | pub arrow_token: Token![=>], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Relationship` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/bitfield/mod.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn into_output_spec(bitfield: parse::Bitfield, use_const: bool) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let strukt = bitfield.strukt; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let new = match bitfield.new { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | None => None, [INFO] [stdout] 107 | Some(new) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let mut attrs = Vec::new(); [INFO] [stdout] 109 | for attr in new.attrs { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | attrs.push(match attr.parse_meta()? { [INFO] [stdout] 111 | Meta::Path(p) if p.is_ident("disable_check") => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let field_tys: HashMap = fields [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut init_field_tys = Vec::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let init_field_names = new.init_fields.into_iter().collect(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | Some(dd) => { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | for attr in dd.attrs { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Ok(output::Bitfield { [INFO] [stdout] | ________^ [INFO] [stdout] 150 | | use_const, [INFO] [stdout] 151 | | strukt, [INFO] [stdout] 152 | | new, [INFO] [stdout] 153 | | derive_debug, [INFO] [stdout] 154 | | fields, [INFO] [stdout] 155 | | }) [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] | [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/bitfield/mod.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|f| (f.name.clone(), f.value_ty.clone())) [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/bitfield/mod.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|f| (f.name.clone(), f.value_ty.clone())) [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] warning: fields `paren_token` and `semi_token` are never read [INFO] [stdout] --> src/bitfield/parse.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct New { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub paren_token: token::Paren, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | pub init_fields: Punctuated, [INFO] [stdout] 28 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `New` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `semi_token` is never read [INFO] [stdout] --> src/bitfield/parse.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct DeriveDebug { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeriveDebug` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field_token` and `colon_token` are never read [INFO] [stdout] --> src/bitfield/parse.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Field { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub field_token: kw::field, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | pub name: Ident, [INFO] [stdout] 44 | pub colon_token: Token![:], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `eq_token` and `semi_token` are never read [INFO] [stdout] --> src/bitfield/parse.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 51 | Concatenation { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 52 | eq_token: Token![=], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | bits: Punctuated, [INFO] [stdout] 54 | semi_token: Token![;], [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Composition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `brace_token` is never read [INFO] [stdout] --> src/bitfield/parse.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | Mapping { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 57 | brace_token: token::Brace, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Composition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arrow_token` is never read [INFO] [stdout] --> src/bitfield/parse.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Relationship { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 64 | pub from: Bits, [INFO] [stdout] 65 | pub arrow_token: Token![=>], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Relationship` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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/bitfield/mod.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn into_output_field(bitfield: &ItemStruct, field: parse::Field) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let parse::Field { [INFO] [stdout] 160 | attrs: in_attrs, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | vis, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | name, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | value_ty, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | mut composition, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | let relationships = match composition { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | Composition::Mapping { relationships, .. } => relationships.into_iter().collect(), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | Composition::Concatenation { bits, .. } => { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | let mut relationships = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | let mut prev_end = parse_quote! { 0 }; [INFO] [stdout] | -------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | for bits in bits { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | let next_end: Expr = match &bits.index { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | Index::One(_) => parse_quote! { (#prev_end + 1) }, [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] 231 | } => parse_quote! { (#prev_end + (#end - #start)) }, [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] 236 | } => parse_quote! { (#prev_end + (1 + #end - #start)) }, [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] 239 | let from_index = Index::Range { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let mut mapping = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok(output::Field { [INFO] [stdout] | ________^ [INFO] [stdout] 299 | | attrs: out_attrs, [INFO] [stdout] 300 | | vis, [INFO] [stdout] 301 | | name, [INFO] [stdout] 302 | | value_ty, [INFO] [stdout] 303 | | rels: mapping, [INFO] [stdout] 304 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/bitfield/mod.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn into_output_spec(bitfield: parse::Bitfield, use_const: bool) -> Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let strukt = bitfield.strukt; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | let new = match bitfield.new { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | None => None, [INFO] [stdout] 107 | Some(new) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | let mut attrs = Vec::new(); [INFO] [stdout] 109 | for attr in new.attrs { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | attrs.push(match attr.parse_meta()? { [INFO] [stdout] 111 | Meta::Path(p) if p.is_ident("disable_check") => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let field_tys: HashMap = fields [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let mut init_field_tys = Vec::new(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | let init_field_names = new.init_fields.into_iter().collect(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | Some(dd) => { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | for attr in dd.attrs { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Ok(output::Bitfield { [INFO] [stdout] | ________^ [INFO] [stdout] 150 | | use_const, [INFO] [stdout] 151 | | strukt, [INFO] [stdout] 152 | | new, [INFO] [stdout] 153 | | derive_debug, [INFO] [stdout] 154 | | fields, [INFO] [stdout] 155 | | }) [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] | [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/bitfield/mod.rs:120:27 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|f| (f.name.clone(), f.value_ty.clone())) [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/bitfield/mod.rs:120:43 [INFO] [stdout] | [INFO] [stdout] 120 | .map(|f| (f.name.clone(), f.value_ty.clone())) [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/bitfield/parse.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 88 | let strukt = input.parse()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let mut new = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut derive_debug = None; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Bitfield { [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | strukt, [INFO] [stdout] 113 | | new, [INFO] [stdout] 114 | | derive_debug, [INFO] [stdout] 115 | | fields, [INFO] [stdout] 116 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/bitfield/mod.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn into_output_field(bitfield: &ItemStruct, field: parse::Field) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | let parse::Field { [INFO] [stdout] 160 | attrs: in_attrs, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | vis, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | name, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | value_ty, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 164 | mut composition, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | let relationships = match composition { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 220 | Composition::Mapping { relationships, .. } => relationships.into_iter().collect(), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | Composition::Concatenation { bits, .. } => { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | let mut relationships = Vec::new(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | let mut prev_end = parse_quote! { 0 }; [INFO] [stdout] | -------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 224 | for bits in bits { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | let next_end: Expr = match &bits.index { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 226 | Index::One(_) => parse_quote! { (#prev_end + 1) }, [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] 231 | } => parse_quote! { (#prev_end + (#end - #start)) }, [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] 236 | } => parse_quote! { (#prev_end + (1 + #end - #start)) }, [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] 239 | let from_index = Index::Range { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | let mut mapping = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok(output::Field { [INFO] [stdout] | ________^ [INFO] [stdout] 299 | | attrs: out_attrs, [INFO] [stdout] 300 | | vis, [INFO] [stdout] 301 | | name, [INFO] [stdout] 302 | | value_ty, [INFO] [stdout] 303 | | rels: mapping, [INFO] [stdout] 304 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/bitfield/parse.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 88 | let strukt = input.parse()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let mut new = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | let mut derive_debug = None; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let mut fields = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Bitfield { [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | strukt, [INFO] [stdout] 113 | | new, [INFO] [stdout] 114 | | derive_debug, [INFO] [stdout] 115 | | fields, [INFO] [stdout] 116 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitbash-macros` (lib test) due to 6 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bitbash-macros` (lib) due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57251f27b93ae8968a97c10fded1f3842a148de257c37d2001875d1d48d7218f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57251f27b93ae8968a97c10fded1f3842a148de257c37d2001875d1d48d7218f", kill_on_drop: false }` [INFO] [stdout] 57251f27b93ae8968a97c10fded1f3842a148de257c37d2001875d1d48d7218f