[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:
Alexandru Gheorghe
2023-12-10 23:22:00 +02:00
committed by GitHub
parent f6ae145813
commit e5dc8ed8f5
5 changed files with 10 additions and 1 deletions
@@ -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