[INFO] fetching crate python-oxidized-importer 0.9.0... [INFO] checking python-oxidized-importer-0.9.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate python-oxidized-importer 0.9.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate python-oxidized-importer 0.9.0 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] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking crates.io crate python-oxidized-importer 0.9.0 [INFO] finished tweaking crates.io crate python-oxidized-importer 0.9.0 [INFO] tweaked toml for crates.io crate python-oxidized-importer 0.9.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 69 packages to latest compatible versions [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.5) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding mailparse v0.14.1 (available: v0.15.0) [INFO] [stderr] Adding memmap2 v0.5.10 (available: v0.9.5) [INFO] [stderr] Adding memoffset v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding pyo3 v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-build-config v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-ffi v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding pyo3-macros-backend v0.17.3 (available: v0.22.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding unindent v0.1.11 (available: v0.2.3) [INFO] [stderr] Adding zip v0.6.6 (available: v2.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6a59247360718be0e59d38d09d85d834bed1fda0d3a680634d9a16a1c0a36a9 [INFO] running `Command { std: "docker" "start" "-a" "b6a59247360718be0e59d38d09d85d834bed1fda0d3a680634d9a16a1c0a36a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6a59247360718be0e59d38d09d85d834bed1fda0d3a680634d9a16a1c0a36a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a59247360718be0e59d38d09d85d834bed1fda0d3a680634d9a16a1c0a36a9", kill_on_drop: false }` [INFO] [stdout] b6a59247360718be0e59d38d09d85d834bed1fda0d3a680634d9a16a1c0a36a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2327a684e4d3db2640bbf99db31d005d4bb383727055fafc865d1d502b122bfe [INFO] running `Command { std: "docker" "start" "-a" "2327a684e4d3db2640bbf99db31d005d4bb383727055fafc865d1d502b122bfe", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (1 fix) [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling pyo3-build-config v0.17.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking charset v0.1.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking python-packed-resources v0.12.0 [INFO] [stderr] Checking mailparse v0.14.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking spdx v0.10.6 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking simple-file-manifest v0.11.0 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling pyo3-ffi v0.17.3 [INFO] [stderr] Compiling pyo3 v0.17.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling pyo3-macros-backend v0.17.3 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking python-packaging v0.16.0 [INFO] [stderr] Compiling pyo3-macros v0.17.3 [INFO] [stderr] Checking python-oxidized-importer v0.9.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/zip_import.rs (3 fixes) [INFO] [stderr] Fixed src/importer.rs (5 fixes) [INFO] [stderr] Fixed src/python_resources.rs (1 fix) [INFO] [stderr] Fixed src/resource_reader.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/package_metadata.rs (4 fixes) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(addr_of_mut!(MODULE_DEF)) } as *mut pyffi::PyObject; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:521:15 [INFO] [stdout] | [INFO] [stdout] 521 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:562:19 [INFO] [stdout] | [INFO] [stdout] 562 | fullname: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:583:48 [INFO] [stdout] | [INFO] [stdout] 583 | fn create_module(slf: &PyCell, spec: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:634:48 [INFO] [stdout] | [INFO] [stdout] 634 | fn exec_module(slf: &PyCell, module: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:717:50 [INFO] [stdout] | [INFO] [stdout] 717 | fn get_data<'p>(slf: &'p PyCell, path: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:728:47 [INFO] [stdout] | [INFO] [stdout] 728 | fn get_code(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:759:49 [INFO] [stdout] | [INFO] [stdout] 759 | fn get_source(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:794:58 [INFO] [stdout] | [INFO] [stdout] 794 | fn get_filename<'p>(slf: &'p PyCell, fullname: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:819:58 [INFO] [stdout] | [INFO] [stdout] 819 | fn get_resource_reader(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:966:44 [INFO] [stdout] | [INFO] [stdout] 966 | fn path_hook(slf: &PyCell, path: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:983:45 [INFO] [stdout] | [INFO] [stdout] 983 | fn index_bytes(&self, py: Python, data: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:991:58 [INFO] [stdout] | [INFO] [stdout] 991 | fn index_file_memory_mapped(&self, py: Python, path: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1035:38 [INFO] [stdout] | [INFO] [stdout] 1035 | fn add_resource(&self, resource: &OxidizedResource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1045:40 [INFO] [stdout] | [INFO] [stdout] 1045 | fn add_resources(&self, resources: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1253:31 [INFO] [stdout] | [INFO] [stdout] 1253 | fn joinpath(&self, child: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/package_metadata.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_name<'p>(cls: &PyType, py: Python<'p>, name: &PyString) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/package_metadata.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | fn read_text<'p>(&self, py: Python<'p>, filename: String) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/path_entry_finder.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | fullname: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(py: Python, module: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | fn has_metadata(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_metadata(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_metadata_lines<'p>(&self, py: Python<'p>, name: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn metadata_isdir(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:86:58 [INFO] [stdout] | [INFO] [stdout] 86 | fn metadata_listdir<'p>(&self, py: Python<'p>, name: &str) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | fn run_script(&self, script_name: &PyAny, namespace: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn run_script(&self, script_name: &PyAny, namespace: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_resource_filename(&self, manager: &PyAny, resource_name: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:108:69 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_resource_filename(&self, manager: &PyAny, resource_name: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | manager: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | resource_name: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | manager: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | resource_name: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:142:55 [INFO] [stdout] | [INFO] [stdout] 142 | fn has_resource(&self, py: Python, resource_name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | fn resource_isdir(&self, resource_name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | fn resource_listdir<'p>(&self, py: Python<'p>, resource_name: &str) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | importer: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | path_item: &PyString, [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | fn new(allowed_locations: Vec) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn add_in_memory(&self, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:188:47 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_filesystem_relative(&self, prefix: String, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:188:65 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_filesystem_relative(&self, prefix: String, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | fn open_resource<'p>(&self, py: Python<'p>, resource: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn resource_path(&self, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_resource(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_scanning.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn find_resources_in_path<'p>(py: Python<'p>, path: &PyAny) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 325 | fn from_path(cls: &PyType, py: Python, path: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | source: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:362:15 [INFO] [stdout] | [INFO] [stdout] 362 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:422:19 [INFO] [stdout] | [INFO] [stdout] 422 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:446:47 [INFO] [stdout] | [INFO] [stdout] 446 | fn create_module(&self, py: Python, spec: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:451:48 [INFO] [stdout] | [INFO] [stdout] 451 | fn exec_module(slf: &PyCell, module: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:473:47 [INFO] [stdout] | [INFO] [stdout] 473 | fn get_code(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:546:49 [INFO] [stdout] | [INFO] [stdout] 546 | fn get_source(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:573:49 [INFO] [stdout] | [INFO] [stdout] 573 | fn is_package(slf: &PyCell, fullname: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | io_module: &'p PyModule, [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | source_bytes: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(addr_of_mut!(MODULE_DEF)) } as *mut pyffi::PyObject; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:521:15 [INFO] [stdout] | [INFO] [stdout] 521 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:562:19 [INFO] [stdout] | [INFO] [stdout] 562 | fullname: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:583:48 [INFO] [stdout] | [INFO] [stdout] 583 | fn create_module(slf: &PyCell, spec: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:634:48 [INFO] [stdout] | [INFO] [stdout] 634 | fn exec_module(slf: &PyCell, module: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:717:50 [INFO] [stdout] | [INFO] [stdout] 717 | fn get_data<'p>(slf: &'p PyCell, path: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:728:47 [INFO] [stdout] | [INFO] [stdout] 728 | fn get_code(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:759:49 [INFO] [stdout] | [INFO] [stdout] 759 | fn get_source(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:794:58 [INFO] [stdout] | [INFO] [stdout] 794 | fn get_filename<'p>(slf: &'p PyCell, fullname: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:819:58 [INFO] [stdout] | [INFO] [stdout] 819 | fn get_resource_reader(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:966:44 [INFO] [stdout] | [INFO] [stdout] 966 | fn path_hook(slf: &PyCell, path: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:983:45 [INFO] [stdout] | [INFO] [stdout] 983 | fn index_bytes(&self, py: Python, data: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:991:58 [INFO] [stdout] | [INFO] [stdout] 991 | fn index_file_memory_mapped(&self, py: Python, path: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1035:38 [INFO] [stdout] | [INFO] [stdout] 1035 | fn add_resource(&self, resource: &OxidizedResource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1045:40 [INFO] [stdout] | [INFO] [stdout] 1045 | fn add_resources(&self, resources: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1253:31 [INFO] [stdout] | [INFO] [stdout] 1253 | fn joinpath(&self, child: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/package_metadata.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_name<'p>(cls: &PyType, py: Python<'p>, name: &PyString) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/package_metadata.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | fn read_text<'p>(&self, py: Python<'p>, filename: String) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/path_entry_finder.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | fullname: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(py: Python, module: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | fn has_metadata(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_metadata(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_metadata_lines<'p>(&self, py: Python<'p>, name: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn metadata_isdir(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:86:58 [INFO] [stdout] | [INFO] [stdout] 86 | fn metadata_listdir<'p>(&self, py: Python<'p>, name: &str) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | fn run_script(&self, script_name: &PyAny, namespace: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn run_script(&self, script_name: &PyAny, namespace: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_resource_filename(&self, manager: &PyAny, resource_name: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:108:69 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_resource_filename(&self, manager: &PyAny, resource_name: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | manager: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | resource_name: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | manager: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | resource_name: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:142:55 [INFO] [stdout] | [INFO] [stdout] 142 | fn has_resource(&self, py: Python, resource_name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | fn resource_isdir(&self, resource_name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | fn resource_listdir<'p>(&self, py: Python<'p>, resource_name: &str) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | importer: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | path_item: &PyString, [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | fn new(allowed_locations: Vec) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn add_in_memory(&self, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:188:47 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_filesystem_relative(&self, prefix: String, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:188:65 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_filesystem_relative(&self, prefix: String, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | fn open_resource<'p>(&self, py: Python<'p>, resource: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn resource_path(&self, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_resource(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_scanning.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn find_resources_in_path<'p>(py: Python<'p>, path: &PyAny) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 325 | fn from_path(cls: &PyType, py: Python, path: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | source: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:362:15 [INFO] [stdout] | [INFO] [stdout] 362 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:422:19 [INFO] [stdout] | [INFO] [stdout] 422 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:446:47 [INFO] [stdout] | [INFO] [stdout] 446 | fn create_module(&self, py: Python, spec: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:451:48 [INFO] [stdout] | [INFO] [stdout] 451 | fn exec_module(slf: &PyCell, module: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:473:47 [INFO] [stdout] | [INFO] [stdout] 473 | fn get_code(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:546:49 [INFO] [stdout] | [INFO] [stdout] 546 | fn get_source(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:573:49 [INFO] [stdout] | [INFO] [stdout] 573 | fn is_package(slf: &PyCell, fullname: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | io_module: &'p PyModule, [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | source_bytes: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.14s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking python-oxidized-importer v0.9.0 (/tmp/fixit) [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(addr_of_mut!(MODULE_DEF)) } as *mut pyffi::PyObject; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a mutable reference to a mutable static [INFO] [stdout] --> src/lib.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(&mut MODULE_DEF) } as *mut pyffi::PyObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 112 | let module = unsafe { pyffi::PyModule_Create(addr_of_mut!(MODULE_DEF)) } as *mut pyffi::PyObject; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:521:15 [INFO] [stdout] | [INFO] [stdout] 521 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:520:19 [INFO] [stdout] | [INFO] [stdout] 520 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:521:15 [INFO] [stdout] | [INFO] [stdout] 521 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:562:19 [INFO] [stdout] | [INFO] [stdout] 562 | fullname: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:562:19 [INFO] [stdout] | [INFO] [stdout] 562 | fullname: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:583:48 [INFO] [stdout] | [INFO] [stdout] 583 | fn create_module(slf: &PyCell, spec: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:583:48 [INFO] [stdout] | [INFO] [stdout] 583 | fn create_module(slf: &PyCell, spec: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:634:48 [INFO] [stdout] | [INFO] [stdout] 634 | fn exec_module(slf: &PyCell, module: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:634:48 [INFO] [stdout] | [INFO] [stdout] 634 | fn exec_module(slf: &PyCell, module: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:717:50 [INFO] [stdout] | [INFO] [stdout] 717 | fn get_data<'p>(slf: &'p PyCell, path: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:717:50 [INFO] [stdout] | [INFO] [stdout] 717 | fn get_data<'p>(slf: &'p PyCell, path: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:728:47 [INFO] [stdout] | [INFO] [stdout] 728 | fn get_code(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:728:47 [INFO] [stdout] | [INFO] [stdout] 728 | fn get_code(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:759:49 [INFO] [stdout] | [INFO] [stdout] 759 | fn get_source(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:759:49 [INFO] [stdout] | [INFO] [stdout] 759 | fn get_source(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:794:58 [INFO] [stdout] | [INFO] [stdout] 794 | fn get_filename<'p>(slf: &'p PyCell, fullname: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:794:58 [INFO] [stdout] | [INFO] [stdout] 794 | fn get_filename<'p>(slf: &'p PyCell, fullname: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:819:58 [INFO] [stdout] | [INFO] [stdout] 819 | fn get_resource_reader(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:819:58 [INFO] [stdout] | [INFO] [stdout] 819 | fn get_resource_reader(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:966:44 [INFO] [stdout] | [INFO] [stdout] 966 | fn path_hook(slf: &PyCell, path: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:983:45 [INFO] [stdout] | [INFO] [stdout] 983 | fn index_bytes(&self, py: Python, data: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:966:44 [INFO] [stdout] | [INFO] [stdout] 966 | fn path_hook(slf: &PyCell, path: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:991:58 [INFO] [stdout] | [INFO] [stdout] 991 | fn index_file_memory_mapped(&self, py: Python, path: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:983:45 [INFO] [stdout] | [INFO] [stdout] 983 | fn index_bytes(&self, py: Python, data: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:991:58 [INFO] [stdout] | [INFO] [stdout] 991 | fn index_file_memory_mapped(&self, py: Python, path: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1035:38 [INFO] [stdout] | [INFO] [stdout] 1035 | fn add_resource(&self, resource: &OxidizedResource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1045:40 [INFO] [stdout] | [INFO] [stdout] 1045 | fn add_resources(&self, resources: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1035:38 [INFO] [stdout] | [INFO] [stdout] 1035 | fn add_resource(&self, resource: &OxidizedResource) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1045:40 [INFO] [stdout] | [INFO] [stdout] 1045 | fn add_resources(&self, resources: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1253:31 [INFO] [stdout] | [INFO] [stdout] 1253 | fn joinpath(&self, child: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/importer.rs:1253:31 [INFO] [stdout] | [INFO] [stdout] 1253 | fn joinpath(&self, child: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/package_metadata.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_name<'p>(cls: &PyType, py: Python<'p>, name: &PyString) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/package_metadata.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_name<'p>(cls: &PyType, py: Python<'p>, name: &PyString) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/package_metadata.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | fn read_text<'p>(&self, py: Python<'p>, filename: String) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/package_metadata.rs:125:55 [INFO] [stdout] | [INFO] [stdout] 125 | fn read_text<'p>(&self, py: Python<'p>, filename: String) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/path_entry_finder.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | fullname: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/path_entry_finder.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | fullname: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(py: Python, module: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | fn has_metadata(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_metadata(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(py: Python, module: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_metadata_lines<'p>(&self, py: Python<'p>, name: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | fn has_metadata(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | fn get_metadata(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn metadata_isdir(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:72:60 [INFO] [stdout] | [INFO] [stdout] 72 | fn get_metadata_lines<'p>(&self, py: Python<'p>, name: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:86:58 [INFO] [stdout] | [INFO] [stdout] 86 | fn metadata_listdir<'p>(&self, py: Python<'p>, name: &str) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | fn run_script(&self, script_name: &PyAny, namespace: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn run_script(&self, script_name: &PyAny, namespace: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn metadata_isdir(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_resource_filename(&self, manager: &PyAny, resource_name: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:108:69 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_resource_filename(&self, manager: &PyAny, resource_name: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:86:58 [INFO] [stdout] | [INFO] [stdout] 86 | fn metadata_listdir<'p>(&self, py: Python<'p>, name: &str) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | manager: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | resource_name: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | fn run_script(&self, script_name: &PyAny, namespace: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn run_script(&self, script_name: &PyAny, namespace: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | manager: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | resource_name: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:108:46 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_resource_filename(&self, manager: &PyAny, resource_name: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:108:69 [INFO] [stdout] | [INFO] [stdout] 108 | fn get_resource_filename(&self, manager: &PyAny, resource_name: &PyAny) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:142:55 [INFO] [stdout] | [INFO] [stdout] 142 | fn has_resource(&self, py: Python, resource_name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | manager: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | resource_name: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | fn resource_isdir(&self, resource_name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | manager: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | resource_name: &str, [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | fn resource_listdir<'p>(&self, py: Python<'p>, resource_name: &str) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:142:55 [INFO] [stdout] | [INFO] [stdout] 142 | fn has_resource(&self, py: Python, resource_name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | fn resource_isdir(&self, resource_name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | fn resource_listdir<'p>(&self, py: Python<'p>, resource_name: &str) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | importer: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | path_item: &PyString, [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | importer: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/pkg_resources.rs:211:16 [INFO] [stdout] | [INFO] [stdout] 211 | path_item: &PyString, [INFO] [stdout] | ^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | fn new(allowed_locations: Vec) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn add_in_memory(&self, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:81:31 [INFO] [stdout] | [INFO] [stdout] 81 | fn new(allowed_locations: Vec) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:188:47 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_filesystem_relative(&self, prefix: String, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:188:65 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_filesystem_relative(&self, prefix: String, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn add_in_memory(&self, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:188:47 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_filesystem_relative(&self, prefix: String, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/python_resource_collector.rs:188:65 [INFO] [stdout] | [INFO] [stdout] 188 | fn add_filesystem_relative(&self, prefix: String, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | fn open_resource<'p>(&self, py: Python<'p>, resource: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn resource_path(&self, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_resource(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:31:59 [INFO] [stdout] | [INFO] [stdout] 31 | fn open_resource<'p>(&self, py: Python<'p>, resource: &str) -> PyResult<&'p PyAny> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | fn resource_path(&self, resource: &PyAny) -> PyResult<()> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_reader.rs:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn is_resource(&self, name: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_scanning.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn find_resources_in_path<'p>(py: Python<'p>, path: &PyAny) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/resource_scanning.rs:24:64 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn find_resources_in_path<'p>(py: Python<'p>, path: &PyAny) -> PyResult<&'p PyList> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 325 | fn from_path(cls: &PyType, py: Python, path: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | source: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:362:15 [INFO] [stdout] | [INFO] [stdout] 362 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:422:19 [INFO] [stdout] | [INFO] [stdout] 422 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 325 | fn from_path(cls: &PyType, py: Python, path: &PyAny) -> PyResult { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:446:47 [INFO] [stdout] | [INFO] [stdout] 446 | fn create_module(&self, py: Python, spec: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:341:17 [INFO] [stdout] | [INFO] [stdout] 341 | source: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:451:48 [INFO] [stdout] | [INFO] [stdout] 451 | fn exec_module(slf: &PyCell, module: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:361:19 [INFO] [stdout] | [INFO] [stdout] 361 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:362:15 [INFO] [stdout] | [INFO] [stdout] 362 | path: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:473:47 [INFO] [stdout] | [INFO] [stdout] 473 | fn get_code(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:422:19 [INFO] [stdout] | [INFO] [stdout] 422 | fullname: String, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:546:49 [INFO] [stdout] | [INFO] [stdout] 546 | fn get_source(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:573:49 [INFO] [stdout] | [INFO] [stdout] 573 | fn is_package(slf: &PyCell, fullname: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:446:47 [INFO] [stdout] | [INFO] [stdout] 446 | fn create_module(&self, py: Python, spec: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:451:48 [INFO] [stdout] | [INFO] [stdout] 451 | fn exec_module(slf: &PyCell, module: &PyAny) -> PyResult> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:473:47 [INFO] [stdout] | [INFO] [stdout] 473 | fn get_code(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | io_module: &'p PyModule, [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | source_bytes: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:546:49 [INFO] [stdout] | [INFO] [stdout] 546 | fn get_source(slf: &PyCell, fullname: &str) -> PyResult> { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/zip_import.rs:573:49 [INFO] [stdout] | [INFO] [stdout] 573 | fn is_package(slf: &PyCell, fullname: &str) -> PyResult { [INFO] [stdout] | ^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | io_module: &'p PyModule, [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | source_bytes: &PyAny, [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0796. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 59 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0796. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `python-oxidized-importer` (lib) due to 2 previous errors; 59 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `python-oxidized-importer` (lib test) due to 2 previous errors; 59 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2327a684e4d3db2640bbf99db31d005d4bb383727055fafc865d1d502b122bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2327a684e4d3db2640bbf99db31d005d4bb383727055fafc865d1d502b122bfe", kill_on_drop: false }` [INFO] [stdout] 2327a684e4d3db2640bbf99db31d005d4bb383727055fafc865d1d502b122bfe