[INFO] fetching crate cpython 0.7.2... [INFO] checking cpython-0.7.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cpython 0.7.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cpython 0.7.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 cpython 0.7.2 [INFO] finished tweaking crates.io crate cpython 0.7.2 [INFO] tweaked toml for crates.io crate cpython 0.7.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate cpython 0.7.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76a0fa0f9cac58f42c990d69c1c16780097196e9a1f89606f22ff151daced230 [INFO] running `Command { std: "docker" "start" "-a" "76a0fa0f9cac58f42c990d69c1c16780097196e9a1f89606f22ff151daced230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76a0fa0f9cac58f42c990d69c1c16780097196e9a1f89606f22ff151daced230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a0fa0f9cac58f42c990d69c1c16780097196e9a1f89606f22ff151daced230", kill_on_drop: false }` [INFO] [stdout] 76a0fa0f9cac58f42c990d69c1c16780097196e9a1f89606f22ff151daced230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7bde2facc858e8632e15e706fb642ca53ffa643ddf7f57969cf76cf1cffda2f [INFO] running `Command { std: "docker" "start" "-a" "b7bde2facc858e8632e15e706fb642ca53ffa643ddf7f57969cf76cf1cffda2f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cpython v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling python3-sys v0.7.2 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/boolobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pyobject_newtype!(PyBool, PyBool_Check, PyBool_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/capsule.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pyobject_newtype!(PyCapsule, PyCapsule_CheckExact, PyCapsule_Type); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/dict.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PyDict, PyDict_Check, PyDict_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/list.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pyobject_newtype!(PyList, PyList_Check, PyList_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/module.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pyobject_newtype!(PyModule, PyModule_Check, PyModule_Type); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pyobject_newtype!(PyLong, PyLong_Check, PyLong_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pyobject_newtype!(PyFloat, PyFloat_Check, PyFloat_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/object.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, &mut ffi::PyBaseObject_Type) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, addr_of_mut!(ffi::PyBaseObject_Type)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/set.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PySet, PySet_Check, PySet_Type); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pyobject_newtype!(PyString, PyUnicode_Check, PyUnicode_Type); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pyobject_newtype!(PyBytes, PyBytes_Check, PyBytes_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/tuple.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyTuple, PyTuple_Check, PyTuple_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/boolobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pyobject_newtype!(PyBool, PyBool_Check, PyBool_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/capsule.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | pyobject_newtype!(PyCapsule, PyCapsule_CheckExact, PyCapsule_Type); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/typeobject.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyType, PyType_Check, PyType_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/dict.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PyDict, PyDict_Check, PyDict_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/list.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pyobject_newtype!(PyList, PyList_Check, PyList_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/module.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pyobject_newtype!(PyModule, PyModule_Check, PyModule_Type); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pyobject_newtype!(PyLong, PyLong_Check, PyLong_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/num.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pyobject_newtype!(PyFloat, PyFloat_Check, PyFloat_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/object.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, &mut ffi::PyBaseObject_Type) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 113 | unsafe { PyType::from_type_ptr(py, addr_of_mut!(ffi::PyBaseObject_Type)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/set.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pyobject_newtype!(PySet, PySet_Check, PySet_Type); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pyobject_newtype!(PyString, PyUnicode_Check, PyUnicode_Type); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/string.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pyobject_newtype!(PyBytes, PyBytes_Check, PyBytes_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/tuple.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyTuple, PyTuple_Check, PyTuple_Type); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/objects/mod.rs:119:80 [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, &mut crate::ffi::$typeobject) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] ::: src/objects/typeobject.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pyobject_newtype!(PyType, PyType_Check, PyType_Type); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: this warning originates in the macro `pyobject_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 119 | unsafe { crate::objects::typeobject::PyType::from_type_ptr(py, addr_of_mut!(crate::ffi::$typeobject)) } [INFO] [stdout] | ~~~~~~~~~~~~~ + [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/conversion.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 142 | fn with_extracted(py: Python, obj: &PyObject, f: F) -> PyResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match FromPyObject::extract(py, obj) { [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/err.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(py: Python, value: V) -> PyErr [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | PyErr::new_helper(py, py.get_type::(), value.to_py_object(py).into_object()) [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/err.rs:177:51 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(py: Python, value: V) -> PyErr [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | PyErr::new_helper(py, py.get_type::(), value.to_py_object(py).into_object()) [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/err.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 247 | fn new_helper(_py: Python, ty: PyType, value: PyObject) -> PyErr { [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] 250 | ptype: ty.into_object(), [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/err.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 247 | fn new_helper(_py: Python, ty: PyType, value: PyObject) -> PyErr { [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] 251 | pvalue: Some(value), [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/err.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 247 | fn new_helper(_py: Python, ty: PyType, value: PyObject) -> PyErr { [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] 252 | ptraceback: 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/err.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn from_instance(py: Python, obj: O) -> PyErr [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | PyErr::from_instance_helper(py, obj.into_object()) [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/err.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn new_lazy_init(exc: PyType, value: Option) -> PyErr { [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] 301 | PyErr { [INFO] [stdout] 302 | ptype: exc.into_object(), [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/err.rs:304:25 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn new_lazy_init(exc: PyType, value: Option) -> PyErr { [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] 304 | ptraceback: 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/err.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 448 | fn from(err: PythonObjectDowncastError<'p>) -> PyErr { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 449 | let msg = format!( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | PyErr::new_lazy_init(err.py.get_type::(), Some(msg)) [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/err.rs:456:67 [INFO] [stdout] | [INFO] [stdout] 448 | fn from(err: PythonObjectDowncastError<'p>) -> PyErr { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 449 | let msg = format!( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | PyErr::new_lazy_init(err.py.get_type::(), Some(msg)) [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/function.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 183 | fn convert(val: S, py: Python) -> *mut ffi::PyObject { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | val.into_py_object(py).into_object().steal_ptr() [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/function.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | fn convert(val: S, py: Python) -> *mut ffi::PyObject { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | val.into_py_object(py).into_object().steal_ptr() [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/function.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 212 | pub unsafe fn handle_callback(_location: &str, _c: C, f: F) -> C::R [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | match f(py) { [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/objectprotocol.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 61 | fn setattr(&self, py: Python, attr_name: N, value: V) -> PyResult<()> [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] 66 | attr_name.with_borrowed_ptr(py, move |attr_name| { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 67 | | value.with_borrowed_ptr(py, |value| unsafe { [INFO] [stdout] 68 | | err::error_on_minusone(py, ffi::PyObject_SetAttr(self.as_ptr(), attr_name, value)) [INFO] [stdout] 69 | | }) [INFO] [stdout] 70 | | }) [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/objectprotocol.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 244 | args: A, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | self.getattr(py, name)?.call(py, args, kwargs) [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/objectprotocol.rs:308:35 [INFO] [stdout] | [INFO] [stdout] 303 | fn set_item(&self, py: Python, key: K, value: V) -> PyResult<()> [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] 308 | key.with_borrowed_ptr(py, move |key| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 309 | | value.with_borrowed_ptr(py, |value| unsafe { [INFO] [stdout] 310 | | err::error_on_minusone(py, ffi::PyObject_SetItem(self.as_ptr(), key, value)) [INFO] [stdout] 311 | | }) [INFO] [stdout] 312 | | }) [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/objectprotocol.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 332 | let obj = unsafe { err::result_from_owned_ptr(py, ffi::PyObject_GetIter(self.as_ptr())) }?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | Ok(crate::objects::PyIterator::from_object(py, obj)?) [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/objectprotocol/number.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 63 | fn power(&self, py: Python, other: impl ToPyObject) -> PyResult { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | self.power_modulo(py, other, py.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/objectprotocol/number.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 224 | let obj = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | Ok(obj.cast_into::(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] | [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/objectprotocol/number.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 238 | let obj = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(obj.cast_into::(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] | [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/objectprotocol/number.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 254 | let obj = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Ok(obj.cast_into::(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] | [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/objects/capsule.rs:618:32 [INFO] [stdout] | [INFO] [stdout] 614 | pub unsafe fn data_ref<'a, T, N>(&self, name: N) -> Result<&'a T, NulError> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 618 | Ok(self.data_ref_cstr(&CString::new(name)?)) [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/objects/dict.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn set_item(&self, py: Python, key: K, value: V) -> PyResult<()> [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] 92 | key.with_borrowed_ptr(py, move |key| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 93 | | value.with_borrowed_ptr(py, |value| unsafe { [INFO] [stdout] 94 | | err::error_on_minusone(py, ffi::PyDict_SetItem(self.0.as_ptr(), key, value)) [INFO] [stdout] 95 | | }) [INFO] [stdout] 96 | | }) [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/objects/module.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 130 | args: A, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | self.as_object().getattr(py, name)?.call(py, args, kwargs) [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/objects/string.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 540 | fn with_extracted(py: Python, obj: &PyObject, f: F) -> PyResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(f(&s)) [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/objects/string.rs:562:12 [INFO] [stdout] | [INFO] [stdout] 557 | fn with_extracted(py: Python, obj: &PyObject, f: F) -> PyResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 562 | Ok(f(&s)) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 145 | tuple_conversion!(1, (ref0, 0, A)); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 146 | tuple_conversion!(2, (ref0, 0, A), (ref1, 1, B)); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 147 | tuple_conversion!(3, (ref0, 0, A), (ref1, 1, B), (ref2, 2, C)); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 148 | tuple_conversion!(4, (ref0, 0, A), (ref1, 1, B), (ref2, 2, C), (ref3, 3, D)); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 149 | / tuple_conversion!( [INFO] [stdout] 150 | | 5, [INFO] [stdout] 151 | | (ref0, 0, A), [INFO] [stdout] 152 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 155 | | (ref4, 4, E) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 157 | / tuple_conversion!( [INFO] [stdout] 158 | | 6, [INFO] [stdout] 159 | | (ref0, 0, A), [INFO] [stdout] 160 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 164 | | (ref5, 5, F) [INFO] [stdout] 165 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 166 | / tuple_conversion!( [INFO] [stdout] 167 | | 7, [INFO] [stdout] 168 | | (ref0, 0, A), [INFO] [stdout] 169 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 174 | | (ref6, 6, G) [INFO] [stdout] 175 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 176 | / tuple_conversion!( [INFO] [stdout] 177 | | 8, [INFO] [stdout] 178 | | (ref0, 0, A), [INFO] [stdout] 179 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 185 | | (ref7, 7, H) [INFO] [stdout] 186 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 187 | / tuple_conversion!( [INFO] [stdout] 188 | | 9, [INFO] [stdout] 189 | | (ref0, 0, A), [INFO] [stdout] 190 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 197 | | (ref8, 8, I) [INFO] [stdout] 198 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/py_class/members.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn into_descriptor(self, py: Python, _ty: *mut ffi::PyTypeObject) -> PyResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Ok(self.into_py_object(py).into_object()) [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/py_class/slots.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 110 | let name = match module_name { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | name.expect("Module name/type name must not contain NUL byte") [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/sharedref.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(value: T) -> PySharedRefCell { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | data: RefCell::new(value), [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/sharedref.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 195 | let data_ref = self.try_borrow()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(UnsafePyLeaked::<&'static T> { [INFO] [stdout] | ____________^ [INFO] [stdout] 203 | | owner: self.owner.clone_ref(self.py), [INFO] [stdout] 204 | | state: unsafe { &*state_ptr }, [INFO] [stdout] 205 | | generation: self.state.current_generation(self.py), [INFO] [stdout] 206 | | data: unsafe { &*data_ptr }, [INFO] [stdout] 207 | | }) [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 40 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpython` (lib) due to 41 previous errors; 13 warnings emitted [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/argparse.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | match <$ptype as $crate::FromPyObject>::extract($py, $iter.next().unwrap().as_ref().unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 565 | / py_argparse!(py, None, &tuple, None, (x: &str, y: i32) { [INFO] [stdout] 566 | | assert_eq!(x, "abc"); [INFO] [stdout] 567 | | assert_eq!(y, 42); [INFO] [stdout] 568 | | called = true; [INFO] [stdout] 569 | | Ok(()) [INFO] [stdout] 570 | | }) [INFO] [stdout] | |__________- in this macro invocation [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] = note: this error originates in the macro `$crate::py_argparse_extract` which comes from the expansion of the macro `py_argparse` (in Nightly builds, run with -Z macro-backtrace for more info) [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/conversion.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 142 | fn with_extracted(py: Python, obj: &PyObject, f: F) -> PyResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | match FromPyObject::extract(py, obj) { [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/err.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(py: Python, value: V) -> PyErr [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | PyErr::new_helper(py, py.get_type::(), value.to_py_object(py).into_object()) [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/err.rs:177:51 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(py: Python, value: V) -> PyErr [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 177 | PyErr::new_helper(py, py.get_type::(), value.to_py_object(py).into_object()) [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/err.rs:250:20 [INFO] [stdout] | [INFO] [stdout] 247 | fn new_helper(_py: Python, ty: PyType, value: PyObject) -> PyErr { [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] 250 | ptype: ty.into_object(), [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/err.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 247 | fn new_helper(_py: Python, ty: PyType, value: PyObject) -> PyErr { [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] 251 | pvalue: Some(value), [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/err.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 247 | fn new_helper(_py: Python, ty: PyType, value: PyObject) -> PyErr { [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] 252 | ptraceback: 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/err.rs:265:41 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn from_instance(py: Python, obj: O) -> PyErr [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | PyErr::from_instance_helper(py, obj.into_object()) [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/err.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn new_lazy_init(exc: PyType, value: Option) -> PyErr { [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] 301 | PyErr { [INFO] [stdout] 302 | ptype: exc.into_object(), [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/err.rs:304:25 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn new_lazy_init(exc: PyType, value: Option) -> PyErr { [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] 304 | ptraceback: 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/err.rs:456:30 [INFO] [stdout] | [INFO] [stdout] 448 | fn from(err: PythonObjectDowncastError<'p>) -> PyErr { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 449 | let msg = format!( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | PyErr::new_lazy_init(err.py.get_type::(), Some(msg)) [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/err.rs:456:67 [INFO] [stdout] | [INFO] [stdout] 448 | fn from(err: PythonObjectDowncastError<'p>) -> PyErr { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 449 | let msg = format!( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 456 | PyErr::new_lazy_init(err.py.get_type::(), Some(msg)) [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/function.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 183 | fn convert(val: S, py: Python) -> *mut ffi::PyObject { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | val.into_py_object(py).into_object().steal_ptr() [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/function.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 202 | fn convert(val: S, py: Python) -> *mut ffi::PyObject { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | val.into_py_object(py).into_object().steal_ptr() [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/function.rs:220:15 [INFO] [stdout] | [INFO] [stdout] 212 | pub unsafe fn handle_callback(_location: &str, _c: C, f: F) -> C::R [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | match f(py) { [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/objectprotocol.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 61 | fn setattr(&self, py: Python, attr_name: N, value: V) -> PyResult<()> [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] 66 | attr_name.with_borrowed_ptr(py, move |attr_name| { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 67 | | value.with_borrowed_ptr(py, |value| unsafe { [INFO] [stdout] 68 | | err::error_on_minusone(py, ffi::PyObject_SetAttr(self.as_ptr(), attr_name, value)) [INFO] [stdout] 69 | | }) [INFO] [stdout] 70 | | }) [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/objectprotocol.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 244 | args: A, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | self.getattr(py, name)?.call(py, args, kwargs) [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/objectprotocol.rs:308:35 [INFO] [stdout] | [INFO] [stdout] 303 | fn set_item(&self, py: Python, key: K, value: V) -> PyResult<()> [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] 308 | key.with_borrowed_ptr(py, move |key| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 309 | | value.with_borrowed_ptr(py, |value| unsafe { [INFO] [stdout] 310 | | err::error_on_minusone(py, ffi::PyObject_SetItem(self.as_ptr(), key, value)) [INFO] [stdout] 311 | | }) [INFO] [stdout] 312 | | }) [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/objectprotocol.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 332 | let obj = unsafe { err::result_from_owned_ptr(py, ffi::PyObject_GetIter(self.as_ptr())) }?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | Ok(crate::objects::PyIterator::from_object(py, obj)?) [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/objectprotocol/number.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 63 | fn power(&self, py: Python, other: impl ToPyObject) -> PyResult { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | self.power_modulo(py, other, py.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/objectprotocol/number.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 224 | let obj = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | Ok(obj.cast_into::(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] | [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/objectprotocol/number.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 238 | let obj = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | Ok(obj.cast_into::(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] | [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/objectprotocol/number.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 254 | let obj = unsafe { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Ok(obj.cast_into::(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] | [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/objects/capsule.rs:618:32 [INFO] [stdout] | [INFO] [stdout] 614 | pub unsafe fn data_ref<'a, T, N>(&self, name: N) -> Result<&'a T, NulError> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 618 | Ok(self.data_ref_cstr(&CString::new(name)?)) [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/objects/dict.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn set_item(&self, py: Python, key: K, value: V) -> PyResult<()> [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] 92 | key.with_borrowed_ptr(py, move |key| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 93 | | value.with_borrowed_ptr(py, |value| unsafe { [INFO] [stdout] 94 | | err::error_on_minusone(py, ffi::PyDict_SetItem(self.0.as_ptr(), key, value)) [INFO] [stdout] 95 | | }) [INFO] [stdout] 96 | | }) [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/objects/module.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 130 | args: A, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 136 | self.as_object().getattr(py, name)?.call(py, args, kwargs) [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/objects/string.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 540 | fn with_extracted(py: Python, obj: &PyObject, f: F) -> PyResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | Ok(f(&s)) [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/objects/string.rs:562:12 [INFO] [stdout] | [INFO] [stdout] 557 | fn with_extracted(py: Python, obj: &PyObject, f: F) -> PyResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 562 | Ok(f(&s)) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 145 | tuple_conversion!(1, (ref0, 0, A)); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 146 | tuple_conversion!(2, (ref0, 0, A), (ref1, 1, B)); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 147 | tuple_conversion!(3, (ref0, 0, A), (ref1, 1, B), (ref2, 2, C)); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 148 | tuple_conversion!(4, (ref0, 0, A), (ref1, 1, B), (ref2, 2, C), (ref3, 3, D)); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 149 | / tuple_conversion!( [INFO] [stdout] 150 | | 5, [INFO] [stdout] 151 | | (ref0, 0, A), [INFO] [stdout] 152 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 155 | | (ref4, 4, E) [INFO] [stdout] 156 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 157 | / tuple_conversion!( [INFO] [stdout] 158 | | 6, [INFO] [stdout] 159 | | (ref0, 0, A), [INFO] [stdout] 160 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 164 | | (ref5, 5, F) [INFO] [stdout] 165 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 166 | / tuple_conversion!( [INFO] [stdout] 167 | | 7, [INFO] [stdout] 168 | | (ref0, 0, A), [INFO] [stdout] 169 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 174 | | (ref6, 6, G) [INFO] [stdout] 175 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 176 | / tuple_conversion!( [INFO] [stdout] 177 | | 8, [INFO] [stdout] 178 | | (ref0, 0, A), [INFO] [stdout] 179 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 185 | | (ref7, 7, H) [INFO] [stdout] 186 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/objects/tuple.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 119 | fn into_py_object(self, py: Python) -> PyTuple { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | PyTuple::new(py, &[ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 121 | | $(py_coerce_expr!(self.$n.into_py_object(py)).into_object(),)+ [INFO] [stdout] 122 | | ]) [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 187 | / tuple_conversion!( [INFO] [stdout] 188 | | 9, [INFO] [stdout] 189 | | (ref0, 0, A), [INFO] [stdout] 190 | | (ref1, 1, B), [INFO] [stdout] ... | [INFO] [stdout] 197 | | (ref8, 8, I) [INFO] [stdout] 198 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `tuple_conversion` (in Nightly builds, run with -Z macro-backtrace for more info) [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/py_class/members.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe fn into_descriptor(self, py: Python, _ty: *mut ffi::PyTypeObject) -> PyResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Ok(self.into_py_object(py).into_object()) [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/py_class/slots.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 110 | let name = match module_name { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | name.expect("Module name/type name must not contain NUL byte") [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/sharedref.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(value: T) -> PySharedRefCell { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | data: RefCell::new(value), [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/sharedref.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 195 | let data_ref = self.try_borrow()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(UnsafePyLeaked::<&'static T> { [INFO] [stdout] | ____________^ [INFO] [stdout] 203 | | owner: self.owner.clone_ref(self.py), [INFO] [stdout] 204 | | state: unsafe { &*state_ptr }, [INFO] [stdout] 205 | | generation: self.state.current_generation(self.py), [INFO] [stdout] 206 | | data: unsafe { &*data_ptr }, [INFO] [stdout] 207 | | }) [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 41 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpython` (lib test) due to 42 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b7bde2facc858e8632e15e706fb642ca53ffa643ddf7f57969cf76cf1cffda2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7bde2facc858e8632e15e706fb642ca53ffa643ddf7f57969cf76cf1cffda2f", kill_on_drop: false }` [INFO] [stdout] b7bde2facc858e8632e15e706fb642ca53ffa643ddf7f57969cf76cf1cffda2f