Upgrade to upstream 0.9.40 #1848
ci.yml
on: pull_request
lints
11m 29s
tests
19m 4s
linecoverage
21m 3s
try-runtime
21m 1s
Annotations
19 errors
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`:
runtimes/eden/src/weights/mod.rs#L71
error: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`
--> runtimes/eden/src/weights/mod.rs:71:6
|
71 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `-D clippy::into-iter-on-ref` implied by `-D warnings`
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`:
runtimes/eden/src/weights/mod.rs#L90
error: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `Vec`
--> runtimes/eden/src/weights/mod.rs:90:5
|
90 | .into_iter()
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
|
redundant closure:
runtimes/eden/src/weights/mod.rs#L91
error: redundant closure
--> runtimes/eden/src/weights/mod.rs:91:9
|
91 | .map(|m| <AssetTypes as From<&MultiAsset>>::from(m))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `<AssetTypes as From<&MultiAsset>>::from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
|
casting integer literal to `u64` is unnecessary:
runtimes/eden/src/weights/mod.rs#L109
error: casting integer literal to `u64` is unnecessary
--> runtimes/eden/src/weights/mod.rs:109:48
|
109 | assets.weigh_multi_assets(Weight::from_parts(2_000_000_000_000 as u64, 0))
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `2_000_000_000_000_u64`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `-D clippy::unnecessary-cast` implied by `-D warnings`
|
lints
Clippy had exited with the 101 exit code
|
try-runtime
The run was canceled by @aliXsed.
|
try-runtime:
node/src/command.rs#L259
the name `ExtendedHostFunctions` is defined multiple times
|
try-runtime:
node/src/command.rs#L259
the name `NativeExecutionDispatch` is defined multiple times
|
try-runtime:
node/src/command.rs#L259
unused imports: `NativeExecutionDispatch`, `sp_wasm_interface::ExtendedHostFunctions`
|
try-runtime:
node/src/command.rs#L259
the item `ExtendedHostFunctions` is imported redundantly
|
try-runtime:
node/src/command.rs#L259
the item `NativeExecutionDispatch` is imported redundantly
|
try-runtime
The operation was canceled.
|
linecoverage
The run was canceled by @aliXsed.
|
linecoverage:
runtimes/eden/src/xcm_config.rs#L371
cannot find value `Any` in this scope
|
linecoverage:
runtimes/eden/src/weights/mod.rs#L397
mismatched types
|
linecoverage:
runtimes/eden/src/weights/mod.rs#L404
mismatched types
|
linecoverage
The operation was canceled.
|
|
tests
The operation was canceled.
|