[INFO] fetching crate bmbp_marco_bean 0.0.8... [INFO] checking bmbp_marco_bean-0.0.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bmbp_marco_bean 0.0.8 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate bmbp_marco_bean 0.0.8 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 bmbp_marco_bean 0.0.8 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bmbp_marco_bean 0.0.8 [INFO] tweaked toml for crates.io crate bmbp_marco_bean 0.0.8 written to /workspace/builds/worker-7-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 9 packages to latest compatible versions [INFO] [stderr] Adding bmbp_marco_util v0.0.8 (latest: v0.0.9) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6de5a0471f39588d2da6b2fcc0b6c9df43c66d62e3855ee6c86a5dcfbe63b11a [INFO] running `Command { std: "docker" "start" "-a" "6de5a0471f39588d2da6b2fcc0b6c9df43c66d62e3855ee6c86a5dcfbe63b11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6de5a0471f39588d2da6b2fcc0b6c9df43c66d62e3855ee6c86a5dcfbe63b11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6de5a0471f39588d2da6b2fcc0b6c9df43c66d62e3855ee6c86a5dcfbe63b11a", kill_on_drop: false }` [INFO] [stdout] 6de5a0471f39588d2da6b2fcc0b6c9df43c66d62e3855ee6c86a5dcfbe63b11a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3f12bca1432a9bc7585c8f6d5599be97c9e5fecbce8a087c6c3b96507cb1556 [INFO] running `Command { std: "docker" "start" "-a" "b3f12bca1432a9bc7585c8f6d5599be97c9e5fecbce8a087c6c3b96507cb1556", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking case_style v0.2.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking bmbp_marco_util v0.0.8 [INFO] [stderr] Checking bmbp_marco_bean v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rdbc_bean.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut struct_base_fields = build_base_field(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree_bean.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree_bean.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/rdbc_bean.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn marco_rdbc_bean(_: TokenStream, model_token: TokenStream) -> TokenStream { [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] 12 | // 获取结构体名称 [INFO] [stdout] 13 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 17 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut struct_base_fields = build_base_field(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let struct_field_token = build_struct_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let struct_method_token = build_struct_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / util::build_struct_token( [INFO] [stdout] 24 | | struct_ident, [INFO] [stdout] 25 | | struct_attrs, [INFO] [stdout] 26 | | struct_generics, [INFO] [stdout] 27 | | struct_field_token, [INFO] [stdout] 28 | | struct_method_token, [INFO] [stdout] 29 | | ) [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/rdbc_bean.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn marco_rdbc_bean_option(_: TokenStream, model_token: TokenStream) -> TokenStream { [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] 33 | // 获取结构体名称 [INFO] [stdout] 34 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 39 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let struct_base_fields = build_base_field(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let struct_field_token = build_struct_option_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let struct_method_token = build_struct_option_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | / util::build_struct_token( [INFO] [stdout] 46 | | struct_ident, [INFO] [stdout] 47 | | struct_attrs, [INFO] [stdout] 48 | | struct_generics, [INFO] [stdout] 49 | | struct_field_token, [INFO] [stdout] 50 | | struct_method_token, [INFO] [stdout] 51 | | ) [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/rdbc_tree_bean.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 13 | meta_token: TokenStream, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | model_token: TokenStream, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 23 | let mut struct_base_fields = util::build_base_field(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let struct_field_token = build_struct_field_token(struct_base_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let struct_method_token = build_struct_props_method_token(struct_base_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | / build_struct_token( [INFO] [stdout] 41 | | struct_ident, [INFO] [stdout] 42 | | struct_attrs, [INFO] [stdout] 43 | | struct_generics, [INFO] [stdout] 44 | | struct_field_token, [INFO] [stdout] 45 | | struct_method_token, [INFO] [stdout] 46 | | ) [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/rdbc_tree_bean.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 50 | meta_token: TokenStream, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | model_token: TokenStream, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 61 | let tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let struct_base_fields = build_base_field(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let struct_field_token = build_struct_option_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let struct_method_token = build_struct_option_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | / build_struct_token( [INFO] [stdout] 70 | | struct_ident, [INFO] [stdout] 71 | | struct_attrs, [INFO] [stdout] 72 | | struct_generics, [INFO] [stdout] 73 | | struct_field_token, [INFO] [stdout] 74 | | struct_method_token, [INFO] [stdout] 75 | | ) [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/tree_bean.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn marco_tree_bean(meta_token: TokenStream, model_token: TokenStream) -> TokenStream { [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] 6 | // 获取结构体名称 [INFO] [stdout] 7 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 14 | let mut tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let struct_field_token = build_struct_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let struct_method_token = build_struct_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | / build_struct_token( [INFO] [stdout] 21 | | struct_ident, [INFO] [stdout] 22 | | struct_attrs, [INFO] [stdout] 23 | | struct_generics, [INFO] [stdout] 24 | | struct_field_token, [INFO] [stdout] 25 | | struct_method_token, [INFO] [stdout] 26 | | ) [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/tree_bean.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 30 | meta_token: TokenStream, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | model_token: TokenStream, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 41 | let mut tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let struct_field_token = build_struct_option_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let struct_method_token = build_struct_option_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | / build_struct_token( [INFO] [stdout] 48 | | struct_ident, [INFO] [stdout] 49 | | struct_attrs, [INFO] [stdout] 50 | | struct_generics, [INFO] [stdout] 51 | | struct_field_token, [INFO] [stdout] 52 | | struct_method_token, [INFO] [stdout] 53 | | ) [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: variable does not need to be mutable [INFO] [stdout] --> src/rdbc_bean.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut struct_base_fields = build_base_field(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bmbp_marco_bean` (lib) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree_bean.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tree_bean.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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/rdbc_bean.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn marco_rdbc_bean(_: TokenStream, model_token: TokenStream) -> TokenStream { [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] 12 | // 获取结构体名称 [INFO] [stdout] 13 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 17 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let mut struct_base_fields = build_base_field(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let struct_field_token = build_struct_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let struct_method_token = build_struct_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | / util::build_struct_token( [INFO] [stdout] 24 | | struct_ident, [INFO] [stdout] 25 | | struct_attrs, [INFO] [stdout] 26 | | struct_generics, [INFO] [stdout] 27 | | struct_field_token, [INFO] [stdout] 28 | | struct_method_token, [INFO] [stdout] 29 | | ) [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/rdbc_bean.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn marco_rdbc_bean_option(_: TokenStream, model_token: TokenStream) -> TokenStream { [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] 33 | // 获取结构体名称 [INFO] [stdout] 34 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 39 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let struct_base_fields = build_base_field(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let struct_field_token = build_struct_option_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | let struct_method_token = build_struct_option_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | / util::build_struct_token( [INFO] [stdout] 46 | | struct_ident, [INFO] [stdout] 47 | | struct_attrs, [INFO] [stdout] 48 | | struct_generics, [INFO] [stdout] 49 | | struct_field_token, [INFO] [stdout] 50 | | struct_method_token, [INFO] [stdout] 51 | | ) [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/rdbc_tree_bean.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 13 | meta_token: TokenStream, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | model_token: TokenStream, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 23 | let mut struct_base_fields = util::build_base_field(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | let tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let struct_field_token = build_struct_field_token(struct_base_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let struct_method_token = build_struct_props_method_token(struct_base_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | / build_struct_token( [INFO] [stdout] 41 | | struct_ident, [INFO] [stdout] 42 | | struct_attrs, [INFO] [stdout] 43 | | struct_generics, [INFO] [stdout] 44 | | struct_field_token, [INFO] [stdout] 45 | | struct_method_token, [INFO] [stdout] 46 | | ) [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/rdbc_tree_bean.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 50 | meta_token: TokenStream, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | model_token: TokenStream, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 61 | let tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let struct_base_fields = build_base_field(); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let struct_field_token = build_struct_option_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let struct_method_token = build_struct_option_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | / build_struct_token( [INFO] [stdout] 70 | | struct_ident, [INFO] [stdout] 71 | | struct_attrs, [INFO] [stdout] 72 | | struct_generics, [INFO] [stdout] 73 | | struct_field_token, [INFO] [stdout] 74 | | struct_method_token, [INFO] [stdout] 75 | | ) [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/tree_bean.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn marco_tree_bean(meta_token: TokenStream, model_token: TokenStream) -> TokenStream { [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] 6 | // 获取结构体名称 [INFO] [stdout] 7 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 14 | let mut tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | let struct_field_token = build_struct_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let struct_method_token = build_struct_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | / build_struct_token( [INFO] [stdout] 21 | | struct_ident, [INFO] [stdout] 22 | | struct_attrs, [INFO] [stdout] 23 | | struct_generics, [INFO] [stdout] 24 | | struct_field_token, [INFO] [stdout] 25 | | struct_method_token, [INFO] [stdout] 26 | | ) [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/tree_bean.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 30 | meta_token: TokenStream, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | model_token: TokenStream, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let struct_input_token = parse_macro_input!(model_token as DeriveInput); [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] ... [INFO] [stdout] 41 | let mut tree_field = build_tree_field(tree_field_name.as_slice(), &struct_ident); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let mut struct_fields = parse_struct_fields(&struct_input_token); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let struct_field_token = build_struct_option_field_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let struct_method_token = build_struct_option_props_method_token(struct_fields.as_slice()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | / build_struct_token( [INFO] [stdout] 48 | | struct_ident, [INFO] [stdout] 49 | | struct_attrs, [INFO] [stdout] 50 | | struct_generics, [INFO] [stdout] 51 | | struct_field_token, [INFO] [stdout] 52 | | struct_method_token, [INFO] [stdout] 53 | | ) [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bmbp_marco_bean` (lib test) due to 7 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b3f12bca1432a9bc7585c8f6d5599be97c9e5fecbce8a087c6c3b96507cb1556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3f12bca1432a9bc7585c8f6d5599be97c9e5fecbce8a087c6c3b96507cb1556", kill_on_drop: false }` [INFO] [stdout] b3f12bca1432a9bc7585c8f6d5599be97c9e5fecbce8a087c6c3b96507cb1556