[INFO] fetching crate derive_convert 0.5.0... [INFO] checking derive_convert-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate derive_convert 0.5.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate derive_convert 0.5.0 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 derive_convert 0.5.0 [INFO] finished tweaking crates.io crate derive_convert 0.5.0 [INFO] tweaked toml for crates.io crate derive_convert 0.5.0 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] 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 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-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] a6955059e7c9d48b1b63a29833edb80a80ffb47247a098d83d7725df9427ca27 [INFO] running `Command { std: "docker" "start" "-a" "a6955059e7c9d48b1b63a29833edb80a80ffb47247a098d83d7725df9427ca27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6955059e7c9d48b1b63a29833edb80a80ffb47247a098d83d7725df9427ca27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6955059e7c9d48b1b63a29833edb80a80ffb47247a098d83d7725df9427ca27", kill_on_drop: false }` [INFO] [stdout] a6955059e7c9d48b1b63a29833edb80a80ffb47247a098d83d7725df9427ca27 [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] ccb457341d21289085d8ee7947f02bb52cc5b82b92d76d15bc4900b7ccdb31d7 [INFO] running `Command { std: "docker" "start" "-a" "ccb457341d21289085d8ee7947f02bb52cc5b82b92d76d15bc4900b7ccdb31d7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking derive_convert v0.5.0 (/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:26:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn derive_convert(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let input = parse_macro_input!(input 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 container_attrs = parse_container_attrs(&input.attrs) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | / match &input.data { [INFO] [stdout] 27 | | Data::Struct(data) => convert_struct::derive_convert_struct( [INFO] [stdout] 28 | | &container_attrs, [INFO] [stdout] 29 | | &input.ident, [INFO] [stdout] ... | [INFO] [stdout] 37 | | Data::Union(_) => unimplemented!("Unions are not supported!"), [INFO] [stdout] 38 | | } [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:273:8 [INFO] [stdout] | [INFO] [stdout] 153 | let mut types = HashMap::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let mut err_ty = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | Ok(Some( [INFO] [stdout] | ________^ [INFO] [stdout] 274 | | MaybeFromAttrs { [INFO] [stdout] 275 | | err_ty, [INFO] [stdout] 276 | | types: Types(types), [INFO] [stdout] 277 | | } [INFO] [stdout] 278 | | .try_into()?, [INFO] [stdout] 279 | | )) [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:429:8 [INFO] [stdout] | [INFO] [stdout] 363 | let mut map = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 364 | let mut with = None::; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | let mut with_rename = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 429 | Ok(FieldAttrs { [INFO] [stdout] | ________^ [INFO] [stdout] 430 | | map, [INFO] [stdout] 431 | | with: with.unwrap_or_default().rename(with_rename)?, [INFO] [stdout] 432 | | }) [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:474:5 [INFO] [stdout] | [INFO] [stdout] 455 | let mut map = None::; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 456 | let mut rename = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 474 | map.unwrap_or_default().rename(rename) [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/convert_enum/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | let subject = Type::Path(TypePath { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / [ [INFO] [stdout] 28 | | from.as_ref() [INFO] [stdout] 29 | | .map(|attrs| from::derive_from_enum(attrs, &subject, data, false)), [INFO] [stdout] 30 | | from_self [INFO] [stdout] ... | [INFO] [stdout] 40 | | .into_iter() [INFO] [stdout] 41 | | .flatten() [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/convert_enum/from.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | let variants = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | AllVariantsOptions::::parse(data, filter_path, types); [INFO] [stdout] 77 | / types [INFO] [stdout] 78 | | .iter_with(subject, from_self) [INFO] [stdout] 79 | | .map(|type_ref @ TypeRef { from, to, .. }| { [INFO] [stdout] 80 | | let (lines, foreign_fields) = [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }) [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/convert_enum/try_from.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 79 | let variants = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | AllVariantsOptions::::parse(data, filter_path, types); [INFO] [stdout] 81 | / types [INFO] [stdout] 82 | | .iter_with(subject, from_self) [INFO] [stdout] 83 | | .map(|type_ref @ TypeRef { from, to, .. }| { [INFO] [stdout] 84 | | let (lines, foreign_fields) = [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | }) [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/convert_struct/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | let subject = Type::Path(TypePath { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / [ [INFO] [stdout] 28 | | from.as_ref().map(|attrs| { [INFO] [stdout] 29 | | from::derive_from_struct(attrs, &subject, data, false) [INFO] [stdout] 30 | | }), [INFO] [stdout] ... | [INFO] [stdout] 41 | | .into_iter() [INFO] [stdout] 42 | | .flatten() [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/convert_struct/from.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_key_expr(key: &str, expr: Expr) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | Ok(match key { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | "map" => Self::Map { [INFO] [stdout] 48 | | expr, [INFO] [stdout] 49 | | rename: None, [INFO] [stdout] ... | [INFO] [stdout] 63 | | _ => return Err(ParseAttrsError::UnsupportedNameValue), [INFO] [stdout] 64 | | }) [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/convert_struct/from.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 112 | let fields = AllFieldsOptions::::parse( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | / types [INFO] [stdout] 119 | | .iter_with(subject, from_self) [INFO] [stdout] 120 | | .map(|type_ref @ TypeRef { from, to, .. }| { [INFO] [stdout] 121 | | let (lines, foreign_fields) = [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }) [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/convert_struct/try_from.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_key_expr(key: &str, expr: Expr) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | Ok(match key { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | "map" => Self::Map { [INFO] [stdout] 56 | | expr, [INFO] [stdout] 57 | | rename: None, [INFO] [stdout] ... | [INFO] [stdout] 86 | | _ => return Err(ParseAttrsError::UnsupportedNameValue), [INFO] [stdout] 87 | | }) [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/convert_struct/try_from.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 147 | let fields = AllFieldsOptions::::parse( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | / types [INFO] [stdout] 154 | | .iter_with(subject, from_self) [INFO] [stdout] 155 | | .map(|type_ref @ TypeRef { from, to, .. }| { [INFO] [stdout] 156 | | let (lines, foreign_fields) = [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [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:26:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn derive_convert(input: TokenStream) -> TokenStream { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let input = parse_macro_input!(input 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 container_attrs = parse_container_attrs(&input.attrs) [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | / match &input.data { [INFO] [stdout] 27 | | Data::Struct(data) => convert_struct::derive_convert_struct( [INFO] [stdout] 28 | | &container_attrs, [INFO] [stdout] 29 | | &input.ident, [INFO] [stdout] ... | [INFO] [stdout] 37 | | Data::Union(_) => unimplemented!("Unions are not supported!"), [INFO] [stdout] 38 | | } [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] [stderr] error: could not compile `derive_convert` (lib test) due to 13 previous errors [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:273:8 [INFO] [stdout] | [INFO] [stdout] 153 | let mut types = HashMap::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let mut err_ty = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 273 | Ok(Some( [INFO] [stdout] | ________^ [INFO] [stdout] 274 | | MaybeFromAttrs { [INFO] [stdout] 275 | | err_ty, [INFO] [stdout] 276 | | types: Types(types), [INFO] [stdout] 277 | | } [INFO] [stdout] 278 | | .try_into()?, [INFO] [stdout] 279 | | )) [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] [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:429:8 [INFO] [stdout] | [INFO] [stdout] 363 | let mut map = HashMap::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 364 | let mut with = None::; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 365 | let mut with_rename = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 429 | Ok(FieldAttrs { [INFO] [stdout] | ________^ [INFO] [stdout] 430 | | map, [INFO] [stdout] 431 | | with: with.unwrap_or_default().rename(with_rename)?, [INFO] [stdout] 432 | | }) [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:474:5 [INFO] [stdout] | [INFO] [stdout] 455 | let mut map = None::; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 456 | let mut rename = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 474 | map.unwrap_or_default().rename(rename) [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/convert_enum/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | let subject = Type::Path(TypePath { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / [ [INFO] [stdout] 28 | | from.as_ref() [INFO] [stdout] 29 | | .map(|attrs| from::derive_from_enum(attrs, &subject, data, false)), [INFO] [stdout] 30 | | from_self [INFO] [stdout] ... | [INFO] [stdout] 40 | | .into_iter() [INFO] [stdout] 41 | | .flatten() [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/convert_enum/from.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 75 | let variants = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | AllVariantsOptions::::parse(data, filter_path, types); [INFO] [stdout] 77 | / types [INFO] [stdout] 78 | | .iter_with(subject, from_self) [INFO] [stdout] 79 | | .map(|type_ref @ TypeRef { from, to, .. }| { [INFO] [stdout] 80 | | let (lines, foreign_fields) = [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | }) [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/convert_enum/try_from.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 79 | let variants = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | AllVariantsOptions::::parse(data, filter_path, types); [INFO] [stdout] 81 | / types [INFO] [stdout] 82 | | .iter_with(subject, from_self) [INFO] [stdout] 83 | | .map(|type_ref @ TypeRef { from, to, .. }| { [INFO] [stdout] 84 | | let (lines, foreign_fields) = [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | }) [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/convert_struct/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | let subject = Type::Path(TypePath { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / [ [INFO] [stdout] 28 | | from.as_ref().map(|attrs| { [INFO] [stdout] 29 | | from::derive_from_struct(attrs, &subject, data, false) [INFO] [stdout] 30 | | }), [INFO] [stdout] ... | [INFO] [stdout] 41 | | .into_iter() [INFO] [stdout] 42 | | .flatten() [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/convert_struct/from.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn from_key_expr(key: &str, expr: Expr) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | Ok(match key { [INFO] [stdout] | ____________^ [INFO] [stdout] 47 | | "map" => Self::Map { [INFO] [stdout] 48 | | expr, [INFO] [stdout] 49 | | rename: None, [INFO] [stdout] ... | [INFO] [stdout] 63 | | _ => return Err(ParseAttrsError::UnsupportedNameValue), [INFO] [stdout] 64 | | }) [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/convert_struct/from.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 112 | let fields = AllFieldsOptions::::parse( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | / types [INFO] [stdout] 119 | | .iter_with(subject, from_self) [INFO] [stdout] 120 | | .map(|type_ref @ TypeRef { from, to, .. }| { [INFO] [stdout] 121 | | let (lines, foreign_fields) = [INFO] [stdout] ... | [INFO] [stdout] 132 | | } [INFO] [stdout] 133 | | }) [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/convert_struct/try_from.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_key_expr(key: &str, expr: Expr) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | Ok(match key { [INFO] [stdout] | ____________^ [INFO] [stdout] 55 | | "map" => Self::Map { [INFO] [stdout] 56 | | expr, [INFO] [stdout] 57 | | rename: None, [INFO] [stdout] ... | [INFO] [stdout] 86 | | _ => return Err(ParseAttrsError::UnsupportedNameValue), [INFO] [stdout] 87 | | }) [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/convert_struct/try_from.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 147 | let fields = AllFieldsOptions::::parse( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | / types [INFO] [stdout] 154 | | .iter_with(subject, from_self) [INFO] [stdout] 155 | | .map(|type_ref @ TypeRef { from, to, .. }| { [INFO] [stdout] 156 | | let (lines, foreign_fields) = [INFO] [stdout] ... | [INFO] [stdout] 169 | | } [INFO] [stdout] 170 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `derive_convert` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "ccb457341d21289085d8ee7947f02bb52cc5b82b92d76d15bc4900b7ccdb31d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb457341d21289085d8ee7947f02bb52cc5b82b92d76d15bc4900b7ccdb31d7", kill_on_drop: false }` [INFO] [stdout] ccb457341d21289085d8ee7947f02bb52cc5b82b92d76d15bc4900b7ccdb31d7