[INFO] fetching crate python-oxidized-importer 0.9.0... [INFO] checking python-oxidized-importer-0.9.0 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate python-oxidized-importer 0.9.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate python-oxidized-importer 0.9.0 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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 base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding indoc v1.0.9 (latest: v2.0.5) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding mailparse v0.14.1 (latest: v0.15.0) [INFO] [stderr] Adding memmap2 v0.5.10 (latest: v0.9.4) [INFO] [stderr] Adding memoffset v0.6.5 (latest: v0.9.1) [INFO] [stderr] Adding pyo3 v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding pyo3-build-config v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding pyo3-ffi v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding pyo3-macros v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding pyo3-macros-backend v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding unindent v0.1.11 (latest: v0.2.3) [INFO] [stderr] Adding zip v0.6.6 (latest: v2.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ce3924f67bc27eb3bd4a390c80c4b7ce4c3bb47bbcd7850fbefcc0026e00a80 [INFO] running `Command { std: "docker" "start" "-a" "6ce3924f67bc27eb3bd4a390c80c4b7ce4c3bb47bbcd7850fbefcc0026e00a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ce3924f67bc27eb3bd4a390c80c4b7ce4c3bb47bbcd7850fbefcc0026e00a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ce3924f67bc27eb3bd4a390c80c4b7ce4c3bb47bbcd7850fbefcc0026e00a80", kill_on_drop: false }` [INFO] [stdout] 6ce3924f67bc27eb3bd4a390c80c4b7ce4c3bb47bbcd7850fbefcc0026e00a80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5f64a6c903d8be746bcec3b57aea59921e500b6ab10156d480ea88479ffae71 [INFO] running `Command { std: "docker" "start" "-a" "b5f64a6c903d8be746bcec3b57aea59921e500b6ab10156d480ea88479ffae71", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking charset v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking quoted_printable v0.5.0 [INFO] [stderr] Checking python-packed-resources v0.12.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking spdx v0.10.4 [INFO] [stderr] Checking mailparse v0.14.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [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 memmap2 v0.5.10 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking python-packaging v0.16.0 [INFO] [stderr] Compiling pyo3-build-config v0.17.3 [INFO] [stderr] Compiling pyo3-ffi v0.17.3 [INFO] [stderr] Compiling pyo3 v0.17.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.17.3 [INFO] [stderr] Compiling pyo3-macros v0.17.3 [INFO] [stderr] Checking python-oxidized-importer v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.66s [INFO] running `Command { std: "docker" "inspect" "b5f64a6c903d8be746bcec3b57aea59921e500b6ab10156d480ea88479ffae71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f64a6c903d8be746bcec3b57aea59921e500b6ab10156d480ea88479ffae71", kill_on_drop: false }` [INFO] [stdout] b5f64a6c903d8be746bcec3b57aea59921e500b6ab10156d480ea88479ffae71 [INFO] checking python-oxidized-importer-0.9.0 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate python-oxidized-importer 0.9.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate python-oxidized-importer 0.9.0 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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 base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding indoc v1.0.9 (latest: v2.0.5) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding mailparse v0.14.1 (latest: v0.15.0) [INFO] [stderr] Adding memmap2 v0.5.10 (latest: v0.9.4) [INFO] [stderr] Adding memoffset v0.6.5 (latest: v0.9.1) [INFO] [stderr] Adding pyo3 v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding pyo3-build-config v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding pyo3-ffi v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding pyo3-macros v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding pyo3-macros-backend v0.17.3 (latest: v0.21.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding unindent v0.1.11 (latest: v0.2.3) [INFO] [stderr] Adding zip v0.6.6 (latest: v2.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c80bad72c3453a6e3494c8ada48ef45aaa30443338d5d006ec4495de45a9c937 [INFO] running `Command { std: "docker" "start" "-a" "c80bad72c3453a6e3494c8ada48ef45aaa30443338d5d006ec4495de45a9c937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c80bad72c3453a6e3494c8ada48ef45aaa30443338d5d006ec4495de45a9c937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80bad72c3453a6e3494c8ada48ef45aaa30443338d5d006ec4495de45a9c937", kill_on_drop: false }` [INFO] [stdout] c80bad72c3453a6e3494c8ada48ef45aaa30443338d5d006ec4495de45a9c937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8523c063d14b024d265072c173f15fb296740b2e0abf9d4b2f2d17bb4f9fdc7e [INFO] running `Command { std: "docker" "start" "-a" "8523c063d14b024d265072c173f15fb296740b2e0abf9d4b2f2d17bb4f9fdc7e", 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.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking charset v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking quoted_printable v0.5.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking python-packed-resources v0.12.0 [INFO] [stderr] Checking spdx v0.10.4 [INFO] [stderr] Checking mailparse v0.14.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking simple-file-manifest v0.11.0 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking python-packaging v0.16.0 [INFO] [stderr] Compiling pyo3-build-config v0.17.3 [INFO] [stderr] Compiling pyo3-ffi v0.17.3 [INFO] [stderr] Compiling pyo3 v0.17.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.17.3 [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] [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: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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] 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: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(unsafe_op_in_unsafe_fn)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.88s [INFO] [stdout] warning: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block (error E0133) [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] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] error: failed to parse manifest at `/tmp/fixit/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] feature `zipimport` includes `zip` which is neither a dependency nor another feature [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" "8523c063d14b024d265072c173f15fb296740b2e0abf9d4b2f2d17bb4f9fdc7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8523c063d14b024d265072c173f15fb296740b2e0abf9d4b2f2d17bb4f9fdc7e", kill_on_drop: false }` [INFO] [stdout] 8523c063d14b024d265072c173f15fb296740b2e0abf9d4b2f2d17bb4f9fdc7e