Skip to content

Progress 5

Progress 5 #1043

Triggered via push July 17, 2023 09:24
Status Failure
Total duration 23m 31s
Artifacts

base_checks.yaml

on: push
clean-up-actions
2s
clean-up-actions
compile-and-check
23m 21s
compile-and-check
Fit to window
Zoom out
Zoom in

Annotations

3 errors
method `post_upgrade` has an incompatible type for trait: pallets/xc-asset-config/src/migrations.rs#L97
error[E0053]: method `post_upgrade` has an incompatible type for trait --> pallets/xc-asset-config/src/migrations.rs:97:40 | 97 | fn post_upgrade(state: Vec<u8>) -> Result<(), &'static str> { | ^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected `DispatchError`, found `&'static str` | help: change the output type to match the trait: `std::result::Result<(), frame_support::dispatch::DispatchError>` | = note: expected signature `fn(frame_benchmarking::Vec<_>) -> std::result::Result<_, frame_support::dispatch::DispatchError>` found signature `fn(frame_benchmarking::Vec<_>) -> std::result::Result<_, &'static str>`
method `pre_upgrade` has an incompatible type for trait: pallets/xc-asset-config/src/migrations.rs#L89
error[E0053]: method `pre_upgrade` has an incompatible type for trait --> pallets/xc-asset-config/src/migrations.rs:89:25 | 89 | fn pre_upgrade() -> Result<Vec<u8>, &'static str> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected `DispatchError`, found `&'static str` | help: change the output type to match the trait: `std::result::Result<frame_benchmarking::Vec<u8>, frame_support::dispatch::DispatchError>` | = note: expected signature `fn() -> std::result::Result<_, frame_support::dispatch::DispatchError>` found signature `fn() -> std::result::Result<_, &'static str>`
compile-and-check
Process completed with exit code 101.