Skip to content

fix(pymodule): improve safety of PyModule::from_code #12054

fix(pymodule): improve safety of PyModule::from_code

fix(pymodule): improve safety of PyModule::from_code #12054

Triggered via pull request December 6, 2024 20:33
Status Failure
Total duration 1h 0m 55s
Artifacts

ci.yml

on: pull_request
Matrix: clippy
Matrix: coverage
Matrix: test-cross-compilation
Matrix: test-free-threaded
valgrind
0s
valgrind
careful
0s
careful
docsrs
0s
docsrs
emscripten
0s
emscripten
test-debug
0s
test-debug
test-version-limits
0s
test-version-limits
test-cross-compilation-windows
0s
test-cross-compilation-windows
Matrix: build-full
Waiting for pending jobs
Matrix: build-pr
Matrix: check-feature-powerset
conclusion
0s
conclusion
Fit to window
Zoom out
Zoom in

Annotations

95 errors and 18 warnings
clippy/aarch64-apple-darwin/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/aarch64-apple-darwin/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-pc-windows-msvc/stable
The job was canceled because "stable_macos-latest_arm64" failed.
clippy/x86_64-pc-windows-msvc/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-pc-windows-msvc/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-pc-windows-msvc/stable
The operation was canceled.
clippy/i686-pc-windows-msvc/stable
The job was canceled because "stable_macos-latest_arm64" failed.
clippy/i686-pc-windows-msvc/stable
The operation was canceled.
clippy/powerpc64le-unknown-linux-gnu/stable
The job was canceled because "stable_macos-latest_arm64" failed.
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/powerpc64le-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
The job was canceled because "stable_macos-latest_arm64" failed.
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/beta
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
The job was canceled because "stable_macos-latest_arm64" failed.
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/x86_64-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
The job was canceled because "stable_macos-latest_arm64" failed.
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/s390x-unknown-linux-gnu/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
The job was canceled because "stable_macos-latest_arm64" failed.
clippy/wasm32-wasi/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --features=full --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --features=abi3 full --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --features=full --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --features=abi3 full --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
clippy/wasm32-wasi/stable
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
check-msrv
`cargo check --no-default-features --all-targets --workspace` failed
check-msrv
`cargo check --no-default-features --features=abi3 --all-targets --workspace` failed
check-msrv
`cargo check --features=full multiple-pymethods --all-targets --workspace` failed
check-msrv
`cargo check --features=abi3 full multiple-pymethods --all-targets --workspace` failed
check-msrv
`cargo check --no-default-features --all-targets --workspace` failed
check-msrv
`cargo check --no-default-features --features=abi3 --all-targets --workspace` failed
check-msrv
`cargo check --features=full multiple-pymethods --all-targets --workspace` failed
check-msrv
`cargo check --features=abi3 full multiple-pymethods --all-targets --workspace` failed
check-msrv
`cargo check --no-default-features --all-targets --workspace` failed
check-msrv
`cargo check --no-default-features --features=abi3 --all-targets --workspace` failed
Free threaded tests - macos-latest
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
Free threaded tests - macos-latest
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
Free threaded tests - macos-latest
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
Free threaded tests - macos-latest
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
Free threaded tests - macos-latest
Process completed with exit code 1.
Free threaded tests - windows-latest
The job was canceled because "macos-latest" failed.
Free threaded tests - windows-latest
The operation was canceled.
Free threaded tests - ubuntu-latest
The job was canceled because "macos-latest" failed.
Free threaded tests - ubuntu-latest
`cargo clippy --no-default-features --all-targets --workspace -- --deny=warnings` failed
Free threaded tests - ubuntu-latest
`cargo clippy --no-default-features --features=abi3 --all-targets --workspace -- --deny=warnings` failed
Free threaded tests - ubuntu-latest
`cargo clippy --features=full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
Free threaded tests - ubuntu-latest
`cargo clippy --features=abi3 full multiple-pymethods --all-targets --workspace -- --deny=warnings` failed
Free threaded tests - ubuntu-latest
The operation was canceled.
conclusion
Process completed with exit code 1.
fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
resolve
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
semver-checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
check-msrv
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
python3.12-x64 ubuntu-latest rust-nightly / build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
coverage ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
python3.12-x64 ubuntu-latest rust-stable / build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
python3.12-x64 ubuntu-latest rust-stable / build
'ref' input parameter is ignored when 'base' is set to HEAD
python3.12-x64 ubuntu-latest rust-stable / build
'base' input parameter is ignored when action is triggered by pull request event
python3.12-arm64 macos-latest rust-stable / build
'ref' input parameter is ignored when 'base' is set to HEAD
python3.12-arm64 macos-latest rust-stable / build
'base' input parameter is ignored when action is triggered by pull request event
python3.12-x86 windows-latest rust-stable / build
'ref' input parameter is ignored when 'base' is set to HEAD
python3.12-x86 windows-latest rust-stable / build
'base' input parameter is ignored when action is triggered by pull request event
python3.12-x64 macos-13 rust-stable / build
'ref' input parameter is ignored when 'base' is set to HEAD
python3.12-x64 macos-13 rust-stable / build
'base' input parameter is ignored when action is triggered by pull request event
python3.12-x64 windows-latest rust-stable / build
'ref' input parameter is ignored when 'base' is set to HEAD
python3.12-x64 windows-latest rust-stable / build
'base' input parameter is ignored when action is triggered by pull request event
conclusion
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636