[INFO] fetching crate pyo3-ffi 0.22.3... [INFO] checking pyo3-ffi-0.22.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate pyo3-ffi 0.22.3 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate pyo3-ffi 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-ffi 0.22.3 [INFO] finished tweaking crates.io crate pyo3-ffi 0.22.3 [INFO] tweaked toml for crates.io crate pyo3-ffi 0.22.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9613f46b8765456e2d49b50e9f14a936a3f376a767f87bb2768c2930e41958c2 [INFO] running `Command { std: "docker" "start" "-a" "9613f46b8765456e2d49b50e9f14a936a3f376a767f87bb2768c2930e41958c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9613f46b8765456e2d49b50e9f14a936a3f376a767f87bb2768c2930e41958c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9613f46b8765456e2d49b50e9f14a936a3f376a767f87bb2768c2930e41958c2", kill_on_drop: false }` [INFO] [stdout] 9613f46b8765456e2d49b50e9f14a936a3f376a767f87bb2768c2930e41958c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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] 76abdf40333d47e05e6969f965f55b4c16ee84a66eeb6336a4fcaef35a24d246 [INFO] running `Command { std: "docker" "start" "-a" "76abdf40333d47e05e6969f965f55b4c16ee84a66eeb6336a4fcaef35a24d246", 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] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling pyo3-build-config v0.22.3 [INFO] [stderr] Compiling pyo3-ffi v0.22.3 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Fixed build.rs (1 fix) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pyo3_ffi` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/datetime.rs [INFO] [stderr] * src/lib.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/lib.rs:267:6 [INFO] [stderr] | [INFO] [stderr] 267 | ($s: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/datetime.rs:158:6 [INFO] [stderr] | [INFO] [stderr] 158 | ($o: expr_2021, $offset: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/datetime.rs:158:21 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | ($s: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] = 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] 267 | ($s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 158 | ($o: expr_2021, $offset: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/datetime.rs:165:6 [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | #[cfg(PyPy)] [INFO] [stdout] 8 | | #[link_name = "PyPyObject_DelAttrString"] [INFO] [stdout] 9 | | pub fn PyObject_DelAttrString(o: *mut PyObject, attr_name: *const c_char) -> c_int; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 165 | ($o: expr_2021, $offset: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/datetime.rs:165:21 [INFO] [stderr] | [INFO] [stderr] 165 | ($o: expr_2021, $offset: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/datetime.rs:172:6 [INFO] [stderr] | [INFO] [stderr] 172 | ($o: expr_2021, $offset: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] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | #[cfg(all( [INFO] [stdout] 25 | | not(PyPy), [INFO] [stdout] 26 | | not(GraalPy), [INFO] [stdout] ... | [INFO] [stdout] 83 | | pub fn PyObject_Size(o: *mut PyObject) -> Py_ssize_t; [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 92 | | #[cfg_attr(PyPy, link_name = "PyPyObject_GetItem")] [INFO] [stdout] 93 | | pub fn PyObject_GetItem(o: *mut PyObject, key: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 94 | | #[cfg_attr(PyPy, link_name = "PyPyObject_SetItem")] [INFO] [stdout] ... | [INFO] [stdout] 99 | | pub fn PyObject_DelItem(o: *mut PyObject, key: *mut PyObject) -> c_int; [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/datetime.rs:172:21 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 103 | | #[cfg_attr(PyPy, link_name = "PyPyObject_Format")] [INFO] [stdout] 104 | | pub fn PyObject_Format(obj: *mut PyObject, format_spec: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 105 | | #[cfg_attr(PyPy, link_name = "PyPyObject_GetIter")] [INFO] [stdout] 106 | | pub fn PyObject_GetIter(arg1: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 172 | ($o: expr_2021, $offset:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 121 | | #[cfg(any(Py_3_8, PyPy))] [INFO] [stdout] 122 | | #[cfg_attr(PyPy, link_name = "PyPyIter_Check")] [INFO] [stdout] 123 | | pub fn PyIter_Check(obj: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 169 | | pub fn PyNumber_Or(o1: *mut PyObject, o2: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 170 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [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/datetime.rs:179:6 [INFO] [stderr] | [INFO] [stderr] 179 | ($o: expr_2021, $offset: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/datetime.rs:179:21 [INFO] [stderr] | [INFO] [stderr] 179 | ($o: expr_2021, $offset: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/datetime.rs:188:6 [INFO] [stderr] | [INFO] [stderr] 188 | ($o: 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/datetime.rs:195:6 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 182 | | #[cfg(any(all(Py_3_8, Py_LIMITED_API), PyPy))] [INFO] [stdout] 183 | | #[link_name = "PyPyIndex_Check"] [INFO] [stdout] 184 | | pub fn PyIndex_Check(o: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 233 | | pub fn PySequence_Length(o: *mut PyObject) -> Py_ssize_t; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 243 | | #[cfg_attr(PyPy, link_name = "PyPySequence_Concat")] [INFO] [stdout] 244 | | pub fn PySequence_Concat(o1: *mut PyObject, o2: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 245 | | #[cfg_attr(PyPy, link_name = "PyPySequence_Repeat")] [INFO] [stdout] ... | [INFO] [stdout] 275 | | pub fn PySequence_Contains(seq: *mut PyObject, ob: *mut PyObject) -> c_int; [INFO] [stdout] 276 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 195 | ($o: expr_2021) => { [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 284 | | #[cfg_attr(PyPy, link_name = "PyPySequence_Index")] [INFO] [stdout] 285 | | pub fn PySequence_Index(o: *mut PyObject, value: *mut PyObject) -> Py_ssize_t; [INFO] [stdout] 286 | | #[cfg_attr(PyPy, link_name = "PyPySequence_InPlaceConcat")] [INFO] [stdout] ... | [INFO] [stdout] 297 | | pub fn PyMapping_Length(o: *mut PyObject) -> Py_ssize_t; [INFO] [stdout] 298 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [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/datetime.rs:307:6 [INFO] [stderr] | [INFO] [stderr] 307 | ($obj:expr_2021, $type: ident, $field: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/datetime.rs:315:6 [INFO] [stderr] | [INFO] [stderr] 315 | ($obj:expr_2021, $field: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: aborting due to 13 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: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 317 | | #[cfg_attr(PyPy, link_name = "PyPyMapping_HasKeyString")] [INFO] [stdout] 318 | | pub fn PyMapping_HasKeyString(o: *mut PyObject, key: *const c_char) -> c_int; [INFO] [stdout] 319 | | #[cfg_attr(PyPy, link_name = "PyPyMapping_HasKey")] [INFO] [stdout] ... | [INFO] [stdout] 338 | | pub fn PyObject_IsSubclass(object: *mut PyObject, typeorclass: *mut PyObject) -> c_int; [INFO] [stdout] 339 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bltinmodule.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | pub static mut PyFilter_Type: PyTypeObject; [INFO] [stdout] 6 | | pub static mut PyMap_Type: PyTypeObject; [INFO] [stdout] 7 | | pub static mut PyZip_Type: PyTypeObject; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/boolobject.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | #[cfg_attr(PyPy, link_name = "PyPyBool_Type")] [INFO] [stdout] 10 | | pub static mut PyBool_Type: PyTypeObject; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/boolobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | #[cfg(not(GraalPy))] [INFO] [stdout] 21 | | #[cfg_attr(PyPy, link_name = "_PyPy_FalseStruct")] [INFO] [stdout] 22 | | static mut _Py_FalseStruct: PyLongObject; [INFO] [stdout] ... | [INFO] [stdout] 30 | | static mut _Py_TrueStructReference: *mut PyObject; [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/boolobject.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 64 | | #[cfg_attr(PyPy, link_name = "PyPyBool_FromLong")] [INFO] [stdout] 65 | | pub fn PyBool_FromLong(arg1: c_long) -> *mut PyObject; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bytearrayobject.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 25 | | #[cfg_attr(PyPy, link_name = "PyPyByteArray_Type")] [INFO] [stdout] 26 | | pub static mut PyByteArray_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bytearrayobject.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 42 | | #[cfg_attr(PyPy, link_name = "PyPyByteArray_FromObject")] [INFO] [stdout] 43 | | pub fn PyByteArray_FromObject(o: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 44 | | #[cfg_attr(PyPy, link_name = "PyPyByteArray_Concat")] [INFO] [stdout] ... | [INFO] [stdout] 53 | | pub fn PyByteArray_Resize(bytearray: *mut PyObject, len: Py_ssize_t) -> c_int; [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bytesobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyBytes_Type")] [INFO] [stdout] 9 | | pub static mut PyBytes_Type: PyTypeObject; [INFO] [stdout] 10 | | pub static mut PyBytesIter_Type: PyTypeObject; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bytesobject.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | #[cfg_attr(PyPy, link_name = "PyPyBytes_FromStringAndSize")] [INFO] [stdout] 25 | | pub fn PyBytes_FromStringAndSize(arg1: *const c_char, arg2: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] 26 | | pub fn PyBytes_FromString(arg1: *const c_char) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 56 | | ) -> c_int; [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | #[cfg_attr(PyPy, link_name = "PyPyEval_EvalCode")] [INFO] [stdout] 7 | | pub fn PyEval_EvalCode( [INFO] [stdout] 8 | | arg1: *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 33 | | ) -> *mut PyObject; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 44 | | #[cfg_attr(Py_3_9, deprecated(note = "Python 3.9"))] [INFO] [stdout] 45 | | #[cfg_attr(PyPy, link_name = "PyPyEval_CallFunction")] [INFO] [stdout] 46 | | pub fn PyEval_CallFunction(obj: *mut PyObject, format: *const c_char, ...) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 73 | | fn _Py_CheckRecursiveCall(_where: *mut c_char) -> c_int; [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 77 | | #[cfg(Py_3_9)] [INFO] [stdout] 78 | | #[cfg_attr(PyPy, link_name = "PyPy_EnterRecursiveCall")] [INFO] [stdout] 79 | | pub fn Py_EnterRecursiveCall(arg1: *const c_char) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 82 | | pub fn Py_LeaveRecursiveCall(); [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 86 | | pub fn PyEval_GetFuncName(arg1: *mut PyObject) -> *const c_char; [INFO] [stdout] 87 | | pub fn PyEval_GetFuncDesc(arg1: *mut PyObject) -> *const c_char; [INFO] [stdout] 88 | | pub fn PyEval_GetCallStats(arg1: *mut PyObject) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 94 | | pub fn PyEval_RestoreThread(arg1: *mut PyThreadState); [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 98 | | #[cfg_attr(PyPy, link_name = "PyPyEval_ThreadsInitialized")] [INFO] [stdout] 99 | | pub fn PyEval_ThreadsInitialized() -> c_int; [INFO] [stdout] 100 | | #[cfg_attr(PyPy, link_name = "PyPyEval_InitThreads")] [INFO] [stdout] ... | [INFO] [stdout] 109 | | pub fn PyEval_ReInitThreads(); [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/codecs.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | pub fn PyCodec_Register(search_function: *mut PyObject) -> c_int; [INFO] [stdout] 6 | | #[cfg(Py_3_10)] [INFO] [stdout] 7 | | #[cfg(not(PyPy))] [INFO] [stdout] ... | [INFO] [stdout] 57 | | // skipped non-limited Py_hexdigits from Include/codecs.h [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/complexobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 15 | | pub fn _Py_c_sum(left: Py_complex, right: Py_complex) -> Py_complex; [INFO] [stdout] 16 | | pub fn _Py_c_diff(left: Py_complex, right: Py_complex) -> Py_complex; [INFO] [stdout] 17 | | pub fn _Py_c_neg(complex: Py_complex) -> Py_complex; [INFO] [stdout] ... | [INFO] [stdout] 25 | | pub fn PyComplex_AsCComplex(op: *mut PyObject) -> Py_complex; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/complexobject.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 39 | | #[cfg_attr(PyPy, link_name = "PyPyComplex_Type")] [INFO] [stdout] 40 | | pub static mut PyComplex_Type: PyTypeObject; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/complexobject.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 54 | | // skipped non-limited PyComplex_FromCComplex [INFO] [stdout] 55 | | #[cfg_attr(PyPy, link_name = "PyPyComplex_FromDoubles")] [INFO] [stdout] 56 | | pub fn PyComplex_FromDoubles(real: c_double, imag: c_double) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 62 | | // skipped non-limited _PyComplex_FormatAdvancedWriter [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/context.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | pub static mut PyContext_Type: PyTypeObject; [INFO] [stdout] 7 | | // skipped non-limited opaque PyContext [INFO] [stdout] 8 | | pub static mut PyContextVar_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 11 | | // skipped non-limited opaque PyContextToken [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/context.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 30 | | pub fn PyContext_New() -> *mut PyObject; [INFO] [stdout] 31 | | pub fn PyContext_Copy(ctx: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 32 | | pub fn PyContext_CopyCurrent() -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 45 | | // skipped non-limited _PyContext_NewHamtForTests [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/datetime.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | ($o: expr, $offset: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] 158 | ($o: expr_2021, $offset: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/datetime.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | ($o: expr, $offset: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] 158 | ($o: expr, $offset: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/datetime.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | ($o: expr, $offset: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] 165 | ($o: expr_2021, $offset: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/datetime.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | ($o: expr, $offset: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] 165 | ($o: expr, $offset: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/datetime.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | ($o: expr, $offset: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] 172 | ($o: expr_2021, $offset: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/datetime.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | ($o: expr, $offset: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] 172 | ($o: expr, $offset: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/datetime.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | ($o: expr, $offset: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] 179 | ($o: expr_2021, $offset: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/datetime.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | ($o: expr, $offset: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] 179 | ($o: expr, $offset: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/datetime.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | ($o: 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] 188 | ($o: 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/datetime.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | ($o: 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] 195 | ($o: 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/datetime.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | ($obj:expr, $type: ident, $field: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 | ($obj:expr_2021, $type: ident, $field: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/datetime.rs:315:11 [INFO] [stdout] | [INFO] [stdout] 315 | ($obj:expr, $field: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] 315 | ($obj:expr_2021, $field:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/descrobject.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 40 | | #[cfg_attr(PyPy, link_name = "PyPyClassMethodDescr_Type")] [INFO] [stdout] 41 | | pub static mut PyClassMethodDescr_Type: PyTypeObject; [INFO] [stdout] 42 | | #[cfg_attr(PyPy, link_name = "PyPyGetSetDescr_Type")] [INFO] [stdout] ... | [INFO] [stdout] 53 | | pub static mut PyProperty_Type: PyTypeObject; [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/descrobject.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 57 | | pub fn PyDescr_NewMethod(arg1: *mut PyTypeObject, arg2: *mut PyMethodDef) -> *mut PyObject; [INFO] [stdout] 58 | | #[cfg_attr(PyPy, link_name = "PyPyDescr_NewClassMethod")] [INFO] [stdout] 59 | | pub fn PyDescr_NewClassMethod(arg1: *mut PyTypeObject, arg2: *mut PyMethodDef) [INFO] [stdout] ... | [INFO] [stdout] 68 | | pub fn PyWrapper_New(arg1: *mut PyObject, arg2: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/descrobject.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 131 | | pub fn PyMember_GetOne(addr: *const c_char, l: *mut PyMemberDef) -> *mut PyObject; [INFO] [stdout] 132 | | pub fn PyMember_SetOne(addr: *mut c_char, l: *mut PyMemberDef, value: *mut PyObject) -> c_int; [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dictobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyDict_Type")] [INFO] [stdout] 9 | | pub static mut PyDict_Type: PyTypeObject; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dictobject.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 23 | | #[cfg_attr(PyPy, link_name = "PyPyDict_New")] [INFO] [stdout] 24 | | pub fn PyDict_New() -> *mut PyObject; [INFO] [stdout] 25 | | #[cfg_attr(PyPy, link_name = "PyPyDict_GetItem")] [INFO] [stdout] ... | [INFO] [stdout] 75 | | // skipped 3.10 / ex-non-limited PyObject_GenericGetDict [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dictobject.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 80 | | pub static mut PyDictKeys_Type: PyTypeObject; [INFO] [stdout] 81 | | pub static mut PyDictValues_Type: PyTypeObject; [INFO] [stdout] 82 | | pub static mut PyDictItems_Type: PyTypeObject; [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dictobject.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 107 | | pub static mut PyDictIterKey_Type: PyTypeObject; [INFO] [stdout] 108 | | pub static mut PyDictIterValue_Type: PyTypeObject; [INFO] [stdout] 109 | | pub static mut PyDictIterItem_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 115 | | pub static mut PyDictRevIterItem_Type: PyTypeObject; [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/enumobject.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | pub static mut PyEnum_Type: PyTypeObject; [INFO] [stdout] 6 | | pub static mut PyReversed_Type: PyTypeObject; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/fileobject.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | pub fn PyFile_FromFd( [INFO] [stdout] 8 | | arg1: c_int, [INFO] [stdout] 9 | | arg2: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 24 | | pub fn PyObject_AsFileDescriptor(arg1: *mut PyObject) -> c_int; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/fileobject.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 29 | | #[deprecated(note = "Python 3.12")] [INFO] [stdout] 30 | | pub static mut Py_FileSystemDefaultEncoding: *const c_char; [INFO] [stdout] 31 | | #[deprecated(note = "Python 3.12")] [INFO] [stdout] ... | [INFO] [stdout] 35 | | // skipped 3.12-deprecated Py_UTF8Mode [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/fileutils.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | pub fn Py_DecodeLocale(arg1: *const c_char, size: *mut Py_ssize_t) -> *mut wchar_t; [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | pub fn Py_EncodeLocale(text: *const wchar_t, error_pos: *mut Py_ssize_t) -> *mut c_char; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/floatobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 11 | | #[cfg_attr(PyPy, link_name = "PyPyFloat_Type")] [INFO] [stdout] 12 | | pub static mut PyFloat_Type: PyTypeObject; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/floatobject.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 29 | | pub fn PyFloat_GetMax() -> c_double; [INFO] [stdout] 30 | | pub fn PyFloat_GetMin() -> c_double; [INFO] [stdout] 31 | | pub fn PyFloat_GetInfo() -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub fn PyFloat_AsDouble(arg1: *mut PyObject) -> c_double; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/import.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | pub fn PyImport_GetMagicNumber() -> c_long; [INFO] [stdout] 6 | | pub fn PyImport_GetMagicTag() -> *const c_char; [INFO] [stdout] 7 | | #[cfg_attr(PyPy, link_name = "PyPyImport_ExecCodeModule")] [INFO] [stdout] ... | [INFO] [stdout] 52 | | ) -> *mut PyObject; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/import.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 66 | | pub fn PyImport_GetImporter(path: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 67 | | #[cfg_attr(PyPy, link_name = "PyPyImport_Import")] [INFO] [stdout] 68 | | pub fn PyImport_Import(name: *mut PyObject) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 80 | | ) -> c_int; [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/intrcheck.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 4 | | #[cfg_attr(PyPy, link_name = "PyPyOS_InterruptOccurred")] [INFO] [stdout] 5 | | pub fn PyOS_InterruptOccurred() -> c_int; [INFO] [stdout] 6 | | #[cfg(not(Py_3_10))] [INFO] [stdout] ... | [INFO] [stdout] 18 | | // skipped non-limited Windows _PyOS_SigintEvent [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/iterobject.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | pub static mut PySeqIter_Type: PyTypeObject; [INFO] [stdout] 8 | | pub static mut PyCallIter_Type: PyTypeObject; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/iterobject.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 17 | | #[cfg_attr(PyPy, link_name = "PyPySeqIter_New")] [INFO] [stdout] 18 | | pub fn PySeqIter_New(arg1: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/iterobject.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 27 | | #[cfg_attr(PyPy, link_name = "PyPyCallIter_New")] [INFO] [stdout] 28 | | pub fn PyCallIter_New(arg1: *mut PyObject, arg2: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/listobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyList_Type")] [INFO] [stdout] 9 | | pub static mut PyList_Type: PyTypeObject; [INFO] [stdout] 10 | | pub static mut PyListIter_Type: PyTypeObject; [INFO] [stdout] 11 | | pub static mut PyListRevIter_Type: PyTypeObject; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/listobject.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 25 | | #[cfg_attr(PyPy, link_name = "PyPyList_New")] [INFO] [stdout] 26 | | pub fn PyList_New(size: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] 27 | | #[cfg_attr(PyPy, link_name = "PyPyList_Size")] [INFO] [stdout] ... | [INFO] [stdout] 70 | | pub fn PyList_SET_ITEM(arg1: *mut PyObject, arg2: Py_ssize_t, arg3: *mut PyObject); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/longobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 11 | | #[cfg_attr(PyPy, link_name = "PyPyLong_Type")] [INFO] [stdout] 12 | | pub static mut PyLong_Type: PyTypeObject; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/longobject.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 26 | | #[cfg_attr(PyPy, link_name = "PyPyLong_FromLong")] [INFO] [stdout] 27 | | pub fn PyLong_FromLong(arg1: c_long) -> *mut PyObject; [INFO] [stdout] 28 | | #[cfg_attr(PyPy, link_name = "PyPyLong_FromUnsignedLong")] [INFO] [stdout] ... | [INFO] [stdout] 89 | | ) -> *mut PyObject; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/longobject.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 94 | | #[cfg_attr(PyPy, link_name = "_PyPyLong_NumBits")] [INFO] [stdout] 95 | | #[cfg(not(Py_3_13))] [INFO] [stdout] 96 | | pub fn _PyLong_NumBits(obj: *mut PyObject) -> size_t; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/longobject.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 105 | | pub fn PyOS_strtoul(arg1: *const c_char, arg2: *mut *mut c_char, arg3: c_int) -> c_ulong; [INFO] [stdout] 106 | | pub fn PyOS_strtol(arg1: *const c_char, arg2: *mut *mut c_char, arg3: c_int) -> c_long; [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/marshal.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | #[cfg_attr(PyPy, link_name = "PyPyMarshal_WriteObjectToString")] [INFO] [stdout] 10 | | pub fn PyMarshal_WriteObjectToString(object: *mut PyObject, version: c_int) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 18 | | pub fn PyMarshal_ReadObjectFromString(data: *const c_char, len: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/memoryobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg(not(Py_LIMITED_API))] [INFO] [stdout] 9 | | pub static mut _PyManagedBuffer_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub static mut PyMemoryView_Type: PyTypeObject; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/memoryobject.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | #[cfg_attr(PyPy, link_name = "PyPyMemoryView_FromObject")] [INFO] [stdout] 25 | | pub fn PyMemoryView_FromObject(base: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 26 | | #[cfg_attr(PyPy, link_name = "PyPyMemoryView_FromMemory")] [INFO] [stdout] ... | [INFO] [stdout] 40 | | ) -> *mut PyObject; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/methodobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | #[cfg_attr(PyPy, link_name = "PyPyCFunction_Type")] [INFO] [stdout] 21 | | pub static mut PyCFunction_Type: PyTypeObject; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/methodobject.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 76 | | #[cfg_attr(PyPy, link_name = "PyPyCFunction_GetFunction")] [INFO] [stdout] 77 | | pub fn PyCFunction_GetFunction(f: *mut PyObject) -> Option; [INFO] [stdout] 78 | | pub fn PyCFunction_GetSelf(f: *mut PyObject) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 85 | | ) -> *mut PyObject; [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/methodobject.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 223 | | #[cfg_attr(PyPy, link_name = "PyPyCMethod_New")] [INFO] [stdout] 224 | | pub fn PyCMethod_New( [INFO] [stdout] 225 | | ml: *mut PyMethodDef, [INFO] [stdout] ... | [INFO] [stdout] 229 | | ) -> *mut PyObject; [INFO] [stdout] 230 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/methodobject.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 263 | | #[cfg(not(Py_3_9))] [INFO] [stdout] 264 | | pub fn PyCFunction_ClearFreeList() -> c_int; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/modsupport.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyArg_Parse")] [INFO] [stdout] 9 | | pub fn PyArg_Parse(arg1: *mut PyObject, arg2: *const c_char, ...) -> c_int; [INFO] [stdout] 10 | | #[cfg_attr(PyPy, link_name = "PyPyArg_ParseTuple")] [INFO] [stdout] ... | [INFO] [stdout] 74 | | pub fn PyModule_ExecDef(module: *mut PyObject, def: *mut PyModuleDef) -> c_int; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/modsupport.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 83 | | #[cfg(not(py_sys_config = "Py_TRACE_REFS"))] [INFO] [stdout] 84 | | #[cfg_attr(PyPy, link_name = "PyPyModule_Create2")] [INFO] [stdout] 85 | | pub fn PyModule_Create2(module: *mut PyModuleDef, apiver: c_int) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 102 | | ) -> *mut PyObject; [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/moduleobject.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | #[cfg_attr(PyPy, link_name = "PyPyModule_Type")] [INFO] [stdout] 10 | | pub static mut PyModule_Type: PyTypeObject; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/moduleobject.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | pub fn PyModule_NewObject(name: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 25 | | #[cfg_attr(PyPy, link_name = "PyPyModule_New")] [INFO] [stdout] 26 | | pub fn PyModule_New(name: *const c_char) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 46 | | pub fn PyModuleDef_Init(arg1: *mut PyModuleDef) -> *mut PyObject; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/moduleobject.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 51 | | pub static mut PyModuleDef_Type: PyTypeObject; [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 231 | | #[cfg_attr(PyPy, link_name = "PyPyType_FromSpec")] [INFO] [stdout] 232 | | pub fn PyType_FromSpec(arg1: *mut PyType_Spec) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 290 | | pub fn PyType_IsSubtype(a: *mut PyTypeObject, b: *mut PyTypeObject) -> c_int; [INFO] [stdout] 291 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 300 | | /// built-in 'type' [INFO] [stdout] 301 | | #[cfg_attr(PyPy, link_name = "PyPyType_Type")] [INFO] [stdout] 302 | | pub static mut PyType_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 307 | | pub static mut PySuper_Type: PyTypeObject; [INFO] [stdout] 308 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:310:1 [INFO] [stdout] | [INFO] [stdout] 310 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 311 | | pub fn PyType_GetFlags(arg1: *mut PyTypeObject) -> c_ulong; [INFO] [stdout] 312 | | [INFO] [stdout] 313 | | #[cfg_attr(PyPy, link_name = "PyPyType_Ready")] [INFO] [stdout] ... | [INFO] [stdout] 395 | | pub fn Py_ReprLeave(arg1: *mut PyObject); [INFO] [stdout] 396 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:475:1 [INFO] [stdout] | [INFO] [stdout] 475 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 476 | | #[cfg(all(py_sys_config = "Py_REF_DEBUG", not(Py_LIMITED_API)))] [INFO] [stdout] 477 | | pub fn _Py_NegativeRefcount(filename: *const c_char, lineno: c_int, op: *mut PyObject); [INFO] [stdout] 478 | | #[cfg(all(Py_3_12, py_sys_config = "Py_REF_DEBUG", not(Py_LIMITED_API)))] [INFO] [stdout] ... | [INFO] [stdout] 505 | | pub fn _Py_SIZE(arg1: *const PyObject) -> Py_ssize_t; [INFO] [stdout] 506 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:649:1 [INFO] [stdout] | [INFO] [stdout] 649 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 650 | | #[cfg(all(Py_3_10, Py_LIMITED_API, not(PyPy)))] [INFO] [stdout] 651 | | #[cfg_attr(docsrs, doc(cfg(Py_3_10)))] [INFO] [stdout] 652 | | pub fn Py_NewRef(obj: *mut PyObject) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 655 | | pub fn Py_XNewRef(obj: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 656 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 681 | | #[cfg(not(GraalPy))] [INFO] [stdout] 682 | | #[cfg_attr(PyPy, link_name = "_PyPy_NoneStruct")] [INFO] [stdout] 683 | | static mut _Py_NoneStruct: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 686 | | static mut _Py_NoneStructReference: *mut PyObject; [INFO] [stdout] 687 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:705:1 [INFO] [stdout] | [INFO] [stdout] 705 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 706 | | #[cfg(not(GraalPy))] [INFO] [stdout] 707 | | #[cfg_attr(PyPy, link_name = "_PyPy_NotImplementedStruct")] [INFO] [stdout] 708 | | static mut _Py_NotImplementedStruct: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 711 | | static mut _Py_NotImplementedStructReference: *mut PyObject; [INFO] [stdout] 712 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/objimpl.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyObject_Malloc")] [INFO] [stdout] 9 | | pub fn PyObject_Malloc(size: size_t) -> *mut c_void; [INFO] [stdout] 10 | | #[cfg_attr(PyPy, link_name = "PyPyObject_Calloc")] [INFO] [stdout] ... | [INFO] [stdout] 59 | | // skipped PyUnstable_GC_VisitObjects [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/objimpl.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 68 | | pub fn _PyObject_GC_Resize(arg1: *mut PyVarObject, arg2: Py_ssize_t) -> *mut PyVarObject; [INFO] [stdout] 69 | | [INFO] [stdout] 70 | | // skipped PyObject_GC_Resize [INFO] [stdout] ... | [INFO] [stdout] 91 | | pub fn PyObject_GC_IsFinalized(arg1: *mut PyObject) -> c_int; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/osmodule.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 4 | | #[cfg_attr(PyPy, link_name = "PyPyOS_FSPath")] [INFO] [stdout] 5 | | pub fn PyOS_FSPath(path: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pycapsule.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | #[cfg_attr(PyPy, link_name = "PyPyCapsule_Type")] [INFO] [stdout] 8 | | pub static mut PyCapsule_Type: PyTypeObject; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pycapsule.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 19 | | #[cfg_attr(PyPy, link_name = "PyPyCapsule_New")] [INFO] [stdout] 20 | | pub fn PyCapsule_New( [INFO] [stdout] 21 | | pointer: *mut c_void, [INFO] [stdout] ... | [INFO] [stdout] 47 | | pub fn PyCapsule_Import(name: *const c_char, no_block: c_int) -> *mut c_void; [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pyerrors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | #[cfg_attr(PyPy, link_name = "PyPyErr_SetNone")] [INFO] [stdout] 7 | | pub fn PyErr_SetNone(arg1: *mut PyObject); [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyErr_SetObject")] [INFO] [stdout] ... | [INFO] [stdout] 71 | | pub fn PyExceptionInstance_Class(x: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pyerrors.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 116 | | #[cfg_attr(PyPy, link_name = "PyPyExc_BaseException")] [INFO] [stdout] 117 | | pub static mut PyExc_BaseException: *mut PyObject; [INFO] [stdout] 118 | | #[cfg(Py_3_11)] [INFO] [stdout] ... | [INFO] [stdout] 263 | | pub static mut PyExc_EncodingWarning: *mut PyObject; [INFO] [stdout] 264 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pyerrors.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 267 | | #[cfg_attr(PyPy, link_name = "PyPyErr_BadArgument")] [INFO] [stdout] 268 | | pub fn PyErr_BadArgument() -> c_int; [INFO] [stdout] 269 | | #[cfg_attr(PyPy, link_name = "PyPyErr_NoMemory")] [INFO] [stdout] ... | [INFO] [stdout] 362 | | pub fn PyUnicodeTranslateError_SetReason(exc: *mut PyObject, reason: *const c_char) -> c_int; [INFO] [stdout] 363 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pyframe.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | pub fn PyFrame_GetLineNumber(f: *mut PyFrameObject) -> c_int; [INFO] [stdout] 13 | | #[cfg(not(GraalPy))] [INFO] [stdout] 14 | | #[cfg(any(Py_3_10, all(Py_3_9, not(Py_LIMITED_API))))] [INFO] [stdout] 15 | | pub fn PyFrame_GetCode(f: *mut PyFrameObject) -> *mut PyCodeObject; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pyhash.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | // skipped non-limited _Py_HashDouble [INFO] [stdout] 10 | | // skipped non-limited _Py_HashPointer [INFO] [stdout] 11 | | // skipped non-limited _Py_HashPointerRaw [INFO] [stdout] ... | [INFO] [stdout] 14 | | pub fn _Py_HashBytes(src: *const c_void, len: Py_ssize_t) -> Py_hash_t; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pyhash.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 42 | | #[cfg(not(any(Py_LIMITED_API, PyPy, GraalPy)))] [INFO] [stdout] 43 | | pub fn PyHash_GetFuncDef() -> *mut PyHash_FuncDef; [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pylifecycle.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | pub fn Py_Initialize(); [INFO] [stdout] 8 | | pub fn Py_InitializeEx(arg1: c_int); [INFO] [stdout] 9 | | pub fn Py_Finalize(); [INFO] [stdout] ... | [INFO] [stdout] 47 | | pub fn Py_GetBuildInfo() -> *const c_char; [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pylifecycle.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 53 | | pub fn PyOS_getsig(arg1: c_int) -> PyOS_sighandler_t; [INFO] [stdout] 54 | | pub fn PyOS_setsig(arg1: c_int, arg2: PyOS_sighandler_t) -> PyOS_sighandler_t; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pymem.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | #[cfg_attr(PyPy, link_name = "PyPyMem_Malloc")] [INFO] [stdout] 6 | | pub fn PyMem_Malloc(size: size_t) -> *mut c_void; [INFO] [stdout] 7 | | #[cfg_attr(PyPy, link_name = "PyPyMem_Calloc")] [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub fn PyMem_Free(ptr: *mut c_void); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pystate.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 15 | | #[cfg(not(PyPy))] [INFO] [stdout] 16 | | pub fn PyInterpreterState_New() -> *mut PyInterpreterState; [INFO] [stdout] 17 | | #[cfg(not(PyPy))] [INFO] [stdout] ... | [INFO] [stdout] 52 | | pub fn PyThreadState_Get() -> *mut PyThreadState; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pystate.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 61 | | #[cfg_attr(PyPy, link_name = "PyPyThreadState_Swap")] [INFO] [stdout] 62 | | pub fn PyThreadState_Swap(arg1: *mut PyThreadState) -> *mut PyThreadState; [INFO] [stdout] 63 | | #[cfg_attr(PyPy, link_name = "PyPyThreadState_GetDict")] [INFO] [stdout] ... | [INFO] [stdout] 66 | | pub fn PyThreadState_SetAsyncExc(arg1: c_long, arg2: *mut PyObject) -> c_int; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pystate.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 81 | | #[cfg_attr(PyPy, link_name = "PyPyGILState_Ensure")] [INFO] [stdout] 82 | | pub fn PyGILState_Ensure() -> PyGILState_STATE; [INFO] [stdout] 83 | | #[cfg_attr(PyPy, link_name = "PyPyGILState_Release")] [INFO] [stdout] ... | [INFO] [stdout] 86 | | pub fn PyGILState_GetThisThreadState() -> *mut PyThreadState; [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pythonrun.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | #[cfg(any(all(Py_LIMITED_API, not(PyPy)), GraalPy))] [INFO] [stdout] 10 | | pub fn Py_CompileString(string: *const c_char, p: *const c_char, s: c_int) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 20 | | pub fn PyErr_DisplayException(exc: *mut PyObject); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pythonrun.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 76 | | #[cfg(not(any(PyPy, Py_3_10)))] [INFO] [stdout] 77 | | pub fn Py_SymtableString( [INFO] [stdout] 78 | | str: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 87 | | ) -> *mut symtable; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/pystrtod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | #[cfg_attr(PyPy, link_name = "PyPyOS_string_to_double")] [INFO] [stdout] 6 | | pub fn PyOS_string_to_double( [INFO] [stdout] 7 | | str: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 18 | | ) -> *mut c_char; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/rangeobject.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | #[cfg_attr(PyPy, link_name = "PyPyRange_Type")] [INFO] [stdout] 8 | | pub static mut PyRange_Type: PyTypeObject; [INFO] [stdout] 9 | | pub static mut PyRangeIter_Type: PyTypeObject; [INFO] [stdout] 10 | | pub static mut PyLongRangeIter_Type: PyTypeObject; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/setobject.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 45 | | pub static mut _PySet_Dummy: *mut PyObject; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/setobject.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 49 | | #[cfg(not(Py_LIMITED_API))] [INFO] [stdout] 50 | | #[cfg_attr(PyPy, link_name = "_PyPySet_NextEntry")] [INFO] [stdout] 51 | | pub fn _PySet_NextEntry( [INFO] [stdout] ... | [INFO] [stdout] 58 | | // skipped non-limited _PySet_Update [INFO] [stdout] 59 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/setobject.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 63 | | #[cfg_attr(PyPy, link_name = "PyPySet_Type")] [INFO] [stdout] 64 | | pub static mut PySet_Type: PyTypeObject; [INFO] [stdout] 65 | | #[cfg_attr(PyPy, link_name = "PyPyFrozenSet_Type")] [INFO] [stdout] 66 | | pub static mut PyFrozenSet_Type: PyTypeObject; [INFO] [stdout] 67 | | pub static mut PySetIter_Type: PyTypeObject; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/setobject.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 71 | | #[cfg_attr(PyPy, link_name = "PyPySet_New")] [INFO] [stdout] 72 | | pub fn PySet_New(arg1: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 73 | | #[cfg_attr(PyPy, link_name = "PyPyFrozenSet_New")] [INFO] [stdout] ... | [INFO] [stdout] 91 | | pub fn PyFrozenSet_CheckExact(ob: *mut PyObject) -> c_int; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/setobject.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 101 | | #[cfg(PyPy)] [INFO] [stdout] 102 | | #[link_name = "PyPyFrozenSet_Check"] [INFO] [stdout] 103 | | pub fn PyFrozenSet_Check(ob: *mut PyObject) -> c_int; [INFO] [stdout] 104 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/setobject.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 114 | | #[cfg(PyPy)] [INFO] [stdout] 115 | | #[link_name = "PyPyAnySet_CheckExact"] [INFO] [stdout] 116 | | pub fn PyAnySet_CheckExact(ob: *mut PyObject) -> c_int; [INFO] [stdout] 117 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/setobject.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 140 | | #[cfg(PyPy)] [INFO] [stdout] 141 | | #[link_name = "PyPySet_Check"] [INFO] [stdout] 142 | | pub fn PySet_Check(ob: *mut PyObject) -> c_int; [INFO] [stdout] 143 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/sliceobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg(not(GraalPy))] [INFO] [stdout] 9 | | #[cfg_attr(PyPy, link_name = "_PyPy_EllipsisObject")] [INFO] [stdout] 10 | | static mut _Py_EllipsisObject: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 13 | | static mut _Py_EllipsisObjectReference: *mut PyObject; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/sliceobject.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 38 | | #[cfg_attr(PyPy, link_name = "PyPySlice_Type")] [INFO] [stdout] 39 | | pub static mut PySlice_Type: PyTypeObject; [INFO] [stdout] 40 | | pub static mut PyEllipsis_Type: PyTypeObject; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/sliceobject.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 49 | | #[cfg_attr(PyPy, link_name = "PyPySlice_New")] [INFO] [stdout] 50 | | pub fn PySlice_New( [INFO] [stdout] 51 | | start: *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 66 | | ) -> c_int; [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/sliceobject.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 88 | | #[cfg_attr(PyPy, link_name = "PyPySlice_Unpack")] [INFO] [stdout] 89 | | pub fn PySlice_Unpack( [INFO] [stdout] 90 | | slice: *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 102 | | ) -> Py_ssize_t; [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/structseq.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 25 | | #[cfg(not(Py_LIMITED_API))] [INFO] [stdout] 26 | | #[cfg_attr(PyPy, link_name = "PyPyStructSequence_InitType")] [INFO] [stdout] 27 | | pub fn PyStructSequence_InitType(_type: *mut PyTypeObject, desc: *mut PyStructSequence_Desc); [INFO] [stdout] ... | [INFO] [stdout] 39 | | pub fn PyStructSequence_New(_type: *mut PyTypeObject) -> *mut PyObject; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/structseq.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 58 | | #[cfg(not(PyPy))] [INFO] [stdout] 59 | | pub fn PyStructSequence_SetItem(arg1: *mut PyObject, arg2: Py_ssize_t, arg3: *mut PyObject); [INFO] [stdout] ... | [INFO] [stdout] 62 | | pub fn PyStructSequence_GetItem(arg1: *mut PyObject, arg2: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/sysmodule.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | #[cfg_attr(PyPy, link_name = "PyPySys_GetObject")] [INFO] [stdout] 7 | | pub fn PySys_GetObject(arg1: *const c_char) -> *mut PyObject; [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPySys_SetObject")] [INFO] [stdout] ... | [INFO] [stdout] 31 | | pub fn PySys_GetXOptions() -> *mut PyObject; [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/traceback.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | #[cfg_attr(PyPy, link_name = "PyPyTraceBack_Here")] [INFO] [stdout] 8 | | pub fn PyTraceBack_Here(arg1: *mut crate::PyFrameObject) -> c_int; [INFO] [stdout] 9 | | #[cfg_attr(PyPy, link_name = "PyPyTraceBack_Print")] [INFO] [stdout] 10 | | pub fn PyTraceBack_Print(arg1: *mut PyObject, arg2: *mut PyObject) -> c_int; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/traceback.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 15 | | #[cfg_attr(PyPy, link_name = "PyPyTraceBack_Type")] [INFO] [stdout] 16 | | pub static mut PyTraceBack_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 20 | | pub fn PyTraceBack_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tupleobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyTuple_Type")] [INFO] [stdout] 9 | | pub static mut PyTuple_Type: PyTypeObject; [INFO] [stdout] 10 | | pub static mut PyTupleIter_Type: PyTypeObject; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/tupleobject.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | #[cfg_attr(PyPy, link_name = "PyPyTuple_New")] [INFO] [stdout] 25 | | pub fn PyTuple_New(size: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] 26 | | #[cfg_attr(PyPy, link_name = "PyPyTuple_Size")] [INFO] [stdout] ... | [INFO] [stdout] 41 | | pub fn PyTuple_ClearFreeList() -> c_int; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/unicodeobject.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 17 | | #[cfg_attr(PyPy, link_name = "PyPyUnicode_Type")] [INFO] [stdout] 18 | | pub static mut PyUnicode_Type: PyTypeObject; [INFO] [stdout] 19 | | pub static mut PyUnicodeIter_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 27 | | pub fn PyUnicode_CheckExact(op: *mut PyObject) -> c_int; [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/unicodeobject.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 45 | | [INFO] [stdout] 46 | | #[cfg_attr(PyPy, link_name = "PyPyUnicode_FromStringAndSize")] [INFO] [stdout] 47 | | pub fn PyUnicode_FromStringAndSize(u: *const c_char, size: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 348 | | pub fn PyUnicode_IsIdentifier(s: *mut PyObject) -> c_int; [INFO] [stdout] 349 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/warnings.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | #[cfg_attr(PyPy, link_name = "PyPyErr_WarnEx")] [INFO] [stdout] 7 | | pub fn PyErr_WarnEx( [INFO] [stdout] 8 | | category: *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 33 | | ) -> c_int; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/weakrefobject.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | pub static mut _PyWeakref_RefType: PyTypeObject; [INFO] [stdout] 15 | | pub static mut _PyWeakref_ProxyType: PyTypeObject; [INFO] [stdout] 16 | | pub static mut _PyWeakref_CallableProxyType: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 28 | | pub fn PyWeakref_CheckProxy(op: *mut PyObject) -> c_int; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/weakrefobject.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 56 | | #[cfg_attr(PyPy, link_name = "PyPyWeakref_NewRef")] [INFO] [stdout] 57 | | pub fn PyWeakref_NewRef(ob: *mut PyObject, callback: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 58 | | #[cfg_attr(PyPy, link_name = "PyPyWeakref_NewProxy")] [INFO] [stdout] ... | [INFO] [stdout] 61 | | pub fn PyWeakref_GetObject(_ref: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 62 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/abstract_.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 16 | | #[cfg(all(Py_3_8, not(any(PyPy, GraalPy))))] [INFO] [stdout] 17 | | pub fn _PyStack_AsDict(values: *const *mut PyObject, kwnames: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/abstract_.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | #[cfg(all(Py_3_8, not(any(PyPy, GraalPy))))] [INFO] [stdout] 25 | | pub fn _Py_CheckFunctionResult( [INFO] [stdout] 26 | | tstate: *mut PyThreadState, [INFO] [stdout] ... | [INFO] [stdout] 39 | | ) -> *mut PyObject; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/abstract_.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 104 | | #[cfg(all(PyPy, Py_3_8))] [INFO] [stdout] 105 | | #[cfg_attr(not(Py_3_9), link_name = "_PyPyObject_Vectorcall")] [INFO] [stdout] 106 | | #[cfg_attr(Py_3_9, link_name = "PyPyObject_Vectorcall")] [INFO] [stdout] ... | [INFO] [stdout] 135 | | ) -> *mut PyObject; [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/abstract_.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 172 | | #[cfg(PyPy)] [INFO] [stdout] 173 | | #[link_name = "_PyPyObject_CallNoArg"] [INFO] [stdout] 174 | | pub fn _PyObject_CallNoArg(func: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/abstract_.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 189 | | #[cfg(all(Py_3_9, not(any(PyPy, GraalPy))))] [INFO] [stdout] 190 | | pub fn PyObject_VectorcallMethod( [INFO] [stdout] 191 | | name: *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 195 | | ) -> *mut PyObject; [INFO] [stdout] 196 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/abstract_.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 235 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 236 | | #[cfg_attr(PyPy, link_name = "PyPyObject_LengthHint")] [INFO] [stdout] 237 | | pub fn PyObject_LengthHint(o: *mut PyObject, arg1: Py_ssize_t) -> Py_ssize_t; [INFO] [stdout] ... | [INFO] [stdout] 241 | | pub fn PyObject_CheckBuffer(obj: *mut PyObject) -> c_int; [INFO] [stdout] 242 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/abstract_.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 253 | | #[cfg_attr(PyPy, link_name = "PyPyObject_GetBuffer")] [INFO] [stdout] 254 | | pub fn PyObject_GetBuffer(obj: *mut PyObject, view: *mut Py_buffer, flags: c_int) -> c_int; [INFO] [stdout] 255 | | #[cfg_attr(PyPy, link_name = "PyPyBuffer_GetPointer")] [INFO] [stdout] ... | [INFO] [stdout] 296 | | pub fn PyBuffer_Release(view: *mut Py_buffer); [INFO] [stdout] 297 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/abstract_.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 312 | | #[cfg(not(any(PyPy, GraalPy)))] [INFO] [stdout] 313 | | pub fn _PySequence_IterSearch( [INFO] [stdout] 314 | | seq: *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 317 | | ) -> Py_ssize_t; [INFO] [stdout] 318 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/bytesobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | #[cfg_attr(PyPy, link_name = "_PyPyBytes_Resize")] [INFO] [stdout] 21 | | pub fn _PyBytes_Resize(bytes: *mut *mut PyObject, newsize: Py_ssize_t) -> c_int; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/ceval.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | // skipped non-limited _PyEval_CallTracing [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | #[cfg(not(Py_3_11))] [INFO] [stdout] ... | [INFO] [stdout] 20 | | pub fn PyEval_SetTrace(trace_func: Option, arg1: *mut PyObject); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/code.rs:244:1 [INFO] [stdout] | [INFO] [stdout] 244 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 245 | | pub static mut PyCode_Type: PyTypeObject; [INFO] [stdout] 246 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/code.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 267 | | #[cfg(PyPy)] [INFO] [stdout] 268 | | #[link_name = "PyPyCode_Check"] [INFO] [stdout] 269 | | pub fn PyCode_Check(op: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 273 | | pub fn PyCode_GetNumFree(op: *mut PyCodeObject) -> Py_ssize_t; [INFO] [stdout] 274 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/code.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 277 | | #[cfg(not(GraalPy))] [INFO] [stdout] 278 | | #[cfg_attr(PyPy, link_name = "PyPyCode_New")] [INFO] [stdout] 279 | | pub fn PyCode_New( [INFO] [stdout] ... | [INFO] [stdout] 339 | | pub fn _PyCode_SetExtra(code: *mut PyObject, index: Py_ssize_t, extra: *mut c_void) -> c_int; [INFO] [stdout] 340 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/compile.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 68 | | #[cfg(not(any(PyPy, Py_3_10)))] [INFO] [stdout] 69 | | pub fn PyNode_Compile(arg1: *mut _node, arg2: *const c_char) -> *mut PyCodeObject; [INFO] [stdout] ... | [INFO] [stdout] 107 | | // skipped non-limited _PyAST_Optimize [INFO] [stdout] 108 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/descrobject.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 74 | | pub static mut _PyMethodWrapper_Type: PyTypeObject; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/dictobject.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 25 | | // skipped _PyDict_GetItem_KnownHash [INFO] [stdout] 26 | | // skipped _PyDict_GetItemIdWithError [INFO] [stdout] 27 | | // skipped _PyDict_GetItemStringWithError [INFO] [stdout] ... | [INFO] [stdout] 75 | | pub fn _PyDict_Contains(mp: *mut PyObject, key: *mut PyObject, hash: Py_ssize_t) -> c_int; [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/frameobject.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 65 | | pub static mut PyFrame_Type: PyTypeObject; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/frameobject.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 74 | | #[cfg(not(GraalPy))] [INFO] [stdout] 75 | | #[cfg_attr(PyPy, link_name = "PyPyFrame_New")] [INFO] [stdout] 76 | | pub fn PyFrame_New( [INFO] [stdout] ... | [INFO] [stdout] 96 | | pub fn PyFrame_ClearFreeList() -> c_int; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/funcobject.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 65 | | #[cfg(not(all(PyPy, not(Py_3_8))))] [INFO] [stdout] 66 | | #[cfg_attr(PyPy, link_name = "PyPyFunction_Type")] [INFO] [stdout] 67 | | pub static mut PyFunction_Type: crate::PyTypeObject; [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/funcobject.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 77 | | pub fn PyFunction_New(code: *mut PyObject, globals: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 78 | | pub fn PyFunction_NewWithQualName( [INFO] [stdout] 79 | | code: *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 93 | | pub fn PyFunction_SetAnnotations(op: *mut PyObject, annotations: *mut PyObject) -> c_int; [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/genobject.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 41 | | pub static mut PyGen_Type: PyTypeObject; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/genobject.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 55 | | pub fn PyGen_New(frame: *mut PyFrameObject) -> *mut PyObject; [INFO] [stdout] 56 | | // skipped PyGen_NewWithQualName [INFO] [stdout] 57 | | // skipped _PyGen_SetStopIterationValue [INFO] [stdout] ... | [INFO] [stdout] 63 | | pub fn PyGen_NeedsFinalizing(op: *mut PyGenObject) -> c_int; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/genobject.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 70 | | pub static mut PyCoro_Type: PyTypeObject; [INFO] [stdout] 71 | | pub static mut _PyCoroWrapper_Type: PyTypeObject; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/genobject.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 86 | | pub static mut PyAsyncGen_Type: PyTypeObject; [INFO] [stdout] 87 | | // skipped _PyAsyncGenASend_Type [INFO] [stdout] 88 | | // skipped _PyAsyncGenWrappedValue_Type [INFO] [stdout] 89 | | // skipped _PyAsyncGenAThrow_Type [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/import.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | pub fn _PyImport_IsInitialized(state: *mut PyInterpreterState) -> c_int; [INFO] [stdout] 10 | | // skipped _PyImport_GetModuleId [INFO] [stdout] 11 | | pub fn _PyImport_SetModule(name: *mut PyObject, module: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 29 | | ) -> c_int; [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/import.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 42 | | #[cfg(not(PyPy))] [INFO] [stdout] 43 | | pub static mut PyImport_Inittab: *mut _inittab; [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/import.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 47 | | #[cfg(not(PyPy))] [INFO] [stdout] 48 | | pub fn PyImport_ExtendInittab(newtab: *mut _inittab) -> c_int; [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/import.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 66 | | #[cfg(not(PyPy))] [INFO] [stdout] 67 | | pub static mut PyImport_FrozenModules: *const _frozen; [INFO] [stdout] 68 | | #[cfg(all(not(PyPy), Py_3_11))] [INFO] [stdout] ... | [INFO] [stdout] 73 | | pub static mut _PyImport_FrozenTest: *const _frozen; [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/initconfig.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 25 | | pub fn PyStatus_Ok() -> PyStatus; [INFO] [stdout] 26 | | pub fn PyStatus_Error(err_msg: *const c_char) -> PyStatus; [INFO] [stdout] 27 | | pub fn PyStatus_NoMemory() -> PyStatus; [INFO] [stdout] ... | [INFO] [stdout] 31 | | pub fn PyStatus_Exception(err: PyStatus) -> c_int; [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/initconfig.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 44 | | pub fn PyWideStringList_Append(list: *mut PyWideStringList, item: *const wchar_t) -> PyStatus; [INFO] [stdout] 45 | | pub fn PyWideStringList_Insert( [INFO] [stdout] 46 | | list: *mut PyWideStringList, [INFO] [stdout] ... | [INFO] [stdout] 49 | | ) -> PyStatus; [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/initconfig.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 74 | | pub fn PyPreConfig_InitPythonConfig(config: *mut PyPreConfig); [INFO] [stdout] 75 | | pub fn PyPreConfig_InitIsolatedConfig(config: *mut PyPreConfig); [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/initconfig.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 183 | | pub fn PyConfig_InitPythonConfig(config: *mut PyConfig); [INFO] [stdout] 184 | | pub fn PyConfig_InitIsolatedConfig(config: *mut PyConfig); [INFO] [stdout] 185 | | pub fn PyConfig_Clear(config: *mut PyConfig); [INFO] [stdout] ... | [INFO] [stdout] 212 | | ) -> PyStatus; [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/initconfig.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 218 | | pub fn Py_GetArgcArgv(argc: *mut c_int, argv: *mut *mut *mut wchar_t); [INFO] [stdout] 219 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/longobject.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 29 | | // skipped _PyLong_Sign [INFO] [stdout] 30 | | [INFO] [stdout] 31 | | #[cfg(Py_3_13)] [INFO] [stdout] ... | [INFO] [stdout] 73 | | // skipped _PyLong_GCD [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/methodobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 15 | | pub static mut PyCMethod_Type: PyTypeObject; [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/object.rs:347:1 [INFO] [stdout] | [INFO] [stdout] 347 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 348 | | #[cfg(Py_3_11)] [INFO] [stdout] 349 | | #[cfg_attr(PyPy, link_name = "PyPyType_GetModuleByDef")] [INFO] [stdout] 350 | | pub fn PyType_GetModuleByDef(ty: *mut PyTypeObject, def: *mut PyModuleDef) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 378 | | // skipped _PyObject_FunctionStr [INFO] [stdout] 379 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/object.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 386 | | pub static mut _PyNone_Type: PyTypeObject; [INFO] [stdout] 387 | | pub static mut _PyNotImplemented_Type: PyTypeObject; [INFO] [stdout] 388 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/objimpl.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 14 | | pub fn _Py_GetAllocatedBlocks() -> crate::Py_ssize_t; [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/objimpl.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 35 | | #[cfg(not(any(PyPy, GraalPy)))] [INFO] [stdout] 36 | | pub fn PyObject_GetArenaAllocator(allocator: *mut PyObjectArenaAllocator); [INFO] [stdout] 37 | | #[cfg(not(any(PyPy, GraalPy)))] [INFO] [stdout] ... | [INFO] [stdout] 41 | | pub fn PyObject_IS_GC(o: *mut PyObject) -> c_int; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/objimpl.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 56 | | pub fn _PyObject_GC_Malloc(size: size_t) -> *mut PyObject; [INFO] [stdout] 57 | | pub fn _PyObject_GC_Calloc(size: size_t) -> *mut PyObject; [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pydebug.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | #[deprecated(note = "Python 3.12")] [INFO] [stdout] 7 | | #[cfg_attr(PyPy, link_name = "PyPy_DebugFlag")] [INFO] [stdout] 8 | | pub static mut Py_DebugFlag: c_int; [INFO] [stdout] ... | [INFO] [stdout] 55 | | pub static mut Py_LegacyWindowsStdioFlag: c_int; [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pydebug.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 59 | | #[cfg(Py_3_11)] [INFO] [stdout] 60 | | pub fn Py_GETENV(name: *const c_char) -> *mut c_char; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pyerrors.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 155 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 156 | | #[cfg(not(any(PyPy, GraalPy)))] [INFO] [stdout] 157 | | pub fn _PyErr_ChainExceptions(typ: *mut PyObject, val: *mut PyObject, tb: *mut PyObject); [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pylifecycle.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | // skipped _Py_SetStandardStreamEncoding; [INFO] [stdout] 8 | | pub fn Py_PreInitialize(src_config: *const PyPreConfig) -> PyStatus; [INFO] [stdout] 9 | | pub fn Py_PreInitializeFromBytesArgs( [INFO] [stdout] ... | [INFO] [stdout] 46 | | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pylifecycle.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 91 | | #[cfg(Py_3_12)] [INFO] [stdout] 92 | | pub fn Py_NewInterpreterFromConfig( [INFO] [stdout] 93 | | tstate_p: *mut *mut crate::PyThreadState, [INFO] [stdout] 94 | | config: *const PyInterpreterConfig, [INFO] [stdout] 95 | | ) -> PyStatus; [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pymem.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | #[cfg_attr(PyPy, link_name = "PyPyMem_RawMalloc")] [INFO] [stdout] 6 | | pub fn PyMem_RawMalloc(size: size_t) -> *mut c_void; [INFO] [stdout] 7 | | #[cfg_attr(PyPy, link_name = "PyPyMem_RawCalloc")] [INFO] [stdout] ... | [INFO] [stdout] 17 | | // skipped _PyMem_RawWcsdup [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pymem.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 43 | | #[cfg(not(any(PyPy, GraalPy)))] [INFO] [stdout] 44 | | pub fn PyMem_GetAllocator(domain: PyMemAllocatorDomain, allocator: *mut PyMemAllocatorEx); [INFO] [stdout] 45 | | #[cfg(not(any(PyPy, GraalPy)))] [INFO] [stdout] ... | [INFO] [stdout] 48 | | pub fn PyMem_SetupDebugHooks(); [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pystate.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 46 | | // skipped _PyThreadState_Prealloc [INFO] [stdout] 47 | | // skipped _PyThreadState_UncheckedGet [INFO] [stdout] 48 | | // skipped _PyThreadState_GetDict [INFO] [stdout] ... | [INFO] [stdout] 69 | | pub fn PyThreadState_DeleteCurrent(); [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pystate.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 88 | | /// Get the frame evaluation function. [INFO] [stdout] 89 | | pub fn _PyInterpreterState_GetEvalFrameFunc( [INFO] [stdout] 90 | | interp: *mut PyInterpreterState, [INFO] [stdout] ... | [INFO] [stdout] 97 | | ); [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pythonrun.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 11 | | pub fn PyRun_SimpleStringFlags(arg1: *const c_char, arg2: *mut PyCompilerFlags) -> c_int; [INFO] [stdout] 12 | | pub fn _PyRun_SimpleFileObject( [INFO] [stdout] 13 | | fp: *mut FILE, [INFO] [stdout] ... | [INFO] [stdout] 96 | | ) -> *mut _mod; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pythonrun.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 100 | | #[cfg_attr(PyPy, link_name = "PyPyRun_StringFlags")] [INFO] [stdout] 101 | | pub fn PyRun_StringFlags( [INFO] [stdout] 102 | | arg1: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 134 | | ) -> *mut PyObject; [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pythonrun.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 157 | | #[cfg_attr(PyPy, link_name = "PyPyRun_String")] [INFO] [stdout] 158 | | pub fn PyRun_String( [INFO] [stdout] 159 | | string: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 209 | | ) -> *mut PyObject; [INFO] [stdout] 210 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/pythonrun.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 218 | | #[cfg(not(any(PyPy, GraalPy, Py_3_10)))] [INFO] [stdout] 219 | | #[cfg_attr(Py_3_9, deprecated(note = "Python 3.9"))] [INFO] [stdout] 220 | | pub fn PyParser_SimpleParseStringFlags( [INFO] [stdout] ... | [INFO] [stdout] 249 | | ) -> *mut PyObject; [INFO] [stdout] 250 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/unicodeobject.rs:406:1 [INFO] [stdout] | [INFO] [stdout] 406 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 407 | | #[cfg(not(any(PyPy, GraalPy)))] [INFO] [stdout] 408 | | pub fn _PyUnicode_CheckConsistency(op: *mut PyObject, check_content: c_int) -> c_int; [INFO] [stdout] 409 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/unicodeobject.rs:559:1 [INFO] [stdout] | [INFO] [stdout] 559 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 560 | | #[cfg_attr(PyPy, link_name = "PyPyUnicode_New")] [INFO] [stdout] 561 | | pub fn PyUnicode_New(size: Py_ssize_t, maxchar: Py_UCS4) -> *mut PyObject; [INFO] [stdout] 562 | | #[cfg_attr(PyPy, link_name = "_PyPyUnicode_Ready")] [INFO] [stdout] ... | [INFO] [stdout] 618 | | // skipped PyUnicode_GetMax [INFO] [stdout] 619 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/cpython/unicodeobject.rs:636:1 [INFO] [stdout] | [INFO] [stdout] 636 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 637 | | // skipped _PyUnicode_AsStringAndSize [INFO] [stdout] 638 | | [INFO] [stdout] 639 | | #[cfg_attr(PyPy, link_name = "PyPyUnicode_AsUTF8")] [INFO] [stdout] ... | [INFO] [stdout] 748 | | // skipped _PyUnicode_TransformDecimalAndSpaceToASCII [INFO] [stdout] 749 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `dictobject::PyDict_GetItemWithError` is unsafe and requires unsafe block [INFO] [stdout] --> src/compat/py_3_13.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let item = PyDict_GetItemWithError(dp, key); [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/compat/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / pub unsafe fn $name( [INFO] [stdout] 27 | | $($arg_names: $arg_types,)* [INFO] [stdout] 28 | | ) -> $ret $body [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/compat/py_3_13.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / compat_function!( [INFO] [stdout] 2 | | originally_defined_for(Py_3_13); [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `compat_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/compat/py_3_13.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | *result = Py_NewRef(item); [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 `object::Py_NewRef` is unsafe and requires unsafe block [INFO] [stdout] --> src/compat/py_3_13.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | *result = Py_NewRef(item); [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/compat/py_3_13.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | *result = std::ptr::null_mut(); [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 `pyerrors::PyErr_Occurred` is unsafe and requires unsafe block [INFO] [stdout] --> src/compat/py_3_13.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if PyErr_Occurred().is_null() { [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 `listobject::PyList_GetItem` is unsafe and requires unsafe block [INFO] [stdout] --> src/compat/py_3_13.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | let item = PyList_GetItem(arg1, arg2); [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/compat/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / pub unsafe fn $name( [INFO] [stdout] 27 | | $($arg_names: $arg_types,)* [INFO] [stdout] 28 | | ) -> $ret $body [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] ::: src/compat/py_3_13.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / compat_function!( [INFO] [stdout] 26 | | originally_defined_for(Py_3_13); [INFO] [stdout] 27 | | [INFO] [stdout] 28 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `compat_function` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_XINCREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/compat/py_3_13.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Py_XINCREF(item); [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 `object::PyObject_SetAttrString` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | PyObject_SetAttrString(o, attr_name, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/abstract_.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn PyObject_DelAttrString(o: *mut PyObject, attr_name: *const c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_SetAttr` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | PyObject_SetAttr(o, attr_name, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/abstract_.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn PyObject_DelAttr(o: *mut PyObject, attr_name: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `abstract_::PyObject_Size` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | PyObject_Size(o) [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/abstract_.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub unsafe fn PyObject_Length(o: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | let tp_as_number = (*Py_TYPE(o)).tp_as_number; [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/abstract_.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | pub unsafe fn PyIndex_Check(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | let tp_as_number = (*Py_TYPE(o)).tp_as_number; [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/abstract_.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | (!tp_as_number.is_null() && (*tp_as_number).nb_index.is_some()) as c_int [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 `abstract_::PySequence_Size` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | PySequence_Size(o) [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/abstract_.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | pub unsafe fn PySequence_Length(o: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `abstract_::PySequence_Contains` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | PySequence_Contains(o, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/abstract_.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 279 | pub unsafe fn PySequence_In(o: *mut PyObject, value: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `abstract_::PyMapping_Size` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 303 | PyMapping_Size(o) [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/abstract_.rs:302:1 [INFO] [stdout] | [INFO] [stdout] 302 | pub unsafe fn PyMapping_Length(o: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `abstract_::PyObject_DelItemString` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | PyObject_DelItemString(o, key) [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/abstract_.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 307 | pub unsafe fn PyMapping_DelItemString(o: *mut PyObject, key: *mut c_char) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `abstract_::PyObject_DelItem` is unsafe and requires unsafe block [INFO] [stdout] --> src/abstract_.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | PyObject_DelItem(o, key) [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/abstract_.rs:312:1 [INFO] [stdout] | [INFO] [stdout] 312 | pub unsafe fn PyMapping_DelItem(o: *mut PyObject, key: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/boolobject.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | (Py_TYPE(op) == addr_of_mut!(PyBool_Type)) 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/boolobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn PyBool_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_Is` is unsafe and requires unsafe block [INFO] [stdout] --> src/boolobject.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Py_Is(x, Py_True()) [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/boolobject.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub unsafe fn Py_IsTrue(x: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `boolobject::Py_True` is unsafe and requires unsafe block [INFO] [stdout] --> src/boolobject.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | Py_Is(x, Py_True()) [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 `object::Py_Is` is unsafe and requires unsafe block [INFO] [stdout] --> src/boolobject.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | Py_Is(x, Py_False()) [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/boolobject.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe fn Py_IsFalse(x: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `boolobject::Py_False` is unsafe and requires unsafe block [INFO] [stdout] --> src/boolobject.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | Py_Is(x, Py_False()) [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 `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/bytearrayobject.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | PyObject_TypeCheck(op, addr_of_mut!(PyByteArray_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/bytearrayobject.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe fn PyByteArray_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/bytearrayobject.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | (Py_TYPE(op) == addr_of_mut!(PyByteArray_Type)) 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/bytearrayobject.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub unsafe fn PyByteArray_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/bytesobject.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS) [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/bytesobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn PyBytes_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/bytesobject.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_BYTES_SUBCLASS) [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/bytesobject.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | (Py_TYPE(op) == addr_of_mut!(PyBytes_Type)) 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/bytesobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn PyBytes_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `ceval::PyEval_CallObjectWithKeywords` is unsafe and requires unsafe block [INFO] [stdout] --> src/ceval.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | PyEval_CallObjectWithKeywords(func, arg, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/ceval.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn PyEval_CallObject(func: *mut PyObject, arg: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/complexobject.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | PyObject_TypeCheck(op, addr_of_mut!(PyComplex_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/complexobject.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe fn PyComplex_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/complexobject.rs:50:6 [INFO] [stdout] | [INFO] [stdout] 50 | (Py_TYPE(op) == addr_of_mut!(PyComplex_Type)) 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/complexobject.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub unsafe fn PyComplex_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/context.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | (Py_TYPE(op) == addr_of_mut!(PyContext_Type)) 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/context.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn PyContext_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/context.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | (Py_TYPE(op) == addr_of_mut!(PyContextVar_Type)) 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/context.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn PyContextVar_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/context.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | (Py_TYPE(op) == addr_of_mut!(PyContextToken_Type)) 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/context.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn PyContextToken_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let d = *(o as *mut PyDateTime_Date); [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/datetime.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 131 | pub unsafe fn PyDateTime_GET_YEAR(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let d = *(o as *mut PyDateTime_Date); [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/datetime.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | pub unsafe fn PyDateTime_GET_MONTH(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | let d = *(o as *mut PyDateTime_Date); [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/datetime.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub unsafe fn PyDateTime_GET_DAY(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | c_int::from((*$o).data[$offset + 0]) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 210 | _PyDateTime_GET_HOUR!((o as *mut PyDateTime_DateTime), _PyDateTime_DATE_DATASIZE) [INFO] [stdout] | --------------------------------------------------------------------------------- in this macro invocation [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/datetime.rs:209:1 [INFO] [stdout] | [INFO] [stdout] 209 | pub unsafe fn PyDateTime_DATE_GET_HOUR(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_HOUR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | c_int::from((*$o).data[$offset + 1]) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 218 | _PyDateTime_GET_MINUTE!((o as *mut PyDateTime_DateTime), _PyDateTime_DATE_DATASIZE) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [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/datetime.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | pub unsafe fn PyDateTime_DATE_GET_MINUTE(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_MINUTE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | c_int::from((*$o).data[$offset + 2]) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 226 | _PyDateTime_GET_SECOND!((o as *mut PyDateTime_DateTime), _PyDateTime_DATE_DATASIZE) [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [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/datetime.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | pub unsafe fn PyDateTime_DATE_GET_SECOND(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_SECOND` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | (c_int::from((*$o).data[$offset + 3]) << 16) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 234 | _PyDateTime_GET_MICROSECOND!((o as *mut PyDateTime_DateTime), _PyDateTime_DATE_DATASIZE) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [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/datetime.rs:233:1 [INFO] [stdout] | [INFO] [stdout] 233 | pub unsafe fn PyDateTime_DATE_GET_MICROSECOND(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_MICROSECOND` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | | (c_int::from((*$o).data[$offset + 4]) << 8) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 234 | _PyDateTime_GET_MICROSECOND!((o as *mut PyDateTime_DateTime), _PyDateTime_DATE_DATASIZE) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `_PyDateTime_GET_MICROSECOND` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | | (c_int::from((*$o).data[$offset + 5])) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 234 | _PyDateTime_GET_MICROSECOND!((o as *mut PyDateTime_DateTime), _PyDateTime_DATE_DATASIZE) [INFO] [stdout] | ---------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `_PyDateTime_GET_MICROSECOND` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | (*$o).fold [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 242 | _PyDateTime_GET_FOLD!(o as *mut PyDateTime_DateTime) [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [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/datetime.rs:241:1 [INFO] [stdout] | [INFO] [stdout] 241 | pub unsafe fn PyDateTime_DATE_GET_FOLD(o: *mut PyObject) -> c_uchar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_FOLD` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | if (*$o).hastzinfo != 0 { [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 251 | _PyDateTime_GET_TZINFO!(o as *mut PyDateTime_DateTime) [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [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/datetime.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | pub unsafe fn PyDateTime_DATE_GET_TZINFO(o: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_TZINFO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | (*$o).tzinfo [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 251 | _PyDateTime_GET_TZINFO!(o as *mut PyDateTime_DateTime) [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `_PyDateTime_GET_TZINFO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_None` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | $crate::Py_None() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 251 | _PyDateTime_GET_TZINFO!(o as *mut PyDateTime_DateTime) [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 `_PyDateTime_GET_TZINFO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | c_int::from((*$o).data[$offset + 0]) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 260 | _PyDateTime_GET_HOUR!((o as *mut PyDateTime_Time), 0) [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [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/datetime.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | pub unsafe fn PyDateTime_TIME_GET_HOUR(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_HOUR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | c_int::from((*$o).data[$offset + 1]) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 268 | _PyDateTime_GET_MINUTE!((o as *mut PyDateTime_Time), 0) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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/datetime.rs:267:1 [INFO] [stdout] | [INFO] [stdout] 267 | pub unsafe fn PyDateTime_TIME_GET_MINUTE(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_MINUTE` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | c_int::from((*$o).data[$offset + 2]) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 276 | _PyDateTime_GET_SECOND!((o as *mut PyDateTime_Time), 0) [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [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/datetime.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | pub unsafe fn PyDateTime_TIME_GET_SECOND(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_SECOND` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | (c_int::from((*$o).data[$offset + 3]) << 16) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 284 | _PyDateTime_GET_MICROSECOND!((o as *mut PyDateTime_Time), 0) [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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/datetime.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | pub unsafe fn PyDateTime_TIME_GET_MICROSECOND(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_MICROSECOND` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:181:28 [INFO] [stdout] | [INFO] [stdout] 181 | | (c_int::from((*$o).data[$offset + 4]) << 8) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 284 | _PyDateTime_GET_MICROSECOND!((o as *mut PyDateTime_Time), 0) [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `_PyDateTime_GET_MICROSECOND` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | | (c_int::from((*$o).data[$offset + 5])) [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 284 | _PyDateTime_GET_MICROSECOND!((o as *mut PyDateTime_Time), 0) [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `_PyDateTime_GET_MICROSECOND` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | (*$o).fold [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 292 | _PyDateTime_GET_FOLD!(o as *mut PyDateTime_Time) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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/datetime.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | pub unsafe fn PyDateTime_TIME_GET_FOLD(o: *mut PyObject) -> c_uchar { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_FOLD` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | if (*$o).hastzinfo != 0 { [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 301 | _PyDateTime_GET_TZINFO!(o as *mut PyDateTime_Time) [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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/datetime.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | pub unsafe fn PyDateTime_TIME_GET_TZINFO(o: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_PyDateTime_GET_TZINFO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | (*$o).tzinfo [INFO] [stdout] | ^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 301 | _PyDateTime_GET_TZINFO!(o as *mut PyDateTime_Time) [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `_PyDateTime_GET_TZINFO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_None` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | $crate::Py_None() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 301 | _PyDateTime_GET_TZINFO!(o as *mut PyDateTime_Time) [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 `_PyDateTime_GET_TZINFO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | (*($obj as *mut $type)).$field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 329 | _access_delta_field!(o, days) [INFO] [stdout] | ----------------------------- in this macro invocation [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/datetime.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | pub unsafe fn PyDateTime_DELTA_GET_DAYS(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_access_field` which comes from the expansion of the macro `_access_delta_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | (*($obj as *mut $type)).$field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 341 | _access_delta_field!(o, seconds) [INFO] [stdout] | -------------------------------- in this macro invocation [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/datetime.rs:340:1 [INFO] [stdout] | [INFO] [stdout] 340 | pub unsafe fn PyDateTime_DELTA_GET_SECONDS(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_access_field` which comes from the expansion of the macro `_access_delta_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | (*($obj as *mut $type)).$field [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] ... [INFO] [stdout] 353 | _access_delta_field!(o, microseconds) [INFO] [stdout] | ------------------------------------- in this macro invocation [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/datetime.rs:352:1 [INFO] [stdout] | [INFO] [stdout] 352 | pub unsafe fn PyDateTime_DELTA_GET_MICROSECONDS(o: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `_access_field` which comes from the expansion of the macro `_access_delta_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | *PyDateTimeAPI_impl.0.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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/datetime.rs:607:1 [INFO] [stdout] | [INFO] [stdout] 607 | pub unsafe fn PyDateTimeAPI() -> *mut PyDateTime_CAPI { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | (*PyDateTimeAPI()).TimeZone_UTC [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/datetime.rs:612:1 [INFO] [stdout] | [INFO] [stdout] 612 | pub unsafe fn PyDateTime_TimeZone_UTC() -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:613:7 [INFO] [stdout] | [INFO] [stdout] 613 | (*PyDateTimeAPI()).TimeZone_UTC [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 `pycapsule::PyCapsule_Import` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | PyCapsule_Import(PyDateTime_CAPSULE_NAME.as_ptr(), 1) as *mut PyDateTime_CAPI [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/datetime.rs:617:1 [INFO] [stdout] | [INFO] [stdout] 617 | pub unsafe fn PyDateTime_IMPORT() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 631 | *PyDateTimeAPI_impl.0.get() = py_datetime_c_api; [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 `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:644:5 [INFO] [stdout] | [INFO] [stdout] 644 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DateType) 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/datetime.rs:643:1 [INFO] [stdout] | [INFO] [stdout] 643 | pub unsafe fn PyDate_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:644:28 [INFO] [stdout] | [INFO] [stdout] 644 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DateType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:644:30 [INFO] [stdout] | [INFO] [stdout] 644 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DateType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:650:6 [INFO] [stdout] | [INFO] [stdout] 650 | (Py_TYPE(op) == (*PyDateTimeAPI()).DateType) 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/datetime.rs:649:1 [INFO] [stdout] | [INFO] [stdout] 649 | pub unsafe fn PyDate_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:650:21 [INFO] [stdout] | [INFO] [stdout] 650 | (Py_TYPE(op) == (*PyDateTimeAPI()).DateType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:650:23 [INFO] [stdout] | [INFO] [stdout] 650 | (Py_TYPE(op) == (*PyDateTimeAPI()).DateType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:656:5 [INFO] [stdout] | [INFO] [stdout] 656 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DateTimeType) 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/datetime.rs:655:1 [INFO] [stdout] | [INFO] [stdout] 655 | pub unsafe fn PyDateTime_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:656:28 [INFO] [stdout] | [INFO] [stdout] 656 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DateTimeType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:656:30 [INFO] [stdout] | [INFO] [stdout] 656 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DateTimeType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:662:6 [INFO] [stdout] | [INFO] [stdout] 662 | (Py_TYPE(op) == (*PyDateTimeAPI()).DateTimeType) 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/datetime.rs:661:1 [INFO] [stdout] | [INFO] [stdout] 661 | pub unsafe fn PyDateTime_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:662:21 [INFO] [stdout] | [INFO] [stdout] 662 | (Py_TYPE(op) == (*PyDateTimeAPI()).DateTimeType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:662:23 [INFO] [stdout] | [INFO] [stdout] 662 | (Py_TYPE(op) == (*PyDateTimeAPI()).DateTimeType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:668:5 [INFO] [stdout] | [INFO] [stdout] 668 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).TimeType) 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/datetime.rs:667:1 [INFO] [stdout] | [INFO] [stdout] 667 | pub unsafe fn PyTime_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:668:28 [INFO] [stdout] | [INFO] [stdout] 668 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).TimeType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:668:30 [INFO] [stdout] | [INFO] [stdout] 668 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).TimeType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:674:6 [INFO] [stdout] | [INFO] [stdout] 674 | (Py_TYPE(op) == (*PyDateTimeAPI()).TimeType) 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/datetime.rs:673:1 [INFO] [stdout] | [INFO] [stdout] 673 | pub unsafe fn PyTime_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:674:21 [INFO] [stdout] | [INFO] [stdout] 674 | (Py_TYPE(op) == (*PyDateTimeAPI()).TimeType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:674:23 [INFO] [stdout] | [INFO] [stdout] 674 | (Py_TYPE(op) == (*PyDateTimeAPI()).TimeType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DeltaType) 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/datetime.rs:679:1 [INFO] [stdout] | [INFO] [stdout] 679 | pub unsafe fn PyDelta_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:680:28 [INFO] [stdout] | [INFO] [stdout] 680 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DeltaType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:680:30 [INFO] [stdout] | [INFO] [stdout] 680 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).DeltaType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:686:6 [INFO] [stdout] | [INFO] [stdout] 686 | (Py_TYPE(op) == (*PyDateTimeAPI()).DeltaType) 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/datetime.rs:685:1 [INFO] [stdout] | [INFO] [stdout] 685 | pub unsafe fn PyDelta_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:686:21 [INFO] [stdout] | [INFO] [stdout] 686 | (Py_TYPE(op) == (*PyDateTimeAPI()).DeltaType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:686:23 [INFO] [stdout] | [INFO] [stdout] 686 | (Py_TYPE(op) == (*PyDateTimeAPI()).DeltaType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:692:5 [INFO] [stdout] | [INFO] [stdout] 692 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).TZInfoType) 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/datetime.rs:691:1 [INFO] [stdout] | [INFO] [stdout] 691 | pub unsafe fn PyTZInfo_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:692:28 [INFO] [stdout] | [INFO] [stdout] 692 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).TZInfoType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:692:30 [INFO] [stdout] | [INFO] [stdout] 692 | PyObject_TypeCheck(op, (*PyDateTimeAPI()).TZInfoType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:698:6 [INFO] [stdout] | [INFO] [stdout] 698 | (Py_TYPE(op) == (*PyDateTimeAPI()).TZInfoType) 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/datetime.rs:697:1 [INFO] [stdout] | [INFO] [stdout] 697 | pub unsafe fn PyTZInfo_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | (Py_TYPE(op) == (*PyDateTimeAPI()).TZInfoType) as c_int [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:698:23 [INFO] [stdout] | [INFO] [stdout] 698 | (Py_TYPE(op) == (*PyDateTimeAPI()).TZInfoType) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 709 | ((*PyDateTimeAPI()).TimeZone_FromTimeZone)(offset, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/datetime.rs:708:1 [INFO] [stdout] | [INFO] [stdout] 708 | pub unsafe fn PyTimeZone_FromOffset(offset: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:709:6 [INFO] [stdout] | [INFO] [stdout] 709 | ((*PyDateTimeAPI()).TimeZone_FromTimeZone)(offset, std::ptr::null_mut()) [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:709:8 [INFO] [stdout] | [INFO] [stdout] 709 | ((*PyDateTimeAPI()).TimeZone_FromTimeZone)(offset, 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 is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:716:5 [INFO] [stdout] | [INFO] [stdout] 716 | ((*PyDateTimeAPI()).TimeZone_FromTimeZone)(offset, name) [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/datetime.rs:712:1 [INFO] [stdout] | [INFO] [stdout] 712 | / pub unsafe fn PyTimeZone_FromOffsetAndName( [INFO] [stdout] 713 | | offset: *mut PyObject, [INFO] [stdout] 714 | | name: *mut PyObject, [INFO] [stdout] 715 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:716:6 [INFO] [stdout] | [INFO] [stdout] 716 | ((*PyDateTimeAPI()).TimeZone_FromTimeZone)(offset, name) [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:716:8 [INFO] [stdout] | [INFO] [stdout] 716 | ((*PyDateTimeAPI()).TimeZone_FromTimeZone)(offset, name) [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/datetime.rs:721:13 [INFO] [stdout] | [INFO] [stdout] 721 | let f = (*PyDateTimeAPI()).DateTime_FromTimestamp; [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/datetime.rs:720:1 [INFO] [stdout] | [INFO] [stdout] 720 | pub unsafe fn PyDateTime_FromTimestamp(args: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | let f = (*PyDateTimeAPI()).DateTime_FromTimestamp; [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/datetime.rs:722:5 [INFO] [stdout] | [INFO] [stdout] 722 | f((*PyDateTimeAPI()).DateTimeType, args, 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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:722:7 [INFO] [stdout] | [INFO] [stdout] 722 | f((*PyDateTimeAPI()).DateTimeType, args, std::ptr::null_mut()) [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | f((*PyDateTimeAPI()).DateTimeType, args, 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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:727:13 [INFO] [stdout] | [INFO] [stdout] 727 | let f = (*PyDateTimeAPI()).Date_FromTimestamp; [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/datetime.rs:726:1 [INFO] [stdout] | [INFO] [stdout] 726 | pub unsafe fn PyDate_FromTimestamp(args: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:727:15 [INFO] [stdout] | [INFO] [stdout] 727 | let f = (*PyDateTimeAPI()).Date_FromTimestamp; [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/datetime.rs:728:5 [INFO] [stdout] | [INFO] [stdout] 728 | f((*PyDateTimeAPI()).DateType, args) [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/datetime.rs:728:7 [INFO] [stdout] | [INFO] [stdout] 728 | f((*PyDateTimeAPI()).DateType, args) [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 `datetime::PyDateTimeAPI` is unsafe and requires unsafe block [INFO] [stdout] --> src/datetime.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | f((*PyDateTimeAPI()).DateType, args) [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 `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/dictobject.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS) [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/dictobject.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub unsafe fn PyDict_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/dictobject.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS) [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/dictobject.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | (Py_TYPE(op) == addr_of_mut!(PyDict_Type)) 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/dictobject.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub unsafe fn PyDict_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/dictobject.rs:87:6 [INFO] [stdout] | [INFO] [stdout] 87 | (Py_TYPE(op) == addr_of_mut!(PyDictKeys_Type)) 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/dictobject.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | pub unsafe fn PyDictKeys_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/dictobject.rs:92:6 [INFO] [stdout] | [INFO] [stdout] 92 | (Py_TYPE(op) == addr_of_mut!(PyDictValues_Type)) 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/dictobject.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | pub unsafe fn PyDictValues_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/dictobject.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | (Py_TYPE(op) == addr_of_mut!(PyDictItems_Type)) 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/dictobject.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub unsafe fn PyDictItems_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `dictobject::PyDictKeys_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/dictobject.rs:102:6 [INFO] [stdout] | [INFO] [stdout] 102 | (PyDictKeys_Check(op) != 0 || PyDictItems_Check(op) != 0) 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/dictobject.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | pub unsafe fn PyDictViewSet_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `dictobject::PyDictItems_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/dictobject.rs:102:35 [INFO] [stdout] | [INFO] [stdout] 102 | (PyDictKeys_Check(op) != 0 || PyDictItems_Check(op) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/floatobject.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | PyObject_TypeCheck(op, addr_of_mut!(PyFloat_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/floatobject.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn PyFloat_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/floatobject.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | (Py_TYPE(op) == addr_of_mut!(PyFloat_Type)) 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/floatobject.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn PyFloat_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `import::PyImport_ImportModuleLevel` is unsafe and requires unsafe block [INFO] [stdout] --> src/import.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | PyImport_ImportModuleLevel(name, globals, locals, fromlist, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/import.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / pub unsafe fn PyImport_ImportModuleEx( [INFO] [stdout] 57 | | name: *const c_char, [INFO] [stdout] 58 | | globals: *mut PyObject, [INFO] [stdout] 59 | | locals: *mut PyObject, [INFO] [stdout] 60 | | fromlist: *mut PyObject, [INFO] [stdout] 61 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterobject.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 13 | (Py_TYPE(op) == addr_of_mut!(PySeqIter_Type)) 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/iterobject.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub unsafe fn PySeqIter_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/iterobject.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | (Py_TYPE(op) == addr_of_mut!(PyCallIter_Type)) 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/iterobject.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub unsafe fn PyCallIter_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/listobject.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS) [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/listobject.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub unsafe fn PyList_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/listobject.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS) [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/listobject.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | (Py_TYPE(op) == addr_of_mut!(PyList_Type)) 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/listobject.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn PyList_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/longobject.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS) [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/longobject.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn PyLong_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/longobject.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS) [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/longobject.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | (Py_TYPE(op) == addr_of_mut!(PyLong_Type)) 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/longobject.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn PyLong_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/memoryobject.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | (Py_TYPE(op) == addr_of_mut!(PyMemoryView_Type)) 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/memoryobject.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn PyMemoryView_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/methodobject.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | (Py_TYPE(op) == ptr::addr_of_mut!(PyCFunction_Type)) 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/methodobject.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn PyCFunction_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/methodobject.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | PyObject_TypeCheck(op, ptr::addr_of_mut!(PyCFunction_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/methodobject.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe fn PyCFunction_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `methodobject::PyCFunction_NewEx` is unsafe and requires unsafe block [INFO] [stdout] --> src/methodobject.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | PyCFunction_NewEx(ml, slf, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/methodobject.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | pub unsafe fn PyCFunction_New(ml: *mut PyMethodDef, slf: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `methodobject::PyCMethod_New` is unsafe and requires unsafe block [INFO] [stdout] --> src/methodobject.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | PyCMethod_New(ml, slf, module, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/methodobject.rs:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | / pub unsafe fn PyCFunction_NewEx( [INFO] [stdout] 214 | | ml: *mut PyMethodDef, [INFO] [stdout] 215 | | slf: *mut PyObject, [INFO] [stdout] 216 | | module: *mut PyObject, [INFO] [stdout] 217 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `modsupport::PyModule_Create2` is unsafe and requires unsafe block [INFO] [stdout] --> src/modsupport.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / PyModule_Create2( [INFO] [stdout] 124 | | module, [INFO] [stdout] 125 | | if cfg!(Py_LIMITED_API) { [INFO] [stdout] 126 | | PYTHON_ABI_VERSION [INFO] [stdout] ... | [INFO] [stdout] 129 | | }, [INFO] [stdout] 130 | | ) [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/modsupport.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub unsafe fn PyModule_Create(module: *mut PyModuleDef) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `modsupport::PyModule_FromDefAndSpec2` is unsafe and requires unsafe block [INFO] [stdout] --> src/modsupport.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / PyModule_FromDefAndSpec2( [INFO] [stdout] 136 | | def, [INFO] [stdout] 137 | | spec, [INFO] [stdout] 138 | | if cfg!(Py_LIMITED_API) { [INFO] [stdout] ... | [INFO] [stdout] 142 | | }, [INFO] [stdout] 143 | | ) [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/modsupport.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | pub unsafe fn PyModule_FromDefAndSpec(def: *mut PyModuleDef, spec: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/moduleobject.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | PyObject_TypeCheck(op, addr_of_mut!(PyModule_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/moduleobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn PyModule_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/moduleobject.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | (Py_TYPE(op) == addr_of_mut!(PyModule_Type)) 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/moduleobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn PyModule_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | return (*ob).ob_refcnt; [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/object.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | pub unsafe fn Py_REFCNT(ob: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | return (*ob).ob_type; [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/object.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe fn Py_TYPE(ob: *mut PyObject) -> *mut PyTypeObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | debug_assert_ne!((*ob).ob_type, std::ptr::addr_of_mut!(crate::PyLong_Type)); [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/object.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | pub unsafe fn Py_SIZE(ob: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | debug_assert_ne!((*ob).ob_type, std::ptr::addr_of_mut!(crate::PyBool_Type)); [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/object.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | (*ob.cast::()).ob_size [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:133:6 [INFO] [stdout] | [INFO] [stdout] 133 | (Py_TYPE(ob) == tp) 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/object.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | pub unsafe fn Py_IS_TYPE(ob: *mut PyObject, tp: *mut PyTypeObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:295:6 [INFO] [stdout] | [INFO] [stdout] 295 | (Py_TYPE(ob) == tp || PyType_IsSubtype(Py_TYPE(ob), tp) != 0) 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/object.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | pub unsafe fn PyObject_TypeCheck(ob: *mut PyObject, tp: *mut PyTypeObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_IsSubtype` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | (Py_TYPE(ob) == tp || PyType_IsSubtype(Py_TYPE(ob), tp) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:295:44 [INFO] [stdout] | [INFO] [stdout] 295 | (Py_TYPE(ob) == tp || PyType_IsSubtype(Py_TYPE(ob), tp) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | (*op).ob_refcnt += 1 [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/object.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | pub unsafe fn Py_INCREF(op: *mut PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | (*op).ob_refcnt -= 1; [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/object.rs:561:1 [INFO] [stdout] | [INFO] [stdout] 561 | pub unsafe fn Py_DECREF(op: *mut PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:619:16 [INFO] [stdout] | [INFO] [stdout] 619 | if (*op).ob_refcnt == 0 { [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 `object::_Py_Dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:620:17 [INFO] [stdout] | [INFO] [stdout] 620 | _Py_Dealloc(op); [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/object.rs:628:15 [INFO] [stdout] | [INFO] [stdout] 628 | let tmp = *op; [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/object.rs:627:1 [INFO] [stdout] | [INFO] [stdout] 627 | pub unsafe fn Py_CLEAR(op: *mut *mut PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | *op = ptr::null_mut(); [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 `object::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | Py_DECREF(tmp); [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 `object::Py_INCREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | Py_INCREF(op) [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/object.rs:636:1 [INFO] [stdout] | [INFO] [stdout] 636 | pub unsafe fn Py_XINCREF(op: *mut PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_DECREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | Py_DECREF(op) [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/object.rs:643:1 [INFO] [stdout] | [INFO] [stdout] 643 | pub unsafe fn Py_XDECREF(op: *mut PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_INCREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 667 | Py_INCREF(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/object.rs:666:1 [INFO] [stdout] | [INFO] [stdout] 666 | pub unsafe fn Py_NewRef(obj: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_XINCREF` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 675 | Py_XINCREF(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/object.rs:674:1 [INFO] [stdout] | [INFO] [stdout] 674 | pub unsafe fn Py_XNewRef(obj: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_Is` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | Py_Is(x, Py_None()) [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/object.rs:698:1 [INFO] [stdout] | [INFO] [stdout] 698 | pub unsafe fn Py_IsNone(x: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_None` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:699:14 [INFO] [stdout] | [INFO] [stdout] 699 | Py_Is(x, Py_None()) [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/object.rs:752:7 [INFO] [stdout] | [INFO] [stdout] 752 | (((*t).tp_flags & f) != 0) as c_int [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/object.rs:751:1 [INFO] [stdout] | [INFO] [stdout] 751 | pub unsafe fn PyType_HasFeature(t: *mut PyTypeObject, f: c_ulong) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_HasFeature` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | PyType_HasFeature(t, f) [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/object.rs:756:1 [INFO] [stdout] | [INFO] [stdout] 756 | pub unsafe fn PyType_FastSubclass(t: *mut PyTypeObject, f: c_ulong) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:762:5 [INFO] [stdout] | [INFO] [stdout] 762 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS) [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/object.rs:761:1 [INFO] [stdout] | [INFO] [stdout] 761 | pub unsafe fn PyType_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:762:25 [INFO] [stdout] | [INFO] [stdout] 762 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TYPE_SUBCLASS) [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 `object::Py_IS_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/object.rs:767:5 [INFO] [stdout] | [INFO] [stdout] 767 | Py_IS_TYPE(op, ptr::addr_of_mut!(PyType_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/object.rs:766:1 [INFO] [stdout] | [INFO] [stdout] 766 | pub unsafe fn PyType_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_HasFeature` is unsafe and requires unsafe block [INFO] [stdout] --> src/objimpl.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | PyType_HasFeature(t, Py_TPFLAGS_HAVE_GC) [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/objimpl.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn PyType_IS_GC(t: *mut PyTypeObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/pycapsule.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | (Py_TYPE(ob) == addr_of_mut!(PyCapsule_Type)) 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/pycapsule.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn PyCapsule_CheckExact(ob: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyerrors.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | (PyType_Check(x) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyerrors.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn PyExceptionClass_Check(x: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyerrors.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | && PyType_FastSubclass(x as *mut PyTypeObject, Py_TPFLAGS_BASE_EXC_SUBCLASS) != 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 `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyerrors.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS) [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/pyerrors.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub unsafe fn PyExceptionInstance_Check(x: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyerrors.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 83 | PyType_FastSubclass(Py_TYPE(x), Py_TPFLAGS_BASE_EXC_SUBCLASS) [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/pyerrors.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | Py_TYPE(x) as *mut 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/pyerrors.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub unsafe fn PyExceptionInstance_Class(x: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pystate::PyThreadState_Get` is unsafe and requires unsafe block [INFO] [stdout] --> src/pystate.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | PyThreadState_Get() [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/pystate.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub unsafe fn PyThreadState_GET() -> *mut PyThreadState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/rangeobject.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | (Py_TYPE(op) == addr_of_mut!(PyRange_Type)) 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/rangeobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn PyRange_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `setobject::PyAnySet_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | debug_assert_eq!(PyAnySet_Check(so), 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/setobject.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub unsafe fn PySet_GET_SIZE(so: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | (*so).used [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | (Py_TYPE(ob) == addr_of_mut!(PyFrozenSet_Type)) 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/setobject.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | pub unsafe fn PyFrozenSet_CheckExact(ob: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 109 | (Py_TYPE(ob) == addr_of_mut!(PyFrozenSet_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/setobject.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | pub unsafe fn PyFrozenSet_Check(ob: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_IsSubtype` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | || PyType_IsSubtype(Py_TYPE(ob), addr_of_mut!(PyFrozenSet_Type)) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | || PyType_IsSubtype(Py_TYPE(ob), addr_of_mut!(PyFrozenSet_Type)) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:122:6 [INFO] [stdout] | [INFO] [stdout] 122 | (Py_TYPE(ob) == addr_of_mut!(PySet_Type) || Py_TYPE(ob) == addr_of_mut!(PyFrozenSet_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/setobject.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | pub unsafe fn PyAnySet_CheckExact(ob: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | (Py_TYPE(ob) == addr_of_mut!(PySet_Type) || Py_TYPE(ob) == addr_of_mut!(PyFrozenSet_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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `setobject::PyAnySet_CheckExact` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:128:6 [INFO] [stdout] | [INFO] [stdout] 128 | (PyAnySet_CheckExact(ob) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/setobject.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | pub unsafe fn PyAnySet_Check(ob: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_IsSubtype` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | || PyType_IsSubtype(Py_TYPE(ob), addr_of_mut!(PySet_Type)) != 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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | || PyType_IsSubtype(Py_TYPE(ob), addr_of_mut!(PySet_Type)) != 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 `object::PyType_IsSubtype` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | || PyType_IsSubtype(Py_TYPE(ob), addr_of_mut!(PyFrozenSet_Type)) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | || PyType_IsSubtype(Py_TYPE(ob), addr_of_mut!(PyFrozenSet_Type)) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_IS_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | crate::Py_IS_TYPE(op, addr_of_mut!(PySet_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/setobject.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | pub unsafe fn PySet_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:148:6 [INFO] [stdout] | [INFO] [stdout] 148 | (Py_TYPE(ob) == addr_of_mut!(PySet_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/setobject.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | pub unsafe fn PySet_Check(ob: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_IsSubtype` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | || PyType_IsSubtype(Py_TYPE(ob), addr_of_mut!(PySet_Type)) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/setobject.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | || PyType_IsSubtype(Py_TYPE(ob), addr_of_mut!(PySet_Type)) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/sliceobject.rs:45:6 [INFO] [stdout] | [INFO] [stdout] 45 | (Py_TYPE(op) == addr_of_mut!(PySlice_Type)) 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/sliceobject.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub unsafe fn PySlice_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sliceobject::PySlice_Unpack` is unsafe and requires unsafe block [INFO] [stdout] --> src/sliceobject.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | if PySlice_Unpack(slice, start, stop, step) < 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/sliceobject.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / pub unsafe fn PySlice_GetIndicesEx( [INFO] [stdout] 71 | | slice: *mut PyObject, [INFO] [stdout] 72 | | length: Py_ssize_t, [INFO] [stdout] 73 | | start: *mut Py_ssize_t, [INFO] [stdout] ... | [INFO] [stdout] 76 | | slicelength: *mut Py_ssize_t, [INFO] [stdout] 77 | | ) -> c_int { [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/sliceobject.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | *slicelength = 0; [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/sliceobject.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | *slicelength = PySlice_AdjustIndices(length, start, stop, *step); [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 `sliceobject::PySlice_AdjustIndices` is unsafe and requires unsafe block [INFO] [stdout] --> src/sliceobject.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 82 | *slicelength = PySlice_AdjustIndices(length, start, stop, *step); [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/sliceobject.rs:82:67 [INFO] [stdout] | [INFO] [stdout] 82 | *slicelength = PySlice_AdjustIndices(length, start, stop, *step); [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 `cpython::tupleobject::PyTuple_SET_ITEM` is unsafe and requires unsafe block [INFO] [stdout] --> src/structseq.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | crate::PyTuple_SET_ITEM(op, i, v) [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/structseq.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub unsafe fn PyStructSequence_SET_ITEM(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::tupleobject::PyTuple_GET_ITEM` is unsafe and requires unsafe block [INFO] [stdout] --> src/structseq.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | crate::PyTuple_GET_ITEM(op, i) [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/structseq.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub unsafe fn PyStructSequence_GET_ITEM(op: *mut PyObject, i: Py_ssize_t) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/traceback.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | (Py_TYPE(op) == addr_of_mut!(PyTraceBack_Type)) 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/traceback.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn PyTraceBack_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/tupleobject.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS) [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/tupleobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn PyTuple_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/tupleobject.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS) [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/tupleobject.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | (Py_TYPE(op) == addr_of_mut!(PyTuple_Type)) 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/tupleobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn PyTuple_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_FastSubclass` is unsafe and requires unsafe block [INFO] [stdout] --> src/unicodeobject.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS) [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/unicodeobject.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub unsafe fn PyUnicode_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/unicodeobject.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS) [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/unicodeobject.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | (Py_TYPE(op) == addr_of_mut!(PyUnicode_Type)) 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/unicodeobject.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub unsafe fn PyUnicode_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/weakrefobject.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | PyObject_TypeCheck(op, addr_of_mut!(_PyWeakref_RefType)) [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/weakrefobject.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn PyWeakref_CheckRef(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/weakrefobject.rs:40:6 [INFO] [stdout] | [INFO] [stdout] 40 | (Py_TYPE(op) == addr_of_mut!(_PyWeakref_RefType)) 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/weakrefobject.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub unsafe fn PyWeakref_CheckRefExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/weakrefobject.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | ((Py_TYPE(op) == addr_of_mut!(_PyWeakref_ProxyType)) [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/weakrefobject.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn PyWeakref_CheckProxy(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/weakrefobject.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | || (Py_TYPE(op) == addr_of_mut!(_PyWeakref_CallableProxyType))) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `weakrefobject::PyWeakref_CheckRef` is unsafe and requires unsafe block [INFO] [stdout] --> src/weakrefobject.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | (PyWeakref_CheckRef(op) != 0 || PyWeakref_CheckProxy(op) != 0) 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/weakrefobject.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | pub unsafe fn PyWeakref_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `weakrefobject::PyWeakref_CheckProxy` is unsafe and requires unsafe block [INFO] [stdout] --> src/weakrefobject.rs:52:37 [INFO] [stdout] | [INFO] [stdout] 52 | (PyWeakref_CheckRef(op) != 0 || PyWeakref_CheckProxy(op) != 0) 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | let tp = crate::Py_TYPE(callable); [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/cpython/abstract_.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe fn PyVectorcall_Function(callable: *mut PyObject) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyType_HasFeature` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | if PyType_HasFeature(tp, Py_TPFLAGS_HAVE_VECTORCALL) == 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 `object::PyCallable_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | assert!(PyCallable_Check(callable) > 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/cpython/abstract_.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | let offset = (*tp).tp_vectorcall_offset; [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 `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | let ptr = callable.cast::().offset(offset).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/cpython/abstract_.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | *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 `tupleobject::PyTuple_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:77:34 [INFO] [stdout] | [INFO] [stdout] 77 | assert!(kwnames.is_null() || PyTuple_Check(kwnames) > 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/abstract_.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / pub unsafe fn _PyObject_VectorcallTstate( [INFO] [stdout] 71 | | tstate: *mut PyThreadState, [INFO] [stdout] 72 | | callable: *mut PyObject, [INFO] [stdout] 73 | | args: *const *mut PyObject, [INFO] [stdout] 74 | | nargsf: size_t, [INFO] [stdout] 75 | | kwnames: *mut PyObject, [INFO] [stdout] 76 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::abstract_::PyVectorcall_NARGS` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(!args.is_null() || PyVectorcall_NARGS(nargsf) == 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 `cpython::abstract_::PyVectorcall_Function` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:80:11 [INFO] [stdout] | [INFO] [stdout] 80 | match PyVectorcall_Function(callable) { [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 `cpython::abstract_::PyVectorcall_NARGS` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let nargs = PyVectorcall_NARGS(nargsf); [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 `cpython::abstract_::_PyObject_MakeTpCall` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | _PyObject_MakeTpCall(tstate, callable, args, nargs, kwnames) [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/cpython/abstract_.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | let res = func(callable, args, nargsf, kwnames); [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 `cpython::abstract_::_Py_CheckFunctionResult` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | _Py_CheckFunctionResult(tstate, callable, res, 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 `cpython::abstract_::_PyObject_VectorcallTstate` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | _PyObject_VectorcallTstate(PyThreadState_GET(), callable, args, nargsf, kwnames) [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/cpython/abstract_.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / pub unsafe fn PyObject_Vectorcall( [INFO] [stdout] 95 | | callable: *mut PyObject, [INFO] [stdout] 96 | | args: *const *mut PyObject, [INFO] [stdout] 97 | | nargsf: size_t, [INFO] [stdout] 98 | | kwnames: *mut PyObject, [INFO] [stdout] 99 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pystate::PyThreadState_GET` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | _PyObject_VectorcallTstate(PyThreadState_GET(), callable, args, nargsf, kwnames) [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 `cpython::abstract_::_PyObject_VectorcallTstate` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | _PyObject_VectorcallTstate(tstate, func, args, nargs as size_t, 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/abstract_.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / pub unsafe fn _PyObject_FastCallTstate( [INFO] [stdout] 141 | | tstate: *mut PyThreadState, [INFO] [stdout] 142 | | func: *mut PyObject, [INFO] [stdout] 143 | | args: *const *mut PyObject, [INFO] [stdout] 144 | | nargs: Py_ssize_t, [INFO] [stdout] 145 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::abstract_::_PyObject_FastCallTstate` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | _PyObject_FastCallTstate(PyThreadState_GET(), func, args, nargs) [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/cpython/abstract_.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | / pub unsafe fn _PyObject_FastCall( [INFO] [stdout] 152 | | func: *mut PyObject, [INFO] [stdout] 153 | | args: *const *mut PyObject, [INFO] [stdout] 154 | | nargs: Py_ssize_t, [INFO] [stdout] 155 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pystate::PyThreadState_GET` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | _PyObject_FastCallTstate(PyThreadState_GET(), func, args, nargs) [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 `cpython::abstract_::_PyObject_VectorcallTstate` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | / _PyObject_VectorcallTstate( [INFO] [stdout] 163 | | PyThreadState_GET(), [INFO] [stdout] 164 | | func, [INFO] [stdout] 165 | | std::ptr::null_mut(), [INFO] [stdout] 166 | | 0, [INFO] [stdout] 167 | | std::ptr::null_mut(), [INFO] [stdout] 168 | | ) [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/cpython/abstract_.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 161 | pub unsafe fn _PyObject_CallNoArg(func: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pystate::PyThreadState_GET` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | PyThreadState_GET(), [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/cpython/abstract_.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | let args = args_array.as_ptr().offset(1); // For PY_VECTORCALL_ARGUMENTS_OFFSET [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/cpython/abstract_.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | pub unsafe fn PyObject_CallOneArg(func: *mut PyObject, arg: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pystate::PyThreadState_GET` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | let tstate = PyThreadState_GET(); [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 `cpython::abstract_::_PyObject_VectorcallTstate` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | _PyObject_VectorcallTstate(tstate, func, args, nargsf, 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 `cpython::abstract_::PyObject_VectorcallMethod` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | / PyObject_VectorcallMethod( [INFO] [stdout] 205 | | name, [INFO] [stdout] 206 | | &self_, [INFO] [stdout] 207 | | 1 | PY_VECTORCALL_ARGUMENTS_OFFSET, [INFO] [stdout] 208 | | std::ptr::null_mut(), [INFO] [stdout] 209 | | ) [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/cpython/abstract_.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | / pub unsafe fn PyObject_CallMethodNoArgs( [INFO] [stdout] 201 | | self_: *mut PyObject, [INFO] [stdout] 202 | | name: *mut PyObject, [INFO] [stdout] 203 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::abstract_::PyObject_VectorcallMethod` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/abstract_.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / PyObject_VectorcallMethod( [INFO] [stdout] 222 | | name, [INFO] [stdout] 223 | | args.as_ptr(), [INFO] [stdout] 224 | | 2 | PY_VECTORCALL_ARGUMENTS_OFFSET, [INFO] [stdout] 225 | | std::ptr::null_mut(), [INFO] [stdout] 226 | | ) [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/cpython/abstract_.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 214 | / pub unsafe fn PyObject_CallMethodOneArg( [INFO] [stdout] 215 | | self_: *mut PyObject, [INFO] [stdout] 216 | | name: *mut PyObject, [INFO] [stdout] 217 | | arg: *mut PyObject, [INFO] [stdout] 218 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/code.rs:251:6 [INFO] [stdout] | [INFO] [stdout] 251 | (Py_TYPE(op) == addr_of_mut!(PyCode_Type)) 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/cpython/code.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | pub unsafe fn PyCode_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::tupleobject::PyTuple_GET_SIZE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/code.rs:257:5 [INFO] [stdout] | [INFO] [stdout] 257 | crate::PyTuple_GET_SIZE((*op).co_freevars) [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/cpython/code.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | pub unsafe fn PyCode_GetNumFree(op: *mut PyCodeObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/code.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | crate::PyTuple_GET_SIZE((*op).co_freevars) [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/frameobject.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | (Py_TYPE(op) == addr_of_mut!(PyFrame_Type)) 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/cpython/frameobject.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub unsafe fn PyFrame_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/funcobject.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | (crate::Py_TYPE(op) == addr_of_mut!(PyFunction_Type)) 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/cpython/funcobject.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | pub unsafe fn PyFunction_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/genobject.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | PyObject_TypeCheck(op, addr_of_mut!(PyGen_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/cpython/genobject.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe fn PyGen_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/genobject.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | (Py_TYPE(op) == addr_of_mut!(PyGen_Type)) 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/cpython/genobject.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub unsafe fn PyGen_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/genobject.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | PyObject_TypeCheck(op, addr_of_mut!(PyCoro_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/cpython/genobject.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | pub unsafe fn PyCoro_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/genobject.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | PyObject_TypeCheck(op, addr_of_mut!(PyAsyncGen_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/cpython/genobject.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | pub unsafe fn PyAsyncGen_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/listobject.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | *(*(op as *mut PyListObject)).ob_item.offset(i) [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/cpython/listobject.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub unsafe fn PyList_GET_ITEM(op: *mut PyObject, i: Py_ssize_t) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/listobject.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | *(*(op as *mut PyListObject)).ob_item.offset(i) [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/cpython/listobject.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | *(*(op as *mut PyListObject)).ob_item.offset(i) [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/cpython/listobject.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | *(*(op as *mut PyListObject)).ob_item.offset(i) = v; [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/cpython/listobject.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe fn PyList_SET_ITEM(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/listobject.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | *(*(op as *mut PyListObject)).ob_item.offset(i) = v; [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/cpython/listobject.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | *(*(op as *mut PyListObject)).ob_item.offset(i) = v; [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 `object::Py_SIZE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/listobject.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Py_SIZE(op) [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/cpython/listobject.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub unsafe fn PyList_GET_SIZE(op: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | (Py_TYPE(op) == addr_of_mut!(PyCMethod_Type)) 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/cpython/methodobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub unsafe fn PyCMethod_CheckExact(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::PyObject_TypeCheck` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | PyObject_TypeCheck(op, addr_of_mut!(PyCMethod_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/cpython/methodobject.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub unsafe fn PyCMethod_Check(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::methodobject::PyCMethod_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | debug_assert_eq!(PyCMethod_Check(func), 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/methodobject.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn PyCFunction_GET_FUNCTION(func: *mut PyObject) -> PyMethodDefPointer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | (*(*func).m_ml).ml_meth [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/cpython/methodobject.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | (*(*func).m_ml).ml_meth [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 `cpython::methodobject::PyCMethod_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | debug_assert_eq!(PyCMethod_Check(func), 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/methodobject.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub unsafe fn PyCFunction_GET_SELF(func: *mut PyObject) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | if (*(*func).m_ml).ml_flags & METH_STATIC != 0 { [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/cpython/methodobject.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | if (*(*func).m_ml).ml_flags & METH_STATIC != 0 { [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/cpython/methodobject.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | (*func).m_self [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 `cpython::methodobject::PyCMethod_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | debug_assert_eq!(PyCMethod_Check(func), 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/methodobject.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub unsafe fn PyCFunction_GET_FLAGS(func: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | (*(*func).m_ml).ml_flags [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/cpython/methodobject.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | (*(*func).m_ml).ml_flags [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 `cpython::methodobject::PyCMethod_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | debug_assert_eq!(PyCMethod_Check(func), 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/methodobject.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn PyCFunction_GET_CLASS(func: *mut PyObject) -> *mut PyTypeObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/methodobject.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | if (*(*func).m_ml).ml_flags & METH_METHOD != 0 { [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/cpython/methodobject.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | if (*(*func).m_ml).ml_flags & METH_METHOD != 0 { [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/cpython/methodobject.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | (*func).mm_class [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 `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/object.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | let py_type = object::Py_TYPE(etype as *mut object::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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/object.rs:333:1 [INFO] [stdout] | [INFO] [stdout] 333 | pub unsafe fn PyHeapType_GET_MEMBERS(etype: *mut PyHeapTypeObject) -> *mut PyMemberDef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/object.rs:335:15 [INFO] [stdout] | [INFO] [stdout] 335 | let ptr = etype.offset((*py_type).tp_basicsize); [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/cpython/object.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | let ptr = etype.offset((*py_type).tp_basicsize); [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/cpython/objimpl.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | ((*t).tp_weaklistoffset > 0) as c_int [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/cpython/objimpl.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub unsafe fn PyType_SUPPORTS_WEAKREFS(t: *mut PyTypeObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/objimpl.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let weaklistoffset = (*Py_TYPE(o)).tp_weaklistoffset; [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/cpython/objimpl.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub unsafe fn PyObject_GET_WEAKREFS_LISTPTR(o: *mut PyObject) -> *mut *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `object::Py_TYPE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/objimpl.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let weaklistoffset = (*Py_TYPE(o)).tp_weaklistoffset; [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::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/objimpl.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | o.offset(weaklistoffset) as *mut *mut 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]: use of mutable static is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/pydebug.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | if Py_IgnoreEnvironmentFlag != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: mutable statics can be mutated by multiple threads: aliasing violations or data races will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/pydebug.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe fn Py_GETENV(name: *const c_char) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::getenv` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/pydebug.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | libc::getenv(name) [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 `cpython::pythonrun::Py_CompileStringExFlags` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/pythonrun.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | Py_CompileStringExFlags(string, p, s, std::ptr::null_mut(), -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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/pythonrun.rs:139:1 [INFO] [stdout] | [INFO] [stdout] 139 | pub unsafe fn Py_CompileString(string: *const c_char, p: *const c_char, s: c_int) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::pythonrun::Py_CompileStringExFlags` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/pythonrun.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | Py_CompileStringExFlags(string, p, s, f, -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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/pythonrun.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | / pub unsafe fn Py_CompileStringFlags( [INFO] [stdout] 146 | | string: *const c_char, [INFO] [stdout] 147 | | p: *const c_char, [INFO] [stdout] 148 | | s: c_int, [INFO] [stdout] 149 | | f: *mut PyCompilerFlags, [INFO] [stdout] 150 | | ) -> *mut PyObject { [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `floatobject::PyFloat_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/floatobject.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | debug_assert_eq!(PyFloat_Check(op), 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/floatobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn _PyFloat_CAST(op: *mut PyObject) -> *mut PyFloatObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/floatobject.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | return (*_PyFloat_CAST(op)).ob_fval; [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/cpython/floatobject.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub unsafe fn PyFloat_AS_DOUBLE(op: *mut PyObject) -> c_double { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::floatobject::_PyFloat_CAST` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/floatobject.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | return (*_PyFloat_CAST(op)).ob_fval; [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 `object::Py_SIZE` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/tupleobject.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Py_SIZE(op) [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/cpython/tupleobject.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn PyTuple_GET_SIZE(op: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/tupleobject.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | *(*(op as *mut PyTupleObject)).ob_item.as_ptr().offset(i) [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/cpython/tupleobject.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub unsafe fn PyTuple_GET_ITEM(op: *mut PyObject, i: Py_ssize_t) -> *mut PyObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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/cpython/tupleobject.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | *(*(op as *mut PyTupleObject)).ob_item.as_ptr().offset(i) [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/cpython/tupleobject.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | *(*(op as *mut PyTupleObject)).ob_item.as_ptr().offset(i) [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/cpython/tupleobject.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | *(*(op as *mut PyTupleObject)).ob_item.as_mut_ptr().offset(i) = v; [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/cpython/tupleobject.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub unsafe fn PyTuple_SET_ITEM(op: *mut PyObject, i: Py_ssize_t, v: *mut PyObject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/tupleobject.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | *(*(op as *mut PyTupleObject)).ob_item.as_mut_ptr().offset(i) = v; [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/cpython/tupleobject.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | *(*(op as *mut PyTupleObject)).ob_item.as_mut_ptr().offset(i) = v; [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 `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / std::mem::transmute( [INFO] [stdout] 171 | | self.bitfield [INFO] [stdout] 172 | | .get(STATE_INTERNED_INDEX, STATE_INTERNED_WIDTH) as u32, [INFO] [stdout] 173 | | ) [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/cpython/unicodeobject.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | unsafe fn interned(&self) -> c_uint { [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/cpython/unicodeobject.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | let val: u32 = std::mem::transmute(val); [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/cpython/unicodeobject.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | unsafe fn set_interned(&mut self, val: c_uint) { [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/cpython/unicodeobject.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | std::mem::transmute(self.bitfield.get(STATE_KIND_INDEX, STATE_KIND_WIDTH) as 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/cpython/unicodeobject.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | unsafe fn kind(&self) -> c_uint { [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/cpython/unicodeobject.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | let val: u32 = std::mem::transmute(val); [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/cpython/unicodeobject.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | unsafe fn set_kind(&mut self, val: c_uint) { [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/cpython/unicodeobject.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | std::mem::transmute(self.bitfield.get(STATE_COMPACT_INDEX, STATE_COMPACT_WIDTH) as 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/cpython/unicodeobject.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | unsafe fn compact(&self) -> c_uint { [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/cpython/unicodeobject.rs:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | let val: u32 = std::mem::transmute(val); [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/cpython/unicodeobject.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | unsafe fn set_compact(&mut self, val: c_uint) { [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/cpython/unicodeobject.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | std::mem::transmute(self.bitfield.get(STATE_ASCII_INDEX, STATE_ASCII_WIDTH) as 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/cpython/unicodeobject.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | unsafe fn ascii(&self) -> c_uint { [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/cpython/unicodeobject.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | let val: u32 = std::mem::transmute(val); [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/cpython/unicodeobject.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | unsafe fn set_ascii(&mut self, val: c_uint) { [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/cpython/unicodeobject.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | std::mem::transmute(self.bitfield.get(STATE_READY_INDEX, STATE_READY_WIDTH) as 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/cpython/unicodeobject.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe fn ready(&self) -> c_uint { [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/cpython/unicodeobject.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | let val: u32 = std::mem::transmute(val); [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/cpython/unicodeobject.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | unsafe fn set_ready(&mut self, val: c_uint) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::interned` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | PyASCIIObjectState::from(self.state).interned() [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/cpython/unicodeobject.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | pub unsafe fn interned(&self) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::set_interned` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:297:9 [INFO] [stdout] | [INFO] [stdout] 297 | state.set_interned(val); [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/cpython/unicodeobject.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | pub unsafe fn set_interned(&mut self, val: c_uint) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::kind` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | PyASCIIObjectState::from(self.state).kind() [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/cpython/unicodeobject.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 307 | pub unsafe fn kind(&self) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::set_kind` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | state.set_kind(val); [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/cpython/unicodeobject.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | pub unsafe fn set_kind(&mut self, val: c_uint) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::compact` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | PyASCIIObjectState::from(self.state).compact() [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/cpython/unicodeobject.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | pub unsafe fn compact(&self) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::set_compact` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | state.set_compact(val); [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/cpython/unicodeobject.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | pub unsafe fn set_compact(&mut self, val: c_uint) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::ascii` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | PyASCIIObjectState::from(self.state).ascii() [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/cpython/unicodeobject.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | pub unsafe fn ascii(&self) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::set_ascii` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | state.set_ascii(val); [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/cpython/unicodeobject.rs:353:5 [INFO] [stdout] | [INFO] [stdout] 353 | pub unsafe fn set_ascii(&mut self, val: c_uint) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::ready` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | PyASCIIObjectState::from(self.state).ready() [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/cpython/unicodeobject.rs:364:5 [INFO] [stdout] | [INFO] [stdout] 364 | pub unsafe fn ready(&self) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyASCIIObjectState::set_ready` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | state.set_ready(val); [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/cpython/unicodeobject.rs:373:5 [INFO] [stdout] | [INFO] [stdout] 373 | pub unsafe fn set_ready(&mut self, val: c_uint) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `unicodeobject::PyUnicode_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:425:19 [INFO] [stdout] | [INFO] [stdout] 425 | debug_assert!(crate::PyUnicode_Check(op) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/unicodeobject.rs:424:1 [INFO] [stdout] | [INFO] [stdout] 424 | pub unsafe fn PyUnicode_IS_ASCII(op: *mut PyObject) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyUnicode_IS_READY` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:427:19 [INFO] [stdout] | [INFO] [stdout] 427 | debug_assert!(PyUnicode_IS_READY(op) != 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 `cpython::unicodeobject::PyASCIIObject::ascii` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | (*(op as *mut PyASCIIObject)).ascii() [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/cpython/unicodeobject.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | (*(op as *mut PyASCIIObject)).ascii() [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 `cpython::unicodeobject::PyASCIIObject::compact` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | (*(op as *mut PyASCIIObject)).compact() [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/cpython/unicodeobject.rs:434:1 [INFO] [stdout] | [INFO] [stdout] 434 | pub unsafe fn PyUnicode_IS_COMPACT(op: *mut PyObject) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | (*(op as *mut PyASCIIObject)).compact() [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 `cpython::unicodeobject::PyASCIIObject::ascii` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:441:6 [INFO] [stdout] | [INFO] [stdout] 441 | ((*(op as *mut PyASCIIObject)).ascii() != 0 && PyUnicode_IS_COMPACT(op) != 0).into() [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/cpython/unicodeobject.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | pub unsafe fn PyUnicode_IS_COMPACT_ASCII(op: *mut PyObject) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:441:6 [INFO] [stdout] | [INFO] [stdout] 441 | ((*(op as *mut PyASCIIObject)).ascii() != 0 && PyUnicode_IS_COMPACT(op) != 0).into() [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 `cpython::unicodeobject::PyUnicode_IS_COMPACT` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:441:52 [INFO] [stdout] | [INFO] [stdout] 441 | ((*(op as *mut PyASCIIObject)).ascii() != 0 && PyUnicode_IS_COMPACT(op) != 0).into() [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 `cpython::unicodeobject::PyUnicode_DATA` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | PyUnicode_DATA(op) as *mut Py_UCS1 [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/cpython/unicodeobject.rs:454:1 [INFO] [stdout] | [INFO] [stdout] 454 | pub unsafe fn PyUnicode_1BYTE_DATA(op: *mut PyObject) -> *mut Py_UCS1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyUnicode_DATA` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | PyUnicode_DATA(op) as *mut Py_UCS2 [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/cpython/unicodeobject.rs:460:1 [INFO] [stdout] | [INFO] [stdout] 460 | pub unsafe fn PyUnicode_2BYTE_DATA(op: *mut PyObject) -> *mut Py_UCS2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyUnicode_DATA` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | PyUnicode_DATA(op) as *mut Py_UCS4 [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/cpython/unicodeobject.rs:466:1 [INFO] [stdout] | [INFO] [stdout] 466 | pub unsafe fn PyUnicode_4BYTE_DATA(op: *mut PyObject) -> *mut Py_UCS4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `unicodeobject::PyUnicode_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | debug_assert!(crate::PyUnicode_Check(op) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/unicodeobject.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | pub unsafe fn PyUnicode_KIND(op: *mut PyObject) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyUnicode_IS_READY` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 475 | debug_assert!(PyUnicode_IS_READY(op) != 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 `cpython::unicodeobject::PyASCIIObject::kind` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | (*(op as *mut PyASCIIObject)).kind() [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/cpython/unicodeobject.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | (*(op as *mut PyASCIIObject)).kind() [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 `cpython::unicodeobject::PyUnicode_IS_ASCII` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:483:8 [INFO] [stdout] | [INFO] [stdout] 483 | if PyUnicode_IS_ASCII(op) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/unicodeobject.rs:482:1 [INFO] [stdout] | [INFO] [stdout] 482 | pub unsafe fn _PyUnicode_COMPACT_DATA(op: *mut PyObject) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | (op as *mut PyASCIIObject).offset(1) 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 `std::ptr::mut_ptr::::offset` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | (op as *mut PyCompactUnicodeObject).offset(1) 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]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:493:20 [INFO] [stdout] | [INFO] [stdout] 493 | debug_assert!(!(*(op as *mut PyUnicodeObject)).data.any.is_null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/unicodeobject.rs:492:1 [INFO] [stdout] | [INFO] [stdout] 492 | pub unsafe fn _PyUnicode_NONCOMPACT_DATA(op: *mut PyObject) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:493:20 [INFO] [stdout] | [INFO] [stdout] 493 | debug_assert!(!(*(op as *mut PyUnicodeObject)).data.any.is_null()); [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]: access to union field is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | (*(op as *mut PyUnicodeObject)).data.any [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ access to union field [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: the field may not be properly initialized: using uninitialized data will cause undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | (*(op as *mut PyUnicodeObject)).data.any [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 `unicodeobject::PyUnicode_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:501:19 [INFO] [stdout] | [INFO] [stdout] 501 | debug_assert!(crate::PyUnicode_Check(op) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/unicodeobject.rs:500:1 [INFO] [stdout] | [INFO] [stdout] 500 | pub unsafe fn PyUnicode_DATA(op: *mut PyObject) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyUnicode_IS_COMPACT` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:503:8 [INFO] [stdout] | [INFO] [stdout] 503 | if PyUnicode_IS_COMPACT(op) != 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 `cpython::unicodeobject::_PyUnicode_COMPACT_DATA` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:504:9 [INFO] [stdout] | [INFO] [stdout] 504 | _PyUnicode_COMPACT_DATA(op) [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 `cpython::unicodeobject::_PyUnicode_NONCOMPACT_DATA` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:506:9 [INFO] [stdout] | [INFO] [stdout] 506 | _PyUnicode_NONCOMPACT_DATA(op) [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 `unicodeobject::PyUnicode_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:517:19 [INFO] [stdout] | [INFO] [stdout] 517 | debug_assert!(crate::PyUnicode_Check(op) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/unicodeobject.rs:516:1 [INFO] [stdout] | [INFO] [stdout] 516 | pub unsafe fn PyUnicode_GET_LENGTH(op: *mut PyObject) -> Py_ssize_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyUnicode_IS_READY` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | debug_assert!(PyUnicode_IS_READY(op) != 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/cpython/unicodeobject.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | (*(op as *mut PyASCIIObject)).length [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 `cpython::unicodeobject::PyASCIIObject::ready` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | (*(op as *mut PyASCIIObject)).ready() [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/cpython/unicodeobject.rs:533:1 [INFO] [stdout] | [INFO] [stdout] 533 | pub unsafe fn PyUnicode_IS_READY(op: *mut PyObject) -> c_uint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:534:5 [INFO] [stdout] | [INFO] [stdout] 534 | (*(op as *mut PyASCIIObject)).ready() [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 `unicodeobject::PyUnicode_Check` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:546:19 [INFO] [stdout] | [INFO] [stdout] 546 | debug_assert!(crate::PyUnicode_Check(op) != 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] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/cpython/unicodeobject.rs:545:1 [INFO] [stdout] | [INFO] [stdout] 545 | pub unsafe fn PyUnicode_READY(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `cpython::unicodeobject::PyUnicode_IS_READY` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:548:8 [INFO] [stdout] | [INFO] [stdout] 548 | if PyUnicode_IS_READY(op) != 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 `cpython::unicodeobject::_PyUnicode_Ready` is unsafe and requires unsafe block [INFO] [stdout] --> src/cpython/unicodeobject.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | _PyUnicode_Ready(op) [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: 531 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pyo3_ffi` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/datetime.rs [INFO] [stderr] * src/lib.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/lib.rs:267:6 [INFO] [stderr] | [INFO] [stderr] 267 | ($s: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/datetime.rs:158:6 [INFO] [stderr] | [INFO] [stderr] 158 | ($o: expr_2021, $offset: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/datetime.rs:158:21 [INFO] [stderr] | [INFO] [stderr] 158 | ($o: expr_2021, $offset: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/datetime.rs:165:6 [INFO] [stderr] | [INFO] [stderr] 165 | ($o: expr_2021, $offset: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/datetime.rs:165:21 [INFO] [stderr] | [INFO] [stderr] 165 | ($o: expr_2021, $offset: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/datetime.rs:172:6 [INFO] [stderr] | [INFO] [stderr] 172 | ($o: expr_2021, $offset: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/datetime.rs:172:21 [INFO] [stderr] | [INFO] [stderr] 172 | ($o: expr_2021, $offset: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/datetime.rs:179:6 [INFO] [stderr] | [INFO] [stderr] 179 | ($o: expr_2021, $offset: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/datetime.rs:179:21 [INFO] [stderr] | [INFO] [stderr] 179 | ($o: expr_2021, $offset:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | ($s: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] = 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] 267 | ($s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | #[cfg(PyPy)] [INFO] [stdout] 8 | | #[link_name = "PyPyObject_DelAttrString"] [INFO] [stdout] 9 | | pub fn PyObject_DelAttrString(o: *mut PyObject, attr_name: *const c_char) -> c_int; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/datetime.rs:188:6 [INFO] [stderr] | [INFO] [stderr] 188 | ($o: 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/datetime.rs:195:6 [INFO] [stderr] | [INFO] [stderr] 195 | ($o: 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/datetime.rs:307:6 [INFO] [stderr] | [INFO] [stderr] 307 | ($obj:expr_2021, $type: ident, $field: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/datetime.rs:315:6 [INFO] [stderr] | [INFO] [stderr] 315 | ($obj:expr_2021, $field: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: aborting due to 13 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: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | #[cfg(all( [INFO] [stdout] 25 | | not(PyPy), [INFO] [stdout] 26 | | not(GraalPy), [INFO] [stdout] ... | [INFO] [stdout] 83 | | pub fn PyObject_Size(o: *mut PyObject) -> Py_ssize_t; [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 92 | | #[cfg_attr(PyPy, link_name = "PyPyObject_GetItem")] [INFO] [stdout] 93 | | pub fn PyObject_GetItem(o: *mut PyObject, key: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 94 | | #[cfg_attr(PyPy, link_name = "PyPyObject_SetItem")] [INFO] [stdout] ... | [INFO] [stdout] 99 | | pub fn PyObject_DelItem(o: *mut PyObject, key: *mut PyObject) -> c_int; [INFO] [stdout] 100 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 103 | | #[cfg_attr(PyPy, link_name = "PyPyObject_Format")] [INFO] [stdout] 104 | | pub fn PyObject_Format(obj: *mut PyObject, format_spec: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 105 | | #[cfg_attr(PyPy, link_name = "PyPyObject_GetIter")] [INFO] [stdout] 106 | | pub fn PyObject_GetIter(arg1: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 121 | | #[cfg(any(Py_3_8, PyPy))] [INFO] [stdout] 122 | | #[cfg_attr(PyPy, link_name = "PyPyIter_Check")] [INFO] [stdout] 123 | | pub fn PyIter_Check(obj: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 169 | | pub fn PyNumber_Or(o1: *mut PyObject, o2: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 170 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 182 | | #[cfg(any(all(Py_3_8, Py_LIMITED_API), PyPy))] [INFO] [stdout] 183 | | #[link_name = "PyPyIndex_Check"] [INFO] [stdout] 184 | | pub fn PyIndex_Check(o: *mut PyObject) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 233 | | pub fn PySequence_Length(o: *mut PyObject) -> Py_ssize_t; [INFO] [stdout] 234 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 243 | | #[cfg_attr(PyPy, link_name = "PyPySequence_Concat")] [INFO] [stdout] 244 | | pub fn PySequence_Concat(o1: *mut PyObject, o2: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 245 | | #[cfg_attr(PyPy, link_name = "PyPySequence_Repeat")] [INFO] [stdout] ... | [INFO] [stdout] 275 | | pub fn PySequence_Contains(seq: *mut PyObject, ob: *mut PyObject) -> c_int; [INFO] [stdout] 276 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 283 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 284 | | #[cfg_attr(PyPy, link_name = "PyPySequence_Index")] [INFO] [stdout] 285 | | pub fn PySequence_Index(o: *mut PyObject, value: *mut PyObject) -> Py_ssize_t; [INFO] [stdout] 286 | | #[cfg_attr(PyPy, link_name = "PyPySequence_InPlaceConcat")] [INFO] [stdout] ... | [INFO] [stdout] 297 | | pub fn PyMapping_Length(o: *mut PyObject) -> Py_ssize_t; [INFO] [stdout] 298 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/abstract_.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 316 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 317 | | #[cfg_attr(PyPy, link_name = "PyPyMapping_HasKeyString")] [INFO] [stdout] 318 | | pub fn PyMapping_HasKeyString(o: *mut PyObject, key: *const c_char) -> c_int; [INFO] [stdout] 319 | | #[cfg_attr(PyPy, link_name = "PyPyMapping_HasKey")] [INFO] [stdout] ... | [INFO] [stdout] 338 | | pub fn PyObject_IsSubclass(object: *mut PyObject, typeorclass: *mut PyObject) -> c_int; [INFO] [stdout] 339 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bltinmodule.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | pub static mut PyFilter_Type: PyTypeObject; [INFO] [stdout] 6 | | pub static mut PyMap_Type: PyTypeObject; [INFO] [stdout] 7 | | pub static mut PyZip_Type: PyTypeObject; [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/boolobject.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | #[cfg_attr(PyPy, link_name = "PyPyBool_Type")] [INFO] [stdout] 10 | | pub static mut PyBool_Type: PyTypeObject; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/boolobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | #[cfg(not(GraalPy))] [INFO] [stdout] 21 | | #[cfg_attr(PyPy, link_name = "_PyPy_FalseStruct")] [INFO] [stdout] 22 | | static mut _Py_FalseStruct: PyLongObject; [INFO] [stdout] ... | [INFO] [stdout] 30 | | static mut _Py_TrueStructReference: *mut PyObject; [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/boolobject.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 64 | | #[cfg_attr(PyPy, link_name = "PyPyBool_FromLong")] [INFO] [stdout] 65 | | pub fn PyBool_FromLong(arg1: c_long) -> *mut PyObject; [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bytearrayobject.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 25 | | #[cfg_attr(PyPy, link_name = "PyPyByteArray_Type")] [INFO] [stdout] 26 | | pub static mut PyByteArray_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bytearrayobject.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 42 | | #[cfg_attr(PyPy, link_name = "PyPyByteArray_FromObject")] [INFO] [stdout] 43 | | pub fn PyByteArray_FromObject(o: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 44 | | #[cfg_attr(PyPy, link_name = "PyPyByteArray_Concat")] [INFO] [stdout] ... | [INFO] [stdout] 53 | | pub fn PyByteArray_Resize(bytearray: *mut PyObject, len: Py_ssize_t) -> c_int; [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bytesobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyBytes_Type")] [INFO] [stdout] 9 | | pub static mut PyBytes_Type: PyTypeObject; [INFO] [stdout] 10 | | pub static mut PyBytesIter_Type: PyTypeObject; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/bytesobject.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | #[cfg_attr(PyPy, link_name = "PyPyBytes_FromStringAndSize")] [INFO] [stdout] 25 | | pub fn PyBytes_FromStringAndSize(arg1: *const c_char, arg2: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] 26 | | pub fn PyBytes_FromString(arg1: *const c_char) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 56 | | ) -> c_int; [INFO] [stdout] 57 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | #[cfg_attr(PyPy, link_name = "PyPyEval_EvalCode")] [INFO] [stdout] 7 | | pub fn PyEval_EvalCode( [INFO] [stdout] 8 | | arg1: *mut PyObject, [INFO] [stdout] ... | [INFO] [stdout] 33 | | ) -> *mut PyObject; [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 44 | | #[cfg_attr(Py_3_9, deprecated(note = "Python 3.9"))] [INFO] [stdout] 45 | | #[cfg_attr(PyPy, link_name = "PyPyEval_CallFunction")] [INFO] [stdout] 46 | | pub fn PyEval_CallFunction(obj: *mut PyObject, format: *const c_char, ...) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 73 | | fn _Py_CheckRecursiveCall(_where: *mut c_char) -> c_int; [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 77 | | #[cfg(Py_3_9)] [INFO] [stdout] 78 | | #[cfg_attr(PyPy, link_name = "PyPy_EnterRecursiveCall")] [INFO] [stdout] 79 | | pub fn Py_EnterRecursiveCall(arg1: *const c_char) -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 82 | | pub fn Py_LeaveRecursiveCall(); [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 86 | | pub fn PyEval_GetFuncName(arg1: *mut PyObject) -> *const c_char; [INFO] [stdout] 87 | | pub fn PyEval_GetFuncDesc(arg1: *mut PyObject) -> *const c_char; [INFO] [stdout] 88 | | pub fn PyEval_GetCallStats(arg1: *mut PyObject) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 94 | | pub fn PyEval_RestoreThread(arg1: *mut PyThreadState); [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ceval.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 98 | | #[cfg_attr(PyPy, link_name = "PyPyEval_ThreadsInitialized")] [INFO] [stdout] 99 | | pub fn PyEval_ThreadsInitialized() -> c_int; [INFO] [stdout] 100 | | #[cfg_attr(PyPy, link_name = "PyPyEval_InitThreads")] [INFO] [stdout] ... | [INFO] [stdout] 109 | | pub fn PyEval_ReInitThreads(); [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/codecs.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | pub fn PyCodec_Register(search_function: *mut PyObject) -> c_int; [INFO] [stdout] 6 | | #[cfg(Py_3_10)] [INFO] [stdout] 7 | | #[cfg(not(PyPy))] [INFO] [stdout] ... | [INFO] [stdout] 57 | | // skipped non-limited Py_hexdigits from Include/codecs.h [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/complexobject.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 15 | | pub fn _Py_c_sum(left: Py_complex, right: Py_complex) -> Py_complex; [INFO] [stdout] 16 | | pub fn _Py_c_diff(left: Py_complex, right: Py_complex) -> Py_complex; [INFO] [stdout] 17 | | pub fn _Py_c_neg(complex: Py_complex) -> Py_complex; [INFO] [stdout] ... | [INFO] [stdout] 25 | | pub fn PyComplex_AsCComplex(op: *mut PyObject) -> Py_complex; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/complexobject.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 39 | | #[cfg_attr(PyPy, link_name = "PyPyComplex_Type")] [INFO] [stdout] 40 | | pub static mut PyComplex_Type: PyTypeObject; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/complexobject.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 54 | | // skipped non-limited PyComplex_FromCComplex [INFO] [stdout] 55 | | #[cfg_attr(PyPy, link_name = "PyPyComplex_FromDoubles")] [INFO] [stdout] 56 | | pub fn PyComplex_FromDoubles(real: c_double, imag: c_double) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 62 | | // skipped non-limited _PyComplex_FormatAdvancedWriter [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/context.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | pub static mut PyContext_Type: PyTypeObject; [INFO] [stdout] 7 | | // skipped non-limited opaque PyContext [INFO] [stdout] 8 | | pub static mut PyContextVar_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 11 | | // skipped non-limited opaque PyContextToken [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/context.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 30 | | pub fn PyContext_New() -> *mut PyObject; [INFO] [stdout] 31 | | pub fn PyContext_Copy(ctx: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 32 | | pub fn PyContext_CopyCurrent() -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 45 | | // skipped non-limited _PyContext_NewHamtForTests [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/datetime.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 158 | ($o: expr, $offset: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] 158 | ($o: expr_2021, $offset: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/datetime.rs:158:24 [INFO] [stdout] | [INFO] [stdout] 158 | ($o: expr, $offset: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] 158 | ($o: expr, $offset: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/datetime.rs:165:10 [INFO] [stdout] | [INFO] [stdout] 165 | ($o: expr, $offset: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] 165 | ($o: expr_2021, $offset: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/datetime.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | ($o: expr, $offset: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] 165 | ($o: expr, $offset: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/datetime.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | ($o: expr, $offset: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] 172 | ($o: expr_2021, $offset: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/datetime.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 172 | ($o: expr, $offset: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] 172 | ($o: expr, $offset: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/datetime.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | ($o: expr, $offset: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] 179 | ($o: expr_2021, $offset: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/datetime.rs:179:24 [INFO] [stdout] | [INFO] [stdout] 179 | ($o: expr, $offset: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] 179 | ($o: expr, $offset: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/datetime.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | ($o: 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] 188 | ($o: 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/datetime.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | ($o: 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] 195 | ($o: 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/datetime.rs:307:11 [INFO] [stdout] | [INFO] [stdout] 307 | ($obj:expr, $type: ident, $field: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 | ($obj:expr_2021, $type: ident, $field: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/datetime.rs:315:11 [INFO] [stdout] | [INFO] [stdout] 315 | ($obj:expr, $field: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] 315 | ($obj:expr_2021, $field:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/descrobject.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 40 | | #[cfg_attr(PyPy, link_name = "PyPyClassMethodDescr_Type")] [INFO] [stdout] 41 | | pub static mut PyClassMethodDescr_Type: PyTypeObject; [INFO] [stdout] 42 | | #[cfg_attr(PyPy, link_name = "PyPyGetSetDescr_Type")] [INFO] [stdout] ... | [INFO] [stdout] 53 | | pub static mut PyProperty_Type: PyTypeObject; [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/descrobject.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 57 | | pub fn PyDescr_NewMethod(arg1: *mut PyTypeObject, arg2: *mut PyMethodDef) -> *mut PyObject; [INFO] [stdout] 58 | | #[cfg_attr(PyPy, link_name = "PyPyDescr_NewClassMethod")] [INFO] [stdout] 59 | | pub fn PyDescr_NewClassMethod(arg1: *mut PyTypeObject, arg2: *mut PyMethodDef) [INFO] [stdout] ... | [INFO] [stdout] 68 | | pub fn PyWrapper_New(arg1: *mut PyObject, arg2: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 69 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/descrobject.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 131 | | pub fn PyMember_GetOne(addr: *const c_char, l: *mut PyMemberDef) -> *mut PyObject; [INFO] [stdout] 132 | | pub fn PyMember_SetOne(addr: *mut c_char, l: *mut PyMemberDef, value: *mut PyObject) -> c_int; [INFO] [stdout] 133 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dictobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyDict_Type")] [INFO] [stdout] 9 | | pub static mut PyDict_Type: PyTypeObject; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dictobject.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 23 | | #[cfg_attr(PyPy, link_name = "PyPyDict_New")] [INFO] [stdout] 24 | | pub fn PyDict_New() -> *mut PyObject; [INFO] [stdout] 25 | | #[cfg_attr(PyPy, link_name = "PyPyDict_GetItem")] [INFO] [stdout] ... | [INFO] [stdout] 75 | | // skipped 3.10 / ex-non-limited PyObject_GenericGetDict [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dictobject.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 80 | | pub static mut PyDictKeys_Type: PyTypeObject; [INFO] [stdout] 81 | | pub static mut PyDictValues_Type: PyTypeObject; [INFO] [stdout] 82 | | pub static mut PyDictItems_Type: PyTypeObject; [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/dictobject.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 107 | | pub static mut PyDictIterKey_Type: PyTypeObject; [INFO] [stdout] 108 | | pub static mut PyDictIterValue_Type: PyTypeObject; [INFO] [stdout] 109 | | pub static mut PyDictIterItem_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 115 | | pub static mut PyDictRevIterItem_Type: PyTypeObject; [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/enumobject.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | pub static mut PyEnum_Type: PyTypeObject; [INFO] [stdout] 6 | | pub static mut PyReversed_Type: PyTypeObject; [INFO] [stdout] 7 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/fileobject.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | pub fn PyFile_FromFd( [INFO] [stdout] 8 | | arg1: c_int, [INFO] [stdout] 9 | | arg2: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 24 | | pub fn PyObject_AsFileDescriptor(arg1: *mut PyObject) -> c_int; [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/fileobject.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 29 | | #[deprecated(note = "Python 3.12")] [INFO] [stdout] 30 | | pub static mut Py_FileSystemDefaultEncoding: *const c_char; [INFO] [stdout] 31 | | #[deprecated(note = "Python 3.12")] [INFO] [stdout] ... | [INFO] [stdout] 35 | | // skipped 3.12-deprecated Py_UTF8Mode [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/fileutils.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 6 | | pub fn Py_DecodeLocale(arg1: *const c_char, size: *mut Py_ssize_t) -> *mut wchar_t; [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | pub fn Py_EncodeLocale(text: *const wchar_t, error_pos: *mut Py_ssize_t) -> *mut c_char; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/floatobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 11 | | #[cfg_attr(PyPy, link_name = "PyPyFloat_Type")] [INFO] [stdout] 12 | | pub static mut PyFloat_Type: PyTypeObject; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/floatobject.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 29 | | pub fn PyFloat_GetMax() -> c_double; [INFO] [stdout] 30 | | pub fn PyFloat_GetMin() -> c_double; [INFO] [stdout] 31 | | pub fn PyFloat_GetInfo() -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 37 | | pub fn PyFloat_AsDouble(arg1: *mut PyObject) -> c_double; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/import.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 5 | | pub fn PyImport_GetMagicNumber() -> c_long; [INFO] [stdout] 6 | | pub fn PyImport_GetMagicTag() -> *const c_char; [INFO] [stdout] 7 | | #[cfg_attr(PyPy, link_name = "PyPyImport_ExecCodeModule")] [INFO] [stdout] ... | [INFO] [stdout] 52 | | ) -> *mut PyObject; [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/import.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 66 | | pub fn PyImport_GetImporter(path: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 67 | | #[cfg_attr(PyPy, link_name = "PyPyImport_Import")] [INFO] [stdout] 68 | | pub fn PyImport_Import(name: *mut PyObject) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 80 | | ) -> c_int; [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/intrcheck.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 4 | | #[cfg_attr(PyPy, link_name = "PyPyOS_InterruptOccurred")] [INFO] [stdout] 5 | | pub fn PyOS_InterruptOccurred() -> c_int; [INFO] [stdout] 6 | | #[cfg(not(Py_3_10))] [INFO] [stdout] ... | [INFO] [stdout] 18 | | // skipped non-limited Windows _PyOS_SigintEvent [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/iterobject.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 7 | | pub static mut PySeqIter_Type: PyTypeObject; [INFO] [stdout] 8 | | pub static mut PyCallIter_Type: PyTypeObject; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/iterobject.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 17 | | #[cfg_attr(PyPy, link_name = "PyPySeqIter_New")] [INFO] [stdout] 18 | | pub fn PySeqIter_New(arg1: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/iterobject.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 27 | | #[cfg_attr(PyPy, link_name = "PyPyCallIter_New")] [INFO] [stdout] 28 | | pub fn PyCallIter_New(arg1: *mut PyObject, arg2: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/listobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyList_Type")] [INFO] [stdout] 9 | | pub static mut PyList_Type: PyTypeObject; [INFO] [stdout] 10 | | pub static mut PyListIter_Type: PyTypeObject; [INFO] [stdout] 11 | | pub static mut PyListRevIter_Type: PyTypeObject; [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/listobject.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 25 | | #[cfg_attr(PyPy, link_name = "PyPyList_New")] [INFO] [stdout] 26 | | pub fn PyList_New(size: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] 27 | | #[cfg_attr(PyPy, link_name = "PyPyList_Size")] [INFO] [stdout] ... | [INFO] [stdout] 70 | | pub fn PyList_SET_ITEM(arg1: *mut PyObject, arg2: Py_ssize_t, arg3: *mut PyObject); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/longobject.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 11 | | #[cfg_attr(PyPy, link_name = "PyPyLong_Type")] [INFO] [stdout] 12 | | pub static mut PyLong_Type: PyTypeObject; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/longobject.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 26 | | #[cfg_attr(PyPy, link_name = "PyPyLong_FromLong")] [INFO] [stdout] 27 | | pub fn PyLong_FromLong(arg1: c_long) -> *mut PyObject; [INFO] [stdout] 28 | | #[cfg_attr(PyPy, link_name = "PyPyLong_FromUnsignedLong")] [INFO] [stdout] ... | [INFO] [stdout] 89 | | ) -> *mut PyObject; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/longobject.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 94 | | #[cfg_attr(PyPy, link_name = "_PyPyLong_NumBits")] [INFO] [stdout] 95 | | #[cfg(not(Py_3_13))] [INFO] [stdout] 96 | | pub fn _PyLong_NumBits(obj: *mut PyObject) -> size_t; [INFO] [stdout] 97 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/longobject.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 105 | | pub fn PyOS_strtoul(arg1: *const c_char, arg2: *mut *mut c_char, arg3: c_int) -> c_ulong; [INFO] [stdout] 106 | | pub fn PyOS_strtol(arg1: *const c_char, arg2: *mut *mut c_char, arg3: c_int) -> c_long; [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/marshal.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | #[cfg_attr(PyPy, link_name = "PyPyMarshal_WriteObjectToString")] [INFO] [stdout] 10 | | pub fn PyMarshal_WriteObjectToString(object: *mut PyObject, version: c_int) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 18 | | pub fn PyMarshal_ReadObjectFromString(data: *const c_char, len: Py_ssize_t) -> *mut PyObject; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/memoryobject.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg(not(Py_LIMITED_API))] [INFO] [stdout] 9 | | pub static mut _PyManagedBuffer_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub static mut PyMemoryView_Type: PyTypeObject; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/memoryobject.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | #[cfg_attr(PyPy, link_name = "PyPyMemoryView_FromObject")] [INFO] [stdout] 25 | | pub fn PyMemoryView_FromObject(base: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 26 | | #[cfg_attr(PyPy, link_name = "PyPyMemoryView_FromMemory")] [INFO] [stdout] ... | [INFO] [stdout] 40 | | ) -> *mut PyObject; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/methodobject.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 20 | | #[cfg_attr(PyPy, link_name = "PyPyCFunction_Type")] [INFO] [stdout] 21 | | pub static mut PyCFunction_Type: PyTypeObject; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/methodobject.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 76 | | #[cfg_attr(PyPy, link_name = "PyPyCFunction_GetFunction")] [INFO] [stdout] 77 | | pub fn PyCFunction_GetFunction(f: *mut PyObject) -> Option; [INFO] [stdout] 78 | | pub fn PyCFunction_GetSelf(f: *mut PyObject) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 85 | | ) -> *mut PyObject; [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/methodobject.rs:222:1 [INFO] [stdout] | [INFO] [stdout] 222 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 223 | | #[cfg_attr(PyPy, link_name = "PyPyCMethod_New")] [INFO] [stdout] 224 | | pub fn PyCMethod_New( [INFO] [stdout] 225 | | ml: *mut PyMethodDef, [INFO] [stdout] ... | [INFO] [stdout] 229 | | ) -> *mut PyObject; [INFO] [stdout] 230 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/methodobject.rs:262:1 [INFO] [stdout] | [INFO] [stdout] 262 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 263 | | #[cfg(not(Py_3_9))] [INFO] [stdout] 264 | | pub fn PyCFunction_ClearFreeList() -> c_int; [INFO] [stdout] 265 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/modsupport.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 8 | | #[cfg_attr(PyPy, link_name = "PyPyArg_Parse")] [INFO] [stdout] 9 | | pub fn PyArg_Parse(arg1: *mut PyObject, arg2: *const c_char, ...) -> c_int; [INFO] [stdout] 10 | | #[cfg_attr(PyPy, link_name = "PyPyArg_ParseTuple")] [INFO] [stdout] ... | [INFO] [stdout] 74 | | pub fn PyModule_ExecDef(module: *mut PyObject, def: *mut PyModuleDef) -> c_int; [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/modsupport.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 83 | | #[cfg(not(py_sys_config = "Py_TRACE_REFS"))] [INFO] [stdout] 84 | | #[cfg_attr(PyPy, link_name = "PyPyModule_Create2")] [INFO] [stdout] 85 | | pub fn PyModule_Create2(module: *mut PyModuleDef, apiver: c_int) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 102 | | ) -> *mut PyObject; [INFO] [stdout] 103 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/moduleobject.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 9 | | #[cfg_attr(PyPy, link_name = "PyPyModule_Type")] [INFO] [stdout] 10 | | pub static mut PyModule_Type: PyTypeObject; [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/moduleobject.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 24 | | pub fn PyModule_NewObject(name: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 25 | | #[cfg_attr(PyPy, link_name = "PyPyModule_New")] [INFO] [stdout] 26 | | pub fn PyModule_New(name: *const c_char) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 46 | | pub fn PyModuleDef_Init(arg1: *mut PyModuleDef) -> *mut PyObject; [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/moduleobject.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 51 | | pub static mut PyModuleDef_Type: PyTypeObject; [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:230:1 [INFO] [stdout] | [INFO] [stdout] 230 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 231 | | #[cfg_attr(PyPy, link_name = "PyPyType_FromSpec")] [INFO] [stdout] 232 | | pub fn PyType_FromSpec(arg1: *mut PyType_Spec) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 290 | | pub fn PyType_IsSubtype(a: *mut PyTypeObject, b: *mut PyTypeObject) -> c_int; [INFO] [stdout] 291 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 300 | | /// built-in 'type' [INFO] [stdout] 301 | | #[cfg_attr(PyPy, link_name = "PyPyType_Type")] [INFO] [stdout] 302 | | pub static mut PyType_Type: PyTypeObject; [INFO] [stdout] ... | [INFO] [stdout] 307 | | pub static mut PySuper_Type: PyTypeObject; [INFO] [stdout] 308 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:310:1 [INFO] [stdout] | [INFO] [stdout] 310 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 311 | | pub fn PyType_GetFlags(arg1: *mut PyTypeObject) -> c_ulong; [INFO] [stdout] 312 | | [INFO] [stdout] 313 | | #[cfg_attr(PyPy, link_name = "PyPyType_Ready")] [INFO] [stdout] ... | [INFO] [stdout] 395 | | pub fn Py_ReprLeave(arg1: *mut PyObject); [INFO] [stdout] 396 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:475:1 [INFO] [stdout] | [INFO] [stdout] 475 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 476 | | #[cfg(all(py_sys_config = "Py_REF_DEBUG", not(Py_LIMITED_API)))] [INFO] [stdout] 477 | | pub fn _Py_NegativeRefcount(filename: *const c_char, lineno: c_int, op: *mut PyObject); [INFO] [stdout] 478 | | #[cfg(all(Py_3_12, py_sys_config = "Py_REF_DEBUG", not(Py_LIMITED_API)))] [INFO] [stdout] ... | [INFO] [stdout] 505 | | pub fn _Py_SIZE(arg1: *const PyObject) -> Py_ssize_t; [INFO] [stdout] 506 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:649:1 [INFO] [stdout] | [INFO] [stdout] 649 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 650 | | #[cfg(all(Py_3_10, Py_LIMITED_API, not(PyPy)))] [INFO] [stdout] 651 | | #[cfg_attr(docsrs, doc(cfg(Py_3_10)))] [INFO] [stdout] 652 | | pub fn Py_NewRef(obj: *mut PyObject) -> *mut PyObject; [INFO] [stdout] ... | [INFO] [stdout] 655 | | pub fn Py_XNewRef(obj: *mut PyObject) -> *mut PyObject; [INFO] [stdout] 656 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:680:1 [INFO] [stdout] | [INFO] [stdout] 680 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 681 | | #[cfg(not(GraalPy))] [INFO] [stdout] 682 | | #[cfg_attr(PyPy, link_name = "_PyPy_NoneStruct")] [INFO] [stdout] 683 | | static mut _Py_NoneStruct: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 686 | | static mut _Py_NoneStructReference: *mut PyObject; [INFO] [stdout] 687 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/object.rs:705:1 [INFO] [stdout] | [INFO] [stdout] 705 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 706 | | #[cfg(not(GraalPy))] [INFO] [stdout] 707 | | #[cfg_attr(PyPy, link_name = "_PyPy_NotImplementedStruct")] [INFO] [stdout] 708 | | static mut _Py_NotImplementedStruct: PyObject; [INFO] [stdout] ... | [INFO] [stdout] 711 | | static mut _Py_NotImplementedStructReference: *mut PyObject; [INFO] [stdout] 712 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/objimpl.rs:7:1 [WARN] too many lines in the log, truncating it