[INFO] fetching crate ckb_schemars_derive 0.8.19... [INFO] checking ckb_schemars_derive-0.8.19 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ckb_schemars_derive 0.8.19 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ckb_schemars_derive 0.8.19 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 ckb_schemars_derive 0.8.19 [INFO] finished tweaking crates.io crate ckb_schemars_derive 0.8.19 [INFO] tweaked toml for crates.io crate ckb_schemars_derive 0.8.19 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 9 packages to latest compatible versions [INFO] [stderr] Adding serde_derive_internals v0.26.0 (latest: v0.29.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [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-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] 4ec7d722fc923352a1c2e2ec2ad8f822b02ba6132fdc29a1775db629ffd9b084 [INFO] running `Command { std: "docker" "start" "-a" "4ec7d722fc923352a1c2e2ec2ad8f822b02ba6132fdc29a1775db629ffd9b084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ec7d722fc923352a1c2e2ec2ad8f822b02ba6132fdc29a1775db629ffd9b084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ec7d722fc923352a1c2e2ec2ad8f822b02ba6132fdc29a1775db629ffd9b084", kill_on_drop: false }` [INFO] [stdout] 4ec7d722fc923352a1c2e2ec2ad8f822b02ba6132fdc29a1775db629ffd9b084 [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] 33976eaa3606d55787b4f1ec251a8e933cee934fee04095817f65826d60e1682 [INFO] running `Command { std: "docker" "start" "-a" "33976eaa3606d55787b4f1ec251a8e933cee934fee04095817f65826d60e1682", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking serde_derive_internals v0.26.0 [INFO] [stderr] Checking ckb_schemars_derive v0.8.19 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `original` is never read [INFO] [stdout] --> src/ast/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Container<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub original: &'a syn::DeriveInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn derive_json_schema_wrapper(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let input = parse_macro_input!(input as syn::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] 22 | / derive_json_schema(input, false) [INFO] [stdout] 23 | | .unwrap_or_else(compile_error) [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:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn derive_json_schema_repr_wrapper(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let input = parse_macro_input!(input as syn::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] 30 | / derive_json_schema(input, true) [INFO] [stdout] 31 | | .unwrap_or_else(compile_error) [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/ast/mod.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 42 | let ctxt = Ctxt::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let result = serde_ast::Container::from_ast(&ctxt, item, Derive::Deserialize) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | .map(|_| result.expect("from_ast set no errors on Ctxt, so should have returned Ok")) [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/ast/from_serde.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_serde(errors: &Ctxt, serde: Self::SerdeType) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | ident: serde.ident, [INFO] [stdout] 26 | | serde_attrs: serde.attrs, [INFO] [stdout] 27 | | data: Data::from_serde(errors, serde.data)?, [INFO] [stdout] ... | [INFO] [stdout] 31 | | attrs: Attrs::new(&serde.original.attrs, errors), [INFO] [stdout] 32 | | }) [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/ast/from_serde.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | fn from_serde(errors: &Ctxt, serde: Self::SerdeType) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Ok(match serde { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | serde_ast::Data::Enum(variants) => { [INFO] [stdout] 42 | | Data::Enum(Variant::vec_from_serde(errors, variants)?) [INFO] [stdout] 43 | | } [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | }) [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/ast/from_serde.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_serde(errors: &Ctxt, serde: Self::SerdeType) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | ident: serde.ident, [INFO] [stdout] 57 | | serde_attrs: serde.attrs, [INFO] [stdout] 58 | | style: serde.style, [INFO] [stdout] ... | [INFO] [stdout] 61 | | attrs: Attrs::new(&serde.original.attrs, errors), [INFO] [stdout] 62 | | }) [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/ast/from_serde.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | fn from_serde(errors: &Ctxt, serde: Self::SerdeType) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 71 | | member: serde.member, [INFO] [stdout] 72 | | serde_attrs: serde.attrs, [INFO] [stdout] 73 | | ty: serde.ty, [INFO] [stdout] ... | [INFO] [stdout] 76 | | validation_attrs: ValidationAttrs::new(&serde.original.attrs, errors), [INFO] [stdout] 77 | | }) [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/attr/mod.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | .and_then(|a| a.parse_args().ok()); [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/attr/mod.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 309 | let stream = syn::parse_str(&s.value())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | Ok(respan_token_stream(stream, s.span())) [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/attr/mod.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 313 | fn respan_token_stream(stream: TokenStream, span: Span) -> TokenStream { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | / stream [INFO] [stdout] 315 | | .into_iter() [INFO] [stdout] 316 | | .map(|token| respan_token_tree(token, span)) [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/attr/validation.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 51 | let schemars_items = get_meta_items(attrs, "schemars", errors, false); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let validate_items = get_meta_items(attrs, "validate", errors, true); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | [INFO] [stdout] 54 | / ValidationAttrs::default() [INFO] [stdout] 55 | | .populate(schemars_items, "schemars", false, 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] [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/attr/validation.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 451 | parse_lit_into_path(cx, attr_type, meta_item_name, lit).map(|path| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | Expr::Path(ExprPath { [INFO] [stdout] | ____________________^ [INFO] [stdout] 453 | | attrs: Vec::new(), [INFO] [stdout] 454 | | qself: None, [INFO] [stdout] 455 | | path, [INFO] [stdout] 456 | | }) [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/schema_exprs.rs:618:10 [INFO] [stdout] | [INFO] [stdout] 593 | let default_expr = match field_default { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 596 | quote!(container_default.#member) [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | } [INFO] [stdout] 598 | SerdeDefault::Default => quote!(<#ty>::default()), [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 599 | SerdeDefault::Path(path) => quote!(#path()), [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 602 | let default_expr = match field.serde_attrs.skip_serializing_if() { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 603 | Some(skip_if) => { [INFO] [stdout] 604 | / quote! { [INFO] [stdout] 605 | | { [INFO] [stdout] 606 | | let default = #default_expr; [INFO] [stdout] 607 | | if #skip_if(&default) { [INFO] [stdout] ... | [INFO] [stdout] 612 | | } [INFO] [stdout] 613 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________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] 614 | } [INFO] [stdout] 615 | | None => quote!(Some(#default_expr)), [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] 618 | Some(if let Some(ser_with) = field.serde_attrs.serialize_with() { [INFO] [stdout] | __________^ [INFO] [stdout] 619 | quote! { [INFO] [stdout] 620 | { [INFO] [stdout] 621 | struct _SchemarsDefaultSerialize(T); [INFO] [stdout] ... [INFO] [stdout] 637 | default_expr [INFO] [stdout] 638 | | }) [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 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ckb_schemars_derive` (lib) due to 14 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `original` is never read [INFO] [stdout] --> src/ast/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Container<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub original: &'a syn::DeriveInput, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn derive_json_schema_wrapper(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let input = parse_macro_input!(input as syn::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] 22 | / derive_json_schema(input, false) [INFO] [stdout] 23 | | .unwrap_or_else(compile_error) [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:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn derive_json_schema_repr_wrapper(input: proc_macro::TokenStream) -> proc_macro::TokenStream { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let input = parse_macro_input!(input as syn::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] 30 | / derive_json_schema(input, true) [INFO] [stdout] 31 | | .unwrap_or_else(compile_error) [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/ast/mod.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 42 | let ctxt = Ctxt::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | let result = serde_ast::Container::from_ast(&ctxt, item, Derive::Deserialize) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | .map(|_| result.expect("from_ast set no errors on Ctxt, so should have returned Ok")) [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/ast/from_serde.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_serde(errors: &Ctxt, serde: Self::SerdeType) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | ident: serde.ident, [INFO] [stdout] 26 | | serde_attrs: serde.attrs, [INFO] [stdout] 27 | | data: Data::from_serde(errors, serde.data)?, [INFO] [stdout] ... | [INFO] [stdout] 31 | | attrs: Attrs::new(&serde.original.attrs, errors), [INFO] [stdout] 32 | | }) [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/ast/from_serde.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | fn from_serde(errors: &Ctxt, serde: Self::SerdeType) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Ok(match serde { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | serde_ast::Data::Enum(variants) => { [INFO] [stdout] 42 | | Data::Enum(Variant::vec_from_serde(errors, variants)?) [INFO] [stdout] 43 | | } [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | }) [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/ast/from_serde.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_serde(errors: &Ctxt, serde: Self::SerdeType) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 56 | | ident: serde.ident, [INFO] [stdout] 57 | | serde_attrs: serde.attrs, [INFO] [stdout] 58 | | style: serde.style, [INFO] [stdout] ... | [INFO] [stdout] 61 | | attrs: Attrs::new(&serde.original.attrs, errors), [INFO] [stdout] 62 | | }) [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/ast/from_serde.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | fn from_serde(errors: &Ctxt, serde: Self::SerdeType) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 71 | | member: serde.member, [INFO] [stdout] 72 | | serde_attrs: serde.attrs, [INFO] [stdout] 73 | | ty: serde.ty, [INFO] [stdout] ... | [INFO] [stdout] 76 | | validation_attrs: ValidationAttrs::new(&serde.original.attrs, errors), [INFO] [stdout] 77 | | }) [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/attr/mod.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | .and_then(|a| a.parse_args().ok()); [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/attr/mod.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 309 | let stream = syn::parse_str(&s.value())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 310 | Ok(respan_token_stream(stream, s.span())) [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/attr/mod.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 313 | fn respan_token_stream(stream: TokenStream, span: Span) -> TokenStream { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 314 | / stream [INFO] [stdout] 315 | | .into_iter() [INFO] [stdout] 316 | | .map(|token| respan_token_tree(token, span)) [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/attr/validation.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 51 | let schemars_items = get_meta_items(attrs, "schemars", errors, false); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let validate_items = get_meta_items(attrs, "validate", errors, true); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | [INFO] [stdout] 54 | / ValidationAttrs::default() [INFO] [stdout] 55 | | .populate(schemars_items, "schemars", false, 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] [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/attr/validation.rs:452:20 [INFO] [stdout] | [INFO] [stdout] 451 | parse_lit_into_path(cx, attr_type, meta_item_name, lit).map(|path| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 452 | Expr::Path(ExprPath { [INFO] [stdout] | ____________________^ [INFO] [stdout] 453 | | attrs: Vec::new(), [INFO] [stdout] 454 | | qself: None, [INFO] [stdout] 455 | | path, [INFO] [stdout] 456 | | }) [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/schema_exprs.rs:618:10 [INFO] [stdout] | [INFO] [stdout] 593 | let default_expr = match field_default { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 596 | quote!(container_default.#member) [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | } [INFO] [stdout] 598 | SerdeDefault::Default => quote!(<#ty>::default()), [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 599 | SerdeDefault::Path(path) => quote!(#path()), [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 602 | let default_expr = match field.serde_attrs.skip_serializing_if() { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 603 | Some(skip_if) => { [INFO] [stdout] 604 | / quote! { [INFO] [stdout] 605 | | { [INFO] [stdout] 606 | | let default = #default_expr; [INFO] [stdout] 607 | | if #skip_if(&default) { [INFO] [stdout] ... | [INFO] [stdout] 612 | | } [INFO] [stdout] 613 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________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] 614 | } [INFO] [stdout] 615 | | None => quote!(Some(#default_expr)), [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] 618 | Some(if let Some(ser_with) = field.serde_attrs.serialize_with() { [INFO] [stdout] | __________^ [INFO] [stdout] 619 | quote! { [INFO] [stdout] 620 | { [INFO] [stdout] 621 | struct _SchemarsDefaultSerialize(T); [INFO] [stdout] ... [INFO] [stdout] 637 | default_expr [INFO] [stdout] 638 | | }) [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] error: could not compile `ckb_schemars_derive` (lib test) due to 14 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "33976eaa3606d55787b4f1ec251a8e933cee934fee04095817f65826d60e1682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33976eaa3606d55787b4f1ec251a8e933cee934fee04095817f65826d60e1682", kill_on_drop: false }` [INFO] [stdout] 33976eaa3606d55787b4f1ec251a8e933cee934fee04095817f65826d60e1682