[INFO] fetching crate pyo3-macros-backend 0.22.2... [INFO] checking pyo3-macros-backend-0.22.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pyo3-macros-backend 0.22.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pyo3-macros-backend 0.22.2 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 pyo3-macros-backend 0.22.2 [INFO] finished tweaking crates.io crate pyo3-macros-backend 0.22.2 [INFO] tweaked toml for crates.io crate pyo3-macros-backend 0.22.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 0e018cd480d2d1b036fd18ea657a5256f831dd80bc32fb74c4d2003d2475d109 [INFO] running `Command { std: "docker" "start" "-a" "0e018cd480d2d1b036fd18ea657a5256f831dd80bc32fb74c4d2003d2475d109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e018cd480d2d1b036fd18ea657a5256f831dd80bc32fb74c4d2003d2475d109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e018cd480d2d1b036fd18ea657a5256f831dd80bc32fb74c4d2003d2475d109", kill_on_drop: false }` [INFO] [stdout] 0e018cd480d2d1b036fd18ea657a5256f831dd80bc32fb74c4d2003d2475d109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] c5da1e712466ed36f190a5c90423cfd531a10b0a9253a5dde2257a8338bf2be7 [INFO] running `Command { std: "docker" "start" "-a" "c5da1e712466ed36f190a5c90423cfd531a10b0a9253a5dde2257a8338bf2be7", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Compiling pyo3-build-config v0.22.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.2 (/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/utils.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(lit: CString, span: Span, ctx: &Ctx) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | pyo3_path: ctx.pyo3_path.clone(), [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/attributes.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | let lit_str: LitStr = input.parse()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | lit_str.parse().map(LitStrValue) [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/attributes.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 114 | let string_literal: LitStr = input.parse()?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 129 | | lit: string_literal, [INFO] [stdout] 130 | | rule, [INFO] [stdout] 131 | | }) [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/attributes.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 186 | let kw: K = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | let _: Token![=] = input.parse()?; [INFO] [stdout] 188 | let value = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | Ok(KeywordAttribute { kw, value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attributes.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 227 | .filter_map(|attr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | / extractor(&attr) [INFO] [stdout] 229 | | .map(move |attribute_handled| if attribute_handled { None } else { Some(attr) }) [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/frompyobject.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 30 | let variants = data_enum [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(Enum { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | enum_ident: ident, [INFO] [stdout] 42 | | variants, [INFO] [stdout] 43 | | }) [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/frompyobject.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 146 | let attrs = FieldPyO3Attributes::from_attrs(&field.attrs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Ok(TupleStructField { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 152 | | from_py_with: attrs.from_py_with, [INFO] [stdout] 153 | | }) [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/frompyobject.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 179 | let mut attrs = FieldPyO3Attributes::from_attrs(&field.attrs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(NamedStructField { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 197 | | ident, [INFO] [stdout] 198 | | getter: attrs.getter, [INFO] [stdout] 199 | | from_py_with: attrs.from_py_with, [INFO] [stdout] 200 | | }) [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/frompyobject.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | || path.segments.last().unwrap().ident.to_string(), [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/frompyobject.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 605 | let mut getter = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 606 | let mut from_py_with = None; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 631 | Ok(FieldPyO3Attributes { [INFO] [stdout] | ____________^ [INFO] [stdout] 632 | | getter, [INFO] [stdout] 633 | | from_py_with, [INFO] [stdout] 634 | | }) [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/method.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 445 | options: PyFunctionOptions, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 449 | text_signature, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 450 | name, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 451 | signature, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | let mut python_name = name.map(|name| name.value.0); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | let python_name = python_name.as_ref().unwrap_or(name).unraw(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 463 | [INFO] [stdout] 464 | let arguments: Vec<_> = sig [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 475 | let signature = if let Some(signature) = signature { [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 487 | Ok(FnSpec { [INFO] [stdout] | ____________^ [INFO] [stdout] 488 | | tp: fn_type, [INFO] [stdout] 489 | | name, [INFO] [stdout] 490 | | convention, [INFO] [stdout] ... | [INFO] [stdout] 496 | | deprecations, [INFO] [stdout] 497 | | }) [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] | [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/method.rs:751:12 [INFO] [stdout] | [INFO] [stdout] 743 | let rust_name = if let Some(cls) = cls { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 744 | quote!(#cls::#func_name) [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 745 | } else { [INFO] [stdout] 746 | quote!(#func_name) [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | let deprecation = deprecate_trailing_option_default(self); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 750 | [INFO] [stdout] 751 | Ok(match self.convention { [INFO] [stdout] | ____________^ [INFO] [stdout] 752 | | CallingConvention::Noargs => { [INFO] [stdout] 753 | | let mut holders = Holders::new(); [INFO] [stdout] 754 | | let args = self [INFO] [stdout] ... | [INFO] [stdout] 861 | | } [INFO] [stdout] 862 | | }) [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/module.rs:533:12 [INFO] [stdout] | [INFO] [stdout] 520 | let modname = input.parse().map_err( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 533 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 534 | | modname, [INFO] [stdout] 535 | | options: input.parse()?, [INFO] [stdout] 536 | | }) [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/pyclass.rs:377:39 [INFO] [stdout] | [INFO] [stdout] 377 | .unwrap_or_else(|| Cow::Owned(cls.unraw())) [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/pyclass.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 512 | let mut repr_type = syn::Ident::new("isize", proc_macro2::Span::call_site()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 525 | let variants: Vec<_> = enum_ [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 530 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 531 | | ident, [INFO] [stdout] 532 | | repr_type, [INFO] [stdout] 533 | | variants, [INFO] [stdout] 534 | | }) [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/pyclass.rs:504:16 [INFO] [stdout] | [INFO] [stdout] 503 | let options = EnumVariantPyO3Options::take_pyo3_options(&mut variant.attrs)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 504 | Ok(PyClassEnumUnitVariant { ident, options }) [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/pyclass.rs:518:34 [INFO] [stdout] | [INFO] [stdout] 518 | .filter_map(|ts| syn::parse2::(ts).ok()) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/pyclass.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 545 | let witness = enum_ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | let variants: Vec<_> = enum_ [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 613 | Ok(Self { ident, variants }) [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/pyclass.rs:846:47 [INFO] [stdout] | [INFO] [stdout] 846 | variants.iter().map(|v| (v.ident, v.get_python_name(args))), [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/pyclass.rs:911:42 [INFO] [stdout] | [INFO] [stdout] 911 | .map(|v| (v.get_ident(), v.get_python_name(&args))), [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/pyclass.rs:1128:8 [INFO] [stdout] | [INFO] [stdout] 1078 | let variant_cls = gen_complex_enum_variant_class_ident(enum_name, variant.ident); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | let variant_cls_type = parse_quote!(#variant_cls); [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] 1080 | [INFO] [stdout] 1081 | let mut field_names: Vec = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1082 | let mut fields_with_types: Vec = vec![]; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1083 | let mut field_getters = vec![]; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1084 | let mut field_getter_impls: Vec = vec![]; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1108 | let (variant_match_args, match_args_const_impl) = [INFO] [stdout] | ------------------ --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1113 | let cls_impl = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1114 | | #[doc(hidden)] [INFO] [stdout] 1115 | | #[allow(non_snake_case)] [INFO] [stdout] 1116 | | impl #variant_cls { [INFO] [stdout] ... | [INFO] [stdout] 1125 | | } [INFO] [stdout] 1126 | | }; [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] | |_____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] 1127 | [INFO] [stdout] 1128 | | Ok((cls_impl, field_getters, 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/pyclass.rs:1178:8 [INFO] [stdout] | [INFO] [stdout] 1142 | let mut field_getters = vec![]; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1143 | let mut field_getter_impls = vec![]; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1178 | Ok((field_getters, field_getter_impls)) [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/pyclass.rs:1198:8 [INFO] [stdout] | [INFO] [stdout] 1189 | let mut len_method_impl: syn::ImplItemFn = parse_quote! { [INFO] [stdout] | _____________---------------____________________- [INFO] [stdout] | |_____________|__________________________________| [INFO] [stdout] | |_____________|__________________________________| [INFO] [stdout] | |_____________|__________________________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1190 | | fn __len__(slf: #pyo3_path::PyRef) -> #pyo3_path::PyResult { [INFO] [stdout] 1191 | | Ok(#num_fields) [INFO] [stdout] 1192 | | } [INFO] [stdout] 1193 | | }; [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] 1194 | [INFO] [stdout] 1195 | | let variant_len = [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 1198 | | Ok((variant_len, len_method_impl)) [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/pyclass.rs:1240:8 [INFO] [stdout] | [INFO] [stdout] 1209 | let match_arms: Vec<_> = (0..num_fields) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1223 | let mut get_item_method_impl: syn::ImplItemFn = parse_quote! { [INFO] [stdout] | _____________--------------------____________________- [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1224 | | fn __getitem__(slf: #pyo3_path::PyRef, idx: usize) -> #pyo3_path::PyResult< #pyo3_path::PyObject> { [INFO] [stdout] 1225 | | let py = slf.py(); [INFO] [stdout] 1226 | | match idx { [INFO] [stdout] ... | [INFO] [stdout] 1230 | | } [INFO] [stdout] 1231 | | }; [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] 1232 | [INFO] [stdout] 1233 | | let variant_getitem = generate_default_protocol_slot( [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 1240 | | Ok((variant_getitem, get_item_method_impl)) [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/pyclass.rs:1305:8 [INFO] [stdout] | [INFO] [stdout] 1250 | let variant_cls = gen_complex_enum_variant_class_ident(enum_name, variant.ident); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1251 | let variant_cls_type = parse_quote!(#variant_cls); [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] 1252 | [INFO] [stdout] 1253 | let mut slots = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1256 | let mut field_names: Vec = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1257 | let mut field_types: Vec = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1258 | [INFO] [stdout] 1259 | let (mut field_getters, field_getter_impls) = impl_complex_enum_tuple_variant_field_getters( [INFO] [stdout] | ------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1271 | let (variant_len, len_method_impl) = [INFO] [stdout] | ----------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1276 | let (variant_getitem, getitem_method_impl) = [INFO] [stdout] | --------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1281 | let (variant_match_args, match_args_method_impl) = [INFO] [stdout] | ------------------ ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1286 | let cls_impl = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1287 | | #[doc(hidden)] [INFO] [stdout] 1288 | | #[allow(non_snake_case)] [INFO] [stdout] 1289 | | impl #variant_cls { [INFO] [stdout] ... | [INFO] [stdout] 1302 | | } [INFO] [stdout] 1303 | | }; [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] | |_____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] 1304 | [INFO] [stdout] 1305 | | Ok((cls_impl, field_getters, slots)) [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] | [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/pyclass.rs:1368:5 [INFO] [stdout] | [INFO] [stdout] 1353 | unit_variant_names: impl IntoIterator)>, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1356 | let cls_type = syn::parse_quote!(#cls); [INFO] [stdout] | -------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1368 | / unit_variant_names [INFO] [stdout] 1369 | | .into_iter() [INFO] [stdout] 1370 | | .map(|(var, py_name)| gen_py_const(&cls_type, &variant_to_attribute(var, &py_name), ctx)) [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/pyclass.rs:1358:21 [INFO] [stdout] | [INFO] [stdout] 1358 | rust_ident: var_ident.clone(), [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/pyclass.rs:1359:21 [INFO] [stdout] | [INFO] [stdout] 1359 | attributes: ConstAttributes { [INFO] [stdout] | _____________________^ [INFO] [stdout] 1360 | | is_class_attr: true, [INFO] [stdout] 1361 | | name: Some(NameAttribute { [INFO] [stdout] 1362 | | kw: syn::parse_quote! { name }, [INFO] [stdout] ... | [INFO] [stdout] 1365 | | deprecations: Deprecations::new(ctx), [INFO] [stdout] 1366 | | }, [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/pyclass.rs:1370:56 [INFO] [stdout] | [INFO] [stdout] 1370 | .map(|(var, py_name)| gen_py_const(&cls_type, &variant_to_attribute(var, &py_name), ctx)) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/pyclass.rs:1391:5 [INFO] [stdout] | [INFO] [stdout] 1376 | variant_names: impl IntoIterator)>, [INFO] [stdout] | ------------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1379 | let cls_type = syn::parse_quote!(#cls); [INFO] [stdout] | -------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1391 | / variant_names [INFO] [stdout] 1392 | | .into_iter() [INFO] [stdout] 1393 | | .map(|(var, py_name)| { [INFO] [stdout] 1394 | | gen_complex_enum_variant_attr(cls, &cls_type, &variant_to_attribute(var, &py_name), ctx) [INFO] [stdout] 1395 | | }) [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/pyclass.rs:1381:21 [INFO] [stdout] | [INFO] [stdout] 1381 | rust_ident: var_ident.clone(), [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/pyclass.rs:1382:21 [INFO] [stdout] | [INFO] [stdout] 1382 | attributes: ConstAttributes { [INFO] [stdout] | _____________________^ [INFO] [stdout] 1383 | | is_class_attr: true, [INFO] [stdout] 1384 | | name: Some(NameAttribute { [INFO] [stdout] 1385 | | kw: syn::parse_quote! { name }, [INFO] [stdout] ... | [INFO] [stdout] 1388 | | deprecations: Deprecations::new(ctx), [INFO] [stdout] 1389 | | }, [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/pyclass.rs:1394:60 [INFO] [stdout] | [INFO] [stdout] 1393 | .map(|(var, py_name)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1394 | gen_complex_enum_variant_attr(cls, &cls_type, &variant_to_attribute(var, &py_name), ctx) [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/pyclass.rs:1826:8 [INFO] [stdout] | [INFO] [stdout] 1756 | let deprecation = (options.eq_int.is_none() && options.eq.is_none()) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1769 | let mut options = options.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1778 | let arms = pyclass_richcmp_arms(&options, ctx)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1779 | [INFO] [stdout] 1780 | let eq = options.eq.map(|eq| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1792 | let eq_int = options.eq_int.map(|eq_int| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1805 | let mut richcmp_impl = parse_quote! { [INFO] [stdout] | _____________------------___- [INFO] [stdout] | |_____________|______________| [INFO] [stdout] | |_____________|______________| [INFO] [stdout] | |_____________|______________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1806 | | fn __pyo3__generated____richcmp__( [INFO] [stdout] 1807 | | &self, [INFO] [stdout] 1808 | | py: #pyo3_path::Python, [INFO] [stdout] ... | [INFO] [stdout] 1819 | | } [INFO] [stdout] 1820 | | }; [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] 1821 | | let richcmp_slot = if options.eq.is_some() { [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 1826 | | Ok((Some(richcmp_impl), Some(richcmp_slot))) [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/pyclass.rs:1925:18 [INFO] [stdout] | [INFO] [stdout] 1916 | default_methods: Vec, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1917 | default_slots: Vec, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1925 | doc: None, [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/pyclass.rs:1931:18 [INFO] [stdout] | [INFO] [stdout] 1929 | fn doc(self, doc: PythonDoc) -> Self { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1930 | Self { [INFO] [stdout] 1931 | doc: Some(doc), [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/pyfunction/signature.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 24 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let paren_token = syn::parenthesized!(content in input); [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | [INFO] [stdout] 27 | let items = content.parse_terminated(SignatureItem::parse, Token![,])?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | Ok(Signature { paren_token, items }) [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/pyfunction/signature.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 355 | mut arguments: Vec>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | attribute: SignatureAttribute, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 454 | Ok(FunctionSignature { [INFO] [stdout] | ____________^ [INFO] [stdout] 455 | | arguments, [INFO] [stdout] 456 | | python_signature, [INFO] [stdout] 457 | | attribute: Some(attribute), [INFO] [stdout] 458 | | }) [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/pyfunction/signature.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn from_arguments(arguments: Vec>) -> syn::Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 492 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 493 | | arguments, [INFO] [stdout] 494 | | python_signature, [INFO] [stdout] 495 | | attribute: None, [INFO] [stdout] 496 | | }) [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/pymethod.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 166 | options: PyFunctionOptions, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let spec = FnSpec::parse(sig, meth_attrs, options, ctx)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | kind, [INFO] [stdout] 176 | | method_name, [INFO] [stdout] 177 | | spec, [INFO] [stdout] 178 | | }) [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/pymethod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 193 | options: PyFunctionOptions, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let method = PyMethod::parse(sig, meth_attrs, options, ctx)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(match (method.kind, &spec.tp) { [INFO] [stdout] | ________^ [INFO] [stdout] 203 | | // Class attributes go before protos so that class attributes can be used to set proto [INFO] [stdout] 204 | | // method to None. [INFO] [stdout] 205 | | (_, FnType::ClassAttribute) => { [INFO] [stdout] ... | [INFO] [stdout] 274 | | } [INFO] [stdout] 275 | | }) [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/pymethod.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 319 | flags: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let wrapper_ident = format_ident!("__pymethod_{}__", spec.python_name); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let associated_method = spec.get_wrapper_function(&wrapper_ident, Some(cls), ctx)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | let add_flags = flags.map(|flags| quote!(.flags(#flags))); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | let methoddef_type = match spec.tp { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | FnType::FnStatic => quote!(Static), [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | FnType::FnClass(_) => quote!(Class), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | _ => quote!(Method), [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | }; [INFO] [stdout] 331 | let methoddef = spec.get_methoddef(quote! { #cls::#wrapper_ident }, doc, ctx); [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] 332 | let method_def = quote! { [INFO] [stdout] | _________----------___- [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | | #pyo3_path::impl_::pyclass::MaybeRuntimePyMethodDef::Static( [INFO] [stdout] 334 | | #pyo3_path::class::PyMethodDefType::#methoddef_type(#methoddef #add_flags) [INFO] [stdout] 335 | | ) [INFO] [stdout] 336 | | }; [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] 337 | Ok(MethodAndMethodDef { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] 338 | | associated_method, [INFO] [stdout] 339 | | method_def, [INFO] [stdout] 340 | | }) [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/pymethod.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 350 | let wrapper_ident = syn::Ident::new("__pymethod___new____", Span::call_site()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | let associated_method = spec.get_wrapper_function(&wrapper_ident, Some(cls), ctx)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let text_signature_body = spec.text_signature_call_signature().map_or_else( [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let slot_def = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | | #pyo3_path::ffi::PyType_Slot { [INFO] [stdout] 362 | | slot: #pyo3_path::ffi::Py_tp_new, [INFO] [stdout] 363 | | pfunc: { [INFO] [stdout] ... | [INFO] [stdout] 390 | | } [INFO] [stdout] 391 | | }; [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] | |_____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] 392 | Ok(MethodAndSlotDef { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] 393 | | associated_method, [INFO] [stdout] 394 | | slot_def, [INFO] [stdout] 395 | | }) [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/pymethod.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 398 | fn impl_call_slot(cls: &syn::Type, mut spec: FnSpec<'_>, ctx: &Ctx) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 405 | let wrapper_ident = syn::Ident::new("__pymethod___call____", Span::call_site()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 406 | let associated_method = spec.get_wrapper_function(&wrapper_ident, Some(cls), ctx)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | let slot_def = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | | #pyo3_path::ffi::PyType_Slot { [INFO] [stdout] 409 | | slot: #pyo3_path::ffi::Py_tp_call, [INFO] [stdout] 410 | | pfunc: { [INFO] [stdout] ... | [INFO] [stdout] 426 | | } [INFO] [stdout] 427 | | }; [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] 428 | Ok(MethodAndSlotDef { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] 429 | | associated_method, [INFO] [stdout] 430 | | slot_def, [INFO] [stdout] 431 | | }) [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/pymethod.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 464 | let associated_method = quote! { [INFO] [stdout] | _________-----------------___- [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | | pub unsafe extern "C" fn __pymethod_traverse__( [INFO] [stdout] 466 | | slf: *mut #pyo3_path::ffi::PyObject, [INFO] [stdout] 467 | | visit: #pyo3_path::ffi::visitproc, [INFO] [stdout] ... | [INFO] [stdout] 471 | | } [INFO] [stdout] 472 | | }; [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] 473 | let slot_def = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 474 | | #pyo3_path::ffi::PyType_Slot { [INFO] [stdout] 475 | | slot: #pyo3_path::ffi::Py_tp_traverse, [INFO] [stdout] 476 | | pfunc: #cls::__pymethod_traverse__ as #pyo3_path::ffi::traverseproc as _ [INFO] [stdout] 477 | | } [INFO] [stdout] 478 | | }; [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] 479 | Ok(MethodAndSlotDef { [INFO] [stdout] | ________^ [INFO] [stdout] 480 | associated_method, [INFO] [stdout] 481 | slot_def, [INFO] [stdout] 482 | | }) [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/pymethod.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 498 | let fncall = if py_arg.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 499 | quote!(function(py)) [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] 500 | } else { [INFO] [stdout] 501 | quote!(function()) [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 504 | let wrapper_ident = format_ident!("__pymethod_{}__", name); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 505 | let python_name = spec.null_terminated_python_name(ctx); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 506 | let body = quotes::ok_wrap(fncall, ctx); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 507 | [INFO] [stdout] 508 | let associated_method = quote! { [INFO] [stdout] | _________-----------------___- [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 509 | | fn #wrapper_ident(py: #pyo3_path::Python<'_>) -> #pyo3_path::PyResult<#pyo3_path::PyObject> { [INFO] [stdout] 510 | | let function = #cls::#name; // Shadow the method name to avoid #3017 [INFO] [stdout] 511 | | #pyo3_path::impl_::wrap::map_result_into_py(py, #body) [INFO] [stdout] 512 | | } [INFO] [stdout] 513 | | }; [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] 514 | [INFO] [stdout] 515 | let method_def = quote! { [INFO] [stdout] | _________----------___- [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 516 | | #pyo3_path::impl_::pyclass::MaybeRuntimePyMethodDef::Static( [INFO] [stdout] 517 | | #pyo3_path::class::PyMethodDefType::ClassAttribute({ [INFO] [stdout] 518 | | #pyo3_path::class::PyClassAttributeDef::new( [INFO] [stdout] ... | [INFO] [stdout] 523 | | ) [INFO] [stdout] 524 | | }; [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] 525 | [INFO] [stdout] 526 | Ok(MethodAndMethodDef { [INFO] [stdout] | ________^ [INFO] [stdout] 527 | associated_method, [INFO] [stdout] 528 | method_def, [INFO] [stdout] 529 | | }) [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/pymethod.rs:719:8 [INFO] [stdout] | [INFO] [stdout] 564 | property_type: PropertyType<'_>, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 568 | let python_name = property_type.null_terminated_python_name(ctx)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 569 | let doc = property_type.doc(ctx); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 570 | let mut holders = Holders::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 571 | let setter_impl = match property_type { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 575 | let slf = SelfType::Receiver { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 582 | quote!({ #slf.#ident = _val; }) [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] 586 | quote!({ #slf.#index = _val; }) [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] 594 | let wrapper_ident = match property_type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 611 | let extract = match &property_type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 615 | let (from_py_with, ident) = if let Some(from_py_with) = [INFO] [stdout] | ------------ ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 618 | let ident = syn::Ident::new("from_py_with", from_py_with.span()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 619 | ( [INFO] [stdout] 620 | / quote_spanned! { from_py_with.span() => [INFO] [stdout] 621 | | let e = #pyo3_path::impl_::deprecations::GilRefs::new(); [INFO] [stdout] 622 | | let #ident = #pyo3_path::impl_::deprecations::inspect_fn(#from_py_with, &e); [INFO] [stdout] 623 | | e.from_py_with_arg(); [INFO] [stdout] 624 | | }, [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] 637 | | let tokens = impl_regular_arg_param( [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 640 | | quote!(::std::option::Option::Some(_value.into())), [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] 644 | | let extract = [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 647 | | let deprecation = deprecate_trailing_option_default(spec); [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 648 | / quote! { [INFO] [stdout] 649 | #deprecation [INFO] [stdout] 650 | #from_py_with [INFO] [stdout] 651 | let _val = #extract; [INFO] [stdout] 652 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 662 | | let holder = holders.push_holder(span); [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 663 | | let gil_refs_checker = holders.push_gil_refs_checker(span); [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 664 | / quote! { [INFO] [stdout] 665 | | let _val = #pyo3_path::impl_::deprecations::inspect_type( [INFO] [stdout] 666 | | #pyo3_path::impl_::extract_argument::extract_argument(_value.into(), &mut #holder, #name)?, [INFO] [stdout] 667 | | &#gil_refs_checker [INFO] [stdout] 668 | | ); [INFO] [stdout] 669 | | } [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] ... [INFO] [stdout] 673 | | let mut cfg_attrs = TokenStream::new(); [INFO] [stdout] | | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 684 | | let init_holders = holders.init_holders(ctx); [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 685 | | let check_gil_refs = holders.check_gil_refs(); [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 686 | let associated_method = quote! { [INFO] [stdout] | _________-----------------___- [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | | #cfg_attrs [INFO] [stdout] 688 | | unsafe fn #wrapper_ident( [INFO] [stdout] 689 | | py: #pyo3_path::Python<'_>, [INFO] [stdout] ... | [INFO] [stdout] 703 | | } [INFO] [stdout] 704 | | }; [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] | |_____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] 705 | [INFO] [stdout] 706 | let method_def = quote! { [INFO] [stdout] | _________----------___- [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | | #cfg_attrs [INFO] [stdout] 708 | | #pyo3_path::impl_::pyclass::MaybeRuntimePyMethodDef::Static( [INFO] [stdout] 709 | | #pyo3_path::class::PyMethodDefType::Setter( [INFO] [stdout] ... | [INFO] [stdout] 716 | | ) [INFO] [stdout] 717 | | }; [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] 718 | [INFO] [stdout] 719 | Ok(MethodAndMethodDef { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] 720 | | associated_method, [INFO] [stdout] 721 | | method_def, [INFO] [stdout] 722 | | }) [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] | [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/pymethod.rs:1348:12 [INFO] [stdout] | [INFO] [stdout] 1304 | let wrapper_ident = format_ident!("__pymethod_{}__", method_name); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | let ret_ty = ret_ty.ffi_type(ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1306 | let mut holders = Holders::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | let body = generate_method_body( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1317 | let holders = holders.init_holders(ctx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1318 | let associated_method = quote! { [INFO] [stdout] | _____________-----------------___- [INFO] [stdout] | |_____________|___________________| [INFO] [stdout] | |_____________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1319 | | unsafe fn #wrapper_ident( [INFO] [stdout] 1320 | | py: #pyo3_path::Python<'_>, [INFO] [stdout] 1321 | | _raw_slf: *mut #pyo3_path::ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | } [INFO] [stdout] 1329 | | }; [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] 1330 | let slot_def = quote! {{ [INFO] [stdout] | _____________--------___- [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1331 | | unsafe extern "C" fn trampoline( [INFO] [stdout] 1332 | | _slf: *mut #pyo3_path::ffi::PyObject, [INFO] [stdout] 1333 | | #(#arg_idents: #arg_types),* [INFO] [stdout] ... | [INFO] [stdout] 1346 | | } [INFO] [stdout] 1347 | | }}; [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] 1348 | Ok(MethodAndSlotDef { [INFO] [stdout] | ____________^ [INFO] [stdout] | |____________| [INFO] [stdout] 1349 | | associated_method, [INFO] [stdout] 1350 | | slot_def, [INFO] [stdout] 1351 | | }) [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/pymethod.rs:1371:8 [INFO] [stdout] | [INFO] [stdout] 1365 | let self_arg = spec [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1369 | let args = extract_proto_arguments(spec, arguments, extract_error_mode, holders, ctx)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1370 | let call = quote! { #cls::#rust_name(#self_arg #(#args),*) }; [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] 1371 | Ok(if let Some(return_mode) = return_mode { [INFO] [stdout] | ________^ [INFO] [stdout] 1372 | | return_mode.return_call_output(call, ctx, holders) [INFO] [stdout] 1373 | | } else { [INFO] [stdout] 1374 | | let check_gil_refs = holders.check_gil_refs(); [INFO] [stdout] ... | [INFO] [stdout] 1379 | | } [INFO] [stdout] 1380 | | }) [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: aborting due to 49 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(lit: CString, span: Span, ctx: &Ctx) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | pyo3_path: ctx.pyo3_path.clone(), [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/attributes.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | let lit_str: LitStr = input.parse()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | lit_str.parse().map(LitStrValue) [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/attributes.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 114 | let string_literal: LitStr = input.parse()?; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 129 | | lit: string_literal, [INFO] [stdout] 130 | | rule, [INFO] [stdout] 131 | | }) [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/attributes.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 186 | let kw: K = input.parse()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | let _: Token![=] = input.parse()?; [INFO] [stdout] 188 | let value = input.parse()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | Ok(KeywordAttribute { kw, value }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/attributes.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 227 | .filter_map(|attr| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 228 | / extractor(&attr) [INFO] [stdout] 229 | | .map(move |attribute_handled| if attribute_handled { None } else { Some(attr) }) [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/frompyobject.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 30 | let variants = data_enum [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(Enum { [INFO] [stdout] | ____________^ [INFO] [stdout] 41 | | enum_ident: ident, [INFO] [stdout] 42 | | variants, [INFO] [stdout] 43 | | }) [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/frompyobject.rs:151:28 [INFO] [stdout] | [INFO] [stdout] 146 | let attrs = FieldPyO3Attributes::from_attrs(&field.attrs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | Ok(TupleStructField { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 152 | | from_py_with: attrs.from_py_with, [INFO] [stdout] 153 | | }) [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/frompyobject.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 179 | let mut attrs = FieldPyO3Attributes::from_attrs(&field.attrs)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(NamedStructField { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 197 | | ident, [INFO] [stdout] 198 | | getter: attrs.getter, [INFO] [stdout] 199 | | from_py_with: attrs.from_py_with, [INFO] [stdout] 200 | | }) [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/frompyobject.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | || path.segments.last().unwrap().ident.to_string(), [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/frompyobject.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 605 | let mut getter = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 606 | let mut from_py_with = None; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 631 | Ok(FieldPyO3Attributes { [INFO] [stdout] | ____________^ [INFO] [stdout] 632 | | getter, [INFO] [stdout] 633 | | from_py_with, [INFO] [stdout] 634 | | }) [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/method.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 445 | options: PyFunctionOptions, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 449 | text_signature, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 450 | name, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 451 | signature, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 455 | let mut python_name = name.map(|name| name.value.0); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 462 | let python_name = python_name.as_ref().unwrap_or(name).unraw(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 463 | [INFO] [stdout] 464 | let arguments: Vec<_> = sig [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 475 | let signature = if let Some(signature) = signature { [INFO] [stdout] | --------- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 487 | Ok(FnSpec { [INFO] [stdout] | ____________^ [INFO] [stdout] 488 | | tp: fn_type, [INFO] [stdout] 489 | | name, [INFO] [stdout] 490 | | convention, [INFO] [stdout] ... | [INFO] [stdout] 496 | | deprecations, [INFO] [stdout] 497 | | }) [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] | [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/method.rs:751:12 [INFO] [stdout] | [INFO] [stdout] 743 | let rust_name = if let Some(cls) = cls { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 744 | quote!(#cls::#func_name) [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 745 | } else { [INFO] [stdout] 746 | quote!(#func_name) [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | let deprecation = deprecate_trailing_option_default(self); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 750 | [INFO] [stdout] 751 | Ok(match self.convention { [INFO] [stdout] | ____________^ [INFO] [stdout] 752 | | CallingConvention::Noargs => { [INFO] [stdout] 753 | | let mut holders = Holders::new(); [INFO] [stdout] 754 | | let args = self [INFO] [stdout] ... | [INFO] [stdout] 861 | | } [INFO] [stdout] 862 | | }) [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/module.rs:533:12 [INFO] [stdout] | [INFO] [stdout] 520 | let modname = input.parse().map_err( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 533 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 534 | | modname, [INFO] [stdout] 535 | | options: input.parse()?, [INFO] [stdout] 536 | | }) [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/pyclass.rs:377:39 [INFO] [stdout] | [INFO] [stdout] 377 | .unwrap_or_else(|| Cow::Owned(cls.unraw())) [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/pyclass.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 512 | let mut repr_type = syn::Ident::new("isize", proc_macro2::Span::call_site()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 525 | let variants: Vec<_> = enum_ [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 530 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 531 | | ident, [INFO] [stdout] 532 | | repr_type, [INFO] [stdout] 533 | | variants, [INFO] [stdout] 534 | | }) [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/pyclass.rs:504:16 [INFO] [stdout] | [INFO] [stdout] 503 | let options = EnumVariantPyO3Options::take_pyo3_options(&mut variant.attrs)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 504 | Ok(PyClassEnumUnitVariant { ident, options }) [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/pyclass.rs:518:34 [INFO] [stdout] | [INFO] [stdout] 518 | .filter_map(|ts| syn::parse2::(ts).ok()) [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/pyclass.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 545 | let witness = enum_ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | let variants: Vec<_> = enum_ [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 613 | Ok(Self { ident, variants }) [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/pyclass.rs:846:47 [INFO] [stdout] | [INFO] [stdout] 846 | variants.iter().map(|v| (v.ident, v.get_python_name(args))), [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/pyclass.rs:911:42 [INFO] [stdout] | [INFO] [stdout] 911 | .map(|v| (v.get_ident(), v.get_python_name(&args))), [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/pyclass.rs:1128:8 [INFO] [stdout] | [INFO] [stdout] 1078 | let variant_cls = gen_complex_enum_variant_class_ident(enum_name, variant.ident); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1079 | let variant_cls_type = parse_quote!(#variant_cls); [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] 1080 | [INFO] [stdout] 1081 | let mut field_names: Vec = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1082 | let mut fields_with_types: Vec = vec![]; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1083 | let mut field_getters = vec![]; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1084 | let mut field_getter_impls: Vec = vec![]; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1108 | let (variant_match_args, match_args_const_impl) = [INFO] [stdout] | ------------------ --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1113 | let cls_impl = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1114 | | #[doc(hidden)] [INFO] [stdout] 1115 | | #[allow(non_snake_case)] [INFO] [stdout] 1116 | | impl #variant_cls { [INFO] [stdout] ... | [INFO] [stdout] 1125 | | } [INFO] [stdout] 1126 | | }; [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] | |_____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] 1127 | [INFO] [stdout] 1128 | | Ok((cls_impl, field_getters, 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/pyclass.rs:1178:8 [INFO] [stdout] | [INFO] [stdout] 1142 | let mut field_getters = vec![]; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1143 | let mut field_getter_impls = vec![]; [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1178 | Ok((field_getters, field_getter_impls)) [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 `pyo3-macros-backend` (lib) due to 50 previous errors [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pyclass.rs:1198:8 [INFO] [stdout] | [INFO] [stdout] 1189 | let mut len_method_impl: syn::ImplItemFn = parse_quote! { [INFO] [stdout] | _____________---------------____________________- [INFO] [stdout] | |_____________|__________________________________| [INFO] [stdout] | |_____________|__________________________________| [INFO] [stdout] | |_____________|__________________________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1190 | | fn __len__(slf: #pyo3_path::PyRef) -> #pyo3_path::PyResult { [INFO] [stdout] 1191 | | Ok(#num_fields) [INFO] [stdout] 1192 | | } [INFO] [stdout] 1193 | | }; [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] 1194 | [INFO] [stdout] 1195 | | let variant_len = [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 1198 | | Ok((variant_len, len_method_impl)) [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] [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/pyclass.rs:1240:8 [INFO] [stdout] | [INFO] [stdout] 1209 | let match_arms: Vec<_> = (0..num_fields) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1223 | let mut get_item_method_impl: syn::ImplItemFn = parse_quote! { [INFO] [stdout] | _____________--------------------____________________- [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | |_____________|_______________________________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1224 | | fn __getitem__(slf: #pyo3_path::PyRef, idx: usize) -> #pyo3_path::PyResult< #pyo3_path::PyObject> { [INFO] [stdout] 1225 | | let py = slf.py(); [INFO] [stdout] 1226 | | match idx { [INFO] [stdout] ... | [INFO] [stdout] 1230 | | } [INFO] [stdout] 1231 | | }; [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] 1232 | [INFO] [stdout] 1233 | | let variant_getitem = generate_default_protocol_slot( [INFO] [stdout] | | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 1240 | | Ok((variant_getitem, get_item_method_impl)) [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/pyclass.rs:1305:8 [INFO] [stdout] | [INFO] [stdout] 1250 | let variant_cls = gen_complex_enum_variant_class_ident(enum_name, variant.ident); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1251 | let variant_cls_type = parse_quote!(#variant_cls); [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] 1252 | [INFO] [stdout] 1253 | let mut slots = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1256 | let mut field_names: Vec = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1257 | let mut field_types: Vec = vec![]; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1258 | [INFO] [stdout] 1259 | let (mut field_getters, field_getter_impls) = impl_complex_enum_tuple_variant_field_getters( [INFO] [stdout] | ------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1271 | let (variant_len, len_method_impl) = [INFO] [stdout] | ----------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1276 | let (variant_getitem, getitem_method_impl) = [INFO] [stdout] | --------------- ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1281 | let (variant_match_args, match_args_method_impl) = [INFO] [stdout] | ------------------ ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1286 | let cls_impl = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1287 | | #[doc(hidden)] [INFO] [stdout] 1288 | | #[allow(non_snake_case)] [INFO] [stdout] 1289 | | impl #variant_cls { [INFO] [stdout] ... | [INFO] [stdout] 1302 | | } [INFO] [stdout] 1303 | | }; [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] | |_____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] 1304 | [INFO] [stdout] 1305 | | Ok((cls_impl, field_getters, slots)) [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] | [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/pyclass.rs:1368:5 [INFO] [stdout] | [INFO] [stdout] 1353 | unit_variant_names: impl IntoIterator)>, [INFO] [stdout] | ----------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1356 | let cls_type = syn::parse_quote!(#cls); [INFO] [stdout] | -------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1368 | / unit_variant_names [INFO] [stdout] 1369 | | .into_iter() [INFO] [stdout] 1370 | | .map(|(var, py_name)| gen_py_const(&cls_type, &variant_to_attribute(var, &py_name), ctx)) [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/pyclass.rs:1358:21 [INFO] [stdout] | [INFO] [stdout] 1358 | rust_ident: var_ident.clone(), [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/pyclass.rs:1359:21 [INFO] [stdout] | [INFO] [stdout] 1359 | attributes: ConstAttributes { [INFO] [stdout] | _____________________^ [INFO] [stdout] 1360 | | is_class_attr: true, [INFO] [stdout] 1361 | | name: Some(NameAttribute { [INFO] [stdout] 1362 | | kw: syn::parse_quote! { name }, [INFO] [stdout] ... | [INFO] [stdout] 1365 | | deprecations: Deprecations::new(ctx), [INFO] [stdout] 1366 | | }, [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/pyclass.rs:1370:56 [INFO] [stdout] | [INFO] [stdout] 1370 | .map(|(var, py_name)| gen_py_const(&cls_type, &variant_to_attribute(var, &py_name), ctx)) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/pyclass.rs:1391:5 [INFO] [stdout] | [INFO] [stdout] 1376 | variant_names: impl IntoIterator)>, [INFO] [stdout] | ------------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1379 | let cls_type = syn::parse_quote!(#cls); [INFO] [stdout] | -------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1391 | / variant_names [INFO] [stdout] 1392 | | .into_iter() [INFO] [stdout] 1393 | | .map(|(var, py_name)| { [INFO] [stdout] 1394 | | gen_complex_enum_variant_attr(cls, &cls_type, &variant_to_attribute(var, &py_name), ctx) [INFO] [stdout] 1395 | | }) [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/pyclass.rs:1381:21 [INFO] [stdout] | [INFO] [stdout] 1381 | rust_ident: var_ident.clone(), [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/pyclass.rs:1382:21 [INFO] [stdout] | [INFO] [stdout] 1382 | attributes: ConstAttributes { [INFO] [stdout] | _____________________^ [INFO] [stdout] 1383 | | is_class_attr: true, [INFO] [stdout] 1384 | | name: Some(NameAttribute { [INFO] [stdout] 1385 | | kw: syn::parse_quote! { name }, [INFO] [stdout] ... | [INFO] [stdout] 1388 | | deprecations: Deprecations::new(ctx), [INFO] [stdout] 1389 | | }, [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/pyclass.rs:1394:60 [INFO] [stdout] | [INFO] [stdout] 1393 | .map(|(var, py_name)| { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1394 | gen_complex_enum_variant_attr(cls, &cls_type, &variant_to_attribute(var, &py_name), ctx) [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/pyclass.rs:1826:8 [INFO] [stdout] | [INFO] [stdout] 1756 | let deprecation = (options.eq_int.is_none() && options.eq.is_none()) [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1769 | let mut options = options.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1778 | let arms = pyclass_richcmp_arms(&options, ctx)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1779 | [INFO] [stdout] 1780 | let eq = options.eq.map(|eq| { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1792 | let eq_int = options.eq_int.map(|eq_int| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1805 | let mut richcmp_impl = parse_quote! { [INFO] [stdout] | _____________------------___- [INFO] [stdout] | |_____________|______________| [INFO] [stdout] | |_____________|______________| [INFO] [stdout] | |_____________|______________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1806 | | fn __pyo3__generated____richcmp__( [INFO] [stdout] 1807 | | &self, [INFO] [stdout] 1808 | | py: #pyo3_path::Python, [INFO] [stdout] ... | [INFO] [stdout] 1819 | | } [INFO] [stdout] 1820 | | }; [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] 1821 | | let richcmp_slot = if options.eq.is_some() { [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 1826 | | Ok((Some(richcmp_impl), Some(richcmp_slot))) [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/pyclass.rs:1925:18 [INFO] [stdout] | [INFO] [stdout] 1916 | default_methods: Vec, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1917 | default_slots: Vec, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1925 | doc: None, [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/pyclass.rs:1931:18 [INFO] [stdout] | [INFO] [stdout] 1929 | fn doc(self, doc: PythonDoc) -> Self { [INFO] [stdout] | ---- -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1930 | Self { [INFO] [stdout] 1931 | doc: Some(doc), [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/pyfunction/signature.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 24 | let content; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let paren_token = syn::parenthesized!(content in input); [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | [INFO] [stdout] 27 | let items = content.parse_terminated(SignatureItem::parse, Token![,])?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | Ok(Signature { paren_token, items }) [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/pyfunction/signature.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 355 | mut arguments: Vec>, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | attribute: SignatureAttribute, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 454 | Ok(FunctionSignature { [INFO] [stdout] | ____________^ [INFO] [stdout] 455 | | arguments, [INFO] [stdout] 456 | | python_signature, [INFO] [stdout] 457 | | attribute: Some(attribute), [INFO] [stdout] 458 | | }) [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/pyfunction/signature.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn from_arguments(arguments: Vec>) -> syn::Result { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 492 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 493 | | arguments, [INFO] [stdout] 494 | | python_signature, [INFO] [stdout] 495 | | attribute: None, [INFO] [stdout] 496 | | }) [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/pymethod.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 166 | options: PyFunctionOptions, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | let spec = FnSpec::parse(sig, meth_attrs, options, ctx)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 175 | | kind, [INFO] [stdout] 176 | | method_name, [INFO] [stdout] 177 | | spec, [INFO] [stdout] 178 | | }) [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/pymethod.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 193 | options: PyFunctionOptions, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | let method = PyMethod::parse(sig, meth_attrs, options, ctx)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(match (method.kind, &spec.tp) { [INFO] [stdout] | ________^ [INFO] [stdout] 203 | | // Class attributes go before protos so that class attributes can be used to set proto [INFO] [stdout] 204 | | // method to None. [INFO] [stdout] 205 | | (_, FnType::ClassAttribute) => { [INFO] [stdout] ... | [INFO] [stdout] 274 | | } [INFO] [stdout] 275 | | }) [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/pymethod.rs:337:8 [INFO] [stdout] | [INFO] [stdout] 319 | flags: Option, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | let wrapper_ident = format_ident!("__pymethod_{}__", spec.python_name); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 324 | let associated_method = spec.get_wrapper_function(&wrapper_ident, Some(cls), ctx)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | let add_flags = flags.map(|flags| quote!(.flags(#flags))); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 326 | let methoddef_type = match spec.tp { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | FnType::FnStatic => quote!(Static), [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | FnType::FnClass(_) => quote!(Class), [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | _ => quote!(Method), [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 330 | }; [INFO] [stdout] 331 | let methoddef = spec.get_methoddef(quote! { #cls::#wrapper_ident }, doc, ctx); [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] 332 | let method_def = quote! { [INFO] [stdout] | _________----------___- [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | | #pyo3_path::impl_::pyclass::MaybeRuntimePyMethodDef::Static( [INFO] [stdout] 334 | | #pyo3_path::class::PyMethodDefType::#methoddef_type(#methoddef #add_flags) [INFO] [stdout] 335 | | ) [INFO] [stdout] 336 | | }; [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] 337 | Ok(MethodAndMethodDef { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] 338 | | associated_method, [INFO] [stdout] 339 | | method_def, [INFO] [stdout] 340 | | }) [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/pymethod.rs:392:8 [INFO] [stdout] | [INFO] [stdout] 350 | let wrapper_ident = syn::Ident::new("__pymethod___new____", Span::call_site()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | let associated_method = spec.get_wrapper_function(&wrapper_ident, Some(cls), ctx)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let text_signature_body = spec.text_signature_call_signature().map_or_else( [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let slot_def = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 361 | | #pyo3_path::ffi::PyType_Slot { [INFO] [stdout] 362 | | slot: #pyo3_path::ffi::Py_tp_new, [INFO] [stdout] 363 | | pfunc: { [INFO] [stdout] ... | [INFO] [stdout] 390 | | } [INFO] [stdout] 391 | | }; [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] | |_____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] 392 | Ok(MethodAndSlotDef { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] 393 | | associated_method, [INFO] [stdout] 394 | | slot_def, [INFO] [stdout] 395 | | }) [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/pymethod.rs:428:8 [INFO] [stdout] | [INFO] [stdout] 398 | fn impl_call_slot(cls: &syn::Type, mut spec: FnSpec<'_>, ctx: &Ctx) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 405 | let wrapper_ident = syn::Ident::new("__pymethod___call____", Span::call_site()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 406 | let associated_method = spec.get_wrapper_function(&wrapper_ident, Some(cls), ctx)?; [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 407 | let slot_def = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 408 | | #pyo3_path::ffi::PyType_Slot { [INFO] [stdout] 409 | | slot: #pyo3_path::ffi::Py_tp_call, [INFO] [stdout] 410 | | pfunc: { [INFO] [stdout] ... | [INFO] [stdout] 426 | | } [INFO] [stdout] 427 | | }; [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] 428 | Ok(MethodAndSlotDef { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] 429 | | associated_method, [INFO] [stdout] 430 | | slot_def, [INFO] [stdout] 431 | | }) [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/pymethod.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 464 | let associated_method = quote! { [INFO] [stdout] | _________-----------------___- [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 465 | | pub unsafe extern "C" fn __pymethod_traverse__( [INFO] [stdout] 466 | | slf: *mut #pyo3_path::ffi::PyObject, [INFO] [stdout] 467 | | visit: #pyo3_path::ffi::visitproc, [INFO] [stdout] ... | [INFO] [stdout] 471 | | } [INFO] [stdout] 472 | | }; [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] 473 | let slot_def = quote! { [INFO] [stdout] | _________--------___- [INFO] [stdout] | |_________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 474 | | #pyo3_path::ffi::PyType_Slot { [INFO] [stdout] 475 | | slot: #pyo3_path::ffi::Py_tp_traverse, [INFO] [stdout] 476 | | pfunc: #cls::__pymethod_traverse__ as #pyo3_path::ffi::traverseproc as _ [INFO] [stdout] 477 | | } [INFO] [stdout] 478 | | }; [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] 479 | Ok(MethodAndSlotDef { [INFO] [stdout] | ________^ [INFO] [stdout] 480 | associated_method, [INFO] [stdout] 481 | slot_def, [INFO] [stdout] 482 | | }) [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/pymethod.rs:526:8 [INFO] [stdout] | [INFO] [stdout] 498 | let fncall = if py_arg.is_some() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 499 | quote!(function(py)) [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] 500 | } else { [INFO] [stdout] 501 | quote!(function()) [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 504 | let wrapper_ident = format_ident!("__pymethod_{}__", name); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 505 | let python_name = spec.null_terminated_python_name(ctx); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 506 | let body = quotes::ok_wrap(fncall, ctx); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 507 | [INFO] [stdout] 508 | let associated_method = quote! { [INFO] [stdout] | _________-----------------___- [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 509 | | fn #wrapper_ident(py: #pyo3_path::Python<'_>) -> #pyo3_path::PyResult<#pyo3_path::PyObject> { [INFO] [stdout] 510 | | let function = #cls::#name; // Shadow the method name to avoid #3017 [INFO] [stdout] 511 | | #pyo3_path::impl_::wrap::map_result_into_py(py, #body) [INFO] [stdout] 512 | | } [INFO] [stdout] 513 | | }; [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] 514 | [INFO] [stdout] 515 | let method_def = quote! { [INFO] [stdout] | _________----------___- [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 516 | | #pyo3_path::impl_::pyclass::MaybeRuntimePyMethodDef::Static( [INFO] [stdout] 517 | | #pyo3_path::class::PyMethodDefType::ClassAttribute({ [INFO] [stdout] 518 | | #pyo3_path::class::PyClassAttributeDef::new( [INFO] [stdout] ... | [INFO] [stdout] 523 | | ) [INFO] [stdout] 524 | | }; [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] 525 | [INFO] [stdout] 526 | Ok(MethodAndMethodDef { [INFO] [stdout] | ________^ [INFO] [stdout] 527 | associated_method, [INFO] [stdout] 528 | method_def, [INFO] [stdout] 529 | | }) [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/pymethod.rs:719:8 [INFO] [stdout] | [INFO] [stdout] 564 | property_type: PropertyType<'_>, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 568 | let python_name = property_type.null_terminated_python_name(ctx)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 569 | let doc = property_type.doc(ctx); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 570 | let mut holders = Holders::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 571 | let setter_impl = match property_type { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 575 | let slf = SelfType::Receiver { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 582 | quote!({ #slf.#ident = _val; }) [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] 586 | quote!({ #slf.#index = _val; }) [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] 594 | let wrapper_ident = match property_type { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 611 | let extract = match &property_type { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 615 | let (from_py_with, ident) = if let Some(from_py_with) = [INFO] [stdout] | ------------ ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 618 | let ident = syn::Ident::new("from_py_with", from_py_with.span()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 619 | ( [INFO] [stdout] 620 | / quote_spanned! { from_py_with.span() => [INFO] [stdout] 621 | | let e = #pyo3_path::impl_::deprecations::GilRefs::new(); [INFO] [stdout] 622 | | let #ident = #pyo3_path::impl_::deprecations::inspect_fn(#from_py_with, &e); [INFO] [stdout] 623 | | e.from_py_with_arg(); [INFO] [stdout] 624 | | }, [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] 637 | | let tokens = impl_regular_arg_param( [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 640 | | quote!(::std::option::Option::Some(_value.into())), [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] 644 | | let extract = [INFO] [stdout] | | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 647 | | let deprecation = deprecate_trailing_option_default(spec); [INFO] [stdout] | | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 648 | / quote! { [INFO] [stdout] 649 | #deprecation [INFO] [stdout] 650 | #from_py_with [INFO] [stdout] 651 | let _val = #extract; [INFO] [stdout] 652 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 662 | | let holder = holders.push_holder(span); [INFO] [stdout] | | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 663 | | let gil_refs_checker = holders.push_gil_refs_checker(span); [INFO] [stdout] | | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 664 | / quote! { [INFO] [stdout] 665 | | let _val = #pyo3_path::impl_::deprecations::inspect_type( [INFO] [stdout] 666 | | #pyo3_path::impl_::extract_argument::extract_argument(_value.into(), &mut #holder, #name)?, [INFO] [stdout] 667 | | &#gil_refs_checker [INFO] [stdout] 668 | | ); [INFO] [stdout] 669 | | } [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] ... [INFO] [stdout] 673 | | let mut cfg_attrs = TokenStream::new(); [INFO] [stdout] | | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 684 | | let init_holders = holders.init_holders(ctx); [INFO] [stdout] | | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 685 | | let check_gil_refs = holders.check_gil_refs(); [INFO] [stdout] | | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 686 | let associated_method = quote! { [INFO] [stdout] | _________-----------------___- [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | |_________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 687 | | #cfg_attrs [INFO] [stdout] 688 | | unsafe fn #wrapper_ident( [INFO] [stdout] 689 | | py: #pyo3_path::Python<'_>, [INFO] [stdout] ... | [INFO] [stdout] 703 | | } [INFO] [stdout] 704 | | }; [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] | |_____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] 705 | [INFO] [stdout] 706 | let method_def = quote! { [INFO] [stdout] | _________----------___- [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | |_________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 707 | | #cfg_attrs [INFO] [stdout] 708 | | #pyo3_path::impl_::pyclass::MaybeRuntimePyMethodDef::Static( [INFO] [stdout] 709 | | #pyo3_path::class::PyMethodDefType::Setter( [INFO] [stdout] ... | [INFO] [stdout] 716 | | ) [INFO] [stdout] 717 | | }; [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] 718 | [INFO] [stdout] 719 | Ok(MethodAndMethodDef { [INFO] [stdout] | ________^ [INFO] [stdout] | |________| [INFO] [stdout] | |________| [INFO] [stdout] 720 | | associated_method, [INFO] [stdout] 721 | | method_def, [INFO] [stdout] 722 | | }) [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] | [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/pymethod.rs:1348:12 [INFO] [stdout] | [INFO] [stdout] 1304 | let wrapper_ident = format_ident!("__pymethod_{}__", method_name); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1305 | let ret_ty = ret_ty.ffi_type(ctx); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1306 | let mut holders = Holders::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1307 | let body = generate_method_body( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1317 | let holders = holders.init_holders(ctx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1318 | let associated_method = quote! { [INFO] [stdout] | _____________-----------------___- [INFO] [stdout] | |_____________|___________________| [INFO] [stdout] | |_____________|___________________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1319 | | unsafe fn #wrapper_ident( [INFO] [stdout] 1320 | | py: #pyo3_path::Python<'_>, [INFO] [stdout] 1321 | | _raw_slf: *mut #pyo3_path::ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 1328 | | } [INFO] [stdout] 1329 | | }; [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] 1330 | let slot_def = quote! {{ [INFO] [stdout] | _____________--------___- [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | |_____________|__________| [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1331 | | unsafe extern "C" fn trampoline( [INFO] [stdout] 1332 | | _slf: *mut #pyo3_path::ffi::PyObject, [INFO] [stdout] 1333 | | #(#arg_idents: #arg_types),* [INFO] [stdout] ... | [INFO] [stdout] 1346 | | } [INFO] [stdout] 1347 | | }}; [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] 1348 | Ok(MethodAndSlotDef { [INFO] [stdout] | ____________^ [INFO] [stdout] | |____________| [INFO] [stdout] 1349 | | associated_method, [INFO] [stdout] 1350 | | slot_def, [INFO] [stdout] 1351 | | }) [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/pymethod.rs:1371:8 [INFO] [stdout] | [INFO] [stdout] 1365 | let self_arg = spec [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1369 | let args = extract_proto_arguments(spec, arguments, extract_error_mode, holders, ctx)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1370 | let call = quote! { #cls::#rust_name(#self_arg #(#args),*) }; [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] 1371 | Ok(if let Some(return_mode) = return_mode { [INFO] [stdout] | ________^ [INFO] [stdout] 1372 | | return_mode.return_call_output(call, ctx, holders) [INFO] [stdout] 1373 | | } else { [INFO] [stdout] 1374 | | let check_gil_refs = holders.check_gil_refs(); [INFO] [stdout] ... | [INFO] [stdout] 1379 | | } [INFO] [stdout] 1380 | | }) [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: aborting due to 49 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3-macros-backend` (lib test) due to 50 previous errors [INFO] running `Command { std: "docker" "inspect" "c5da1e712466ed36f190a5c90423cfd531a10b0a9253a5dde2257a8338bf2be7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5da1e712466ed36f190a5c90423cfd531a10b0a9253a5dde2257a8338bf2be7", kill_on_drop: false }` [INFO] [stdout] c5da1e712466ed36f190a5c90423cfd531a10b0a9253a5dde2257a8338bf2be7