chore(xtask): run mainnet replica #897
GitHub Actions / clippy
failed
Dec 4, 2024 in 1s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0-nightly (662180b34 2024-10-20)
- cargo 1.84.0-nightly (cf53cc54b 2024-10-18)
- clippy 0.1.84 (662180b34d 2024-10-20)
Annotations
Check failure on line 63 in xtask/src/run.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> xtask/src/run.rs:63:48
|
63 | (crate::mainnet_spec::mainnet_spec(&replica, &path), false)
| ^^^^^^^^ help: change this to: `replica`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check failure on line 91 in xtask/src/mainnet_spec.rs
github-actions / clippy
this expression creates a reference which is immediately dereferenced by the compiler
error: this expression creates a reference which is immediately dereferenced by the compiler
--> xtask/src/mainnet_spec.rs:91:54
|
91 | sp_core::ed25519::Public::from_ss58check(&sudo)
| ^^^^^ help: change this to: `sudo`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
Loading