[INFO] fetching crate pyo3 0.22.3... [INFO] checking pyo3-0.22.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pyo3 0.22.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate pyo3 0.22.3 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pyo3 0.22.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate pyo3 0.22.3 [INFO] tweaked toml for crates.io crate pyo3 0.22.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 127 packages to latest compatible versions [INFO] [stderr] Adding chrono-tz v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding chrono-tz-build v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1e7bfa082b1c171fa50e3fe010bad3a07ed16ebddff813b7b7f0c09aa8b5202 [INFO] running `Command { std: "docker" "start" "-a" "f1e7bfa082b1c171fa50e3fe010bad3a07ed16ebddff813b7b7f0c09aa8b5202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1e7bfa082b1c171fa50e3fe010bad3a07ed16ebddff813b7b7f0c09aa8b5202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1e7bfa082b1c171fa50e3fe010bad3a07ed16ebddff813b7b7f0c09aa8b5202", kill_on_drop: false }` [INFO] [stdout] f1e7bfa082b1c171fa50e3fe010bad3a07ed16ebddff813b7b7f0c09aa8b5202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22dbbeaaa20e04e6b6c9bb4d0bd8eced27bfeab665275ffe8b26d01cd53963d4 [INFO] running `Command { std: "docker" "start" "-a" "22dbbeaaa20e04e6b6c9bb4d0bd8eced27bfeab665275ffe8b26d01cd53963d4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (20 fixes) [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pyo3-build-config v0.22.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.3 [INFO] [stderr] Compiling pyo3-ffi v0.22.3 [INFO] [stderr] Compiling pyo3 v0.22.3 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pyo3-macros v0.22.3 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pyo3` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/conversions/std/num.rs [INFO] [stderr] * src/exceptions.rs [INFO] [stderr] * src/impl_/pyclass.rs [INFO] [stderr] * src/internal_tricks.rs [INFO] [stderr] * src/macros.rs [INFO] [stderr] * src/sync.rs [INFO] [stderr] * src/types/any.rs [INFO] [stderr] * src/types/mod.rs [INFO] [stderr] * src/types/tuple.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/internal_tricks.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | ($doc: expr_2021, $name: ident, $base: ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:50:40 [INFO] [stderr] | [INFO] [stderr] 50 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr_2021, $force_index_call: literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:54:40 [INFO] [stderr] | [INFO] [stderr] 54 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr_2021, $force_index_call: literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr_2021, $pylong_as_ll_or_ull:expr_2021, $force_index_call:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:75:55 [INFO] [stderr] | [INFO] [stderr] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr_2021, $pylong_as_ll_or_ull:expr_2021, $force_index_call:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:98:6 [INFO] [stderr] | [INFO] [stderr] 98 | ($module: expr_2021, $name: ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:134:6 [INFO] [stderr] | [INFO] [stderr] 134 | ($module: expr_2021, $name: ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:244:6 [INFO] [stderr] | [INFO] [stderr] 244 | ($module: expr_2021, $name: ident, $base: ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:253:6 [INFO] [stderr] | [INFO] [stderr] 253 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:253:51 [INFO] [stderr] | [INFO] [stderr] 253 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:275:6 [INFO] [stderr] | [INFO] [stderr] 275 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:275:51 [INFO] [stderr] | [INFO] [stderr] 275 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:304:36 [INFO] [stderr] | [INFO] [stderr] 304 | ($name:ident, $exc_name:ident, $doc:expr_2021, $layout:path $(, #checkfunction=$checkfunction:path)?) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:312:36 [INFO] [stderr] | [INFO] [stderr] 312 | ($name:ident, $exc_name:ident, $doc:expr_2021) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/impl_/pyclass.rs:399:9 [INFO] [stderr] | [INFO] [stderr] 399 | $set_error:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/impl_/pyclass.rs:400:9 [INFO] [stderr] | [INFO] [stderr] 400 | $del_error:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sync.rs:269:6 [INFO] [stderr] | [INFO] [stderr] 269 | ($py: expr_2021, $text: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sync.rs:269:22 [INFO] [stderr] | [INFO] [stderr] 269 | ($py: expr_2021, $text: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:246:6 [INFO] [stderr] | [INFO] [stderr] 246 | ($typeobject:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:257:16 [INFO] [stderr] | [INFO] [stderr] 257 | ($name:ty, $typeobject:expr_2021, $module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:257:39 [INFO] [stderr] | [INFO] [stderr] 257 | ($name:ty, $typeobject:expr_2021, $module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:307:16 [INFO] [stderr] | [INFO] [stderr] 307 | ($name:ty, $typeobject:expr_2021, #module=$module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:307:47 [INFO] [stderr] | [INFO] [stderr] 307 | ($name:ty, $typeobject:expr_2021, #module=$module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:312:16 [INFO] [stderr] | [INFO] [stderr] 312 | ($name:ty, $typeobject:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:337:30 [INFO] [stderr] | [INFO] [stderr] 337 | ($name:ty, $layout:path, $typeobject:expr_2021 $(, #module=$module:expr_2021)? $(, #checkfunction=$checkfunction:path)? $(;$generics:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:337:64 [INFO] [stderr] | [INFO] [stderr] 337 | ($name:ty, $layout:path, $typeobject:expr_2021 $(, #module=$module:expr_2021)? $(, #checkfunction=$checkfunction:path)? $(;$generics:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/any.rs:1747:33 [INFO] [stderr] | [INFO] [stderr] 1747 | ($name:ident, $c_api:ident, $op:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/tuple.rs:676:33 [INFO] [stderr] | [INFO] [stderr] 676 | macro_rules! tuple_conversion ({$length:expr_2021,$(($refN:ident, $n:tt, $T:ident)),+} => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:82:6 [INFO] [stderr] | [INFO] [stderr] 82 | ($py:expr_2021, $($val:ident)+, $code:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:85:6 [INFO] [stderr] | [INFO] [stderr] 85 | ($py:expr_2021, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:85:37 [INFO] [stderr] | [INFO] [stderr] 85 | ($py:expr_2021, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:88:6 [INFO] [stderr] | [INFO] [stderr] 88 | ($py:expr_2021, *$dict:expr_2021, $code:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:88:22 [INFO] [stderr] | [INFO] [stderr] 88 | ($py:expr_2021, *$dict:expr_2021, $code:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:91:6 [INFO] [stderr] | [INFO] [stderr] 91 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:91:22 [INFO] [stderr] | [INFO] [stderr] 91 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:91:39 [INFO] [stderr] | [INFO] [stderr] 91 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:99:6 [INFO] [stderr] | [INFO] [stderr] 99 | ($py:expr_2021, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:99:37 [INFO] [stderr] | [INFO] [stderr] 99 | ($py:expr_2021, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:105:6 [INFO] [stderr] | [INFO] [stderr] 105 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:105:22 [INFO] [stderr] | [INFO] [stderr] 105 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:105:39 [INFO] [stderr] | [INFO] [stderr] 105 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:146:22 [INFO] [stderr] | [INFO] [stderr] 146 | ($function:path, $py_or_module:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:175:22 [INFO] [stderr] | [INFO] [stderr] 175 | ($function:path, $py_or_module:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 45 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/internal_tricks.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | ($doc: expr, $name: ident, $base: ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($doc: expr_2021, $name: ident, $base: ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | ($obj:ident, $error_val:expr, $pylong_as:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 50 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | ($obj:ident, $error_val:expr, $pylong_as:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 50 | ($obj:ident, $error_val:expr, $pylong_as:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | ($obj:ident, $error_val:expr, $pylong_as:expr, $force_index_call: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 54 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr, $force_index_call: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | ($obj:ident, $error_val:expr, $pylong_as:expr, $force_index_call: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 54 | ($obj:ident, $error_val:expr, $pylong_as:expr_2021, $force_index_call: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr, $pylong_as_ll_or_ull:expr, $force_index_call:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr_2021, $pylong_as_ll_or_ull:expr, $force_index_call:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:75:71 [INFO] [stdout] | [INFO] [stdout] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr, $pylong_as_ll_or_ull:expr, $force_index_call:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr, $pylong_as_ll_or_ull:expr_2021, $force_index_call:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | ($module: expr, $name: ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 98 | ($module: expr_2021, $name: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | ($module: expr, $name: ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 134 | ($module: expr_2021, $name: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | ($module: expr, $name: ident, $base: ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 244 | ($module: expr_2021, $name: ident, $base: ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | ($module: expr, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 253 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:253:52 [INFO] [stdout] | [INFO] [stdout] 253 | ($module: expr, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 253 | ($module: expr, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | ($module: expr, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 275 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:275:52 [INFO] [stdout] | [INFO] [stdout] 275 | ($module: expr, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 275 | ($module: expr, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:304:41 [INFO] [stdout] | [INFO] [stdout] 304 | ($name:ident, $exc_name:ident, $doc:expr, $layout:path $(, #checkfunction=$checkfunction:path)?) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 304 | ($name:ident, $exc_name:ident, $doc:expr_2021, $layout:path $(, #checkfunction=$checkfunction:path)?) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:312:41 [INFO] [stdout] | [INFO] [stdout] 312 | ($name:ident, $exc_name:ident, $doc:expr) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 312 | ($name:ident, $exc_name:ident, $doc:expr_2021) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/impl_/pyclass.rs:399:20 [INFO] [stdout] | [INFO] [stdout] 399 | $set_error:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 399 | $set_error:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/impl_/pyclass.rs:400:20 [INFO] [stdout] | [INFO] [stdout] 400 | $del_error:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 400 | $del_error:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sync.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | ($py: expr, $text: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 269 | ($py: expr_2021, $text: expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sync.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | ($py: expr, $text: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 269 | ($py: expr, $text: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | ($typeobject:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 246 | ($typeobject:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | ($name:ty, $typeobject:expr, $module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 257 | ($name:ty, $typeobject:expr_2021, $module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | ($name:ty, $typeobject:expr, $module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 257 | ($name:ty, $typeobject:expr, $module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | ($name:ty, $typeobject:expr, #module=$module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 307 | ($name:ty, $typeobject:expr_2021, #module=$module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:307:50 [INFO] [stdout] | [INFO] [stdout] 307 | ($name:ty, $typeobject:expr, #module=$module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 307 | ($name:ty, $typeobject:expr, #module=$module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:312:28 [INFO] [stdout] | [INFO] [stdout] 312 | ($name:ty, $typeobject:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 312 | ($name:ty, $typeobject:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:337:42 [INFO] [stdout] | [INFO] [stdout] 337 | ($name:ty, $layout:path, $typeobject:expr $(, #module=$module:expr)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 337 | ($name:ty, $layout:path, $typeobject:expr_2021 $(, #module=$module:expr)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:337:67 [INFO] [stdout] | [INFO] [stdout] 337 | ($name:ty, $layout:path, $typeobject:expr $(, #module=$module:expr)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 337 | ($name:ty, $layout:path, $typeobject:expr $(, #module=$module:expr_2021)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/any.rs:1747:37 [INFO] [stdout] | [INFO] [stdout] 1747 | ($name:ident, $c_api:ident, $op:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1747 | ($name:ident, $c_api:ident, $op:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/tuple.rs:676:41 [INFO] [stdout] | [INFO] [stdout] 676 | macro_rules! tuple_conversion ({$length:expr,$(($refN:ident, $n:tt, $T:ident)),+} => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 676 | macro_rules! tuple_conversion ({$length:expr_2021,$(($refN:ident, $n:tt, $T:ident)),+} => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | ($py:expr, $($val:ident)+, $code:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 82 | ($py:expr_2021, $($val:ident)+, $code:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | ($py:expr, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 85 | ($py:expr_2021, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | ($py:expr, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 85 | ($py:expr, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | ($py:expr, *$dict:expr, $code:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 88 | ($py:expr_2021, *$dict:expr, $code:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | ($py:expr, *$dict:expr, $code:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 88 | ($py:expr, *$dict:expr_2021, $code:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr_2021, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr_2021, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | ($py:expr, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($py:expr_2021, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | ($py:expr, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($py:expr, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr_2021, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr_2021, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | ($function:path, $py_or_module:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 146 | ($function:path, $py_or_module:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | ($function:path, $py_or_module:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 175 | ($function:path, $py_or_module:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::from_owned_ptr_or_err` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Bound::from_owned_ptr_or_err(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn assume_owned_or_err(self, py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::from_owned_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Bound::from_owned_ptr_or_opt(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe fn assume_owned_or_opt(self, py: Python<'_>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::from_owned_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Bound::from_owned_ptr(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe fn assume_owned(self, py: Python<'_>) -> Bound<'_, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_or_err` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Borrowed::from_ptr_or_err(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / unsafe fn assume_borrowed_or_err<'a>( [INFO] [stdout] 49 | | self, [INFO] [stdout] 50 | | py: Python<'_>, [INFO] [stdout] 51 | | ) -> PyResult> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Borrowed::from_ptr_or_opt(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe fn assume_borrowed_or_opt<'a>(self, py: Python<'_>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Borrowed::from_ptr(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn assume_borrowed<'a>(self, py: Python<'_>) -> Borrowed<'a, '_, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Borrowed::from_ptr_unchecked(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn assume_borrowed_unchecked<'a>(self, py: Python<'_>) -> Borrowed<'a, '_, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_into_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/py_result_ext.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | self.map(|instance| instance.downcast_into_unchecked()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/py_result_ext.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn downcast_into_unchecked(self) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_owned_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/err/err_state.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | ptype: Py::from_owned_ptr_or_opt(py, ptype).expect("Exception type missing"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/err/err_state.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / unsafe fn from_normalized_ffi_tuple( [INFO] [stdout] 54 | | py: Python<'_>, [INFO] [stdout] 55 | | ptype: *mut ffi::PyObject, [INFO] [stdout] 56 | | pvalue: *mut ffi::PyObject, [INFO] [stdout] 57 | | ptraceback: *mut ffi::PyObject, [INFO] [stdout] 58 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_owned_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/err/err_state.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | pvalue: Py::from_owned_ptr_or_opt(py, pvalue).expect("Exception value missing"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_owned_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/err/err_state.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | ptraceback: Py::from_owned_ptr_or_opt(py, ptraceback), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_IsInitialized` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | ffi::Py_IsInitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gil.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | / pub unsafe fn with_embedded_python_interpreter(f: F) -> R [INFO] [stdout] 122 | | where [INFO] [stdout] 123 | | F: for<'p> FnOnce(Python<'p>) -> R, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_InitializeEx` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | ffi::Py_InitializeEx(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gil::GILGuard::assume` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:134:21 [INFO] [stdout] | [INFO] [stdout] 134 | let guard = GILGuard::assume(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_Finalize` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | ffi::Py_Finalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gil::GILGuard::assume` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | return Self::assume(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gil.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub(crate) unsafe fn acquire_unchecked() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyGILState_Ensure` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | let gstate = ffi::PyGILState_Ensure(); // acquire GIL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `marker::Python::<'unbound>::assume_gil_acquired` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:233:32 [INFO] [stdout] | [INFO] [stdout] 233 | pool.update_counts(Python::assume_gil_acquired()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyEval_SaveThread` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 334 | let tstate = ffi::PyEval_SaveThread(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gil.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | pub(crate) unsafe fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/gil.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | ffi::Py_DECREF(obj.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/gil.rs:499:1 [INFO] [stdout] | [INFO] [stdout] 499 | pub unsafe fn register_decref(obj: NonNull) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 306 | std::slice::from_raw_parts(args, positional_args_provided) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/extract_argument.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / pub unsafe fn extract_arguments_fastcall<'py, V, K>( [INFO] [stdout] 270 | | &self, [INFO] [stdout] 271 | | py: Python<'py>, [INFO] [stdout] 272 | | args: *const *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 278 | | V: VarargsHandler<'py>, [INFO] [stdout] 279 | | K: VarkeywordsHandler<'py>, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | Borrowed::from_ptr_or_opt(py, kwnames).map(|kwnames| kwnames.downcast_unchecked()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:319:66 [INFO] [stdout] | [INFO] [stdout] 319 | Borrowed::from_ptr_or_opt(py, kwnames).map(|kwnames| kwnames.downcast_unchecked()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | let kwargs = ::std::slice::from_raw_parts( [INFO] [stdout] | __________________________^ [INFO] [stdout] 322 | | // Safety: PyArg has the same memory layout as `*mut ffi::PyObject` [INFO] [stdout] 323 | | args.offset(nargs).cast::>(), [INFO] [stdout] 324 | | kwnames.len(), [INFO] [stdout] 325 | | ); [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | args.offset(nargs).cast::>(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | Borrowed::from_ptr(py, args).downcast_unchecked::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/extract_argument.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | / pub unsafe fn extract_arguments_tuple_dict<'py, V, K>( [INFO] [stdout] 356 | | &self, [INFO] [stdout] 357 | | py: Python<'py>, [INFO] [stdout] 358 | | args: *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 363 | | V: VarargsHandler<'py>, [INFO] [stdout] 364 | | K: VarkeywordsHandler<'py>, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | Borrowed::from_ptr(py, args).downcast_unchecked::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | Borrowed::from_ptr_or_opt(py, kwargs).map(|kwargs| kwargs.downcast_unchecked()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:373:64 [INFO] [stdout] | [INFO] [stdout] 373 | Borrowed::from_ptr_or_opt(py, kwargs).map(|kwargs| kwargs.downcast_unchecked()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::dict::>::iter_borrowed` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/extract_argument.rs:400:17 [INFO] [stdout] | [INFO] [stdout] 400 | kwargs.iter_borrowed(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyObject_ClearWeakRefs` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | ffi::PyObject_ClearWeakRefs(obj) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe fn clear_weakrefs(&mut self, obj: *mut ffi::PyObject, _py: Python<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyObject_GenericGetAttr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:326:19 [INFO] [stdout] | [INFO] [stdout] 326 | let res = ffi::PyObject_GenericGetAttr(slf, attr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | / unsafe fn __getattribute__( [INFO] [stdout] 321 | | self, [INFO] [stdout] 322 | | py: Python<'_>, [INFO] [stdout] 323 | | slf: *mut ffi::PyObject, [INFO] [stdout] 324 | | attr: *mut ffi::PyObject, [INFO] [stdout] 325 | | ) -> PyResult<*mut ffi::PyObject> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_borrowed_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:347:14 [INFO] [stdout] | [INFO] [stdout] 347 | (Py::::from_borrowed_ptr(py, attr),) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | / unsafe fn __getattr__( [INFO] [stdout] 341 | | self, [INFO] [stdout] 342 | | py: Python<'_>, [INFO] [stdout] 343 | | _slf: *mut ffi::PyObject, [INFO] [stdout] 344 | | attr: *mut ffi::PyObject, [INFO] [stdout] 345 | | ) -> PyResult<*mut ffi::PyObject> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:833:19 [INFO] [stdout] | [INFO] [stdout] 833 | let slf = Borrowed::from_ptr(py, slf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:826:5 [INFO] [stdout] | [INFO] [stdout] 826 | / unsafe fn __ne__( [INFO] [stdout] 827 | | self, [INFO] [stdout] 828 | | py: Python<'_>, [INFO] [stdout] 829 | | slf: *mut ffi::PyObject, [INFO] [stdout] 830 | | other: *mut ffi::PyObject, [INFO] [stdout] 831 | | ) -> PyResult<*mut ffi::PyObject> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:834:21 [INFO] [stdout] | [INFO] [stdout] 834 | let other = Borrowed::from_ptr(py, other); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `marker::Python::<'unbound>::assume_gil_acquired` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:923:14 [INFO] [stdout] | [INFO] [stdout] 923 | let py = Python::assume_gil_acquired(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:919:1 [INFO] [stdout] | [INFO] [stdout] 919 | / pub unsafe extern "C" fn alloc_with_freelist( [INFO] [stdout] 920 | | subtype: *mut ffi::PyTypeObject, [INFO] [stdout] 921 | | nitems: ffi::Py_ssize_t, [INFO] [stdout] 922 | | ) -> *mut ffi::PyObject { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyObject_Init` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:933:13 [INFO] [stdout] | [INFO] [stdout] 933 | ffi::PyObject_Init(obj, subtype); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyType_GenericAlloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:938:5 [INFO] [stdout] | [INFO] [stdout] 938 | ffi::PyType_GenericAlloc(subtype, nitems) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `marker::Python::<'unbound>::assume_gil_acquired` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:949:28 [INFO] [stdout] | [INFO] [stdout] 949 | T::type_object_raw(Python::assume_gil_acquired()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:946:1 [INFO] [stdout] | [INFO] [stdout] 946 | pub unsafe extern "C" fn free_with_freelist(obj: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:950:9 [INFO] [stdout] | [INFO] [stdout] 950 | ffi::Py_TYPE(obj) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `marker::Python::<'unbound>::assume_gil_acquired` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:952:41 [INFO] [stdout] | [INFO] [stdout] 952 | if let Some(obj) = T::get_free_list(Python::assume_gil_acquired()).insert(obj) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:953:18 [INFO] [stdout] | [INFO] [stdout] 953 | let ty = ffi::Py_TYPE(obj); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyType_IS_GC` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:956:23 [INFO] [stdout] | [INFO] [stdout] 956 | let free = if ffi::PyType_IS_GC(ty) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:961:9 [INFO] [stdout] | [INFO] [stdout] 961 | free(obj as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyType_HasFeature` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:964:12 [INFO] [stdout] | [INFO] [stdout] 964 | if ffi::PyType_HasFeature(ty, ffi::Py_TPFLAGS_HEAPTYPE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:965:13 [INFO] [stdout] | [INFO] [stdout] 965 | ffi::Py_DECREF(ty as *mut ffi::PyObject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1144:5 [INFO] [stdout] | [INFO] [stdout] 1144 | crate::impl_::trampoline::dealloc(obj, PyClassObject::::tp_dealloc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:1143:1 [INFO] [stdout] | [INFO] [stdout] 1143 | pub(crate) unsafe extern "C" fn tp_dealloc(obj: *mut ffi::PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyObject_GC_UnTrack` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1151:9 [INFO] [stdout] | [INFO] [stdout] 1151 | ffi::PyObject_GC_UnTrack(obj.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:1148:1 [INFO] [stdout] | [INFO] [stdout] 1148 | pub(crate) unsafe extern "C" fn tp_dealloc_with_gc(obj: *mut ffi::PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1153:5 [INFO] [stdout] | [INFO] [stdout] 1153 | crate::impl_::trampoline::dealloc(obj, PyClassObject::::tp_dealloc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyLong_FromSsize_t` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1160:17 [INFO] [stdout] | [INFO] [stdout] 1160 | let index = ffi::PyLong_FromSsize_t(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:1156:1 [INFO] [stdout] | [INFO] [stdout] 1156 | / pub(crate) unsafe extern "C" fn get_sequence_item_from_mapping( [INFO] [stdout] 1157 | | obj: *mut ffi::PyObject, [INFO] [stdout] 1158 | | index: ffi::Py_ssize_t, [INFO] [stdout] 1159 | | ) -> *mut ffi::PyObject { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyObject_GetItem` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1164:18 [INFO] [stdout] | [INFO] [stdout] 1164 | let result = ffi::PyObject_GetItem(obj, index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1165:5 [INFO] [stdout] | [INFO] [stdout] 1165 | ffi::Py_DECREF(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyLong_FromSsize_t` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1174:17 [INFO] [stdout] | [INFO] [stdout] 1174 | let index = ffi::PyLong_FromSsize_t(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:1169:1 [INFO] [stdout] | [INFO] [stdout] 1169 | / pub(crate) unsafe extern "C" fn assign_sequence_item_from_mapping( [INFO] [stdout] 1170 | | obj: *mut ffi::PyObject, [INFO] [stdout] 1171 | | index: ffi::Py_ssize_t, [INFO] [stdout] 1172 | | value: *mut ffi::PyObject, [INFO] [stdout] 1173 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyObject_DelItem` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1179:9 [INFO] [stdout] | [INFO] [stdout] 1179 | ffi::PyObject_DelItem(obj, index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyObject_SetItem` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | ffi::PyObject_SetItem(obj, index, value) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:1183:5 [INFO] [stdout] | [INFO] [stdout] 1183 | ffi::Py_DECREF(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pymethods.rs:296:44 [INFO] [stdout] | [INFO] [stdout] 296 | let class_object: &PyClassObject = &*slf.cast(); [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pymethods.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / pub unsafe fn _call_traverse( [INFO] [stdout] 276 | | slf: *mut ffi::PyObject, [INFO] [stdout] 277 | | impl_: fn(&T, PyVisit<'_>) -> Result<(), PyTraverseError>, [INFO] [stdout] 278 | | visit: ffi::visitproc, [INFO] [stdout] ... | [INFO] [stdout] 281 | | where [INFO] [stdout] 282 | | T: PyClass, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pymethods.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | let instance = &*class_object.contents.value.get(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pymethods.rs:506:18 [INFO] [stdout] | [INFO] [stdout] 506 | BoundRef(Bound::ref_from_ptr(py, ptr)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pymethods.rs:505:5 [INFO] [stdout] | [INFO] [stdout] 505 | pub unsafe fn ref_from_ptr(py: Python<'py>, ptr: &'a *mut ffi::PyObject) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::ref_from_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pymethods.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | Bound::ref_from_ptr_or_opt(py, ptr).as_ref().map(BoundRef) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pymethods.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | / pub unsafe fn ref_from_ptr_or_opt( [INFO] [stdout] 510 | | py: Python<'py>, [INFO] [stdout] 511 | | ptr: &'a *mut ffi::PyObject, [INFO] [stdout] 512 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pymethods.rs:521:18 [INFO] [stdout] | [INFO] [stdout] 521 | BoundRef(self.0.downcast_unchecked::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pymethods.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | pub unsafe fn downcast_unchecked(self) -> BoundRef<'a, 'py, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyclass_init::PyClassInitializer::::create_class_object_of_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pymethods.rs:602:5 [INFO] [stdout] | [INFO] [stdout] 602 | / initializer [INFO] [stdout] 603 | | .create_class_object_of_type(py, target_type) [INFO] [stdout] | |_____________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pymethods.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / pub unsafe fn tp_new_impl( [INFO] [stdout] 598 | | py: Python<'_>, [INFO] [stdout] 599 | | initializer: PyClassInitializer, [INFO] [stdout] 600 | | target_type: *mut ffi::PyTypeObject, [INFO] [stdout] 601 | | ) -> PyResult<*mut ffi::PyObject> { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | trampoline(|py| f(py).map(|module| module.into_ptr())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / pub unsafe fn module_init( [INFO] [stdout] 20 | | f: for<'py> unsafe fn(Python<'py>) -> PyResult>, [INFO] [stdout] 21 | | ) -> *mut ffi::PyObject { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | trampoline(|py| f(py).map(|module| module.into_ptr())) [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | trampoline(|py| f(py, slf)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / pub unsafe fn noargs( [INFO] [stdout] 28 | | slf: *mut ffi::PyObject, [INFO] [stdout] 29 | | _args: *mut ffi::PyObject, [INFO] [stdout] 30 | | f: for<'py> unsafe fn(Python<'py>, *mut ffi::PyObject) -> PyResult<*mut ffi::PyObject>, [INFO] [stdout] 31 | | ) -> *mut ffi::PyObject { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | trampoline(|py| f(py, slf)) [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 55 | / trampolines!( [INFO] [stdout] 56 | | pub fn fastcall_with_keywords( [INFO] [stdout] 57 | | slf: *mut ffi::PyObject, [INFO] [stdout] 58 | | args: *const *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 55 | / trampolines!( [INFO] [stdout] 56 | | pub fn fastcall_with_keywords( [INFO] [stdout] 57 | | slf: *mut ffi::PyObject, [INFO] [stdout] 58 | | args: *const *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 55 | / trampolines!( [INFO] [stdout] 56 | | pub fn fastcall_with_keywords( [INFO] [stdout] 57 | | slf: *mut ffi::PyObject, [INFO] [stdout] 58 | | args: *const *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 55 | / trampolines!( [INFO] [stdout] 56 | | pub fn fastcall_with_keywords( [INFO] [stdout] 57 | | slf: *mut ffi::PyObject, [INFO] [stdout] 58 | | args: *const *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 55 | / trampolines!( [INFO] [stdout] 56 | | pub fn fastcall_with_keywords( [INFO] [stdout] 57 | | slf: *mut ffi::PyObject, [INFO] [stdout] 58 | | args: *const *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 55 | / trampolines!( [INFO] [stdout] 56 | | pub fn fastcall_with_keywords( [INFO] [stdout] 57 | | slf: *mut ffi::PyObject, [INFO] [stdout] 58 | | args: *const *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 67 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 71 | / trampolines!( [INFO] [stdout] 72 | | pub fn getattrofunc(slf: *mut ffi::PyObject, attr: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 73 | | [INFO] [stdout] 74 | | pub fn setattrofunc( [INFO] [stdout] ... | [INFO] [stdout] 122 | | pub fn unaryfunc(slf: *mut ffi::PyObject) -> *mut ffi::PyObject; [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` which comes from the expansion of the macro `trampolines` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 126 | / trampoline! { [INFO] [stdout] 127 | | pub fn getbufferproc(slf: *mut ffi::PyObject, buf: *mut ffi::Py_buffer, flags: c_int) -> c_int; [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 126 | / trampoline! { [INFO] [stdout] 127 | | pub fn getbufferproc(slf: *mut ffi::PyObject, buf: *mut ffi::Py_buffer, flags: c_int) -> c_int; [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 126 | / trampoline! { [INFO] [stdout] 127 | | pub fn getbufferproc(slf: *mut ffi::PyObject, buf: *mut ffi::Py_buffer, flags: c_int) -> c_int; [INFO] [stdout] 128 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline_unraisable` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | trampoline_unraisable(|py| f(py, slf, buf), slf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / pub unsafe fn releasebufferproc( [INFO] [stdout] 133 | | slf: *mut ffi::PyObject, [INFO] [stdout] 134 | | buf: *mut ffi::Py_buffer, [INFO] [stdout] 135 | | f: for<'py> unsafe fn(Python<'py>, *mut ffi::PyObject, *mut ffi::Py_buffer) -> PyResult<()>, [INFO] [stdout] 136 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | trampoline_unraisable(|py| f(py, slf, buf), slf) [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline_unraisable` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / trampoline_unraisable( [INFO] [stdout] 150 | | |py| { [INFO] [stdout] 151 | | f(py, slf); [INFO] [stdout] 152 | | Ok(()) [INFO] [stdout] 153 | | }, [INFO] [stdout] 154 | | std::ptr::null_mut(), [INFO] [stdout] 155 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / pub(crate) unsafe fn dealloc( [INFO] [stdout] 142 | | slf: *mut ffi::PyObject, [INFO] [stdout] 143 | | f: for<'py> unsafe fn(Python<'py>, *mut ffi::PyObject) -> (), [INFO] [stdout] 144 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | f(py, slf); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 161 | / trampoline!( [INFO] [stdout] 162 | | pub fn ipowfunc( [INFO] [stdout] 163 | | arg1: *mut ffi::PyObject, [INFO] [stdout] 164 | | arg2: *mut ffi::PyObject, [INFO] [stdout] 165 | | arg3: IPowModulo, [INFO] [stdout] 166 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn $name( [INFO] [stdout] 41 | | $($arg_names: $arg_types,)* [INFO] [stdout] 42 | | f: for<'py> unsafe fn (Python<'py>, $($arg_types),*) -> PyResult<$ret>, [INFO] [stdout] 43 | | ) -> $ret { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 161 | / trampoline!( [INFO] [stdout] 162 | | pub fn ipowfunc( [INFO] [stdout] 163 | | arg1: *mut ffi::PyObject, [INFO] [stdout] 164 | | arg2: *mut ffi::PyObject, [INFO] [stdout] 165 | | arg3: IPowModulo, [INFO] [stdout] 166 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `trampoline` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | trampoline(|py| f(py, $($arg_names,)*)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 161 | / trampoline!( [INFO] [stdout] 162 | | pub fn ipowfunc( [INFO] [stdout] 163 | | arg1: *mut ffi::PyObject, [INFO] [stdout] 164 | | arg2: *mut ffi::PyObject, [INFO] [stdout] 165 | | arg3: IPowModulo, [INFO] [stdout] 166 | | ) -> *mut ffi::PyObject; [INFO] [stdout] 167 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `trampoline` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gil::GILGuard::assume` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let guard = GILGuard::assume(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | / pub(crate) unsafe fn trampoline(body: F) -> R [INFO] [stdout] 177 | | where [INFO] [stdout] 178 | | F: for<'py> FnOnce(Python<'py>) -> PyResult + UnwindSafe, [INFO] [stdout] 179 | | R: PyCallbackOutput, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gil::GILGuard::assume` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | let guard = GILGuard::assume(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/trampoline.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / unsafe fn trampoline_unraisable(body: F, ctx: *mut ffi::PyObject) [INFO] [stdout] 226 | | where [INFO] [stdout] 227 | | F: for<'py> FnOnce(Python<'py>) -> PyResult<()> + UnwindSafe, [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi_ptr_ext::FfiPtrExt::assume_borrowed_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/trampoline.rs:238:43 [INFO] [stdout] | [INFO] [stdout] 238 | py_err.write_unraisable_bound(py, ctx.assume_borrowed_or_opt(py).as_deref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_owned_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | Self(py, ManuallyDrop::new(Py::from_owned_ptr(py, ptr))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub unsafe fn from_owned_ptr(py: Python<'py>, ptr: *mut ffi::PyObject) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_owned_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | Py::from_owned_ptr_or_opt(py, ptr).map(|obj| Self(py, ManuallyDrop::new(obj))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub unsafe fn from_owned_ptr_or_opt(py: Python<'py>, ptr: *mut ffi::PyObject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_owned_ptr_or_err` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | Py::from_owned_ptr_or_err(py, ptr).map(|obj| Self(py, ManuallyDrop::new(obj))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / pub unsafe fn from_owned_ptr_or_err( [INFO] [stdout] 148 | | py: Python<'py>, [INFO] [stdout] 149 | | ptr: *mut ffi::PyObject, [INFO] [stdout] 150 | | ) -> PyResult { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_borrowed_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | Self(py, ManuallyDrop::new(Py::from_borrowed_ptr(py, ptr))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub unsafe fn from_borrowed_ptr(py: Python<'py>, ptr: *mut ffi::PyObject) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_borrowed_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | Py::from_borrowed_ptr_or_opt(py, ptr).map(|obj| Self(py, ManuallyDrop::new(obj))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / pub unsafe fn from_borrowed_ptr_or_opt( [INFO] [stdout] 174 | | py: Python<'py>, [INFO] [stdout] 175 | | ptr: *mut ffi::PyObject, [INFO] [stdout] 176 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_borrowed_ptr_or_err` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | Py::from_borrowed_ptr_or_err(py, ptr).map(|obj| Self(py, ManuallyDrop::new(obj))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / pub unsafe fn from_borrowed_ptr_or_err( [INFO] [stdout] 188 | | py: Python<'py>, [INFO] [stdout] 189 | | ptr: *mut ffi::PyObject, [INFO] [stdout] 190 | | ) -> PyResult { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:209:10 [INFO] [stdout] | [INFO] [stdout] 209 | &*ptr_from_ref(ptr).cast::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | / pub(crate) unsafe fn ref_from_ptr<'a>( [INFO] [stdout] 206 | | _py: Python<'py>, [INFO] [stdout] 207 | | ptr: &'a *mut ffi::PyObject, [INFO] [stdout] 208 | | ) -> &'a Self { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | &*ptr_from_ref(ptr).cast::>>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | / pub(crate) unsafe fn ref_from_ptr_or_opt<'a>( [INFO] [stdout] 218 | | _py: Python<'py>, [INFO] [stdout] 219 | | ptr: &'a *mut ffi::PyObject, [INFO] [stdout] 220 | | ) -> &'a Option { [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::NonNull::::new_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:649:14 [INFO] [stdout] | [INFO] [stdout] 649 | Self(NonNull::new_unchecked(ptr), PhantomData, py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:648:5 [INFO] [stdout] | [INFO] [stdout] 648 | pub(crate) unsafe fn from_ptr_unchecked(py: Python<'py>, ptr: *mut ffi::PyObject) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_borrowed_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:1665:15 [INFO] [stdout] | [INFO] [stdout] 1665 | match Self::from_borrowed_ptr_or_opt(py, ptr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:1664:5 [INFO] [stdout] | [INFO] [stdout] 1664 | pub unsafe fn from_borrowed_ptr(py: Python<'_>, ptr: *mut ffi::PyObject) -> Py { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Py::::from_borrowed_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:1682:9 [INFO] [stdout] | [INFO] [stdout] 1682 | Self::from_borrowed_ptr_or_opt(py, ptr).ok_or_else(|| PyErr::fetch(py)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:1678:5 [INFO] [stdout] | [INFO] [stdout] 1678 | / pub unsafe fn from_borrowed_ptr_or_err( [INFO] [stdout] 1679 | | py: Python<'_>, [INFO] [stdout] 1680 | | ptr: *mut ffi::PyObject, [INFO] [stdout] 1681 | | ) -> PyResult { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_INCREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:1697:13 [INFO] [stdout] | [INFO] [stdout] 1697 | ffi::Py_INCREF(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:1692:5 [INFO] [stdout] | [INFO] [stdout] 1692 | / pub unsafe fn from_borrowed_ptr_or_opt( [INFO] [stdout] 1693 | | _py: Python<'_>, [INFO] [stdout] 1694 | | ptr: *mut ffi::PyObject, [INFO] [stdout] 1695 | | ) -> Option { [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/instance.rs:2028:9 [INFO] [stdout] | [INFO] [stdout] 2028 | self.bind(py).downcast_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/instance.rs:2027:5 [INFO] [stdout] | [INFO] [stdout] 2027 | pub unsafe fn downcast_bound_unchecked<'py, T>(&self, py: Python<'py>) -> &Bound<'py, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `gil::GILGuard::acquire_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/marker.rs:444:21 [INFO] [stdout] | [INFO] [stdout] 444 | let guard = GILGuard::acquire_unchecked(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/marker.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | / pub unsafe fn with_gil_unchecked(f: F) -> R [INFO] [stdout] 441 | | where [INFO] [stdout] 442 | | F: for<'py> FnOnce(Python<'py>) -> R, [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | return get_tp_free(ffi::Py_TYPE(slf))(slf.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pycell/impl_.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | unsafe fn tp_dealloc(py: Python<'_>, slf: *mut ffi::PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `type_object::get_tp_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | return get_tp_free(ffi::Py_TYPE(slf))(slf.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | return get_tp_free(ffi::Py_TYPE(slf))(slf.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:233:36 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(dealloc) = (*type_obj).tp_dealloc { [INFO] [stdout] | ^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | if ffi::PyType_FastSubclass(type_obj, ffi::Py_TPFLAGS_BASE_EXC_SUBCLASS) == 1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyObject_GC_Track` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | ffi::PyObject_GC_Track(slf.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | dealloc(slf); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | get_tp_free(ffi::Py_TYPE(slf))(slf.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `type_object::get_tp_free` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | get_tp_free(ffi::Py_TYPE(slf))(slf.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:243:29 [INFO] [stdout] | [INFO] [stdout] 243 | get_tp_free(ffi::Py_TYPE(slf))(slf.cast()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:323:33 [INFO] [stdout] | [INFO] [stdout] 323 | let class_object = &mut *(slf.cast::>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pycell/impl_.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | unsafe fn tp_dealloc(py: Python<'_>, slf: *mut ffi::PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::ManuallyDrop::::drop` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | ManuallyDrop::drop(&mut class_object.contents.value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClassWeakRef::clear_weakrefs` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | class_object.contents.weakref.clear_weakrefs(slf, py); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pycell::impl_::PyClassObjectLayout::tp_dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycell/impl_.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | ::LayoutAsBase::tp_dealloc(py, slf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyclass::create_type_object::PyTypeBuilder::class_items` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / PyTypeBuilder { [INFO] [stdout] 53 | | slots: Vec::new(), [INFO] [stdout] 54 | | method_defs: Vec::new(), [INFO] [stdout] 55 | | member_defs: Vec::new(), [INFO] [stdout] ... | [INFO] [stdout] 76 | | .set_is_basetype(is_basetype) [INFO] [stdout] 77 | | .class_items(items_iter) [INFO] [stdout] | |________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass/create_type_object.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / unsafe fn inner( [INFO] [stdout] 37 | | py: Python<'_>, [INFO] [stdout] 38 | | base: *mut ffi::PyTypeObject, [INFO] [stdout] 39 | | dealloc: unsafe extern "C" fn(*mut ffi::PyObject), [INFO] [stdout] ... | [INFO] [stdout] 50 | | size_of: usize, [INFO] [stdout] 51 | | ) -> PyResult { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::mem::zeroed` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | data.push(std::mem::zeroed()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass/create_type_object.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | unsafe fn push_raw_vec_slot(&mut self, slot: c_int, mut data: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyclass::create_type_object::PyTypeBuilder::push_slot` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | self.push_slot(slot, Box::into_raw(data.into_boxed_slice()) as *mut c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyclass::create_type_object::PyTypeBuilder::push_slot` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | self.push_slot(slot.slot, slot.pfunc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass/create_type_object.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | unsafe fn class_items(mut self, iter: PyClassItemsIter) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:531:5 [INFO] [stdout] | [INFO] [stdout] 531 | / trampoline(|py| { [INFO] [stdout] 532 | | let tpobj = PyType::from_borrowed_type_ptr(py, subtype); [INFO] [stdout] 533 | | let name = tpobj [INFO] [stdout] 534 | | .name() [INFO] [stdout] ... | [INFO] [stdout] 539 | | ))) [INFO] [stdout] 540 | | }) [INFO] [stdout] | |______^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass/create_type_object.rs:526:1 [INFO] [stdout] | [INFO] [stdout] 526 | / unsafe extern "C" fn no_constructor_defined( [INFO] [stdout] 527 | | subtype: *mut ffi::PyTypeObject, [INFO] [stdout] 528 | | _args: *mut ffi::PyObject, [INFO] [stdout] 529 | | _kwds: *mut ffi::PyObject, [INFO] [stdout] 530 | | ) -> *mut ffi::PyObject { [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::typeobject::PyType::from_borrowed_type_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:532:21 [INFO] [stdout] | [INFO] [stdout] 532 | let tpobj = PyType::from_borrowed_type_ptr(py, subtype); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:625:46 [INFO] [stdout] | [INFO] [stdout] 625 | let getter: Getter = std::mem::transmute(closure); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass/create_type_object.rs:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | / unsafe extern "C" fn getter( [INFO] [stdout] 621 | | slf: *mut ffi::PyObject, [INFO] [stdout] 622 | | closure: *mut c_void, [INFO] [stdout] 623 | | ) -> *mut ffi::PyObject { [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:626:25 [INFO] [stdout] | [INFO] [stdout] 626 | trampoline(|py| getter(py, slf)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:626:41 [INFO] [stdout] | [INFO] [stdout] 626 | trampoline(|py| getter(py, slf)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:637:46 [INFO] [stdout] | [INFO] [stdout] 637 | let setter: Setter = std::mem::transmute(closure); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass/create_type_object.rs:631:21 [INFO] [stdout] | [INFO] [stdout] 631 | / unsafe extern "C" fn setter( [INFO] [stdout] 632 | | slf: *mut ffi::PyObject, [INFO] [stdout] 633 | | value: *mut ffi::PyObject, [INFO] [stdout] 634 | | closure: *mut c_void, [INFO] [stdout] 635 | | ) -> c_int { [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:638:25 [INFO] [stdout] | [INFO] [stdout] 638 | trampoline(|py| setter(py, slf, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:638:41 [INFO] [stdout] | [INFO] [stdout] 638 | trampoline(|py| setter(py, slf, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:647:57 [INFO] [stdout] | [INFO] [stdout] 647 | let getset: &GetterAndSetter = &*closure.cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass/create_type_object.rs:643:21 [INFO] [stdout] | [INFO] [stdout] 643 | / unsafe extern "C" fn getset_getter( [INFO] [stdout] 644 | | slf: *mut ffi::PyObject, [INFO] [stdout] 645 | | closure: *mut c_void, [INFO] [stdout] 646 | | ) -> *mut ffi::PyObject { [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:648:25 [INFO] [stdout] | [INFO] [stdout] 648 | trampoline(|py| (getset.getter)(py, slf)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:648:41 [INFO] [stdout] | [INFO] [stdout] 648 | trampoline(|py| (getset.getter)(py, slf)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:656:57 [INFO] [stdout] | [INFO] [stdout] 656 | let getset: &GetterAndSetter = &*closure.cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass/create_type_object.rs:651:21 [INFO] [stdout] | [INFO] [stdout] 651 | / unsafe extern "C" fn getset_setter( [INFO] [stdout] 652 | | slf: *mut ffi::PyObject, [INFO] [stdout] 653 | | value: *mut ffi::PyObject, [INFO] [stdout] 654 | | closure: *mut c_void, [INFO] [stdout] 655 | | ) -> c_int { [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::trampoline` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:657:25 [INFO] [stdout] | [INFO] [stdout] 657 | trampoline(|py| (getset.setter)(py, slf, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass/create_type_object.rs:657:41 [INFO] [stdout] | [INFO] [stdout] 657 | trampoline(|py| (getset.setter)(py, slf, value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function ` as pyclass_init::PyObjectInit>::into_new_object::inner` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | inner(py, type_object, subtype) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass_init.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / unsafe fn into_new_object( [INFO] [stdout] 42 | | self, [INFO] [stdout] 43 | | py: Python<'_>, [INFO] [stdout] 44 | | subtype: *mut PyTypeObject, [INFO] [stdout] 45 | | ) -> PyResult<*mut ffi::PyObject> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `type_object::get_tp_alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | let alloc = get_tp_alloc(subtype).unwrap_or(ffi::PyType_GenericAlloc); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass_init.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / unsafe fn inner( [INFO] [stdout] 47 | | py: Python<'_>, [INFO] [stdout] 48 | | type_object: *mut PyTypeObject, [INFO] [stdout] 49 | | subtype: *mut PyTypeObject, [INFO] [stdout] 50 | | ) -> PyResult<*mut ffi::PyObject> { [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | let obj = alloc(subtype, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | match (*type_object).tp_new { [INFO] [stdout] | ^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let obj = newfunc(subtype, std::ptr::null_mut(), std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyclass_init::PyObjectInit::into_new_object` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | let obj = super_init.into_new_object(py, target_type)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass_init.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 238 | / pub(crate) unsafe fn create_class_object_of_type( [INFO] [stdout] 239 | | self, [INFO] [stdout] 240 | | py: Python<'_>, [INFO] [stdout] 241 | | target_type: *mut crate::ffi::PyTypeObject, [INFO] [stdout] 242 | | ) -> PyResult> [INFO] [stdout] 243 | | where [INFO] [stdout] 244 | | T: PyClass, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | / std::ptr::write( [INFO] [stdout] 263 | | (*part_init).contents.as_mut_ptr(), [INFO] [stdout] 264 | | PyClassObjectContents { [INFO] [stdout] 265 | | value: ManuallyDrop::new(UnsafeCell::new(init)), [INFO] [stdout] ... | [INFO] [stdout] 270 | | }, [INFO] [stdout] 271 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | (*part_init).contents.as_mut_ptr(), [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_into_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | Ok(obj.assume_owned(py).downcast_into_unchecked()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi_ptr_ext::FfiPtrExt::assume_owned` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 275 | Ok(obj.assume_owned(py).downcast_into_unchecked()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyclass_init::PyClassInitializer::::create_class_object_of_type` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyclass_init.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | self.create_class_object_of_type(py, subtype) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyclass_init.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | / unsafe fn into_new_object( [INFO] [stdout] 281 | | self, [INFO] [stdout] 282 | | py: Python<'_>, [INFO] [stdout] 283 | | subtype: *mut PyTypeObject, [INFO] [stdout] 284 | | ) -> PyResult<*mut ffi::PyObject> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/type_object.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | (*tp).tp_alloc [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/type_object.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | pub(crate) unsafe fn get_tp_alloc(tp: *mut ffi::PyTypeObject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/type_object.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | (*tp).tp_free.unwrap() [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/type_object.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub(crate) unsafe fn get_tp_free(tp: *mut ffi::PyTypeObject) -> ffi::freefunc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/types/any.rs:2240:10 [INFO] [stdout] | [INFO] [stdout] 2240 | &*ptr_from_ref(self).cast() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/any.rs:2239:5 [INFO] [stdout] | [INFO] [stdout] 2239 | unsafe fn downcast_unchecked(&self) -> &Bound<'py, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/any.rs:2245:9 [INFO] [stdout] | [INFO] [stdout] 2245 | std::mem::transmute(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/any.rs:2244:5 [INFO] [stdout] | [INFO] [stdout] 2244 | unsafe fn downcast_into_unchecked(self) -> Bound<'py, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::bytearray::>::as_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/bytearray.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | self.as_borrowed().as_bytes() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/bytearray.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | unsafe fn as_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::bytearray::>::as_bytes_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/bytearray.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | self.as_borrowed().as_bytes_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/bytearray.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | unsafe fn as_bytes_mut(&self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/bytearray.rs:492:9 [INFO] [stdout] | [INFO] [stdout] 492 | slice::from_raw_parts(self.data(), self.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/bytearray.rs:491:5 [INFO] [stdout] | [INFO] [stdout] 491 | unsafe fn as_bytes(self) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/bytearray.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 497 | slice::from_raw_parts_mut(self.data(), self.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/bytearray.rs:496:5 [INFO] [stdout] | [INFO] [stdout] 496 | unsafe fn as_bytes_mut(self) -> &'a mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_into_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/bytes.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / ffi::PyBytes_FromStringAndSize(ptr.cast(), len as isize) [INFO] [stdout] 123 | | .assume_owned(py) [INFO] [stdout] 124 | | .downcast_into_unchecked() [INFO] [stdout] | |______________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/bytes.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub unsafe fn bound_from_ptr(py: Python<'_>, ptr: *const u8, len: usize) -> Bound<'_, PyBytes> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi_ptr_ext::FfiPtrExt::assume_owned` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/bytes.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | / ffi::PyBytes_FromStringAndSize(ptr.cast(), len as isize) [INFO] [stdout] 123 | | .assume_owned(py) [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyBytes_FromStringAndSize` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/bytes.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | ffi::PyBytes_FromStringAndSize(ptr.cast(), len as isize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyCapsule_Import` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/capsule.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let ptr = ffi::PyCapsule_Import(name.as_ptr(), false as c_int); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/capsule.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub unsafe fn import<'py, T>(py: Python<'py>, name: &CStr) -> PyResult<&'py T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/types/capsule.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | Ok(&*ptr.cast::()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/types/capsule.rs:358:10 [INFO] [stdout] | [INFO] [stdout] 358 | &*self.pointer().cast() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/capsule.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | unsafe fn reference(&self) -> &'py T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyCapsule_GetPointer` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/capsule.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 407 | let ptr = ffi::PyCapsule_GetPointer(capsule, ffi::PyCapsule_GetName(capsule)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/capsule.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | / unsafe extern "C" fn capsule_destructor( [INFO] [stdout] 405 | | capsule: *mut ffi::PyObject, [INFO] [stdout] 406 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyCapsule_GetName` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/capsule.rs:407:50 [INFO] [stdout] | [INFO] [stdout] 407 | let ptr = ffi::PyCapsule_GetPointer(capsule, ffi::PyCapsule_GetName(capsule)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyCapsule_GetContext` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/capsule.rs:408:15 [INFO] [stdout] | [INFO] [stdout] 408 | let ctx = ffi::PyCapsule_GetContext(capsule); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/capsule.rs:411:10 [INFO] [stdout] | [INFO] [stdout] 411 | } = *Box::from_raw(ptr.cast::>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `marker::Python::<'unbound>::assume_gil_acquired` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/datetime.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | let _ = ensure_datetime_api(Python::assume_gil_acquired()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 82 | / ffi_fun_with_autoinit! { [INFO] [stdout] 83 | | /// Check if `op` is a `PyDateTimeAPI.DateType` or subtype. [INFO] [stdout] 84 | | unsafe fn PyDate_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 96 | | unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/datetime.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe fn $name($arg: *mut crate::ffi::PyObject) -> $ret { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | / ffi_fun_with_autoinit! { [INFO] [stdout] 83 | | /// Check if `op` is a `PyDateTimeAPI.DateType` or subtype. [INFO] [stdout] 84 | | unsafe fn PyDate_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 96 | | unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ffi_fun_with_autoinit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyDate_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/datetime.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | crate::ffi::$name($arg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 82 | / ffi_fun_with_autoinit! { [INFO] [stdout] 83 | | /// Check if `op` is a `PyDateTimeAPI.DateType` or subtype. [INFO] [stdout] 84 | | unsafe fn PyDate_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 96 | | unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_fun_with_autoinit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyDateTime_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/datetime.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | crate::ffi::$name($arg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 82 | / ffi_fun_with_autoinit! { [INFO] [stdout] 83 | | /// Check if `op` is a `PyDateTimeAPI.DateType` or subtype. [INFO] [stdout] 84 | | unsafe fn PyDate_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 96 | | unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_fun_with_autoinit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyTime_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/datetime.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | crate::ffi::$name($arg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 82 | / ffi_fun_with_autoinit! { [INFO] [stdout] 83 | | /// Check if `op` is a `PyDateTimeAPI.DateType` or subtype. [INFO] [stdout] 84 | | unsafe fn PyDate_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 96 | | unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_fun_with_autoinit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyDelta_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/datetime.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | crate::ffi::$name($arg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 82 | / ffi_fun_with_autoinit! { [INFO] [stdout] 83 | | /// Check if `op` is a `PyDateTimeAPI.DateType` or subtype. [INFO] [stdout] 84 | | unsafe fn PyDate_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 96 | | unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_fun_with_autoinit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyTZInfo_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/datetime.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | crate::ffi::$name($arg) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 82 | / ffi_fun_with_autoinit! { [INFO] [stdout] 83 | | /// Check if `op` is a `PyDateTimeAPI.DateType` or subtype. [INFO] [stdout] 84 | | unsafe fn PyDate_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 96 | | unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `ffi_fun_with_autoinit` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::cfunction_with_keywords` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/function.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | / crate::impl_::trampoline::cfunction_with_keywords( [INFO] [stdout] 219 | | capsule_ptr, [INFO] [stdout] 220 | | args, [INFO] [stdout] 221 | | kwargs, [INFO] [stdout] ... | [INFO] [stdout] 232 | | }, [INFO] [stdout] 233 | | ) [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/function.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / unsafe extern "C" fn run_closure( [INFO] [stdout] 208 | | capsule_ptr: *mut ffi::PyObject, [INFO] [stdout] 209 | | args: *mut ffi::PyObject, [INFO] [stdout] 210 | | kwargs: *mut ffi::PyObject, [INFO] [stdout] ... | [INFO] [stdout] 213 | | F: Fn(&Bound<'_, PyTuple>, Option<&Bound<'_, PyDict>>) -> R + Send + 'static, [INFO] [stdout] 214 | | R: crate::callback::IntoPyCallbackOutput<*mut ffi::PyObject>, [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/types/function.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | &*(ffi::PyCapsule_GetPointer(capsule_ptr, CLOSURE_CAPSULE_NAME.as_ptr()) [INFO] [stdout] | __________________^ [INFO] [stdout] 225 | | as *mut ClosureDestructor); [INFO] [stdout] | |_________________________________________________^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyCapsule_GetPointer` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/function.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | &*(ffi::PyCapsule_GetPointer(capsule_ptr, CLOSURE_CAPSULE_NAME.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/function.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | let args = Bound::ref_from_ptr(py, &args).downcast_unchecked::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/function.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | let args = Bound::ref_from_ptr(py, &args).downcast_unchecked::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::ref_from_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/function.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | let kwargs = Bound::ref_from_ptr_or_opt(py, &kwargs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/function.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | .map(|b| b.downcast_unchecked::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi_ptr_ext::FfiPtrExt::assume_borrowed` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/list.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | / ffi::PyList_GET_ITEM(self.as_ptr(), index as Py_ssize_t) [INFO] [stdout] 450 | | .assume_borrowed(self.py()) [INFO] [stdout] | |_______________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/list.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | unsafe fn get_item_unchecked(&self, index: usize) -> Bound<'py, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyList_GET_ITEM` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/list.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | ffi::PyList_GET_ITEM(self.as_ptr(), index as Py_ssize_t) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::list::PyListMethods::get_item_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/list.rs:663:20 [INFO] [stdout] | [INFO] [stdout] 663 | let item = self.list.get_item_unchecked(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/list.rs:659:5 [INFO] [stdout] | [INFO] [stdout] 659 | unsafe fn get_item(&self, index: usize) -> Bound<'py, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::string::>::data` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/string.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | self.as_borrowed().data() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/string.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | unsafe fn data(&self) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyUnicode_READY` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/string.rs:434:25 [INFO] [stdout] | [INFO] [stdout] 434 | let ready = ffi::PyUnicode_READY(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/string.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | unsafe fn data(self) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyUnicode_GET_LENGTH` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/string.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | let length = ffi::PyUnicode_GET_LENGTH(ptr) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyUnicode_DATA` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/string.rs:445:24 [INFO] [stdout] | [INFO] [stdout] 445 | let raw_data = ffi::PyUnicode_DATA(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyUnicode_KIND` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/string.rs:446:20 [INFO] [stdout] | [INFO] [stdout] 446 | let kind = ffi::PyUnicode_KIND(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/string.rs:449:64 [INFO] [stdout] | [INFO] [stdout] 449 | ffi::PyUnicode_1BYTE_KIND => Ok(PyStringData::Ucs1(std::slice::from_raw_parts( [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 450 | | raw_data as *const u8, [INFO] [stdout] 451 | | length, [INFO] [stdout] 452 | | ))), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/string.rs:453:64 [INFO] [stdout] | [INFO] [stdout] 453 | ffi::PyUnicode_2BYTE_KIND => Ok(PyStringData::Ucs2(std::slice::from_raw_parts( [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 454 | | raw_data as *const u16, [INFO] [stdout] 455 | | length, [INFO] [stdout] 456 | | ))), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/string.rs:457:64 [INFO] [stdout] | [INFO] [stdout] 457 | ffi::PyUnicode_4BYTE_KIND => Ok(PyStringData::Ucs4(std::slice::from_raw_parts( [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 458 | | raw_data as *const u32, [INFO] [stdout] 459 | | length, [INFO] [stdout] 460 | | ))), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::tuple::PyTupleMethods::get_borrowed_item_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tuple.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | self.get_borrowed_item_unchecked(index).to_owned() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/tuple.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | unsafe fn get_item_unchecked(&self, index: usize) -> Bound<'py, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::tuple::>::get_borrowed_item_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tuple.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | self.as_borrowed().get_borrowed_item_unchecked(index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/tuple.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | unsafe fn get_borrowed_item_unchecked<'a>(&'a self, index: usize) -> Borrowed<'a, 'py, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ffi_ptr_ext::FfiPtrExt::assume_borrowed` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tuple.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | ffi::PyTuple_GET_ITEM(self.as_ptr(), index as Py_ssize_t).assume_borrowed(self.py()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/tuple.rs:444:5 [INFO] [stdout] | [INFO] [stdout] 444 | unsafe fn get_borrowed_item_unchecked(self, index: usize) -> Borrowed<'a, 'py, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::PyTuple_GET_ITEM` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tuple.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | ffi::PyTuple_GET_ITEM(self.as_ptr(), index as Py_ssize_t).assume_borrowed(self.py()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::tuple::>::get_borrowed_item_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/tuple.rs:607:20 [INFO] [stdout] | [INFO] [stdout] 607 | let item = tuple.get_borrowed_item_unchecked(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/tuple.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | / unsafe fn get_item( [INFO] [stdout] 601 | | tuple: Borrowed<'a, 'py, PyTuple>, [INFO] [stdout] 602 | | index: usize, [INFO] [stdout] 603 | | ) -> Borrowed<'a, 'py, PyAny> { [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/typeobject.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / Borrowed::from_ptr_unchecked(py, p.cast()) [INFO] [stdout] 45 | | .downcast_unchecked() [INFO] [stdout] | |_________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/typeobject.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / pub unsafe fn from_borrowed_type_ptr( [INFO] [stdout] 41 | | py: Python<'_>, [INFO] [stdout] 42 | | p: *mut ffi::PyTypeObject, [INFO] [stdout] 43 | | ) -> Bound<'_, PyType> { [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/typeobject.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Borrowed::from_ptr_unchecked(py, p.cast()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_into_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/weakref/anyref.rs:621:14 [INFO] [stdout] | [INFO] [stdout] 621 | Some(self.upgrade()?.downcast_into_unchecked()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/weakref/anyref.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 620 | unsafe fn upgrade_as_unchecked(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::downcast_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/weakref/anyref.rs:698:14 [INFO] [stdout] | [INFO] [stdout] 698 | Some(self.upgrade_borrowed()?.downcast_unchecked()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/weakref/anyref.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | / unsafe fn upgrade_borrowed_as_unchecked<'a, T>(&'a self) -> Option> [INFO] [stdout] 695 | | where [INFO] [stdout] 696 | | 'py: 'a, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/conversions/std/ipaddr.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | if let Ok(packed) = packed.extract::<[u8; 4]>() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 16 | Ok(IpAddr::V4(Ipv4Addr::from(packed))) [INFO] [stdout] 17 | } else if let Ok(packed) = packed.extract::<[u8; 16]>() { [INFO] [stdout] | ---------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/conversions/std/ipaddr.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | } else if let Ok(packed) = packed.extract::<[u8; 16]>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/conversions/std/ipaddr.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 15 ~ match packed.extract::<[u8; 4]>() { Ok(packed) => { [INFO] [stdout] 16 | Ok(IpAddr::V4(Ipv4Addr::from(packed))) [INFO] [stdout] 17 ~ } _ => { match packed.extract::<[u8; 16]>() { Ok(packed) => { [INFO] [stdout] 18 | Ok(IpAddr::V6(Ipv6Addr::from(packed))) [INFO] [stdout] 19 ~ } _ => { [INFO] [stdout] 20 | Err(PyValueError::new_err("invalid packed length")) [INFO] [stdout] 21 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/conversions/std/num.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | if let Some(err) = PyErr::take(py) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/conversions/std/num.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 370 ~ match PyErr::take(py) { Some(err) => { [INFO] [stdout] 371 | return Err(err); [INFO] [stdout] 372 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/err/mod.rs:938:16 [INFO] [stdout] | [INFO] [stdout] 938 | if let Ok(s) = value.str() { [INFO] [stdout] | ^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/err/mod.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 938 ~ match value.str() { Ok(s) => { [INFO] [stdout] 939 | write!(f, ": {}", &s.to_string_lossy()) [INFO] [stdout] 940 ~ } _ => { [INFO] [stdout] 941 | write!(f, ": ") [INFO] [stdout] 942 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/impl_/frompyobject.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | while let Some(cause) = error.cause(py) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/impl_/frompyobject.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/panic.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(string) = payload.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 25 | Self::new_err((string.clone(),)) [INFO] [stdout] 26 | } else if let Some(s) = payload.downcast_ref::<&str>() { [INFO] [stdout] | ------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panic.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | } else if let Some(s) = payload.downcast_ref::<&str>() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/panic.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 24 ~ match payload.downcast_ref::() { Some(string) => { [INFO] [stdout] 25 | Self::new_err((string.clone(),)) [INFO] [stdout] 26 ~ } _ => { match payload.downcast_ref::<&str>() { Some(s) => { [INFO] [stdout] 27 | Self::new_err((s.to_string(),)) [INFO] [stdout] 28 ~ } _ => { [INFO] [stdout] 29 | Self::new_err(("panic from Rust code",)) [INFO] [stdout] 30 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/types/any.rs:2357:23 [INFO] [stdout] | [INFO] [stdout] 2357 | let attr = if let Ok(attr) = self_type.getattr(attr_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/types/any.rs:2359:9 [INFO] [stdout] | [INFO] [stdout] 2359 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2357 ~ let attr = match self_type.getattr(attr_name) { Ok(attr) => { [INFO] [stdout] 2358 | attr [INFO] [stdout] 2359 ~ } _ => { [INFO] [stdout] 2360 | return Ok(None); [INFO] [stdout] 2361 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/types/any.rs:2378:19 [INFO] [stdout] | [INFO] [stdout] 2378 | } else if let Ok(descr_get) = attr [INFO] [stdout] | ___________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 2379 | || .get_type() [INFO] [stdout] 2380 | || .as_borrowed() [INFO] [stdout] 2381 | || .getattr(crate::intern!(py, "__get__")) [INFO] [stdout] | ||___________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/types/any.rs:2384:9 [INFO] [stdout] | [INFO] [stdout] 2384 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2378 ~ } else { match attr [INFO] [stdout] 2379 | .get_type() [INFO] [stdout] 2380 | .as_borrowed() [INFO] [stdout] 2381 | .getattr(crate::intern!(py, "__get__")) [INFO] [stdout] 2382 ~ { Ok(descr_get) => { [INFO] [stdout] 2383 | descr_get.call1((attr, self, self_type)).map(Some) [INFO] [stdout] 2384 ~ } _ => { [INFO] [stdout] 2385 | Ok(Some(attr)) [INFO] [stdout] 2386 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/types/capsule.rs:431:8 [INFO] [stdout] | [INFO] [stdout] 431 | if let Some(err) = PyErr::take(py) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/types/capsule.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 431 ~ match PyErr::take(py) { Some(err) => { [INFO] [stdout] 432 | Err(err) [INFO] [stdout] 433 ~ } _ => { [INFO] [stdout] 434 | Ok(()) [INFO] [stdout] 435 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/types/float.rs:121:16 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(err) = PyErr::take(obj.py()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/types/float.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match PyErr::take(obj.py()) { Some(err) => { [INFO] [stdout] 122 | return Err(err); [INFO] [stdout] 123 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 275 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating tests/test_coroutine.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pyo3` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/conversions/std/num.rs [INFO] [stderr] * src/exceptions.rs [INFO] [stderr] * src/impl_/pycell.rs [INFO] [stderr] * src/impl_/pyclass.rs [INFO] [stderr] * src/impl_/pymethods.rs [INFO] [stderr] * src/instance.rs [INFO] [stderr] * src/internal_tricks.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/macros.rs [INFO] [stderr] * src/prelude.rs [INFO] [stderr] * src/pycell.rs [INFO] [stderr] * src/pyclass_init.rs [INFO] [stderr] * src/sync.rs [INFO] [stderr] * src/tests/./common.rs [INFO] [stderr] * src/tests/hygiene/misc.rs [INFO] [stderr] * src/tests/hygiene/pyclass.rs [INFO] [stderr] * src/tests/hygiene/pymethods.rs [INFO] [stderr] * src/types/any.rs [INFO] [stderr] * src/types/dict.rs [INFO] [stderr] * src/types/mod.rs [INFO] [stderr] * src/types/tuple.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/tests/hygiene/pyclass.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | { unsafe #[crate::pyclass(eq, ord)]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | { unsafe #[crate::pymethods]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected item, found `{` [INFO] [stderr] --> src/pycell.rs:1230:5 [INFO] [stderr] | [INFO] [stderr] 1230 | { unsafe #[crate::pymethods]} [INFO] [stderr] | ^ expected item [INFO] [stderr] | [INFO] [stderr] = note: for a full list of items that can appear in modules, see [INFO] [stderr] [INFO] [stderr] error: expected statement after outer attribute [INFO] [stderr] --> src/types/any.rs:2566:18 [INFO] [stderr] | [INFO] [stderr] 2566 | { unsafe #[pymethods(crate = "crate")]} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected `{`, found `#` [INFO] [stderr] --> src/types/any.rs:2566:18 [INFO] [stderr] | [INFO] [stderr] 2566 | { unsafe #[pymethods(crate = "crate")]} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error: expected statement after outer attribute [INFO] [stderr] --> src/types/any.rs:2820:18 [INFO] [stderr] | [INFO] [stderr] 2820 | { unsafe #[pymethods(crate = "crate")]} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected `{`, found `#` [INFO] [stderr] --> src/types/any.rs:2820:18 [INFO] [stderr] | [INFO] [stderr] 2820 | { unsafe #[pymethods(crate = "crate")]} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error: expected statement after outer attribute [INFO] [stderr] --> src/types/dict.rs:968:18 [INFO] [stderr] | [INFO] [stderr] 968 | { unsafe #[crate::pymethods(crate = "crate")]} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: expected `{`, found `#` [INFO] [stderr] --> src/types/dict.rs:968:18 [INFO] [stderr] | [INFO] [stderr] 968 | { unsafe #[crate::pymethods(crate = "crate")]} [INFO] [stderr] | ------ ^ expected `{` [INFO] [stderr] | | [INFO] [stderr] | while parsing this `unsafe` expression [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/internal_tricks.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | ($doc: expr_2021, $name: ident, $base: ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:50:40 [INFO] [stderr] | [INFO] [stderr] 50 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr_2021, $force_index_call: literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:54:40 [INFO] [stderr] | [INFO] [stderr] 54 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr_2021, $force_index_call: literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:75:21 [INFO] [stderr] | [INFO] [stderr] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr_2021, $pylong_as_ll_or_ull:expr_2021, $force_index_call:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/conversions/std/num.rs:75:55 [INFO] [stderr] | [INFO] [stderr] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr_2021, $pylong_as_ll_or_ull:expr_2021, $force_index_call:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:98:6 [INFO] [stderr] | [INFO] [stderr] 98 | ($module: expr_2021, $name: ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:134:6 [INFO] [stderr] | [INFO] [stderr] 134 | ($module: expr_2021, $name: ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:244:6 [INFO] [stderr] | [INFO] [stderr] 244 | ($module: expr_2021, $name: ident, $base: ty) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:253:6 [INFO] [stderr] | [INFO] [stderr] 253 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:253:51 [INFO] [stderr] | [INFO] [stderr] 253 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:275:6 [INFO] [stderr] | [INFO] [stderr] 275 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:275:51 [INFO] [stderr] | [INFO] [stderr] 275 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:304:36 [INFO] [stderr] | [INFO] [stderr] 304 | ($name:ident, $exc_name:ident, $doc:expr_2021, $layout:path $(, #checkfunction=$checkfunction:path)?) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:312:36 [INFO] [stderr] | [INFO] [stderr] 312 | ($name:ident, $exc_name:ident, $doc:expr_2021) => ( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/exceptions.rs:805:33 [INFO] [stderr] | [INFO] [stderr] 805 | ($exc_ty:ident $(, |$py:tt| $constructor:expr_2021 )?) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/impl_/pyclass.rs:399:9 [INFO] [stderr] | [INFO] [stderr] 399 | $set_error:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/impl_/pyclass.rs:400:9 [INFO] [stderr] | [INFO] [stderr] 400 | $del_error:expr_2021, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sync.rs:269:6 [INFO] [stderr] | [INFO] [stderr] 269 | ($py: expr_2021, $text: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/sync.rs:269:22 [INFO] [stderr] | [INFO] [stderr] 269 | ($py: expr_2021, $text: expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:246:6 [INFO] [stderr] | [INFO] [stderr] 246 | ($typeobject:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:257:16 [INFO] [stderr] | [INFO] [stderr] 257 | ($name:ty, $typeobject:expr_2021, $module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:257:39 [INFO] [stderr] | [INFO] [stderr] 257 | ($name:ty, $typeobject:expr_2021, $module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:307:16 [INFO] [stderr] | [INFO] [stderr] 307 | ($name:ty, $typeobject:expr_2021, #module=$module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:307:47 [INFO] [stderr] | [INFO] [stderr] 307 | ($name:ty, $typeobject:expr_2021, #module=$module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:312:16 [INFO] [stderr] | [INFO] [stderr] 312 | ($name:ty, $typeobject:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:337:30 [INFO] [stderr] | [INFO] [stderr] 337 | ($name:ty, $layout:path, $typeobject:expr_2021 $(, #module=$module:expr_2021)? $(, #checkfunction=$checkfunction:path)? $(;$generics:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/mod.rs:337:64 [INFO] [stderr] | [INFO] [stderr] 337 | ($name:ty, $layout:path, $typeobject:expr_2021 $(, #module=$module:expr_2021)? $(, #checkfunction=$checkfunction:path)? $(;$generics:... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/any.rs:1747:33 [INFO] [stderr] | [INFO] [stderr] 1747 | ($name:ident, $c_api:ident, $op:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/types/tuple.rs:676:33 [INFO] [stderr] | [INFO] [stderr] 676 | macro_rules! tuple_conversion ({$length:expr_2021,$(($refN:ident, $n:tt, $T:ident)),+} => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:82:6 [INFO] [stderr] | [INFO] [stderr] 82 | ($py:expr_2021, $($val:ident)+, $code:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:85:6 [INFO] [stderr] | [INFO] [stderr] 85 | ($py:expr_2021, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:85:37 [INFO] [stderr] | [INFO] [stderr] 85 | ($py:expr_2021, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:88:6 [INFO] [stderr] | [INFO] [stderr] 88 | ($py:expr_2021, *$dict:expr_2021, $code:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:88:22 [INFO] [stderr] | [INFO] [stderr] 88 | ($py:expr_2021, *$dict:expr_2021, $code:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:91:6 [INFO] [stderr] | [INFO] [stderr] 91 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:91:22 [INFO] [stderr] | [INFO] [stderr] 91 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:91:39 [INFO] [stderr] | [INFO] [stderr] 91 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:99:6 [INFO] [stderr] | [INFO] [stderr] 99 | ($py:expr_2021, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:99:37 [INFO] [stderr] | [INFO] [stderr] 99 | ($py:expr_2021, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:105:6 [INFO] [stderr] | [INFO] [stderr] 105 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:105:22 [INFO] [stderr] | [INFO] [stderr] 105 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:105:39 [INFO] [stderr] | [INFO] [stderr] 105 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:146:22 [INFO] [stderr] | [INFO] [stderr] 146 | ($function:path, $py_or_module:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:175:22 [INFO] [stderr] | [INFO] [stderr] 175 | ($function:path, $py_or_module:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | ($py:expr_2021, $($val:ident)+, $assertion:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | ($py:expr_2021, *$dict:expr_2021, $assertion:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | ($py:expr_2021, *$dict:expr_2021, $assertion:literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | ($val:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | ($val:expr_2021, $expected:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | ($py:expr_2021, $($val:ident)+, $code:expr_2021, $err:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:37:41 [INFO] [stderr] | [INFO] [stderr] 37 | ($py:expr_2021, $($val:ident)+, $code:expr_2021, $err:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021, $err:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:43:26 [INFO] [stderr] | [INFO] [stderr] 43 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021, $err:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:43:43 [INFO] [stderr] | [INFO] [stderr] 43 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021, $err:ident) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | ($py:expr_2021, $($val:ident)+, $code:expr_2021, $err:ident, $err_msg:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:52:41 [INFO] [stderr] | [INFO] [stderr] 52 | ($py:expr_2021, $($val:ident)+, $code:expr_2021, $err:ident, $err_msg:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:59:10 [INFO] [stderr] | [INFO] [stderr] 59 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021, $err:ident, $err_msg:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:59:26 [INFO] [stderr] | [INFO] [stderr] 59 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021, $err:ident, $err_msg:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:59:43 [INFO] [stderr] | [INFO] [stderr] 59 | ($py:expr_2021, *$dict:expr_2021, $code:expr_2021, $err:ident, $err_msg:literal) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:144:10 [INFO] [stderr] | [INFO] [stderr] 144 | ($py:expr_2021, $body:expr_2021, [$(($category:ty, $message:literal)),+] $(,)? ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tests/./common.rs:144:25 [INFO] [stderr] | [INFO] [stderr] 144 | ($py:expr_2021, $body:expr_2021, [$(($category:ty, $message:literal)),+] $(,)? ) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: macro expansion ignores token `{` and any following [INFO] [stderr] --> src/tests/hygiene/misc.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | { unsafe #[crate::pymethods(crate = "crate")]} [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 58 | macro_rules_hygiene!(MyClass1, MyClass2); [INFO] [stderr] | ---------------------------------------- caused by the macro expansion here [INFO] [stderr] | [INFO] [stderr] = note: the usage of `macro_rules_hygiene!` is likely invalid in item context [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::pycell::PyRef`, `crate::pycell::PyRefMut` [INFO] [stderr] --> src/lib.rs:338:25 [INFO] [stderr] | [INFO] [stderr] 338 | pub use crate::pycell::{PyRef, PyRefMut}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ no `PyRefMut` in `pycell` [INFO] [stderr] | | [INFO] [stderr] | no `PyRef` in `pycell` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::pycell::impl_` [INFO] [stderr] --> src/impl_/pycell.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | pub use crate::pycell::impl_::{ [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::pycell::impl_` [INFO] [stderr] --> src/impl_/pymethods.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::pycell::impl_::PyClassBorrowChecker as _; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::pycell::PyBorrowError`, `crate::pycell::PyBorrowMutError` [INFO] [stderr] --> src/impl_/pymethods.rs:7:21 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::pycell::{PyBorrowError, PyBorrowMutError}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `PyBorrowMutError` in `pycell` [INFO] [stderr] | | [INFO] [stderr] | no `PyBorrowError` in `pycell` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::pycell::PyBorrowError`, `crate::pycell::PyBorrowMutError` [INFO] [stderr] --> src/instance.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::pycell::{PyBorrowError, PyBorrowMutError}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `PyBorrowMutError` in `pycell` [INFO] [stderr] | | [INFO] [stderr] | no `PyBorrowError` in `pycell` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::pycell::impl_` [INFO] [stderr] --> src/pyclass_init.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | pycell::impl_::{PyClassBorrowChecker, PyClassMutability, PyClassObjectContents}, [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `crate::pycell::PyRef`, `crate::pycell::PyRefMut` [INFO] [stderr] --> src/prelude.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | pub use crate::pycell::{PyRef, PyRefMut}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ no `PyRefMut` in `pycell` [INFO] [stderr] | | [INFO] [stderr] | no `PyRef` in `pycell` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::PyRef [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::PyRefMut [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `new` in this scope [INFO] [stderr] --> src/types/dict.rs:970:15 [INFO] [stderr] | [INFO] [stderr] 970 | #[new] [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:400:1 [INFO] [stderr] | [INFO] [stderr] 400 | / impl_native_exception!( [INFO] [stderr] 401 | | PyBaseException, [INFO] [stderr] 402 | | PyExc_BaseException, [INFO] [stderr] 403 | | native_doc!("BaseException"), [INFO] [stderr] 404 | | ffi::PyBaseExceptionObject, [INFO] [stderr] 405 | | #checkfunction=ffi::PyExceptionInstance_Check [INFO] [stderr] 406 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:407:1 [INFO] [stderr] | [INFO] [stderr] 407 | impl_native_exception!(PyException, PyExc_Exception, native_doc!("Exception")); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:408:1 [INFO] [stderr] | [INFO] [stderr] 408 | / impl_native_exception!( [INFO] [stderr] 409 | | PyStopAsyncIteration, [INFO] [stderr] 410 | | PyExc_StopAsyncIteration, [INFO] [stderr] 411 | | native_doc!("StopAsyncIteration") [INFO] [stderr] 412 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:413:1 [INFO] [stderr] | [INFO] [stderr] 413 | / impl_native_exception!( [INFO] [stderr] 414 | | PyStopIteration, [INFO] [stderr] 415 | | PyExc_StopIteration, [INFO] [stderr] 416 | | native_doc!("StopIteration"), [INFO] [stderr] 417 | | ffi::PyStopIterationObject [INFO] [stderr] 418 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:419:1 [INFO] [stderr] | [INFO] [stderr] 419 | / impl_native_exception!( [INFO] [stderr] 420 | | PyGeneratorExit, [INFO] [stderr] 421 | | PyExc_GeneratorExit, [INFO] [stderr] 422 | | native_doc!("GeneratorExit") [INFO] [stderr] 423 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:424:1 [INFO] [stderr] | [INFO] [stderr] 424 | / impl_native_exception!( [INFO] [stderr] 425 | | PyArithmeticError, [INFO] [stderr] 426 | | PyExc_ArithmeticError, [INFO] [stderr] 427 | | native_doc!("ArithmeticError") [INFO] [stderr] 428 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:429:1 [INFO] [stderr] | [INFO] [stderr] 429 | impl_native_exception!(PyLookupError, PyExc_LookupError, native_doc!("LookupError")); [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:431:1 [INFO] [stderr] | [INFO] [stderr] 431 | / impl_native_exception!( [INFO] [stderr] 432 | | PyAssertionError, [INFO] [stderr] 433 | | PyExc_AssertionError, [INFO] [stderr] 434 | | native_doc!("AssertionError") [INFO] [stderr] 435 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:436:1 [INFO] [stderr] | [INFO] [stderr] 436 | / impl_native_exception!( [INFO] [stderr] 437 | | PyAttributeError, [INFO] [stderr] 438 | | PyExc_AttributeError, [INFO] [stderr] 439 | | native_doc!("AttributeError") [INFO] [stderr] 440 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:441:1 [INFO] [stderr] | [INFO] [stderr] 441 | impl_native_exception!(PyBufferError, PyExc_BufferError, native_doc!("BufferError")); [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:442:1 [INFO] [stderr] | [INFO] [stderr] 442 | impl_native_exception!(PyEOFError, PyExc_EOFError, native_doc!("EOFError")); [INFO] [stderr] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:443:1 [INFO] [stderr] | [INFO] [stderr] 443 | / impl_native_exception!( [INFO] [stderr] 444 | | PyFloatingPointError, [INFO] [stderr] 445 | | PyExc_FloatingPointError, [INFO] [stderr] 446 | | native_doc!("FloatingPointError") [INFO] [stderr] 447 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:449:1 [INFO] [stderr] | [INFO] [stderr] 449 | / impl_native_exception!( [INFO] [stderr] 450 | | PyOSError, [INFO] [stderr] 451 | | PyExc_OSError, [INFO] [stderr] 452 | | native_doc!("OSError"), [INFO] [stderr] 453 | | ffi::PyOSErrorObject [INFO] [stderr] 454 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:457:1 [INFO] [stderr] | [INFO] [stderr] 457 | impl_native_exception!(PyImportError, PyExc_ImportError, native_doc!("ImportError")); [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:459:1 [INFO] [stderr] | [INFO] [stderr] 459 | / impl_native_exception!( [INFO] [stderr] 460 | | PyModuleNotFoundError, [INFO] [stderr] 461 | | PyExc_ModuleNotFoundError, [INFO] [stderr] 462 | | native_doc!("ModuleNotFoundError") [INFO] [stderr] 463 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:465:1 [INFO] [stderr] | [INFO] [stderr] 465 | impl_native_exception!(PyIndexError, PyExc_IndexError, native_doc!("IndexError")); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:466:1 [INFO] [stderr] | [INFO] [stderr] 466 | impl_native_exception!(PyKeyError, PyExc_KeyError, native_doc!("KeyError")); [INFO] [stderr] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:467:1 [INFO] [stderr] | [INFO] [stderr] 467 | / impl_native_exception!( [INFO] [stderr] 468 | | PyKeyboardInterrupt, [INFO] [stderr] 469 | | PyExc_KeyboardInterrupt, [INFO] [stderr] 470 | | native_doc!("KeyboardInterrupt") [INFO] [stderr] 471 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:472:1 [INFO] [stderr] | [INFO] [stderr] 472 | impl_native_exception!(PyMemoryError, PyExc_MemoryError, native_doc!("MemoryError")); [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:473:1 [INFO] [stderr] | [INFO] [stderr] 473 | impl_native_exception!(PyNameError, PyExc_NameError, native_doc!("NameError")); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:474:1 [INFO] [stderr] | [INFO] [stderr] 474 | / impl_native_exception!( [INFO] [stderr] 475 | | PyOverflowError, [INFO] [stderr] 476 | | PyExc_OverflowError, [INFO] [stderr] 477 | | native_doc!("OverflowError") [INFO] [stderr] 478 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:479:1 [INFO] [stderr] | [INFO] [stderr] 479 | / impl_native_exception!( [INFO] [stderr] 480 | | PyRuntimeError, [INFO] [stderr] 481 | | PyExc_RuntimeError, [INFO] [stderr] 482 | | native_doc!("RuntimeError") [INFO] [stderr] 483 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:484:1 [INFO] [stderr] | [INFO] [stderr] 484 | / impl_native_exception!( [INFO] [stderr] 485 | | PyRecursionError, [INFO] [stderr] 486 | | PyExc_RecursionError, [INFO] [stderr] 487 | | native_doc!("RecursionError") [INFO] [stderr] 488 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:489:1 [INFO] [stderr] | [INFO] [stderr] 489 | / impl_native_exception!( [INFO] [stderr] 490 | | PyNotImplementedError, [INFO] [stderr] 491 | | PyExc_NotImplementedError, [INFO] [stderr] 492 | | native_doc!("NotImplementedError") [INFO] [stderr] 493 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:495:1 [INFO] [stderr] | [INFO] [stderr] 495 | / impl_native_exception!( [INFO] [stderr] 496 | | PySyntaxError, [INFO] [stderr] 497 | | PyExc_SyntaxError, [INFO] [stderr] 498 | | native_doc!("SyntaxError"), [INFO] [stderr] 499 | | ffi::PySyntaxErrorObject [INFO] [stderr] 500 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:503:1 [INFO] [stderr] | [INFO] [stderr] 503 | / impl_native_exception!( [INFO] [stderr] 504 | | PyReferenceError, [INFO] [stderr] 505 | | PyExc_ReferenceError, [INFO] [stderr] 506 | | native_doc!("ReferenceError") [INFO] [stderr] 507 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:508:1 [INFO] [stderr] | [INFO] [stderr] 508 | impl_native_exception!(PySystemError, PyExc_SystemError, native_doc!("SystemError")); [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:510:1 [INFO] [stderr] | [INFO] [stderr] 510 | / impl_native_exception!( [INFO] [stderr] 511 | | PySystemExit, [INFO] [stderr] 512 | | PyExc_SystemExit, [INFO] [stderr] 513 | | native_doc!("SystemExit"), [INFO] [stderr] 514 | | ffi::PySystemExitObject [INFO] [stderr] 515 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:518:1 [INFO] [stderr] | [INFO] [stderr] 518 | impl_native_exception!(PyTypeError, PyExc_TypeError, native_doc!("TypeError")); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:519:1 [INFO] [stderr] | [INFO] [stderr] 519 | / impl_native_exception!( [INFO] [stderr] 520 | | PyUnboundLocalError, [INFO] [stderr] 521 | | PyExc_UnboundLocalError, [INFO] [stderr] 522 | | native_doc!("UnboundLocalError") [INFO] [stderr] 523 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:525:1 [INFO] [stderr] | [INFO] [stderr] 525 | / impl_native_exception!( [INFO] [stderr] 526 | | PyUnicodeError, [INFO] [stderr] 527 | | PyExc_UnicodeError, [INFO] [stderr] 528 | | native_doc!("UnicodeError"), [INFO] [stderr] 529 | | ffi::PyUnicodeErrorObject [INFO] [stderr] 530 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:538:1 [INFO] [stderr] | [INFO] [stderr] 538 | / impl_native_exception!( [INFO] [stderr] 539 | | PyUnicodeDecodeError, [INFO] [stderr] 540 | | PyExc_UnicodeDecodeError, [INFO] [stderr] 541 | | native_doc!("UnicodeDecodeError", "") [INFO] [stderr] 542 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:543:1 [INFO] [stderr] | [INFO] [stderr] 543 | / impl_native_exception!( [INFO] [stderr] 544 | | PyUnicodeEncodeError, [INFO] [stderr] 545 | | PyExc_UnicodeEncodeError, [INFO] [stderr] 546 | | native_doc!("UnicodeEncodeError", "") [INFO] [stderr] 547 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:548:1 [INFO] [stderr] | [INFO] [stderr] 548 | / impl_native_exception!( [INFO] [stderr] 549 | | PyUnicodeTranslateError, [INFO] [stderr] 550 | | PyExc_UnicodeTranslateError, [INFO] [stderr] 551 | | native_doc!("UnicodeTranslateError", "") [INFO] [stderr] 552 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:559:1 [INFO] [stderr] | [INFO] [stderr] 559 | impl_native_exception!(PyValueError, PyExc_ValueError, native_doc!("ValueError")); [INFO] [stderr] | --------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:560:1 [INFO] [stderr] | [INFO] [stderr] 560 | / impl_native_exception!( [INFO] [stderr] 561 | | PyZeroDivisionError, [INFO] [stderr] 562 | | PyExc_ZeroDivisionError, [INFO] [stderr] 563 | | native_doc!("ZeroDivisionError") [INFO] [stderr] 564 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:566:1 [INFO] [stderr] | [INFO] [stderr] 566 | / impl_native_exception!( [INFO] [stderr] 567 | | PyBlockingIOError, [INFO] [stderr] 568 | | PyExc_BlockingIOError, [INFO] [stderr] 569 | | native_doc!("BlockingIOError") [INFO] [stderr] 570 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:571:1 [INFO] [stderr] | [INFO] [stderr] 571 | / impl_native_exception!( [INFO] [stderr] 572 | | PyBrokenPipeError, [INFO] [stderr] 573 | | PyExc_BrokenPipeError, [INFO] [stderr] 574 | | native_doc!("BrokenPipeError") [INFO] [stderr] 575 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:576:1 [INFO] [stderr] | [INFO] [stderr] 576 | / impl_native_exception!( [INFO] [stderr] 577 | | PyChildProcessError, [INFO] [stderr] 578 | | PyExc_ChildProcessError, [INFO] [stderr] 579 | | native_doc!("ChildProcessError") [INFO] [stderr] 580 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:581:1 [INFO] [stderr] | [INFO] [stderr] 581 | / impl_native_exception!( [INFO] [stderr] 582 | | PyConnectionError, [INFO] [stderr] 583 | | PyExc_ConnectionError, [INFO] [stderr] 584 | | native_doc!("ConnectionError") [INFO] [stderr] 585 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:586:1 [INFO] [stderr] | [INFO] [stderr] 586 | / impl_native_exception!( [INFO] [stderr] 587 | | PyConnectionAbortedError, [INFO] [stderr] 588 | | PyExc_ConnectionAbortedError, [INFO] [stderr] 589 | | native_doc!("ConnectionAbortedError") [INFO] [stderr] 590 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:591:1 [INFO] [stderr] | [INFO] [stderr] 591 | / impl_native_exception!( [INFO] [stderr] 592 | | PyConnectionRefusedError, [INFO] [stderr] 593 | | PyExc_ConnectionRefusedError, [INFO] [stderr] 594 | | native_doc!("ConnectionRefusedError") [INFO] [stderr] 595 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:596:1 [INFO] [stderr] | [INFO] [stderr] 596 | / impl_native_exception!( [INFO] [stderr] 597 | | PyConnectionResetError, [INFO] [stderr] 598 | | PyExc_ConnectionResetError, [INFO] [stderr] 599 | | native_doc!("ConnectionResetError") [INFO] [stderr] 600 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:601:1 [INFO] [stderr] | [INFO] [stderr] 601 | / impl_native_exception!( [INFO] [stderr] 602 | | PyFileExistsError, [INFO] [stderr] 603 | | PyExc_FileExistsError, [INFO] [stderr] 604 | | native_doc!("FileExistsError") [INFO] [stderr] 605 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:606:1 [INFO] [stderr] | [INFO] [stderr] 606 | / impl_native_exception!( [INFO] [stderr] 607 | | PyFileNotFoundError, [INFO] [stderr] 608 | | PyExc_FileNotFoundError, [INFO] [stderr] 609 | | native_doc!("FileNotFoundError") [INFO] [stderr] 610 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:611:1 [INFO] [stderr] | [INFO] [stderr] 611 | / impl_native_exception!( [INFO] [stderr] 612 | | PyInterruptedError, [INFO] [stderr] 613 | | PyExc_InterruptedError, [INFO] [stderr] 614 | | native_doc!("InterruptedError") [INFO] [stderr] 615 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:616:1 [INFO] [stderr] | [INFO] [stderr] 616 | / impl_native_exception!( [INFO] [stderr] 617 | | PyIsADirectoryError, [INFO] [stderr] 618 | | PyExc_IsADirectoryError, [INFO] [stderr] 619 | | native_doc!("IsADirectoryError") [INFO] [stderr] 620 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:621:1 [INFO] [stderr] | [INFO] [stderr] 621 | / impl_native_exception!( [INFO] [stderr] 622 | | PyNotADirectoryError, [INFO] [stderr] 623 | | PyExc_NotADirectoryError, [INFO] [stderr] 624 | | native_doc!("NotADirectoryError") [INFO] [stderr] 625 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:626:1 [INFO] [stderr] | [INFO] [stderr] 626 | / impl_native_exception!( [INFO] [stderr] 627 | | PyPermissionError, [INFO] [stderr] 628 | | PyExc_PermissionError, [INFO] [stderr] 629 | | native_doc!("PermissionError") [INFO] [stderr] 630 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:631:1 [INFO] [stderr] | [INFO] [stderr] 631 | / impl_native_exception!( [INFO] [stderr] 632 | | PyProcessLookupError, [INFO] [stderr] 633 | | PyExc_ProcessLookupError, [INFO] [stderr] 634 | | native_doc!("ProcessLookupError") [INFO] [stderr] 635 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:636:1 [INFO] [stderr] | [INFO] [stderr] 636 | / impl_native_exception!( [INFO] [stderr] 637 | | PyTimeoutError, [INFO] [stderr] 638 | | PyExc_TimeoutError, [INFO] [stderr] 639 | | native_doc!("TimeoutError") [INFO] [stderr] 640 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:642:1 [INFO] [stderr] | [INFO] [stderr] 642 | / impl_native_exception!( [INFO] [stderr] 643 | | PyEnvironmentError, [INFO] [stderr] 644 | | PyExc_EnvironmentError, [INFO] [stderr] 645 | | native_doc!("EnvironmentError") [INFO] [stderr] 646 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:647:1 [INFO] [stderr] | [INFO] [stderr] 647 | impl_native_exception!(PyIOError, PyExc_IOError, native_doc!("IOError")); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:748:1 [INFO] [stderr] | [INFO] [stderr] 748 | impl_native_exception!(PyWarning, PyExc_Warning, native_doc!("Warning")); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:749:1 [INFO] [stderr] | [INFO] [stderr] 749 | impl_native_exception!(PyUserWarning, PyExc_UserWarning, native_doc!("UserWarning")); [INFO] [stderr] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:750:1 [INFO] [stderr] | [INFO] [stderr] 750 | / impl_native_exception!( [INFO] [stderr] 751 | | PyDeprecationWarning, [INFO] [stderr] 752 | | PyExc_DeprecationWarning, [INFO] [stderr] 753 | | native_doc!("DeprecationWarning") [INFO] [stderr] 754 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:755:1 [INFO] [stderr] | [INFO] [stderr] 755 | / impl_native_exception!( [INFO] [stderr] 756 | | PyPendingDeprecationWarning, [INFO] [stderr] 757 | | PyExc_PendingDeprecationWarning, [INFO] [stderr] 758 | | native_doc!("PendingDeprecationWarning") [INFO] [stderr] 759 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:760:1 [INFO] [stderr] | [INFO] [stderr] 760 | / impl_native_exception!( [INFO] [stderr] 761 | | PySyntaxWarning, [INFO] [stderr] 762 | | PyExc_SyntaxWarning, [INFO] [stderr] 763 | | native_doc!("SyntaxWarning") [INFO] [stderr] 764 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:765:1 [INFO] [stderr] | [INFO] [stderr] 765 | / impl_native_exception!( [INFO] [stderr] 766 | | PyRuntimeWarning, [INFO] [stderr] 767 | | PyExc_RuntimeWarning, [INFO] [stderr] 768 | | native_doc!("RuntimeWarning") [INFO] [stderr] 769 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:770:1 [INFO] [stderr] | [INFO] [stderr] 770 | / impl_native_exception!( [INFO] [stderr] 771 | | PyFutureWarning, [INFO] [stderr] 772 | | PyExc_FutureWarning, [INFO] [stderr] 773 | | native_doc!("FutureWarning") [INFO] [stderr] 774 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:775:1 [INFO] [stderr] | [INFO] [stderr] 775 | / impl_native_exception!( [INFO] [stderr] 776 | | PyImportWarning, [INFO] [stderr] 777 | | PyExc_ImportWarning, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | ($py:expr, $($val:ident)+, $assertion:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($py:expr_2021, $($val:ident)+, $assertion:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 778 | | native_doc!("ImportWarning") [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | ($py:expr, *$dict:expr, $assertion:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 22 | ($py:expr_2021, *$dict:expr, $assertion:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 779 | | ); [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | ($py:expr, *$dict:expr, $assertion:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 22 | ($py:expr, *$dict:expr_2021, $assertion:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | |_- in this macro invocation [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr_2021, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 29 | ($val:expr, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | ($py:expr, $($val:ident)+, $code:expr, $err:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($py:expr_2021, $($val:ident)+, $code:expr, $err:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | ($py:expr, $($val:ident)+, $code:expr, $err:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 37 | ($py:expr, $($val:ident)+, $code:expr_2021, $err:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | ($py:expr, *$dict:expr, $code:expr, $err:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | ($py:expr_2021, *$dict:expr, $code:expr, $err:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | ($py:expr, *$dict:expr, $code:expr, $err:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | ($py:expr, *$dict:expr_2021, $code:expr, $err:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | ($py:expr, *$dict:expr, $code:expr, $err:ident) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | ($py:expr, *$dict:expr, $code:expr_2021, $err:ident) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | ($py:expr, $($val:ident)+, $code:expr, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | ($py:expr_2021, $($val:ident)+, $code:expr, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:52:42 [INFO] [stdout] | [INFO] [stdout] 52 | ($py:expr, $($val:ident)+, $code:expr, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 52 | ($py:expr, $($val:ident)+, $code:expr_2021, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | ($py:expr, *$dict:expr, $code:expr, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | ($py:expr_2021, *$dict:expr, $code:expr, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/exceptions.rs:780:1 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | ($py:expr, *$dict:expr, $code:expr, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | ($py:expr, *$dict:expr_2021, $code:expr, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | ($py:expr, *$dict:expr, $code:expr, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | ($py:expr, *$dict:expr, $code:expr_2021, $err:ident, $err_msg:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 780 | / impl_native_exception!( [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | ($py:expr, $body:expr, [$(($category:ty, $message:literal)),+] $(,)? ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 144 | ($py:expr_2021, $body:expr, [$(($category:ty, $message:literal)),+] $(,)? ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 781 | | PyUnicodeWarning, [INFO] [stderr] 782 | | PyExc_UnicodeWarning, [INFO] [stderr] 783 | | native_doc!("UnicodeWarning") [INFO] [stderr] 784 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:785:1 [INFO] [stderr] | [INFO] [stderr] 785 | / impl_native_exception!( [INFO] [stderr] 786 | | PyBytesWarning, [INFO] [stderr] 787 | | PyExc_BytesWarning, [INFO] [stderr] 788 | | native_doc!("BytesWarning") [INFO] [stderr] 789 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:790:1 [INFO] [stderr] | [INFO] [stderr] 790 | / impl_native_exception!( [INFO] [stderr] 791 | | PyResourceWarning, [INFO] [stderr] 792 | | PyExc_ResourceWarning, [INFO] [stderr] 793 | | native_doc!("ResourceWarning") [INFO] [stderr] 794 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/exceptions.rs:797:1 [INFO] [stderr] | [INFO] [stderr] 797 | / impl_native_exception!( [INFO] [stderr] 798 | | PyEncodingWarning, [INFO] [stderr] 799 | | PyExc_EncodingWarning, [INFO] [stderr] 800 | | native_doc!("EncodingWarning") [INFO] [stderr] 801 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `impl_native_exception` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/any.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | pyobject_native_type_sized!(PyAny, ffi::PyObject); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `pyobject_native_type_sized` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/boolobject.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | pyobject_native_type!(PyBool, ffi::PyObject, pyobject_native_static_type_object!(ffi::PyBool_Type), #checkfunction=ffi::PyBool_Check); [INFO] [stderr] | ------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/complex.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / pyobject_native_type!( [INFO] [stderr] 25 | | PyComplex, [INFO] [stderr] 26 | | ffi::PyComplexObject, [INFO] [stderr] 27 | | pyobject_native_static_type_object!(ffi::PyComplex_Type), [INFO] [stderr] 28 | | #checkfunction=ffi::PyComplex_Check [INFO] [stderr] 29 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/datetime.rs:200:1 [INFO] [stderr] | [INFO] [stderr] 200 | / pyobject_native_type!( [INFO] [stderr] 201 | | PyDate, [INFO] [stderr] 202 | | crate::ffi::PyDateTime_Date, [INFO] [stderr] 203 | | |py| expect_datetime_api(py).DateType, [INFO] [stderr] 204 | | #module=Some("datetime"), [INFO] [stderr] 205 | | #checkfunction=PyDate_Check [INFO] [stderr] 206 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/datetime.rs:291:1 [INFO] [stderr] | [INFO] [stderr] 291 | / pyobject_native_type!( [INFO] [stderr] 292 | | PyDateTime, [INFO] [stderr] 293 | | crate::ffi::PyDateTime_DateTime, [INFO] [stderr] 294 | | |py| expect_datetime_api(py).DateTimeType, [INFO] [stderr] 295 | | #module=Some("datetime"), [INFO] [stderr] 296 | | #checkfunction=PyDateTime_Check [INFO] [stderr] 297 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/datetime.rs:593:1 [INFO] [stderr] | [INFO] [stderr] 593 | / pyobject_native_type!( [INFO] [stderr] 594 | | PyTime, [INFO] [stderr] 595 | | crate::ffi::PyDateTime_Time, [INFO] [stderr] 596 | | |py| expect_datetime_api(py).TimeType, [INFO] [stderr] 597 | | #module=Some("datetime"), [INFO] [stderr] 598 | | #checkfunction=PyTime_Check [INFO] [stderr] 599 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/datetime.rs:801:1 [INFO] [stderr] | [INFO] [stderr] 801 | / pyobject_native_type!( [INFO] [stderr] 802 | | PyTzInfo, [INFO] [stderr] 803 | | crate::ffi::PyObject, [INFO] [stderr] 804 | | |py| expect_datetime_api(py).TZInfoType, [INFO] [stderr] 805 | | #module=Some("datetime"), [INFO] [stderr] 806 | | #checkfunction=PyTZInfo_Check [INFO] [stderr] 807 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/datetime.rs:855:1 [INFO] [stderr] | [INFO] [stderr] 855 | / pyobject_native_type!( [INFO] [stderr] 856 | | PyDelta, [INFO] [stderr] 857 | | crate::ffi::PyDateTime_Delta, [INFO] [stderr] 858 | | |py| expect_datetime_api(py).DeltaType, [INFO] [stderr] 859 | | #module=Some("datetime"), [INFO] [stderr] 860 | | #checkfunction=PyDelta_Check [INFO] [stderr] 861 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/dict.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | / pyobject_native_type!( [INFO] [stderr] 24 | | PyDict, [INFO] [stderr] 25 | | ffi::PyDictObject, [INFO] [stderr] 26 | | pyobject_native_static_type_object!(ffi::PyDict_Type), [INFO] [stderr] 27 | | #checkfunction=ffi::PyDict_Check [INFO] [stderr] 28 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/float.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | / pyobject_native_type!( [INFO] [stderr] 27 | | PyFloat, [INFO] [stderr] 28 | | ffi::PyFloatObject, [INFO] [stderr] 29 | | pyobject_native_static_type_object!(ffi::PyFloat_Type), [INFO] [stderr] 30 | | #checkfunction=ffi::PyFloat_Check [INFO] [stderr] 31 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/frozenset.rs:70:1 [INFO] [stderr] | [INFO] [stderr] 70 | / pyobject_native_type!( [INFO] [stderr] 71 | | PyFrozenSet, [INFO] [stderr] 72 | | ffi::PySetObject, [INFO] [stderr] 73 | | pyobject_native_static_type_object!(ffi::PyFrozenSet_Type), [INFO] [stderr] 74 | | #checkfunction=ffi::PyFrozenSet_Check [INFO] [stderr] 75 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/set.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / pyobject_native_type!( [INFO] [stderr] 26 | | PySet, [INFO] [stderr] 27 | | ffi::PySetObject, [INFO] [stderr] 28 | | pyobject_native_static_type_object!(ffi::PySet_Type), [INFO] [stderr] 29 | | #checkfunction=ffi::PySet_Check [INFO] [stderr] 30 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/slice.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / pyobject_native_type!( [INFO] [stderr] 22 | | PySlice, [INFO] [stderr] 23 | | ffi::PySliceObject, [INFO] [stderr] 24 | | pyobject_native_static_type_object!(ffi::PySlice_Type), [INFO] [stderr] 25 | | #checkfunction=ffi::PySlice_Check [INFO] [stderr] 26 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `impl_` in `pycell` [INFO] [stderr] --> src/types/mod.rs:327:54 [INFO] [stderr] | [INFO] [stderr] 327 | type PyClassMutability = $crate::pycell::impl_::ImmutableClass; [INFO] [stderr] | ^^^^^ could not find `impl_` in `pycell` [INFO] [stderr] | [INFO] [stderr] ::: src/types/weakref/reference.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | / pyobject_native_type!( [INFO] [stderr] 22 | | PyWeakrefReference, [INFO] [stderr] 23 | | ffi::PyWeakReference, [INFO] [stderr] 24 | | pyobject_native_static_type_object!(ffi::_PyWeakref_RefType), [INFO] [stderr] 25 | | #module=Some("weakref"), [INFO] [stderr] 26 | | #checkfunction=ffi::PyWeakref_CheckRefExact [INFO] [stderr] 27 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the macro `$crate::pyobject_native_type_sized` which comes from the expansion of the macro `pyobject_native_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/./common.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | ($py:expr, $body:expr, [$(($category:ty, $message:literal)),+] $(,)? ) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 144 | ($py:expr, $body:expr_2021, [$(($category:ty, $message:literal)),+] $(,)? ) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 160 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/internal_tricks.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | ($doc: expr, $name: ident, $base: ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 21 | ($doc: expr_2021, $name: ident, $base: ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | ($obj:ident, $error_val:expr, $pylong_as:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 50 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:50:46 [INFO] [stdout] | [INFO] [stdout] 50 | ($obj:ident, $error_val:expr, $pylong_as:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 50 | ($obj:ident, $error_val:expr, $pylong_as:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | ($obj:ident, $error_val:expr, $pylong_as:expr, $force_index_call: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 54 | ($obj:ident, $error_val:expr_2021, $pylong_as:expr, $force_index_call: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | ($obj:ident, $error_val:expr, $pylong_as:expr, $force_index_call: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 54 | ($obj:ident, $error_val:expr, $pylong_as:expr_2021, $force_index_call: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr, $pylong_as_ll_or_ull:expr, $force_index_call:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr_2021, $pylong_as_ll_or_ull:expr, $force_index_call:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/conversions/std/num.rs:75:71 [INFO] [stdout] | [INFO] [stdout] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr, $pylong_as_ll_or_ull:expr, $force_index_call:literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 75 | ($rust_type:ty, $pylong_from_ll_or_ull:expr, $pylong_as_ll_or_ull:expr_2021, $force_index_call:literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | ($module: expr, $name: ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 98 | ($module: expr_2021, $name: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | ($module: expr, $name: ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 134 | ($module: expr_2021, $name: ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:244:15 [INFO] [stdout] | [INFO] [stdout] 244 | ($module: expr, $name: ident, $base: ty) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 244 | ($module: expr_2021, $name: ident, $base: ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | ($module: expr, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 253 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:253:52 [INFO] [stdout] | [INFO] [stdout] 253 | ($module: expr, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 253 | ($module: expr, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | ($module: expr, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 275 | ($module: expr_2021, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:275:52 [INFO] [stdout] | [INFO] [stdout] 275 | ($module: expr, $name: ident, $base: ty, $doc: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 275 | ($module: expr, $name: ident, $base: ty, $doc: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:304:41 [INFO] [stdout] | [INFO] [stdout] 304 | ($name:ident, $exc_name:ident, $doc:expr, $layout:path $(, #checkfunction=$checkfunction:path)?) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 304 | ($name:ident, $exc_name:ident, $doc:expr_2021, $layout:path $(, #checkfunction=$checkfunction:path)?) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:312:41 [INFO] [stdout] | [INFO] [stdout] 312 | ($name:ident, $exc_name:ident, $doc:expr) => ( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 312 | ($name:ident, $exc_name:ident, $doc:expr_2021) => ( [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/exceptions.rs:805:46 [INFO] [stdout] | [INFO] [stdout] 805 | ($exc_ty:ident $(, |$py:tt| $constructor:expr )?) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 805 | ($exc_ty:ident $(, |$py:tt| $constructor:expr_2021 )?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/impl_/pyclass.rs:399:20 [INFO] [stdout] | [INFO] [stdout] 399 | $set_error:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 399 | $set_error:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/impl_/pyclass.rs:400:20 [INFO] [stdout] | [INFO] [stdout] 400 | $del_error:expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 400 | $del_error:expr_2021, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sync.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 269 | ($py: expr, $text: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 269 | ($py: expr_2021, $text: expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/sync.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | ($py: expr, $text: expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 269 | ($py: expr, $text: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:246:18 [INFO] [stdout] | [INFO] [stdout] 246 | ($typeobject:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 246 | ($typeobject:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:257:28 [INFO] [stdout] | [INFO] [stdout] 257 | ($name:ty, $typeobject:expr, $module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 257 | ($name:ty, $typeobject:expr_2021, $module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | ($name:ty, $typeobject:expr, $module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 257 | ($name:ty, $typeobject:expr, $module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:307:28 [INFO] [stdout] | [INFO] [stdout] 307 | ($name:ty, $typeobject:expr, #module=$module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 307 | ($name:ty, $typeobject:expr_2021, #module=$module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:307:50 [INFO] [stdout] | [INFO] [stdout] 307 | ($name:ty, $typeobject:expr, #module=$module:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 307 | ($name:ty, $typeobject:expr, #module=$module:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:312:28 [INFO] [stdout] | [INFO] [stdout] 312 | ($name:ty, $typeobject:expr $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 312 | ($name:ty, $typeobject:expr_2021 $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:337:42 [INFO] [stdout] | [INFO] [stdout] 337 | ($name:ty, $layout:path, $typeobject:expr $(, #module=$module:expr)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 337 | ($name:ty, $layout:path, $typeobject:expr_2021 $(, #module=$module:expr)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/mod.rs:337:67 [INFO] [stdout] | [INFO] [stdout] 337 | ($name:ty, $layout:path, $typeobject:expr $(, #module=$module:expr)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 337 | ($name:ty, $layout:path, $typeobject:expr $(, #module=$module:expr_2021)? $(, #checkfunction=$checkfunction:path)? $(;$generics:ident)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/any.rs:1747:37 [INFO] [stdout] | [INFO] [stdout] 1747 | ($name:ident, $c_api:ident, $op:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 1747 | ($name:ident, $c_api:ident, $op:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/types/tuple.rs:676:41 [INFO] [stdout] | [INFO] [stdout] 676 | macro_rules! tuple_conversion ({$length:expr,$(($refN:ident, $n:tt, $T:ident)),+} => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 676 | macro_rules! tuple_conversion ({$length:expr_2021,$(($refN:ident, $n:tt, $T:ident)),+} => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | ($py:expr, $($val:ident)+, $code:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 82 | ($py:expr_2021, $($val:ident)+, $code:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | ($py:expr, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 85 | ($py:expr_2021, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | ($py:expr, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 85 | ($py:expr, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | ($py:expr, *$dict:expr, $code:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 88 | ($py:expr_2021, *$dict:expr, $code:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | ($py:expr, *$dict:expr, $code:literal) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 88 | ($py:expr, *$dict:expr_2021, $code:literal) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr_2021, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr_2021, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 91 | ($py:expr, *$dict:expr, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:99:10 [INFO] [stdout] | [INFO] [stdout] 99 | ($py:expr, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($py:expr_2021, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:99:38 [INFO] [stdout] | [INFO] [stdout] 99 | ($py:expr, $($val:ident)+, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 99 | ($py:expr, $($val:ident)+, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr_2021, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr_2021, $code:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 105 | ($py:expr, *$dict:expr, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | ($function:path, $py_or_module:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 146 | ($function:path, $py_or_module:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | ($function:path, $py_or_module:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 175 | ($function:path, $py_or_module:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::from_owned_ptr_or_err` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | Bound::from_owned_ptr_or_err(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe fn assume_owned_or_err(self, py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::from_owned_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | Bound::from_owned_ptr_or_opt(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | unsafe fn assume_owned_or_opt(self, py: Python<'_>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Bound::<'py, types::any::PyAny>::from_owned_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Bound::from_owned_ptr(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe fn assume_owned(self, py: Python<'_>) -> Bound<'_, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_or_err` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Borrowed::from_ptr_or_err(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / unsafe fn assume_borrowed_or_err<'a>( [INFO] [stdout] 49 | | self, [INFO] [stdout] 50 | | py: Python<'_>, [INFO] [stdout] 51 | | ) -> PyResult> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_or_opt` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Borrowed::from_ptr_or_opt(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe fn assume_borrowed_or_opt<'a>(self, py: Python<'_>) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Borrowed::from_ptr(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe fn assume_borrowed<'a>(self, py: Python<'_>) -> Borrowed<'a, '_, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `instance::Borrowed::<'a, 'py, types::any::PyAny>::from_ptr_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/ffi_ptr_ext.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Borrowed::from_ptr_unchecked(py, self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ffi_ptr_ext.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | unsafe fn assume_borrowed_unchecked<'a>(self, py: Python<'_>) -> Borrowed<'a, '_, PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `types::any::PyAnyMethods::downcast_into_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/py_result_ext.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | self.map(|instance| instance.downcast_into_unchecked()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/py_result_ext.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn downcast_into_unchecked(self) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/./common.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | #[pymethods(crate = "pyo3")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 76 | | impl UnraisableCapture { [INFO] [stdout] 77 | | pub fn hook(&mut self, unraisable: Bound<'_, PyAny>) { [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/./common.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | #[pymethods(crate = "pyo3")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 76 | | impl UnraisableCapture { [INFO] [stdout] 77 | | pub fn hook(&mut self, unraisable: Bound<'_, PyAny>) { [INFO] [stdout] | |___________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::noargs` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/misc.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | #[crate::pymethods(crate = "crate")] [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 58 | macro_rules_hygiene!(MyClass1, MyClass2); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/misc.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | #[crate::pymethods(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | macro_rules_hygiene!(MyClass1, MyClass2); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `macro_rules_hygiene` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/misc.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | #[crate::pymethods(crate = "crate")] [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 47 | | impl $name_a { [INFO] [stdout] 48 | | fn finalize(&mut self) -> $name_b { [INFO] [stdout] | |_________________________________^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 58 | macro_rules_hygiene!(MyClass1, MyClass2); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/misc.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | #[crate::pymethods(crate = "crate")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | macro_rules_hygiene!(MyClass1, MyClass2); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `macro_rules_hygiene` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 82 | | pub enum ComplexEnumEqOrd { [INFO] [stdout] 83 | | Variant1 { a: u32, b: u32 }, [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[crate::pyclass(eq, ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 82 | | pub enum ComplexEnumEqOrd { [INFO] [stdout] 83 | | Variant1 { a: u32, b: u32 }, [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[crate::pyclass(eq, ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 82 | | pub enum ComplexEnumEqOrd { [INFO] [stdout] 83 | | Variant1 { a: u32, b: u32 }, [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 82 | | pub enum ComplexEnumEqOrd { [INFO] [stdout] 83 | | Variant1 { a: u32, b: u32 }, [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 82 | | pub enum ComplexEnumEqOrd { [INFO] [stdout] 83 | | Variant1 { a: u32, b: u32 }, [INFO] [stdout] 84 | | Variant2 { c: u32 }, [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | #[crate::pyclass(eq, ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 81 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 82 | | pub enum ComplexEnumEqOrd { [INFO] [stdout] 83 | | Variant1 { a: u32, b: u32 }, [INFO] [stdout] 84 | | Variant2 { c: u32 }, [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 89 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 90 | | pub enum TupleEnumEqOrd { [INFO] [stdout] 91 | | Variant1(u32, u32), [INFO] [stdout] | |________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | #[crate::pyclass(eq, ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 89 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 90 | | pub enum TupleEnumEqOrd { [INFO] [stdout] 91 | | Variant1(u32, u32), [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | #[crate::pyclass(eq, ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 89 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 90 | | pub enum TupleEnumEqOrd { [INFO] [stdout] 91 | | Variant1(u32, u32), [INFO] [stdout] | |________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 89 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 90 | | pub enum TupleEnumEqOrd { [INFO] [stdout] 91 | | Variant1(u32, u32), [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 89 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 90 | | pub enum TupleEnumEqOrd { [INFO] [stdout] 91 | | Variant1(u32, u32), [INFO] [stdout] 92 | | Variant2(u32), [INFO] [stdout] | |________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | #[crate::pyclass(eq, ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pyclass` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyclass.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 89 | | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 90 | | pub enum TupleEnumEqOrd { [INFO] [stdout] 91 | | Variant1(u32, u32), [INFO] [stdout] 92 | | Variant2(u32), [INFO] [stdout] | |________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pyfunction.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 3 | | fn do_something(x: i32) -> crate::PyResult { [INFO] [stdout] | |______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 30 | | [INFO] [stdout] 31 | | fn __lt__(&self, other: &Self) -> bool { [INFO] [stdout] | |___________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 34 | | [INFO] [stdout] 35 | | fn __le__(&self, other: &Self) -> bool { [INFO] [stdout] | |___________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | fn __eq__(&self, other: &Self) -> bool { [INFO] [stdout] | |___________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | fn __ne__(&self, other: &Self) -> bool { [INFO] [stdout] | |___________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | fn __gt__(&self, other: &Self) -> bool { [INFO] [stdout] | |___________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | fn __ge__(&self, other: &Self) -> bool { [INFO] [stdout] | |___________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 62 | | [INFO] [stdout] 63 | | fn __getattr__(&self, name: ::std::string::String) -> &crate::Bound<'_, crate::PyAny> { [INFO] [stdout] | |________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test_enum.rs from 2021 edition to 2024 [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | fn __getattribute__(&self, name: ::std::string::String) -> &crate::Bound<'_, crate::PyAny> { [INFO] [stdout] | |_____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 70 | | [INFO] [stdout] 71 | | fn __setattr__(&mut self, name: ::std::string::String, value: ::std::string::String) {} [INFO] [stdout] | |____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 72 | | [INFO] [stdout] 73 | | fn __delattr__(&mut self, name: ::std::string::String) {} [INFO] [stdout] | |____________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 91 | | fn __set__( [INFO] [stdout] 92 | | &self, [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 97 | | [INFO] [stdout] 98 | | fn __delete__(&self, instance: &crate::Bound<'_, crate::PyAny>) {} [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 118 | | [INFO] [stdout] 119 | | fn __setitem__(&self, key: u32, value: u32) {} [INFO] [stdout] | |________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 120 | | [INFO] [stdout] 121 | | fn __delitem__(&self, key: u32) {} [INFO] [stdout] | |________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | fn __add__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 149 | | [INFO] [stdout] 150 | | fn __sub__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 153 | | [INFO] [stdout] 154 | | fn __mul__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 157 | | [INFO] [stdout] 158 | | fn __truediv__(&self, _other: &Self) -> crate::PyResult<()> { [INFO] [stdout] | |________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 161 | | [INFO] [stdout] 162 | | fn __floordiv__(&self, _other: &Self) -> crate::PyResult<()> { [INFO] [stdout] | |_________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 165 | | [INFO] [stdout] 166 | | fn __mod__(&self, _other: &Self) -> u32 { [INFO] [stdout] | |____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 169 | | [INFO] [stdout] 170 | | fn __divmod__(&self, _other: &Self) -> (u32, u32) { [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 173 | | [INFO] [stdout] 174 | | fn __pow__(&self, _other: &Self, modulo: ::std::option::Option) -> Dummy { [INFO] [stdout] | |____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 177 | | [INFO] [stdout] 178 | | fn __lshift__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 181 | | [INFO] [stdout] 182 | | fn __rshift__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |_______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 185 | | [INFO] [stdout] 186 | | fn __and__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 189 | | [INFO] [stdout] 190 | | fn __xor__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 193 | | [INFO] [stdout] 194 | | fn __or__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |___________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 197 | | [INFO] [stdout] 198 | | fn __radd__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 205 | | [INFO] [stdout] 206 | | fn __rmul__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 209 | | [INFO] [stdout] 210 | | fn __rtruediv__(&self, _other: &Self) -> crate::PyResult<()> { [INFO] [stdout] | |_________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 213 | | [INFO] [stdout] 214 | | fn __rfloordiv__(&self, _other: &Self) -> crate::PyResult<()> { [INFO] [stdout] | |__________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 217 | | [INFO] [stdout] 218 | | fn __rmod__(&self, _other: &Self) -> u32 { [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 221 | | [INFO] [stdout] 222 | | fn __rdivmod__(&self, _other: &Self) -> (u32, u32) { [INFO] [stdout] | |________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 225 | | [INFO] [stdout] 226 | | fn __rpow__(&self, _other: &Self, modulo: ::std::option::Option) -> Dummy { [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 229 | | [INFO] [stdout] 230 | | fn __rlshift__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 233 | | [INFO] [stdout] 234 | | fn __rrshift__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 237 | | [INFO] [stdout] 238 | | fn __rand__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 241 | | [INFO] [stdout] 242 | | fn __rxor__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pymethods::BoundRef::<'a, 'py, types::any::PyAny>::ref_from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | #[pyo3(crate = "crate")] [INFO] [stdout] | ________________^ [INFO] [stdout] 11 | | impl Dummy { [INFO] [stdout] 12 | | ////////////////////// [INFO] [stdout] 13 | | // Basic customization [INFO] [stdout] ... | [INFO] [stdout] 245 | | [INFO] [stdout] 246 | | fn __ror__(&self, other: &Self) -> Dummy { [INFO] [stdout] | |____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::getattrofunc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | / $crate::impl_::trampoline::getattrofunc(_slf, attr, |py, _slf, attr| { [INFO] [stdout] 362 | | use ::std::result::Result::*; [INFO] [stdout] 363 | | use $crate::impl_::pyclass::*; [INFO] [stdout] 364 | | let collector = PyClassImplCollector::<$cls>::new(); [INFO] [stdout] ... | [INFO] [stdout] 377 | | } [INFO] [stdout] 378 | | }) [INFO] [stdout] | |______________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | / unsafe extern "C" fn __wrap( [INFO] [stdout] 358 | | _slf: *mut $crate::ffi::PyObject, [INFO] [stdout] 359 | | attr: *mut $crate::ffi::PyObject, [INFO] [stdout] 360 | | ) -> *mut $crate::ffi::PyObject { [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_getattro_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__getattribute__SlotFragment::__getattribute__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:371:23 [INFO] [stdout] | [INFO] [stdout] 371 | match collector.__getattribute__(py, _slf, attr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_getattro_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__getattr__SlotFragment::__getattr__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | collector.__getattr__(py, _slf, attr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_getattro_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::setattrofunc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:446:21 [INFO] [stdout] | [INFO] [stdout] 446 | / $crate::impl_::trampoline::setattrofunc( [INFO] [stdout] 447 | | _slf, [INFO] [stdout] 448 | | attr, [INFO] [stdout] 449 | | value, [INFO] [stdout] ... | [INFO] [stdout] 460 | | }, [INFO] [stdout] 461 | | ) [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | / unsafe extern "C" fn __wrap( [INFO] [stdout] 442 | | _slf: *mut $crate::ffi::PyObject, [INFO] [stdout] 443 | | attr: *mut $crate::ffi::PyObject, [INFO] [stdout] 444 | | value: *mut $crate::ffi::PyObject, [INFO] [stdout] 445 | | ) -> ::std::os::raw::c_int { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setattr_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__setattr__SlotFragment::__setattr__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:456:33 [INFO] [stdout] | [INFO] [stdout] 456 | ... collector.$set(py, _slf, attr, value).convert(py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setattr_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__delattr__SlotFragment::__delattr__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:458:33 [INFO] [stdout] | [INFO] [stdout] 458 | ... collector.$del(py, _slf, attr).convert(py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setattr_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::setattrofunc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:446:21 [INFO] [stdout] | [INFO] [stdout] 446 | / $crate::impl_::trampoline::setattrofunc( [INFO] [stdout] 447 | | _slf, [INFO] [stdout] 448 | | attr, [INFO] [stdout] 449 | | value, [INFO] [stdout] ... | [INFO] [stdout] 460 | | }, [INFO] [stdout] 461 | | ) [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | / unsafe extern "C" fn __wrap( [INFO] [stdout] 442 | | _slf: *mut $crate::ffi::PyObject, [INFO] [stdout] 443 | | attr: *mut $crate::ffi::PyObject, [INFO] [stdout] 444 | | value: *mut $crate::ffi::PyObject, [INFO] [stdout] 445 | | ) -> ::std::os::raw::c_int { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setdescr_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__set__SlotFragment::__set__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:456:33 [INFO] [stdout] | [INFO] [stdout] 456 | ... collector.$set(py, _slf, attr, value).convert(py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setdescr_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__delete__SlotFragment::__delete__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:458:33 [INFO] [stdout] | [INFO] [stdout] 458 | ... collector.$del(py, _slf, attr).convert(py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setdescr_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::setattrofunc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:446:21 [INFO] [stdout] | [INFO] [stdout] 446 | / $crate::impl_::trampoline::setattrofunc( [INFO] [stdout] 447 | | _slf, [INFO] [stdout] 448 | | attr, [INFO] [stdout] 449 | | value, [INFO] [stdout] ... | [INFO] [stdout] 460 | | }, [INFO] [stdout] 461 | | ) [INFO] [stdout] | |_____________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | / unsafe extern "C" fn __wrap( [INFO] [stdout] 442 | | _slf: *mut $crate::ffi::PyObject, [INFO] [stdout] 443 | | attr: *mut $crate::ffi::PyObject, [INFO] [stdout] 444 | | value: *mut $crate::ffi::PyObject, [INFO] [stdout] 445 | | ) -> ::std::os::raw::c_int { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setitem_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__setitem__SlotFragment::__setitem__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:456:33 [INFO] [stdout] | [INFO] [stdout] 456 | ... collector.$set(py, _slf, attr, value).convert(py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setitem_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__delitem__SlotFragment::__delitem__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:458:33 [INFO] [stdout] | [INFO] [stdout] 458 | ... collector.$del(py, _slf, attr).convert(py) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_setitem_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::binaryfunc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:562:21 [INFO] [stdout] | [INFO] [stdout] 562 | / $crate::impl_::trampoline::binaryfunc(_slf, _other, |py, _slf, _other| { [INFO] [stdout] 563 | | use $crate::impl_::pyclass::*; [INFO] [stdout] 564 | | let collector = PyClassImplCollector::<$cls>::new(); [INFO] [stdout] 565 | | let lhs_result = collector.$lhs(py, _slf, _other)?; [INFO] [stdout] ... | [INFO] [stdout] 571 | | } [INFO] [stdout] 572 | | }) [INFO] [stdout] | |______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | / unsafe extern "C" fn __wrap( [INFO] [stdout] 559 | | _slf: *mut $crate::ffi::PyObject, [INFO] [stdout] 560 | | _other: *mut $crate::ffi::PyObject, [INFO] [stdout] 561 | | ) -> *mut $crate::ffi::PyObject { [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_add_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__add__SlotFragment::__add__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 565 | let lhs_result = collector.$lhs(py, _slf, _other)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_add_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_NotImplemented` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:566:42 [INFO] [stdout] | [INFO] [stdout] 566 | if lhs_result == $crate::ffi::Py_NotImplemented() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_add_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:567:29 [INFO] [stdout] | [INFO] [stdout] 567 | ... $crate::ffi::Py_DECREF(lhs_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_add_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__radd__SlotFragment::__radd__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:568:29 [INFO] [stdout] | [INFO] [stdout] 568 | ... collector.$rhs(py, _other, _slf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_add_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::binaryfunc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:562:21 [INFO] [stdout] | [INFO] [stdout] 562 | / $crate::impl_::trampoline::binaryfunc(_slf, _other, |py, _slf, _other| { [INFO] [stdout] 563 | | use $crate::impl_::pyclass::*; [INFO] [stdout] 564 | | let collector = PyClassImplCollector::<$cls>::new(); [INFO] [stdout] 565 | | let lhs_result = collector.$lhs(py, _slf, _other)?; [INFO] [stdout] ... | [INFO] [stdout] 571 | | } [INFO] [stdout] 572 | | }) [INFO] [stdout] | |______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | / unsafe extern "C" fn __wrap( [INFO] [stdout] 559 | | _slf: *mut $crate::ffi::PyObject, [INFO] [stdout] 560 | | _other: *mut $crate::ffi::PyObject, [INFO] [stdout] 561 | | ) -> *mut $crate::ffi::PyObject { [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_sub_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__sub__SlotFragment::__sub__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 565 | let lhs_result = collector.$lhs(py, _slf, _other)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_sub_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_NotImplemented` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:566:42 [INFO] [stdout] | [INFO] [stdout] 566 | if lhs_result == $crate::ffi::Py_NotImplemented() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_sub_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:567:29 [INFO] [stdout] | [INFO] [stdout] 567 | ... $crate::ffi::Py_DECREF(lhs_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_sub_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__rsub__SlotFragment::__rsub__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:568:29 [INFO] [stdout] | [INFO] [stdout] 568 | ... collector.$rhs(py, _other, _slf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_sub_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::binaryfunc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:562:21 [INFO] [stdout] | [INFO] [stdout] 562 | / $crate::impl_::trampoline::binaryfunc(_slf, _other, |py, _slf, _other| { [INFO] [stdout] 563 | | use $crate::impl_::pyclass::*; [INFO] [stdout] 564 | | let collector = PyClassImplCollector::<$cls>::new(); [INFO] [stdout] 565 | | let lhs_result = collector.$lhs(py, _slf, _other)?; [INFO] [stdout] ... | [INFO] [stdout] 571 | | } [INFO] [stdout] 572 | | }) [INFO] [stdout] | |______________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/impl_/pyclass.rs:558:17 [INFO] [stdout] | [INFO] [stdout] 558 | / unsafe extern "C" fn __wrap( [INFO] [stdout] 559 | | _slf: *mut $crate::ffi::PyObject, [INFO] [stdout] 560 | | _other: *mut $crate::ffi::PyObject, [INFO] [stdout] 561 | | ) -> *mut $crate::ffi::PyObject { [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_mul_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__mul__SlotFragment::__mul__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 565 | let lhs_result = collector.$lhs(py, _slf, _other)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_mul_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_NotImplemented` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:566:42 [INFO] [stdout] | [INFO] [stdout] 566 | if lhs_result == $crate::ffi::Py_NotImplemented() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_mul_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3_ffi::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:567:29 [INFO] [stdout] | [INFO] [stdout] 567 | ... $crate::ffi::Py_DECREF(lhs_result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_mul_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::pyclass::PyClass__rmul__SlotFragment::__rmul__` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:568:29 [INFO] [stdout] | [INFO] [stdout] 568 | ... collector.$rhs(py, _other, _slf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] ::: src/tests/hygiene/pymethods.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::pymethods] [INFO] [stdout] | ------------------- in this procedural macro expansion [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: this warning originates in the macro `crate::impl_::pyclass::generate_pyclass_mul_slot` which comes from the expansion of the attribute macro `crate::pymethods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `impl_::trampoline::binaryfunc` is unsafe and requires unsafe block [INFO] [stdout] --> src/impl_/pyclass.rs:562:21 [INFO] [stdout] | [INFO] [stdout] 562 | / $crate::impl_::trampoline::binaryfunc(_slf, _other, |py, _slf, _other| { [INFO] [stdout] 563 | | use $crate::impl_::pyclass::*; [INFO] [stdout] 564 | | let collector = PyClassImplCollector::<$cls>::new(); [INFO] [stdout] 565 | | let lhs_result = collector.$lhs(py, _slf, _other)?; [INFO] [stdout] ... | [INFO] [stdout] 571 | | } [WARN] too many lines in the log, truncating it