Skip to content
Triggered via push October 16, 2024 16:52
Status Failure
Total duration 12m 24s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 22 warnings
check-license
'node/generic-runtime/src/lib.rs' does not contain license from '.github/license-check/HEADER-APACHE2'
check-license
1 error(s) found
unresolved import `frame_benchmarking::Vec`: frame/launch/src/benchmarking.rs#L21
error[E0432]: unresolved import `frame_benchmarking::Vec` --> frame/launch/src/benchmarking.rs:21:5 | 21 | use frame_benchmarking::Vec; | ^^^^^^^^^^^^^^^^^^^^^^^ no `Vec` in the root | help: consider importing one of these structs instead | 21 | use std::vec::Vec; | ~~~~~~~~~~~~~ 21 | use scale_info::prelude::vec::Vec; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clippy
Clippy had exited with the 101 exit code
check-license
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, viperproject/check-license-header@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-license
Config does not cover the file 'Cargo.lock'
check-license
Config does not cover the file 'Cargo.toml'
check-license
Config does not cover the file 'chains/kusama-parachain.json'
check-license
Config does not cover the file 'chains/kusama-parachain.raw.json'
check-license
Config does not cover the file 'chains/polkadot-parachain.raw.json'
check-license
Config does not cover the file 'Dockerfile'
check-license
Config does not cover the file 'frame/datalog/Cargo.toml'
check-license
Config does not cover the file 'frame/digital-twin/Cargo.toml'
check-license
Config does not cover the file 'frame/launch/Cargo.toml'
check-license
Config does not cover the file 'frame/liability/Cargo.toml'
fmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unused import: `Encode`: frame/launch/src/benchmarking.rs#L25
warning: unused import: `Encode` --> frame/launch/src/benchmarking.rs:25:34 | 25 | use parity_scale_codec::{Decode, Encode}; | ^^^^^^ | = note: `#[warn(unused_imports)]` on by default
use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: It is deprecated to use hard-coded constant as call weight. Please instead benchmark all calls or put the pallet into `dev` mode. For more info see: <https://github.com/paritytech/substrate/pull/13798>: frame/launch/src/lib.rs#L58
warning: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: It is deprecated to use hard-coded constant as call weight. Please instead benchmark all calls or put the pallet into `dev` mode. For more info see: <https://github.com/paritytech/substrate/pull/13798> --> frame/launch/src/lib.rs:58:26 | 58 | #[pallet::weight(500_000)] | ^^^^^^^ | = note: `#[warn(deprecated)]` on by default
unexpected `cfg` condition value: `try-runtime`: frame/launch/src/lib.rs#L49
warning: unexpected `cfg` condition value: `try-runtime` --> frame/launch/src/lib.rs:49:15 | 49 | #[pallet::hooks] | ^^^^^ | = note: expected values for `feature` are: `default`, `frame-benchmarking`, `runtime-benchmarks`, and `std` = help: consider adding `try-runtime` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default
unused variable: `deny_unsafe`: node/rpc/core/src/lib.rs#L68
warning: unused variable: `deny_unsafe` --> node/rpc/core/src/lib.rs:68:9 | 68 | deny_unsafe, | ^^^^^^^^^^^ help: try ignoring the field: `deny_unsafe: _`
unused variable: `pool`: node/rpc/core/src/lib.rs#L67
warning: unused variable: `pool` --> node/rpc/core/src/lib.rs:67:9 | 67 | pool, | ^^^^ help: try ignoring the field: `pool: _`
unused variable: `client`: node/rpc/core/src/lib.rs#L66
warning: unused variable: `client` --> node/rpc/core/src/lib.rs:66:9 | 66 | client, | ^^^^^^ help: try ignoring the field: `client: _` | = note: `#[warn(unused_variables)]` on by default
unused imports: `SystemApiServer` and `System`: node/rpc/core/src/lib.rs#L62
warning: unused imports: `SystemApiServer` and `System` --> node/rpc/core/src/lib.rs:62:38 | 62 | use substrate_frame_rpc_system::{System, SystemApiServer}; | ^^^^^^ ^^^^^^^^^^^^^^^
unused imports: `TransactionPaymentApiServer` and `TransactionPayment`: node/rpc/core/src/lib.rs#L61
warning: unused imports: `TransactionPaymentApiServer` and `TransactionPayment` --> node/rpc/core/src/lib.rs:61:42 | 61 | use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/