Skip to content

CI: fix clippy lints #21396

CI: fix clippy lints

CI: fix clippy lints #21396

Triggered via pull request April 16, 2026 14:54
Status Success
Total duration 40m 38s
Artifacts

ci.yaml

on: pull_request
Lint
1m 33s
Lint
Run tests under miri
4m 19s
Run tests under miri
Check the WASM package and demo
9m 26s
Check the WASM package and demo
Run snippets and cpython tests on wasm-wasi
3m 38s
Run snippets and cpython tests on wasm-wasi
Matrix: cargo check
Matrix: Run rust tests
Matrix: Run snippets and cpython tests
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
Lint
Checksum is not known for 0.3.9:prek-x86_64-unknown-linux-gnu.tar.gz; skipping verification for prek 0.3.9
shear/doctest_enabled_without_doctests
`doctest = true` on lib target `rustpython_jit` but source contains no doc tests (set `doctest = false` to avoid running doc tests for this target)
shear/test_enabled_without_tests
`test = true` on lib target `rustpython_jit` but source contains no tests (set `test = false` to avoid compiling a test harness for this target)
shear/doctest_enabled_without_doctests
`doctest = true` on lib target `rustpython_derive_impl` but source contains no doc tests (set `doctest = false` to avoid running doc tests for this target)
shear/test_enabled_without_tests
`test = true` on lib target `rustpython_derive_impl` but source contains no tests (set `test = false` to avoid compiling a test harness for this target)
shear/doctest_enabled_without_doctests
`doctest = true` on lib target `rustpython_derive` but source contains no doc tests (set `doctest = false` to avoid running doc tests for this target)
shear/test_enabled_without_tests
`test = true` on proc-macro target `rustpython_derive` but source contains no tests (set `test = false` to avoid compiling a test harness for this target)
shear/doctest_enabled_without_doctests
`doctest = true` on lib target `rustpython_compiler_source` but source contains no doc tests (set `doctest = false` to avoid running doc tests for this target)
shear/test_enabled_without_tests
`test = true` on lib target `rustpython_compiler_source` but source contains no tests (set `test = false` to avoid compiling a test harness for this target)
shear/doctest_enabled_without_doctests
`doctest = true` on lib target `rustpython_compiler` but source contains no doc tests (set `doctest = false` to avoid running doc tests for this target)
shear/doctest_enabled_without_doctests
`doctest = true` on lib target `rustpython_codegen` but source contains no doc tests (set `doctest = false` to avoid running doc tests for this target)
Run snippets and cpython tests on wasm-wasi
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: wasmerio/setup-wasmer@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Check the WASM package and demo
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: mwilliamson/setup-wabt-action@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Run snippets and cpython tests (macos-latest, -u all, 50)
openssl@3 3.6.2 is already installed and up-to-date. To reinstall 3.6.2, run: brew reinstall openssl@3