You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
The pallet UI tests sometimes fail with just one line of diff. It often looks like this:
@@ -28,7 +28,7 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
<&[(T,)] as EncodeLike<BinaryHeap<LikeT>>>
<&[(T,)] as EncodeLike<LinkedList<LikeT>>>
<&[T] as EncodeLike<Vec<U>>>
- and 278 others+ and 279 others
= note: required for `Bar` to implement `FullEncode`
= note: required for `Bar` to implement `FullCodec`
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `PartialStorageInfoTrait`
Example include #12485 and #12537 (search for pallet_ui in the files).
No idea what is causing this, but I had it at least three times now.
Looks like that the number between both tests increased by one. So, maybe some new type that is implemented in these prs that make this number go up? Which is clearly annoying.
Activity
bkchr commentedon Dec 16, 2022
Hmm and how did you solve these errors? Did you rerun the tests with
TRYBUILD=overwrite?ggwpez commentedon Dec 16, 2022
Yes it was "solved" with your
update-rust-stable.shscript.bkchr commentedon Dec 16, 2022
Looks like that the number between both tests increased by one. So, maybe some new type that is implemented in these prs that make this number go up? Which is clearly annoying.
hirschenberger commentedon Jan 5, 2023
I did some research and this seems to be resolved in trybuild since 1.0.70 with dtolnay/trybuild#198.
I think an update may solve the issue.
Update trybuild to avoid random test failures.
Update trybuild to avoid random test failures.
Update trybuild to avoid random test failures. (#13073)
Update trybuild to avoid random test failures. (paritytech#13073)
Update trybuild to avoid random test failures. (paritytech#13073)