mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 08:47:57 +00:00
[ci] fix test-frame-ui job (#2672)
The test frame ui started failing consistently on latest master [1]. I assume it was because of a race between https://github.com/paritytech/polkadot-sdk/pull/1343 which introduced this warning and a PR that updated our tooling version, hence the warnings don't match perfectly, so regenerated them with `TRYBUILD=overwrite` as the test suggests. [1] https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/4666766 --------- Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
This commit is contained in:
committed by
GitHub
parent
f6ae145813
commit
e5dc8ed8f5
+6
-1
@@ -81,6 +81,11 @@ error[E0412]: cannot find type `RuntimeTask` in this scope
|
||||
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:39:1
|
||||
|
|
||||
39 | #[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeTask`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: this error originates in the macro `frame_system::config_preludes::TestDefaultConfig` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
help: you might have meant to use the associated type
|
||||
--> $WORKSPACE/substrate/frame/system/src/lib.rs
|
||||
|
|
||||
| type Self::RuntimeTask = ();
|
||||
| ++++++
|
||||
|
||||
@@ -5,6 +5,7 @@ error: unused import: `frame_system::pallet_prelude::OriginFor`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: `-D unused-imports` implied by `-D warnings`
|
||||
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> tests/pallet_ui/task_condition_invalid_arg.rs:35:10
|
||||
|
||||
@@ -5,6 +5,7 @@ error: unused import: `frame_system::pallet_prelude::OriginFor`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: `-D unused-imports` implied by `-D warnings`
|
||||
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> tests/pallet_ui/task_invalid_condition.rs:18:1
|
||||
|
||||
@@ -5,6 +5,7 @@ error: unused import: `frame_system::pallet_prelude::OriginFor`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: `-D unused-imports` implied by `-D warnings`
|
||||
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
||||
|
||||
error[E0689]: can't call method `map` on ambiguous numeric type `{integer}`
|
||||
--> tests/pallet_ui/task_invalid_list.rs:18:1
|
||||
|
||||
@@ -5,6 +5,7 @@ error: unused import: `frame_system::pallet_prelude::OriginFor`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: `-D unused-imports` implied by `-D warnings`
|
||||
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
||||
|
||||
error[E0308]: mismatched types
|
||||
--> tests/pallet_ui/task_invalid_weight.rs:18:1
|
||||
|
||||
Reference in New Issue
Block a user