[INFO] fetching crate serde_valid_derive 0.24.0... [INFO] checking serde_valid_derive-0.24.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate serde_valid_derive 0.24.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate serde_valid_derive 0.24.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 serde_valid_derive 0.24.0 [INFO] finished tweaking crates.io crate serde_valid_derive 0.24.0 [INFO] tweaked toml for crates.io crate serde_valid_derive 0.24.0 written to /workspace/builds/worker-1-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] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 570d54adced1dde2cba4ae7289f46f58375f0a2a7959782c96b4ff19311e34dc [INFO] running `Command { std: "docker" "start" "-a" "570d54adced1dde2cba4ae7289f46f58375f0a2a7959782c96b4ff19311e34dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "570d54adced1dde2cba4ae7289f46f58375f0a2a7959782c96b4ff19311e34dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "570d54adced1dde2cba4ae7289f46f58375f0a2a7959782c96b4ff19311e34dc", kill_on_drop: false }` [INFO] [stdout] 570d54adced1dde2cba4ae7289f46f58375f0a2a7959782c96b4ff19311e34dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d5f814cd904928ab8a59b18b2315a00801cba26e5b81eb5d62acb248d99f4361 [INFO] running `Command { std: "docker" "start" "-a" "d5f814cd904928ab8a59b18b2315a00801cba26e5b81eb5d62acb248d99f4361", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking proc-macro-error v1.0.4 [INFO] [stderr] Checking serde_valid_derive v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/common/message_format.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | (Ok(_), _, _, syn::Meta::Path(_)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `MetaPathCustomMessage` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/common/message_format.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | (Ok(_), _, _, _) => Err(vec![crate::Error::meta_path_custom_message_need_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `MetaPathCustomMessage` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/common/message_format.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | (Ok(_), _, _, syn::Meta::Path(_)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `MetaPathCustomMessage` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/common/message_format.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | (Ok(_), _, _, _) => Err(vec![crate::Error::meta_path_custom_message_need_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `MetaPathCustomMessage` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/struct_validate/meta.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | (Ok(validation_type), _, _, syn::Meta::Path(validation)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `MetaPathStructValidation` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/struct_validate/meta.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | (Ok(_), _, _, _) => Err(vec![crate::Error::meta_path_validation_need_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `MetaPathStructValidation` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/variant_validate/meta.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | (Ok(validation_type), _, _, syn::Meta::Path(validation)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `MetaPathStructValidation` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/variant_validate/meta.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | (Ok(_), _, _, _) => Err(vec![crate::Error::meta_path_validation_need_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `MetaPathStructValidation` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/struct_validate/meta.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | (Ok(validation_type), _, _, syn::Meta::Path(validation)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `MetaPathStructValidation` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/struct_validate/meta.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | (Ok(_), _, _, _) => Err(vec![crate::Error::meta_path_validation_need_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `MetaPathStructValidation` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/variant_validate/meta.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | (Ok(validation_type), _, _, syn::Meta::Path(validation)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `MetaPathStructValidation` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/attribute/variant_validate/meta.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | (Ok(_), _, _, _) => Err(vec![crate::Error::meta_path_validation_need_value( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ matches no values because `MetaPathStructValidation` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [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:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn derive_validate(tokens: 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!(tokens 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] 20 | [INFO] [stdout] 21 | / expand_derive(&input) [INFO] [stdout] 22 | | .unwrap_or_else(to_compile_errors) [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/attribute/common/message_format.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 135 | let fn_define = match &meta_name_value.value { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | syn::Expr::Path(syn::ExprPath { path, .. }) => quote!(#path), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | syn::Expr::Call(call) => quote!(#call), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | syn::Expr::Closure(closure) => quote!(#closure), [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(WithWarnings::new( [INFO] [stdout] | ________^ [INFO] [stdout] 145 | | quote!(::serde_valid::validation::error::Format::MessageFn(#fn_define)), [INFO] [stdout] 146 | | )) [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/attribute/field_validate/field.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(field: Cow<'a, F>, validators: Vec>) -> Self { [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] 18 | validators: validators.iter().map(|v| v.data.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute/field_validate/field.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(field: Cow<'a, F>, validators: Vec>) -> Self { [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] 19 | warnings: validators.into_iter().flat_map(|v| v.warnings).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute/field_validate/generic/custom.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 11 | _message_format: MessageFormat, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let field_key = field.key(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let nested = meta_list [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let custom_fn_name = match nested.len() { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | &field.errors_variable(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute/field_validate/generic/custom.rs:63:76 [INFO] [stdout] | [INFO] [stdout] 46 | _message_format: MessageFormat, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let field_key = field.key(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let fn_name = match &meta_name_value.value { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | syn::Expr::Path(path) => Ok(quote!(#path)), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | syn::Expr::Call(func_call) => Ok(quote!(#func_call)), [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | syn::Expr::Closure(closure) => Ok(quote!((#closure))), [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] 63 | inner_extract_generic_custom_validator(field_ident, rename, &fn_name, &field.errors_variable()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute/field_validate/generic/validate.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 13 | let field_key = field.key(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let rename = rename_map.get(field_name).unwrap_or(&field_key); [INFO] [stdout] 15 | let errors = field.errors_variable(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | Ok(WithWarnings::new(quote!( [INFO] [stdout] | ________^ [INFO] [stdout] 18 | | if let Err(__inner_errors) = #field_ident.validate() { [INFO] [stdout] 19 | | match __inner_errors { [INFO] [stdout] 20 | | ::serde_valid::validation::Errors::Object(__object_errors) => { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | ))) [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/attribute/field_validate/meta.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | .unwrap_or_else(|| WithWarnings::new(default_message_format())); [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:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn derive_validate(tokens: 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!(tokens 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] 20 | [INFO] [stdout] 21 | / expand_derive(&input) [INFO] [stdout] 22 | | .unwrap_or_else(to_compile_errors) [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/attribute/rule/named_struct_rule.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 109 | let nested = meta_list [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let mut arg_idents = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let rule_fn_args = nested [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 146 | | arg_idents, [INFO] [stdout] 147 | | quote!( [INFO] [stdout] 148 | | if let Err(__error) = #rule_fn_name(#rule_fn_args) { [INFO] [stdout] ... | [INFO] [stdout] 151 | | ), [INFO] [stdout] 152 | | )) [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/attribute/common/message_format.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 135 | let fn_define = match &meta_name_value.value { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | syn::Expr::Path(syn::ExprPath { path, .. }) => quote!(#path), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | syn::Expr::Call(call) => quote!(#call), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | syn::Expr::Closure(closure) => quote!(#closure), [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | Ok(WithWarnings::new( [INFO] [stdout] | ________^ [INFO] [stdout] 145 | | quote!(::serde_valid::validation::error::Format::MessageFn(#fn_define)), [INFO] [stdout] 146 | | )) [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/attribute/rule/named_struct_rule.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 160 | let mut arg_idents = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let rule_fn_args = closure [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 180 | | arg_idents, [INFO] [stdout] 181 | | quote!( [INFO] [stdout] 182 | | if let Err(__error) = (#closure)(#rule_fn_args) { [INFO] [stdout] ... | [INFO] [stdout] 185 | | ), [INFO] [stdout] 186 | | )) [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/attribute/rule/unnamed_struct_rule.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 109 | let nested = meta_list [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let mut arg_idents = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let rule_fn_args = nested [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 141 | | arg_idents, [INFO] [stdout] 142 | | quote!( [INFO] [stdout] 143 | | if let Err(__error) = #rule_fn_name(#rule_fn_args) { [INFO] [stdout] ... | [INFO] [stdout] 147 | | ), [INFO] [stdout] 148 | | )) [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/attribute/field_validate/field.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(field: Cow<'a, F>, validators: Vec>) -> Self { [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] 18 | validators: validators.iter().map(|v| v.data.clone()).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute/field_validate/field.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(field: Cow<'a, F>, validators: Vec>) -> Self { [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] 19 | warnings: validators.into_iter().flat_map(|v| v.warnings).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute/field_validate/generic/custom.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 11 | _message_format: MessageFormat, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | let field_key = field.key(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let nested = meta_list [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let custom_fn_name = match nested.len() { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | &field.errors_variable(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attribute/rule/unnamed_struct_rule.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 156 | let mut arg_idents = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | let rule_fn_args = closure [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 180 | | arg_idents, [INFO] [stdout] 181 | | quote!( [INFO] [stdout] 182 | | if let Err(__error) = (#closure)(#rule_fn_args) { [INFO] [stdout] ... | [INFO] [stdout] 185 | | ), [INFO] [stdout] 186 | | )) [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/attribute/struct_validate/meta.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | .unwrap_or_else(|| WithWarnings::new(default_message_format())); [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/attribute/struct_validate/meta/meta_name_value.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | message_format: MessageFormat, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ) -> Result, crate::Errors> { [INFO] [stdout] 16 | / match validation_type { [INFO] [stdout] 17 | | MetaNameValueStructValidation::Custom => { [INFO] [stdout] 18 | | extract_generic_struct_custom_validator_from_meta_name_value(validation, message_format) [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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/attribute/variant_validate/meta.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | .unwrap_or_else(|| WithWarnings::new(default_message_format())); [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/attribute/variant_validate/meta/meta_name_value.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | message_format: MessageFormat, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ) -> Result, crate::Errors> { [INFO] [stdout] 16 | / match validation_type { [INFO] [stdout] 17 | | MetaNameValueStructValidation::Custom => { [INFO] [stdout] 18 | | extract_generic_struct_custom_validator_from_meta_name_value(validation, message_format) [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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/derive/named_struct_derive.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | |field| match collect_named_field_validators(field, rename_map) { [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/attribute/field_validate/generic/custom.rs:63:76 [INFO] [stdout] | [INFO] [stdout] 46 | _message_format: MessageFormat, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let field_key = field.key(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let fn_name = match &meta_name_value.value { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | syn::Expr::Path(path) => Ok(quote!(#path)), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | syn::Expr::Call(func_call) => Ok(quote!(#func_call)), [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | syn::Expr::Closure(closure) => Ok(quote!((#closure))), [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] 63 | inner_extract_generic_custom_validator(field_ident, rename, &fn_name, &field.errors_variable()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/derive/named_struct_derive.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 131 | let named_field = NamedField::new(field); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let validators = named_field [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(FieldValidators::new( [INFO] [stdout] | ________^ [INFO] [stdout] 155 | | Cow::Owned(named_field.clone()), [INFO] [stdout] 156 | | validators, [INFO] [stdout] 157 | | )) [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/derive/unnamed_struct_derive.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | .filter_map(|field| match collect_unnamed_field_validators(field) { [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/derive/unnamed_struct_derive.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 130 | let unnamed_field = UnnamedField::new(index, field); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | [INFO] [stdout] 132 | let validators = unnamed_field [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(FieldValidators::new(Cow::Owned(unnamed_field), validators)) [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/attribute/field_validate/generic/validate.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 13 | let field_key = field.key(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let rename = rename_map.get(field_name).unwrap_or(&field_key); [INFO] [stdout] 15 | let errors = field.errors_variable(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | Ok(WithWarnings::new(quote!( [INFO] [stdout] | ________^ [INFO] [stdout] 18 | | if let Err(__inner_errors) = #field_ident.validate() { [INFO] [stdout] 19 | | match __inner_errors { [INFO] [stdout] 20 | | ::serde_valid::validation::Errors::Object(__object_errors) => { [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | ))) [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/attribute/field_validate/meta.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 84 | .unwrap_or_else(|| WithWarnings::new(default_message_format())); [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/attribute/rule/named_struct_rule.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 109 | let nested = meta_list [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let mut arg_idents = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let rule_fn_args = nested [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 146 | | arg_idents, [INFO] [stdout] 147 | | quote!( [INFO] [stdout] 148 | | if let Err(__error) = #rule_fn_name(#rule_fn_args) { [INFO] [stdout] ... | [INFO] [stdout] 151 | | ), [INFO] [stdout] 152 | | )) [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/attribute/rule/named_struct_rule.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 160 | let mut arg_idents = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let rule_fn_args = closure [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 180 | | arg_idents, [INFO] [stdout] 181 | | quote!( [INFO] [stdout] 182 | | if let Err(__error) = (#closure)(#rule_fn_args) { [INFO] [stdout] ... | [INFO] [stdout] 185 | | ), [INFO] [stdout] 186 | | )) [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/attribute/rule/unnamed_struct_rule.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 109 | let nested = meta_list [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let mut arg_idents = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let rule_fn_args = nested [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 141 | | arg_idents, [INFO] [stdout] 142 | | quote!( [INFO] [stdout] 143 | | if let Err(__error) = #rule_fn_name(#rule_fn_args) { [INFO] [stdout] ... | [INFO] [stdout] 147 | | ), [INFO] [stdout] 148 | | )) [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/attribute/rule/unnamed_struct_rule.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 156 | let mut arg_idents = HashSet::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | let rule_fn_args = closure [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 180 | | arg_idents, [INFO] [stdout] 181 | | quote!( [INFO] [stdout] 182 | | if let Err(__error) = (#closure)(#rule_fn_args) { [INFO] [stdout] ... | [INFO] [stdout] 185 | | ), [INFO] [stdout] 186 | | )) [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/attribute/struct_validate/meta.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | .unwrap_or_else(|| WithWarnings::new(default_message_format())); [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/attribute/struct_validate/meta/meta_name_value.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | message_format: MessageFormat, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ) -> Result, crate::Errors> { [INFO] [stdout] 16 | / match validation_type { [INFO] [stdout] 17 | | MetaNameValueStructValidation::Custom => { [INFO] [stdout] 18 | | extract_generic_struct_custom_validator_from_meta_name_value(validation, message_format) [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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/attribute/variant_validate/meta.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 81 | .unwrap_or_else(|| WithWarnings::new(default_message_format())); [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/attribute/variant_validate/meta/meta_name_value.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | message_format: MessageFormat, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ) -> Result, crate::Errors> { [INFO] [stdout] 16 | / match validation_type { [INFO] [stdout] 17 | | MetaNameValueStructValidation::Custom => { [INFO] [stdout] 18 | | extract_generic_struct_custom_validator_from_meta_name_value(validation, message_format) [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [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/derive/named_struct_derive.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | |field| match collect_named_field_validators(field, rename_map) { [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/derive/named_struct_derive.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 131 | let named_field = NamedField::new(field); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let validators = named_field [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(FieldValidators::new( [INFO] [stdout] | ________^ [INFO] [stdout] 155 | | Cow::Owned(named_field.clone()), [INFO] [stdout] 156 | | validators, [INFO] [stdout] 157 | | )) [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/derive/unnamed_struct_derive.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | .filter_map(|field| match collect_unnamed_field_validators(field) { [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/derive/unnamed_struct_derive.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 130 | let unnamed_field = UnnamedField::new(index, field); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | [INFO] [stdout] 132 | let validators = unnamed_field [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(FieldValidators::new(Cow::Owned(unnamed_field), validators)) [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 20 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_valid_derive` (lib test) due to 21 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 20 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_valid_derive` (lib) due to 21 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d5f814cd904928ab8a59b18b2315a00801cba26e5b81eb5d62acb248d99f4361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f814cd904928ab8a59b18b2315a00801cba26e5b81eb5d62acb248d99f4361", kill_on_drop: false }` [INFO] [stdout] d5f814cd904928ab8a59b18b2315a00801cba26e5b81eb5d62acb248d99f4361