[INFO] fetching crate schemars_derive 1.0.0-alpha.13... [INFO] checking schemars_derive-1.0.0-alpha.13 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate schemars_derive 1.0.0-alpha.13 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate schemars_derive 1.0.0-alpha.13 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate schemars_derive 1.0.0-alpha.13 [INFO] finished tweaking crates.io crate schemars_derive 1.0.0-alpha.13 [INFO] tweaked toml for crates.io crate schemars_derive 1.0.0-alpha.13 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84f52bbc24d40af99572e34a6bee6a37f98c4e1dcee0037f4a3b1fbc00e1ed05 [INFO] running `Command { std: "docker" "start" "-a" "84f52bbc24d40af99572e34a6bee6a37f98c4e1dcee0037f4a3b1fbc00e1ed05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84f52bbc24d40af99572e34a6bee6a37f98c4e1dcee0037f4a3b1fbc00e1ed05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f52bbc24d40af99572e34a6bee6a37f98c4e1dcee0037f4a3b1fbc00e1ed05", kill_on_drop: false }` [INFO] [stdout] 84f52bbc24d40af99572e34a6bee6a37f98c4e1dcee0037f4a3b1fbc00e1ed05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a95e15b33699bf76c5c9254d16124d133758104bf920575a42fc42f8b309bdf2 [INFO] running `Command { std: "docker" "start" "-a" "a95e15b33699bf76c5c9254d16124d133758104bf920575a42fc42f8b309bdf2", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.76 [INFO] [stderr] Checking serde_derive_internals v0.29.1 [INFO] [stderr] Checking schemars_derive v1.0.0-alpha.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "a95e15b33699bf76c5c9254d16124d133758104bf920575a42fc42f8b309bdf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95e15b33699bf76c5c9254d16124d133758104bf920575a42fc42f8b309bdf2", kill_on_drop: false }` [INFO] [stdout] a95e15b33699bf76c5c9254d16124d133758104bf920575a42fc42f8b309bdf2 [INFO] checking schemars_derive-1.0.0-alpha.13 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate schemars_derive 1.0.0-alpha.13 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate schemars_derive 1.0.0-alpha.13 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate schemars_derive 1.0.0-alpha.13 [INFO] finished tweaking crates.io crate schemars_derive 1.0.0-alpha.13 [INFO] tweaked toml for crates.io crate schemars_derive 1.0.0-alpha.13 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8600374c4be06469b98912034b4e18c1088cb10a5e08bf9ee637d9d2d49a62f [INFO] running `Command { std: "docker" "start" "-a" "f8600374c4be06469b98912034b4e18c1088cb10a5e08bf9ee637d9d2d49a62f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8600374c4be06469b98912034b4e18c1088cb10a5e08bf9ee637d9d2d49a62f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8600374c4be06469b98912034b4e18c1088cb10a5e08bf9ee637d9d2d49a62f", kill_on_drop: false }` [INFO] [stdout] f8600374c4be06469b98912034b4e18c1088cb10a5e08bf9ee637d9d2d49a62f [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42c2ee1f171ed4f10233b728e44024fbd6fe94a30a8293e23bd160d4548527d5 [INFO] running `Command { std: "docker" "start" "-a" "42c2ee1f171ed4f10233b728e44024fbd6fe94a30a8293e23bd160d4548527d5", kill_on_drop: false }` [INFO] [stderr] Checking syn v2.0.76 [INFO] [stderr] Checking serde_derive_internals v0.29.1 [INFO] [stderr] Checking schemars_derive v1.0.0-alpha.13 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 23 | 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] 24 | / derive_json_schema(input, false) [INFO] [stdout] 25 | | .unwrap_or_else(syn::Error::into_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:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 31 | 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] 32 | / derive_json_schema(input, true) [INFO] [stdout] 33 | | .unwrap_or_else(syn::Error::into_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:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 23 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | ident: serde.ident, [INFO] [stdout] 25 | | serde_attrs: serde.attrs, [INFO] [stdout] 26 | | data: Data::from_serde(errors, serde.data)?, [INFO] [stdout] 27 | | generics: serde.generics.clone(), [INFO] [stdout] 28 | | attrs: ContainerAttrs::new(&serde.original.attrs, errors), [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 37 | Ok(match serde { [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | serde_ast::Data::Enum(variants) => { [INFO] [stdout] 39 | | Data::Enum(Variant::vec_from_serde(errors, variants)?) [INFO] [stdout] 40 | | } [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | }) [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:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | 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] 52 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 53 | | ident: serde.ident, [INFO] [stdout] 54 | | serde_attrs: serde.attrs, [INFO] [stdout] 55 | | style: serde.style, [INFO] [stdout] ... | [INFO] [stdout] 58 | | attrs: VariantAttrs::new(&serde.original.attrs, errors), [INFO] [stdout] 59 | | }) [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:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | 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] 67 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | member: serde.member, [INFO] [stdout] 69 | | serde_attrs: serde.attrs, [INFO] [stdout] 70 | | ty: serde.ty, [INFO] [stdout] 71 | | original: serde.original, [INFO] [stdout] 72 | | attrs: FieldAttrs::new(&serde.original.attrs, errors), [INFO] [stdout] 73 | | }) [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:266:27 [INFO] [stdout] | [INFO] [stdout] 266 | .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:363:28 [INFO] [stdout] | [INFO] [stdout] 363 | .unwrap_or_else(|| path.into_token_stream().to_string().replace(' ', "")) [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:393:31 [INFO] [stdout] | [INFO] [stdout] 389 | .filter_map(|meta| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | .and_then(|name| handle(meta, &name, self)) [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/parse_meta.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn parse_lit_str(lit_str: LitStr, cx: &AttrCtxt) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | lit_str.parse().map_err(|_| { [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/parse_meta.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn parse_schemars_regex(outer_meta: Meta, cx: &AttrCtxt) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | let mut pattern = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | pattern.ok_or_else(|| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 152 | | cx.error_spanned_by( [INFO] [stdout] 153 | | outer_meta, [INFO] [stdout] 154 | | "`schemars(regex(...))` attribute requires `pattern = ...`", [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | }) [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/parse_meta.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn parse_validate_regex(outer_meta: Meta, cx: &AttrCtxt) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | let mut path = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | path.ok_or_else(|| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 178 | | cx.error_spanned_by( [INFO] [stdout] 179 | | outer_meta, [INFO] [stdout] 180 | | "`validate(regex(...))` attribute requires `path = ...`", [INFO] [stdout] 181 | | ) [INFO] [stdout] 182 | | }) [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/parse_meta.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn parse_contains(outer_meta: Meta, cx: &AttrCtxt) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | let mut pattern = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | pattern.ok_or_else(|| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | cx.error_spanned_by( [INFO] [stdout] 207 | | outer_meta, [INFO] [stdout] 208 | | "`contains` attribute item requires `pattern = ...`", [INFO] [stdout] 209 | | ) [INFO] [stdout] 210 | | }) [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/parse_meta.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 218 | fn parse_meta_list(meta: Meta, cx: &AttrCtxt, parser: F) -> Result { [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] 219 | let Meta::List(meta_list) = meta else { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | meta_list.parse_args_with(parser).map_err(|err| { [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/parse_meta.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 267 | let key = input.parse::()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | input.parse::()?; [INFO] [stdout] 269 | let mut value = TokenStream::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | Ok(Extension { [INFO] [stdout] | ____________^ [INFO] [stdout] 280 | | key_str: key.value(), [INFO] [stdout] 281 | | key_lit: key, [INFO] [stdout] 282 | | value, [INFO] [stdout] 283 | | }) [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/attr/validation.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | .get_or_insert_with(|| Box::new(ValidationAttrs::default())); [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:21:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn from(creator: TokenStream) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Self { [INFO] [stdout] 21 | definitions: Vec::new(), [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:23:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn from(creator: TokenStream) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | mutators: Vec::new(), [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:541:22 [INFO] [stdout] | [INFO] [stdout] 473 | let set_container_default = match default { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 474 | SerdeDefault::None => None, [INFO] [stdout] 475 | SerdeDefault::Default => Some(quote!(let #STRUCT_DEFAULT = Self::default();)), [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | SerdeDefault::Path(path) => Some(quote!(let #STRUCT_DEFAULT = #path();)), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 480 | let properties: Vec = fields [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 532 | let set_additional_properties = if deny_unknown_fields { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 533 | / quote! { [INFO] [stdout] 534 | | "additionalProperties": false, [INFO] [stdout] 535 | | } [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 541 | definitions: set_container_default.into_iter().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/schema_exprs.rs:582:10 [INFO] [stdout] | [INFO] [stdout] 557 | 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] 560 | quote!(#STRUCT_DEFAULT.#member) [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | } [INFO] [stdout] 562 | 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] 563 | 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] 566 | 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] 567 | Some(skip_if) => { [INFO] [stdout] 568 | / quote! { [INFO] [stdout] 569 | | { [INFO] [stdout] 570 | | let default = #default_expr; [INFO] [stdout] 571 | | if #skip_if(&default) { [INFO] [stdout] ... | [INFO] [stdout] 576 | | } [INFO] [stdout] 577 | | } [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] 578 | } [INFO] [stdout] 579 | | 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] 582 | Some(if let Some(ser_with) = field.serde_attrs.serialize_with() { [INFO] [stdout] | __________^ [INFO] [stdout] 583 | quote! { [INFO] [stdout] 584 | { [INFO] [stdout] 585 | struct _SchemarsDefaultSerialize(T); [INFO] [stdout] ... [INFO] [stdout] 601 | default_expr [INFO] [stdout] 602 | | }) [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 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `schemars_derive` (lib) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 23 | 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] 24 | / derive_json_schema(input, false) [INFO] [stdout] 25 | | .unwrap_or_else(syn::Error::into_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:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 31 | 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] 32 | / derive_json_schema(input, true) [INFO] [stdout] 33 | | .unwrap_or_else(syn::Error::into_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:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | 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] 23 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 24 | | ident: serde.ident, [INFO] [stdout] 25 | | serde_attrs: serde.attrs, [INFO] [stdout] 26 | | data: Data::from_serde(errors, serde.data)?, [INFO] [stdout] 27 | | generics: serde.generics.clone(), [INFO] [stdout] 28 | | attrs: ContainerAttrs::new(&serde.original.attrs, errors), [INFO] [stdout] 29 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 37 | Ok(match serde { [INFO] [stdout] | ____________^ [INFO] [stdout] 38 | | serde_ast::Data::Enum(variants) => { [INFO] [stdout] 39 | | Data::Enum(Variant::vec_from_serde(errors, variants)?) [INFO] [stdout] 40 | | } [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | }) [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:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | 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] 52 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 53 | | ident: serde.ident, [INFO] [stdout] 54 | | serde_attrs: serde.attrs, [INFO] [stdout] 55 | | style: serde.style, [INFO] [stdout] ... | [INFO] [stdout] 58 | | attrs: VariantAttrs::new(&serde.original.attrs, errors), [INFO] [stdout] 59 | | }) [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:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | 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] 67 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | member: serde.member, [INFO] [stdout] 69 | | serde_attrs: serde.attrs, [INFO] [stdout] 70 | | ty: serde.ty, [INFO] [stdout] 71 | | original: serde.original, [INFO] [stdout] 72 | | attrs: FieldAttrs::new(&serde.original.attrs, errors), [INFO] [stdout] 73 | | }) [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:266:27 [INFO] [stdout] | [INFO] [stdout] 266 | .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:363:28 [INFO] [stdout] | [INFO] [stdout] 363 | .unwrap_or_else(|| path.into_token_stream().to_string().replace(' ', "")) [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:393:31 [INFO] [stdout] | [INFO] [stdout] 389 | .filter_map(|meta| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | .and_then(|name| handle(meta, &name, self)) [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/parse_meta.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn parse_lit_str(lit_str: LitStr, cx: &AttrCtxt) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | lit_str.parse().map_err(|_| { [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/parse_meta.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn parse_schemars_regex(outer_meta: Meta, cx: &AttrCtxt) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 131 | let mut pattern = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | pattern.ok_or_else(|| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 152 | | cx.error_spanned_by( [INFO] [stdout] 153 | | outer_meta, [INFO] [stdout] 154 | | "`schemars(regex(...))` attribute requires `pattern = ...`", [INFO] [stdout] 155 | | ) [INFO] [stdout] 156 | | }) [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/parse_meta.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn parse_validate_regex(outer_meta: Meta, cx: &AttrCtxt) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | let mut path = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | path.ok_or_else(|| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 178 | | cx.error_spanned_by( [INFO] [stdout] 179 | | outer_meta, [INFO] [stdout] 180 | | "`validate(regex(...))` attribute requires `path = ...`", [INFO] [stdout] 181 | | ) [INFO] [stdout] 182 | | }) [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/parse_meta.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn parse_contains(outer_meta: Meta, cx: &AttrCtxt) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | let mut pattern = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | pattern.ok_or_else(|| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 206 | | cx.error_spanned_by( [INFO] [stdout] 207 | | outer_meta, [INFO] [stdout] 208 | | "`contains` attribute item requires `pattern = ...`", [INFO] [stdout] 209 | | ) [INFO] [stdout] 210 | | }) [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/parse_meta.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 218 | fn parse_meta_list(meta: Meta, cx: &AttrCtxt, parser: F) -> Result { [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] 219 | let Meta::List(meta_list) = meta else { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | meta_list.parse_args_with(parser).map_err(|err| { [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/parse_meta.rs:279:12 [INFO] [stdout] | [INFO] [stdout] 267 | let key = input.parse::()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 268 | input.parse::()?; [INFO] [stdout] 269 | let mut value = TokenStream::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 279 | Ok(Extension { [INFO] [stdout] | ____________^ [INFO] [stdout] 280 | | key_str: key.value(), [INFO] [stdout] 281 | | key_lit: key, [INFO] [stdout] 282 | | value, [INFO] [stdout] 283 | | }) [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/attr/validation.rs:171:57 [INFO] [stdout] | [INFO] [stdout] 171 | .get_or_insert_with(|| Box::new(ValidationAttrs::default())); [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:21:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn from(creator: TokenStream) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Self { [INFO] [stdout] 21 | definitions: Vec::new(), [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:23:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn from(creator: TokenStream) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | mutators: Vec::new(), [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:541:22 [INFO] [stdout] | [INFO] [stdout] 473 | let set_container_default = match default { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 474 | SerdeDefault::None => None, [INFO] [stdout] 475 | SerdeDefault::Default => Some(quote!(let #STRUCT_DEFAULT = Self::default();)), [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | SerdeDefault::Path(path) => Some(quote!(let #STRUCT_DEFAULT = #path();)), [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 480 | let properties: Vec = fields [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 532 | let set_additional_properties = if deny_unknown_fields { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 533 | / quote! { [INFO] [stdout] 534 | | "additionalProperties": false, [INFO] [stdout] 535 | | } [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 541 | definitions: set_container_default.into_iter().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/schema_exprs.rs:582:10 [INFO] [stdout] | [INFO] [stdout] 557 | 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] 560 | quote!(#STRUCT_DEFAULT.#member) [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | } [INFO] [stdout] 562 | 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] 563 | 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] 566 | 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] 567 | Some(skip_if) => { [INFO] [stdout] 568 | / quote! { [INFO] [stdout] 569 | | { [INFO] [stdout] 570 | | let default = #default_expr; [INFO] [stdout] 571 | | if #skip_if(&default) { [INFO] [stdout] ... | [INFO] [stdout] 576 | | } [INFO] [stdout] 577 | | } [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] 578 | } [INFO] [stdout] 579 | | 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] 582 | Some(if let Some(ser_with) = field.serde_attrs.serialize_with() { [INFO] [stdout] | __________^ [INFO] [stdout] 583 | quote! { [INFO] [stdout] 584 | { [INFO] [stdout] 585 | struct _SchemarsDefaultSerialize(T); [INFO] [stdout] ... [INFO] [stdout] 601 | default_expr [INFO] [stdout] 602 | | }) [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 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `schemars_derive` (lib test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "42c2ee1f171ed4f10233b728e44024fbd6fe94a30a8293e23bd160d4548527d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42c2ee1f171ed4f10233b728e44024fbd6fe94a30a8293e23bd160d4548527d5", kill_on_drop: false }` [INFO] [stdout] 42c2ee1f171ed4f10233b728e44024fbd6fe94a30a8293e23bd160d4548527d5