[ci] Update ci image with rust 1.77 and 2024-04-10 (#4077)

cc https://github.com/paritytech/ci_cd/issues/974

---------

Co-authored-by: command-bot <>
Co-authored-by: Bastian Köcher <info@kchr.de>
This commit is contained in:
Alexander Samusev
2024-04-18 11:24:16 +02:00
committed by GitHub
parent b6fab8046e
commit 76719da221
32 changed files with 443 additions and 456 deletions
@@ -18,7 +18,7 @@ error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`, which is required by `&<T as pallet::Config>::Bar: std::fmt::Debug`
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug`
@@ -18,7 +18,7 @@ error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`, which is required by `&<T as pallet::Config>::Bar: std::fmt::Debug`
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug`
@@ -41,7 +41,7 @@ error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeEncode` is
| ------------------------ required by a bound introduced by this call
...
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ the trait `WrapperTypeEncode` is not implemented for `<T as pallet::Config>::Bar`
| ^^^^ the trait `WrapperTypeEncode` is not implemented for `<T as pallet::Config>::Bar`, which is required by `<T as pallet::Config>::Bar: Encode`
|
= note: required for `<T as pallet::Config>::Bar` to implement `Encode`
@@ -49,6 +49,6 @@ error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeDecode` is
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:42
|
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `<T as pallet::Config>::Bar`
| ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `<T as pallet::Config>::Bar`, which is required by `<T as pallet::Config>::Bar: Decode`
|
= note: required for `<T as pallet::Config>::Bar` to implement `Decode`
@@ -18,7 +18,7 @@ error[E0277]: `Bar` doesn't implement `std::fmt::Debug`
40 | pub fn foo(origin: OriginFor<T>, _bar: Bar) -> DispatchResultWithPostInfo {
| ^^^^ `Bar` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `Bar`
= help: the trait `std::fmt::Debug` is not implemented for `Bar`, which is required by `&Bar: std::fmt::Debug`
= note: add `#[derive(Debug)]` to `Bar` or manually `impl std::fmt::Debug for Bar`
= note: required for `&Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&Bar` to `&dyn std::fmt::Debug`
@@ -35,7 +35,7 @@ error[E0277]: the trait bound `Vec<u8>: MaxEncodedLen` is not satisfied
... |
35 | | #[pallet::storage]
36 | | type MyStorage<T: Config> = StorageValue<_, Vec<u8>>;
| |__________________^ the trait `MaxEncodedLen` is not implemented for `Vec<u8>`
| |__________________^ the trait `MaxEncodedLen` is not implemented for `Vec<u8>`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageMyStorage<T>, Vec<u8>>: StorageInfoTrait`
|
= help: the following other types implement trait `MaxEncodedLen`:
bool
@@ -16,6 +16,6 @@ error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
41 | B { b: T::Bar },
| ^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`, which is required by `&<T as pallet::Config>::Bar: std::fmt::Debug`
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug`
@@ -9,7 +9,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
... |
38 | | #[pallet::storage]
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: PartialStorageInfoTrait`
|
= help: the following other types implement trait `WrapperTypeDecode`:
Box<T>
@@ -31,7 +31,7 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
... |
38 | | #[pallet::storage]
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
| |____________^ the trait `EncodeLike` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: PartialStorageInfoTrait`
|
= help: the following other types implement trait `EncodeLike<T>`:
<bool as EncodeLike>
@@ -58,7 +58,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
... |
38 | | #[pallet::storage]
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: PartialStorageInfoTrait`
|
= help: the following other types implement trait `WrapperTypeEncode`:
Box<T>
@@ -81,7 +81,7 @@ error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `TypeInfo` is not implemented for `Bar`
| |____________^ the trait `TypeInfo` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageEntryMetadataBuilder`
|
= help: the following other types implement trait `TypeInfo`:
bool
@@ -102,7 +102,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageEntryMetadataBuilder`
|
= help: the following other types implement trait `WrapperTypeDecode`:
Box<T>
@@ -119,7 +119,7 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
| |____________^ the trait `EncodeLike` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageEntryMetadataBuilder`
|
= help: the following other types implement trait `EncodeLike<T>`:
<bool as EncodeLike>
@@ -141,7 +141,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageEntryMetadataBuilder`
|
= help: the following other types implement trait `WrapperTypeEncode`:
Box<T>
@@ -164,7 +164,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: TryDecodeEntireStorage`
|
= help: the following other types implement trait `WrapperTypeDecode`:
Box<T>
@@ -181,7 +181,7 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
| |____________^ the trait `EncodeLike` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: TryDecodeEntireStorage`
|
= help: the following other types implement trait `EncodeLike<T>`:
<bool as EncodeLike>
@@ -203,7 +203,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<Value = Bar>;
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: TryDecodeEntireStorage`
|
= help: the following other types implement trait `WrapperTypeEncode`:
Box<T>
@@ -9,7 +9,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
... |
38 | | #[pallet::storage]
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: PartialStorageInfoTrait`
|
= help: the following other types implement trait `WrapperTypeDecode`:
Box<T>
@@ -31,7 +31,7 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
... |
38 | | #[pallet::storage]
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
| |____________^ the trait `EncodeLike` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: PartialStorageInfoTrait`
|
= help: the following other types implement trait `EncodeLike<T>`:
<bool as EncodeLike>
@@ -58,7 +58,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
... |
38 | | #[pallet::storage]
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: PartialStorageInfoTrait`
|
= help: the following other types implement trait `WrapperTypeEncode`:
Box<T>
@@ -81,7 +81,7 @@ error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `TypeInfo` is not implemented for `Bar`
| |____________^ the trait `TypeInfo` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageEntryMetadataBuilder`
|
= help: the following other types implement trait `TypeInfo`:
bool
@@ -102,7 +102,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageEntryMetadataBuilder`
|
= help: the following other types implement trait `WrapperTypeDecode`:
Box<T>
@@ -119,7 +119,7 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
| |____________^ the trait `EncodeLike` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageEntryMetadataBuilder`
|
= help: the following other types implement trait `EncodeLike<T>`:
<bool as EncodeLike>
@@ -141,7 +141,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageEntryMetadataBuilder`
|
= help: the following other types implement trait `WrapperTypeEncode`:
Box<T>
@@ -164,7 +164,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: TryDecodeEntireStorage`
|
= help: the following other types implement trait `WrapperTypeDecode`:
Box<T>
@@ -181,7 +181,7 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
| |____________^ the trait `EncodeLike` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: TryDecodeEntireStorage`
|
= help: the following other types implement trait `EncodeLike<T>`:
<bool as EncodeLike>
@@ -203,7 +203,7 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
38 | #[pallet::storage]
| _______________^
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: TryDecodeEntireStorage`
|
= help: the following other types implement trait `WrapperTypeEncode`:
Box<T>
@@ -9,7 +9,7 @@ error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied
... |
38 | | #[pallet::storage]
39 | | type Foo<T> = StorageValue<_, Bar>;
| |____________^ the trait `MaxEncodedLen` is not implemented for `Bar`
| |____________^ the trait `MaxEncodedLen` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>: StorageInfoTrait`
|
= help: the following other types implement trait `MaxEncodedLen`:
bool
@@ -9,7 +9,7 @@ error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied
... |
41 | | #[pallet::storage]
42 | | type Foo<T> = StorageNMap<_, Key<Twox64Concat, Bar>, u32>;
| |____________^ the trait `MaxEncodedLen` is not implemented for `Bar`
| |____________^ the trait `MaxEncodedLen` is not implemented for `Bar`, which is required by `frame_support::pallet_prelude::StorageNMap<_GeneratedPrefixForStorageFoo<T>, NMapKey<frame_support::Twox64Concat, Bar>, u32>: StorageInfoTrait`
|
= help: the following other types implement trait `MaxEncodedLen`:
bool