feat(sponsorship): fight spam #2274
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yml
on: pull_request
try-runtime-prepare
38s
lints
1m 10s
test-runtime
3m 13s
tests-with-linecoverage
56s
try-runtime-execute
0s
Annotations
9 errors
tests-with-linecoverage:
pallets/sponsorship/src/lib.rs#L582
method `pre_upgrade` has an incompatible type for trait
|
tests-with-linecoverage:
pallets/sponsorship/src/lib.rs#L587
method `post_upgrade` has an incompatible type for trait
|
tests-with-linecoverage
Process completed with exit code 1.
|
try-runtime-prepare:
pallets/sponsorship/src/lib.rs#L582
method `pre_upgrade` has an incompatible type for trait
|
try-runtime-prepare:
pallets/sponsorship/src/lib.rs#L587
method `post_upgrade` has an incompatible type for trait
|
try-runtime-prepare
Process completed with exit code 101.
|
method `pre_upgrade` has an incompatible type for trait:
pallets/sponsorship/src/lib.rs#L582
error[E0053]: method `pre_upgrade` has an incompatible type for trait
--> pallets/sponsorship/src/lib.rs:582:23
|
582 | fn pre_upgrade() -> Result<Vec<u8>, &'static str> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected `sp_runtime::DispatchError`, found `&'static str`
| help: change the output type to match the trait: `std::result::Result<frame_benchmarking::Vec<u8>, sp_runtime::DispatchError>`
|
= note: expected signature `fn() -> std::result::Result<_, sp_runtime::DispatchError>`
found signature `fn() -> std::result::Result<_, &'static str>`
|
method `post_upgrade` has an incompatible type for trait:
pallets/sponsorship/src/lib.rs#L587
error[E0053]: method `post_upgrade` has an incompatible type for trait
--> pallets/sponsorship/src/lib.rs:587:39
|
587 | fn post_upgrade(_state: Vec<u8>) -> Result<(), &'static str> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected `sp_runtime::DispatchError`, found `&'static str`
| help: change the output type to match the trait: `std::result::Result<(), sp_runtime::DispatchError>`
|
= note: expected signature `fn(frame_benchmarking::Vec<_>) -> std::result::Result<_, sp_runtime::DispatchError>`
found signature `fn(frame_benchmarking::Vec<_>) -> std::result::Result<_, &'static str>`
|
lints
Clippy had exited with the 101 exit code
|