feat(xcm): reserver transfer + xcm emulator #58
GitHub Actions / clippy
failed
Mar 8, 2024 in 0s
clippy
2 errors, 1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
github-actions / clippy
not all trait items implemented, missing: `try_successful_origin`
error[E0046]: not all trait items implemented, missing: `try_successful_origin`
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/2a91d5a/cumulus/parachains/runtimes/assets/common/src/foreign_creators.rs:28:1
|
28 | / impl<
29 | | IsForeign: ContainsPair<L, L>,
30 | | AccountOf: ConvertLocation<AccountId>,
31 | | AccountId: Clone,
... |
36 | | RuntimeOrigin::PalletsOrigin:
37 | | From<XcmOrigin> + TryInto<XcmOrigin, Error = RuntimeOrigin::PalletsOrigin>,
| |___________________________________________________________________________________^ missing `try_successful_origin` in implementation
|
= help: implement the missing item: `fn try_successful_origin(_: &L) -> Result<RuntimeOrigin, ()> { todo!() }`
github-actions / clippy
not all trait items implemented, missing: `unanimity`, `rejection`, `from_requirements`, `setup`
error[E0046]: not all trait items implemented, missing: `unanimity`, `rejection`, `from_requirements`, `setup`
--> /home/runner/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/2a91d5a/substrate/frame/conviction-voting/src/types.rs:58:1
|
58 | / impl<
59 | | Votes: Clone + Default + PartialEq + Eq + Debug + Copy + AtLeast32BitUnsigned + TypeInfo + Codec,
60 | | Total: Get<Votes>,
61 | | Class,
62 | | > VoteTally<Votes, Class> for Tally<Votes, Total>
| |_____________________________________________________^ missing `unanimity`, `rejection`, `from_requirements`, `setup` in implementation
|
= help: implement the missing item: `fn unanimity(_: Class) -> Self { todo!() }`
= help: implement the missing item: `fn rejection(_: Class) -> Self { todo!() }`
= help: implement the missing item: `fn from_requirements(_: sp_runtime::Perbill, _: sp_runtime::Perbill, _: Class) -> Self { todo!() }`
= help: implement the missing item: `fn setup(_: Class, _: sp_runtime::Perbill) { todo!() }`
Check warning on line 191 in runtime/src/lib.rs
github-actions / clippy
this is a decimal constant
warning: this is a decimal constant
--> runtime/src/lib.rs:191:16
|
191 | spec_version: 00_01_00,
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#zero_prefixed_literal
= note: `#[warn(clippy::zero_prefixed_literal)]` on by default
help: if you mean to use a decimal constant, remove the `0` to avoid confusion
|
191 | spec_version: 1_00,
| ~~~~
help: if you mean to use an octal constant, use `0o`
|
191 | spec_version: 0o1_00,
| ~~~~~~
Loading