Skip to content

chore(lints): silence clippy.toml unreachable warnings via allow-invalid #8

chore(lints): silence clippy.toml unreachable warnings via allow-invalid

chore(lints): silence clippy.toml unreachable warnings via allow-invalid #8

Triggered via push May 22, 2026 20:49
Status Failure
Total duration 1m 7s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 23 warnings
typos
Process completed with exit code 2.
spec-validate
The process '/home/runner/.local/share/mise/bin/mise' failed with exit code 1
fmt
Process completed with exit code 1.
deny
Process completed with exit code 4.
shear/unused_dependency: crates/substrate-config/Cargo.toml#L19
unused dependency `time` (remove this dependency)
shear/unused_dependency: crates/substrate-config/Cargo.toml#L15
unused dependency `serde_json` (remove this dependency)
shear/unused_dependency: crates/substrate-archive/Cargo.toml#L42
unused dependency `rstest` (remove this dependency)
shear/unused_dependency: crates/substrate-archive/Cargo.toml#L34
unused dependency `time` (remove this dependency)
shear/unused_dependency: crates/substrate-archive/Cargo.toml#L27
unused dependency `thiserror` (remove this dependency)
shear/unused_dependency: crates/substrate-archive/Cargo.toml#L19
unused dependency `substrate-policy` (remove this dependency)
shear/unused_dependency: crates/substrate-archive/Cargo.toml#L29
unused dependency `nix` (remove this dependency)
shear/unused_dependency: crates/substrate-archive/Cargo.toml#L28
unused dependency `futures` (remove this dependency)
shear/unused_dependency: crates/substrate-archive/Cargo.toml#L31
unused dependency `crc32fast` (remove this dependency)
shear/unused_dependency: crates/substrate-archive/Cargo.toml#L23
unused dependency `async-trait` (remove this dependency)
nextest
Process completed with exit code 101.
nextest: crates/substrate-policy/src/linux/mod.rs#L160
no method named `as_raw_fd` found for struct `OwnedFd` in the current scope
clippy
Process completed with exit code 101.
clippy: crates/substrate-policy/src/linux/mod.rs#L160
no method named `as_raw_fd` found for struct `std::os::fd::OwnedFd` in the current scope
mmdc-lint
Process completed with exit code 40.
llvm-cov
Process completed with exit code 101.
llvm-cov: crates/substrate-policy/src/linux/mod.rs#L160
no method named `as_raw_fd` found for struct `OwnedFd` in the current scope
bench (compile only)
Process completed with exit code 101.
bench (compile only): crates/substrate-policy/src/linux/mod.rs#L160
no method named `as_raw_fd` found for struct `OwnedFd` in the current scope
ci-success
Process completed with exit code 1.
typos
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
spec-validate
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, jdx/mise-action@v2. 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/
fmt
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
fmt: crates/substrate-fs-mutation/src/set_permissions.rs#L210
Diff in /home/runner/work/substrate/substrate/crates/substrate-fs-mutation/src/set_permissions.rs
fmt: crates/substrate-fs-mutation/src/rename.rs#L249
Diff in /home/runner/work/substrate/substrate/crates/substrate-fs-mutation/src/rename.rs
fmt: crates/substrate-fs-mutation/src/rename.rs#L228
Diff in /home/runner/work/substrate/substrate/crates/substrate-fs-mutation/src/rename.rs
fmt: crates/substrate-archive/src/zip_extract.rs#L362
Diff in /home/runner/work/substrate/substrate/crates/substrate-archive/src/zip_extract.rs
fmt: crates/substrate-archive/src/zip_extract.rs#L296
Diff in /home/runner/work/substrate/substrate/crates/substrate-archive/src/zip_extract.rs
semver-checks
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
fmt: crates/substrate-archive/src/zip_extract.rs#L249
Diff in /home/runner/work/substrate/substrate/crates/substrate-archive/src/zip_extract.rs
fmt: crates/substrate-archive/src/zip_extract.rs#L175
Diff in /home/runner/work/substrate/substrate/crates/substrate-archive/src/zip_extract.rs
fmt: crates/substrate-archive/src/tar_extract.rs#L410
Diff in /home/runner/work/substrate/substrate/crates/substrate-archive/src/tar_extract.rs
fmt: crates/substrate-archive/src/symlink_guard.rs#L196
Diff in /home/runner/work/substrate/substrate/crates/substrate-archive/src/symlink_guard.rs
fmt: crates/substrate-archive/src/symlink_guard.rs#L114
Diff in /home/runner/work/substrate/substrate/crates/substrate-archive/src/symlink_guard.rs
audit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
deny
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
cargo-shear
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
shear/unused_optional_dependency: crates/substrate-archive/Cargo.toml#L39
unused optional dependency `libdeflater`
nextest
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
clippy
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
mmdc-lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. 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/
llvm-cov
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/
bench (compile only)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. 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/