mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 07:51:03 +00:00
[ci] Update rust to 1.74 (#2545)
cc https://github.com/paritytech/ci_cd/issues/900 --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Dónal Murray <donal.murray@parity.io> Co-authored-by: Bastian Köcher <info@kchr.de> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: command-bot <>
This commit is contained in:
committed by
GitHub
parent
833478f262
commit
cd63276d31
+1
-1
@@ -21,7 +21,7 @@ workflow:
|
|||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
CI_IMAGE: !reference [.ci-unified, variables, CI_IMAGE]
|
CI_IMAGE: "docker.io/paritytech/ci-unified:bullseye-1.74.0-2023-11-01-v20231204"
|
||||||
# BUILDAH_IMAGE is defined in group variables
|
# BUILDAH_IMAGE is defined in group variables
|
||||||
BUILDAH_COMMAND: "buildah --storage-driver overlay2"
|
BUILDAH_COMMAND: "buildah --storage-driver overlay2"
|
||||||
RELENG_SCRIPTS_BRANCH: "master"
|
RELENG_SCRIPTS_BRANCH: "master"
|
||||||
|
|||||||
@@ -101,11 +101,9 @@ fn test_harness<T: Future<Output = VirtualOverseer>>(
|
|||||||
|
|
||||||
let mut view = View::new();
|
let mut view = View::new();
|
||||||
let subsystem = async move {
|
let subsystem = async move {
|
||||||
loop {
|
match run_iteration(&mut context, &mut view, &Metrics(None)).await {
|
||||||
match run_iteration(&mut context, &mut view, &Metrics(None)).await {
|
Ok(()) => {},
|
||||||
Ok(()) => break,
|
Err(e) => panic!("{:?}", e),
|
||||||
Err(e) => panic!("{:?}", e),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
view
|
view
|
||||||
|
|||||||
@@ -205,8 +205,7 @@ impl WsServer {
|
|||||||
Ok(soketto::Data::Text(len)) => String::from_utf8(buf[..len].to_vec())
|
Ok(soketto::Data::Text(len)) => String::from_utf8(buf[..len].to_vec())
|
||||||
.map(Message::Text)
|
.map(Message::Text)
|
||||||
.map_err(|err| Box::new(err) as Box<_>),
|
.map_err(|err| Box::new(err) as Box<_>),
|
||||||
Ok(soketto::Data::Binary(len)) => Ok(buf[..len].to_vec())
|
Ok(soketto::Data::Binary(len)) => Ok(Message::Binary(buf[..len].to_vec())),
|
||||||
.map(Message::Binary),
|
|
||||||
Err(err) => Err(Box::new(err) as Box<_>),
|
Err(err) => Err(Box::new(err) as Box<_>),
|
||||||
};
|
};
|
||||||
Some((ret, (receiver, buf)))
|
Some((ret, (receiver, buf)))
|
||||||
|
|||||||
@@ -411,7 +411,7 @@ async fn run_one_test(mutator: impl Fn(&mut TestHeader, Stage) + Send + Sync + '
|
|||||||
let mut net = net.lock();
|
let mut net = net.lock();
|
||||||
net.poll(cx);
|
net.poll(cx);
|
||||||
for p in net.peers() {
|
for p in net.peers() {
|
||||||
for (h, e) in p.failed_verifications() {
|
if let Some((h, e)) = p.failed_verifications().into_iter().next() {
|
||||||
panic!("Verification failed for {:?}: {}", h, e);
|
panic!("Verification failed for {:?}: {}", h, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ error: use of deprecated constant `WhereSection::_w`:
|
|||||||
| |_^
|
| |_^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
= note: this error originates in the macro `frame_support::match_and_insert` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
= note: this error originates in the macro `frame_support::match_and_insert` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||||
|
|
||||||
error[E0277]: the trait bound `Runtime: Config` is not satisfied
|
error[E0277]: the trait bound `Runtime: Config` is not satisfied
|
||||||
|
|||||||
+19
-4
@@ -31,19 +31,34 @@ error[E0412]: cannot find type `RuntimeOrigin` in this scope
|
|||||||
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:42:23
|
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:42:23
|
||||||
|
|
|
|
||||||
42 | type RuntimeOrigin = RuntimeOrigin;
|
42 | type RuntimeOrigin = RuntimeOrigin;
|
||||||
| ^^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeOrigin`
|
| ^^^^^^^^^^^^^
|
||||||
|
|
|
||||||
|
help: you might have meant to use the associated type
|
||||||
|
|
|
||||||
|
42 | type RuntimeOrigin = Self::RuntimeOrigin;
|
||||||
|
| ++++++
|
||||||
|
|
||||||
error[E0412]: cannot find type `RuntimeCall` in this scope
|
error[E0412]: cannot find type `RuntimeCall` in this scope
|
||||||
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:44:21
|
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:44:21
|
||||||
|
|
|
|
||||||
44 | type RuntimeCall = RuntimeCall;
|
44 | type RuntimeCall = RuntimeCall;
|
||||||
| ^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeCall`
|
| ^^^^^^^^^^^
|
||||||
|
|
|
||||||
|
help: you might have meant to use the associated type
|
||||||
|
|
|
||||||
|
44 | type RuntimeCall = Self::RuntimeCall;
|
||||||
|
| ++++++
|
||||||
|
|
||||||
error[E0412]: cannot find type `RuntimeEvent` in this scope
|
error[E0412]: cannot find type `RuntimeEvent` in this scope
|
||||||
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:50:22
|
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:50:22
|
||||||
|
|
|
|
||||||
50 | type RuntimeEvent = RuntimeEvent;
|
50 | type RuntimeEvent = RuntimeEvent;
|
||||||
| ^^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeEvent`
|
| ^^^^^^^^^^^^
|
||||||
|
|
|
||||||
|
help: you might have meant to use the associated type
|
||||||
|
|
|
||||||
|
50 | type RuntimeEvent = Self::RuntimeEvent;
|
||||||
|
| ++++++
|
||||||
|
|
||||||
error[E0412]: cannot find type `PalletInfo` in this scope
|
error[E0412]: cannot find type `PalletInfo` in this scope
|
||||||
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:56:20
|
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:56:20
|
||||||
@@ -54,7 +69,7 @@ error[E0412]: cannot find type `PalletInfo` in this scope
|
|||||||
help: you might have meant to use the associated type
|
help: you might have meant to use the associated type
|
||||||
|
|
|
|
||||||
56 | type PalletInfo = Self::PalletInfo;
|
56 | type PalletInfo = Self::PalletInfo;
|
||||||
| ~~~~~~~~~~~~~~~~
|
| ++++++
|
||||||
help: consider importing one of these items
|
help: consider importing one of these items
|
||||||
|
|
|
|
||||||
18 + use frame_benchmarking::__private::traits::PalletInfo;
|
18 + use frame_benchmarking::__private::traits::PalletInfo;
|
||||||
|
|||||||
+5
-1
@@ -2,9 +2,13 @@ error[E0412]: cannot find type `RuntimeCall` in this scope
|
|||||||
--> tests/derive_impl_ui/inject_runtime_type_fails_when_type_not_in_scope.rs:30:10
|
--> tests/derive_impl_ui/inject_runtime_type_fails_when_type_not_in_scope.rs:30:10
|
||||||
|
|
|
|
||||||
30 | type RuntimeCall = ();
|
30 | type RuntimeCall = ();
|
||||||
| ^^^^^^^^^^^ help: you might have meant to use the associated type: `Self::RuntimeCall`
|
| ^^^^^^^^^^^
|
||||||
...
|
...
|
||||||
35 | #[derive_impl(Pallet)] // Injects type RuntimeCall = RuntimeCall;
|
35 | #[derive_impl(Pallet)] // Injects type RuntimeCall = RuntimeCall;
|
||||||
| ---------------------- in this macro invocation
|
| ---------------------- in this macro invocation
|
||||||
|
|
|
|
||||||
= note: this error originates in the macro `Pallet` 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)
|
= note: this error originates in the macro `Pallet` 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
|
||||||
|
|
|
||||||
|
30 | type Self::RuntimeCall = ();
|
||||||
|
| ++++++
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
|||||||
| ^
|
| ^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|
||||||
error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
|
error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
|
||||||
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36
|
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
|||||||
| ^
|
| ^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|
||||||
error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
|
error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
|
||||||
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36
|
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36
|
||||||
@@ -45,9 +46,9 @@ error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeEncode` is
|
|||||||
= note: required for `<T as pallet::Config>::Bar` to implement `Encode`
|
= note: required for `<T as pallet::Config>::Bar` to implement `Encode`
|
||||||
|
|
||||||
error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeDecode` is not satisfied
|
error[E0277]: the trait bound `<T as pallet::Config>::Bar: WrapperTypeDecode` is not satisfied
|
||||||
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:34:12
|
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:42
|
||||||
|
|
|
|
||||||
34 | #[pallet::call]
|
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`
|
||||||
|
|
|
|
||||||
= note: required for `<T as pallet::Config>::Bar` to implement `Decode`
|
= note: required for `<T as pallet::Config>::Bar` to implement `Decode`
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
|||||||
| ^
|
| ^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|
||||||
error[E0277]: `Bar` doesn't implement `std::fmt::Debug`
|
error[E0277]: `Bar` doesn't implement `std::fmt::Debug`
|
||||||
--> tests/pallet_ui/call_argument_invalid_bound_3.rs:40:36
|
--> tests/pallet_ui/call_argument_invalid_bound_3.rs:40:36
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`:
|
|||||||
| ^^^
|
| ^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|
||||||
error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_1::_w`:
|
error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_1::_w`:
|
||||||
It is deprecated to use implicit call indices.
|
It is deprecated to use implicit call indices.
|
||||||
|
|||||||
@@ -18,3 +18,4 @@ error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
|||||||
| ^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
|||||||
| ^^^^^^^
|
| ^^^^^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
|||||||
| ^^^
|
| ^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|
||||||
error: use of deprecated constant `pallet::warnings::ConstantWeight_1::_w`:
|
error: use of deprecated constant `pallet::warnings::ConstantWeight_1::_w`:
|
||||||
It is deprecated to use hard-coded constant as call weight.
|
It is deprecated to use hard-coded constant as call weight.
|
||||||
|
|||||||
@@ -17,3 +17,4 @@ error: unused import: `frame_system::pallet_prelude::*`
|
|||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
|
||||||
= note: `-D unused-imports` implied by `-D warnings`
|
= note: `-D unused-imports` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ error: use of deprecated constant `pallet::warnings::UncheckedWeightWitness_0::_
|
|||||||
| ^^^^^^^
|
| ^^^^^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ error: use of deprecated struct `pallet::_::Store`:
|
|||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`:
|
|||||||
| ^^^^^^^
|
| ^^^^^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|
||||||
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
||||||
It is deprecated to use hard-coded constant as call weight.
|
It is deprecated to use hard-coded constant as call weight.
|
||||||
|
|||||||
+10
-2
@@ -11,6 +11,7 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`:
|
|||||||
| ^^^^^^^
|
| ^^^^^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|
||||||
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
||||||
It is deprecated to use hard-coded constant as call weight.
|
It is deprecated to use hard-coded constant as call weight.
|
||||||
@@ -26,8 +27,15 @@ error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
|
|||||||
error[E0277]: the trait bound `Vec<u8>: MaxEncodedLen` is not satisfied
|
error[E0277]: the trait bound `Vec<u8>: MaxEncodedLen` is not satisfied
|
||||||
--> tests/pallet_ui/dev_mode_without_arg_max_encoded_len.rs:28:12
|
--> tests/pallet_ui/dev_mode_without_arg_max_encoded_len.rs:28:12
|
||||||
|
|
|
|
||||||
28 | #[pallet::pallet]
|
28 | #[pallet::pallet]
|
||||||
| ^^^^^^ the trait `MaxEncodedLen` is not implemented for `Vec<u8>`
|
| _______________^
|
||||||
|
29 | | pub struct Pallet<T>(_);
|
||||||
|
30 | |
|
||||||
|
31 | | // Your Pallet's configuration trait, representing custom external types and interfaces.
|
||||||
|
... |
|
||||||
|
35 | | #[pallet::storage]
|
||||||
|
36 | | type MyStorage<T: Config> = StorageValue<_, Vec<u8>>;
|
||||||
|
| |__________________^ the trait `MaxEncodedLen` is not implemented for `Vec<u8>`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `MaxEncodedLen`:
|
= help: the following other types implement trait `MaxEncodedLen`:
|
||||||
bool
|
bool
|
||||||
|
|||||||
+3
-4
@@ -1,8 +1,8 @@
|
|||||||
error[E0277]: the trait bound `MyError: PalletError` is not satisfied
|
error[E0277]: the trait bound `MyError: PalletError` is not satisfied
|
||||||
--> tests/pallet_ui/error_does_not_derive_pallet_error.rs:18:1
|
--> tests/pallet_ui/error_does_not_derive_pallet_error.rs:28:15
|
||||||
|
|
|
|
||||||
18 | #[frame_support::pallet]
|
28 | CustomError(crate::MyError),
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PalletError` is not implemented for `MyError`
|
| ^^^^^^^^^^^^^^ the trait `PalletError` is not implemented for `MyError`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `PalletError`:
|
= help: the following other types implement trait `PalletError`:
|
||||||
bool
|
bool
|
||||||
@@ -14,4 +14,3 @@ error[E0277]: the trait bound `MyError: PalletError` is not satisfied
|
|||||||
u8
|
u8
|
||||||
u16
|
u16
|
||||||
and $N others
|
and $N others
|
||||||
= note: this error originates in the derive macro `frame_support::PalletError` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
||||||
|
|||||||
+58
-26
@@ -1,8 +1,15 @@
|
|||||||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12
|
||||||
|
|
|
|
||||||
27 | #[pallet::without_storage_info]
|
27 | #[pallet::without_storage_info]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
28 | | pub struct Pallet<T>(core::marker::PhantomData<T>);
|
||||||
|
29 | |
|
||||||
|
30 | | #[pallet::hooks]
|
||||||
|
... |
|
||||||
|
38 | | #[pallet::storage]
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeDecode`:
|
= help: the following other types implement trait `WrapperTypeDecode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -16,8 +23,15 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12
|
||||||
|
|
|
|
||||||
27 | #[pallet::without_storage_info]
|
27 | #[pallet::without_storage_info]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^ the trait `EncodeLike` is not implemented for `Bar`
|
| _______________^
|
||||||
|
28 | | pub struct Pallet<T>(core::marker::PhantomData<T>);
|
||||||
|
29 | |
|
||||||
|
30 | | #[pallet::hooks]
|
||||||
|
... |
|
||||||
|
38 | | #[pallet::storage]
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `EncodeLike<T>`:
|
= help: the following other types implement trait `EncodeLike<T>`:
|
||||||
<bool as EncodeLike>
|
<bool as EncodeLike>
|
||||||
@@ -36,8 +50,15 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12
|
||||||
|
|
|
|
||||||
27 | #[pallet::without_storage_info]
|
27 | #[pallet::without_storage_info]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
28 | | pub struct Pallet<T>(core::marker::PhantomData<T>);
|
||||||
|
29 | |
|
||||||
|
30 | | #[pallet::hooks]
|
||||||
|
... |
|
||||||
|
38 | | #[pallet::storage]
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeEncode`:
|
= help: the following other types implement trait `WrapperTypeEncode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -57,8 +78,10 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
|
error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
||||||
|
|
|
|
||||||
38 | #[pallet::storage]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^ the trait `TypeInfo` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `TypeInfo` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `TypeInfo`:
|
= help: the following other types implement trait `TypeInfo`:
|
||||||
bool
|
bool
|
||||||
@@ -76,8 +99,10 @@ error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
||||||
|
|
|
|
||||||
38 | #[pallet::storage]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeDecode`:
|
= help: the following other types implement trait `WrapperTypeDecode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -91,8 +116,10 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
||||||
|
|
|
|
||||||
38 | #[pallet::storage]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^ the trait `EncodeLike` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `EncodeLike<T>`:
|
= help: the following other types implement trait `EncodeLike<T>`:
|
||||||
<bool as EncodeLike>
|
<bool as EncodeLike>
|
||||||
@@ -111,8 +138,10 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
||||||
|
|
|
|
||||||
38 | #[pallet::storage]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeEncode`:
|
= help: the following other types implement trait `WrapperTypeEncode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -130,10 +159,12 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
|||||||
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `StorageEntryMetadataBuilder`
|
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `StorageEntryMetadataBuilder`
|
||||||
|
|
||||||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:18:1
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
||||||
|
|
|
|
||||||
18 | #[frame_support::pallet]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeDecode`:
|
= help: the following other types implement trait `WrapperTypeDecode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -143,13 +174,14 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
|||||||
= note: required for `Bar` to implement `Decode`
|
= note: required for `Bar` to implement `Decode`
|
||||||
= note: required for `Bar` to implement `FullCodec`
|
= note: required for `Bar` to implement `FullCodec`
|
||||||
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
||||||
= note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
||||||
|
|
||||||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:18:1
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
||||||
|
|
|
|
||||||
18 | #[frame_support::pallet]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EncodeLike` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `EncodeLike<T>`:
|
= help: the following other types implement trait `EncodeLike<T>`:
|
||||||
<bool as EncodeLike>
|
<bool as EncodeLike>
|
||||||
@@ -164,13 +196,14 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
|||||||
= note: required for `Bar` to implement `FullEncode`
|
= note: required for `Bar` to implement `FullEncode`
|
||||||
= note: required for `Bar` to implement `FullCodec`
|
= note: required for `Bar` to implement `FullCodec`
|
||||||
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
||||||
= note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
||||||
|
|
||||||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:18:1
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12
|
||||||
|
|
|
|
||||||
18 | #[frame_support::pallet]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<Value = Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeEncode`:
|
= help: the following other types implement trait `WrapperTypeEncode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -186,4 +219,3 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
|||||||
= note: required for `Bar` to implement `FullEncode`
|
= note: required for `Bar` to implement `FullEncode`
|
||||||
= note: required for `Bar` to implement `FullCodec`
|
= note: required for `Bar` to implement `FullCodec`
|
||||||
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
||||||
= note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
||||||
|
|||||||
+58
-26
@@ -1,8 +1,15 @@
|
|||||||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12
|
||||||
|
|
|
|
||||||
27 | #[pallet::without_storage_info]
|
27 | #[pallet::without_storage_info]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
28 | | pub struct Pallet<T>(core::marker::PhantomData<T>);
|
||||||
|
29 | |
|
||||||
|
30 | | #[pallet::hooks]
|
||||||
|
... |
|
||||||
|
38 | | #[pallet::storage]
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeDecode`:
|
= help: the following other types implement trait `WrapperTypeDecode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -16,8 +23,15 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12
|
||||||
|
|
|
|
||||||
27 | #[pallet::without_storage_info]
|
27 | #[pallet::without_storage_info]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^ the trait `EncodeLike` is not implemented for `Bar`
|
| _______________^
|
||||||
|
28 | | pub struct Pallet<T>(core::marker::PhantomData<T>);
|
||||||
|
29 | |
|
||||||
|
30 | | #[pallet::hooks]
|
||||||
|
... |
|
||||||
|
38 | | #[pallet::storage]
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `EncodeLike<T>`:
|
= help: the following other types implement trait `EncodeLike<T>`:
|
||||||
<bool as EncodeLike>
|
<bool as EncodeLike>
|
||||||
@@ -36,8 +50,15 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12
|
||||||
|
|
|
|
||||||
27 | #[pallet::without_storage_info]
|
27 | #[pallet::without_storage_info]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
28 | | pub struct Pallet<T>(core::marker::PhantomData<T>);
|
||||||
|
29 | |
|
||||||
|
30 | | #[pallet::hooks]
|
||||||
|
... |
|
||||||
|
38 | | #[pallet::storage]
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeEncode`:
|
= help: the following other types implement trait `WrapperTypeEncode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -57,8 +78,10 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
|
error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
||||||
|
|
|
|
||||||
38 | #[pallet::storage]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^ the trait `TypeInfo` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `TypeInfo` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `TypeInfo`:
|
= help: the following other types implement trait `TypeInfo`:
|
||||||
bool
|
bool
|
||||||
@@ -76,8 +99,10 @@ error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
||||||
|
|
|
|
||||||
38 | #[pallet::storage]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeDecode`:
|
= help: the following other types implement trait `WrapperTypeDecode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -91,8 +116,10 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
||||||
|
|
|
|
||||||
38 | #[pallet::storage]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^ the trait `EncodeLike` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `EncodeLike<T>`:
|
= help: the following other types implement trait `EncodeLike<T>`:
|
||||||
<bool as EncodeLike>
|
<bool as EncodeLike>
|
||||||
@@ -111,8 +138,10 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
|||||||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
||||||
|
|
|
|
||||||
38 | #[pallet::storage]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeEncode`:
|
= help: the following other types implement trait `WrapperTypeEncode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -130,10 +159,12 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
|||||||
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `StorageEntryMetadataBuilder`
|
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `StorageEntryMetadataBuilder`
|
||||||
|
|
||||||
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:18:1
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
||||||
|
|
|
|
||||||
18 | #[frame_support::pallet]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeDecode`:
|
= help: the following other types implement trait `WrapperTypeDecode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -143,13 +174,14 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied
|
|||||||
= note: required for `Bar` to implement `Decode`
|
= note: required for `Bar` to implement `Decode`
|
||||||
= note: required for `Bar` to implement `FullCodec`
|
= note: required for `Bar` to implement `FullCodec`
|
||||||
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
||||||
= note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
||||||
|
|
||||||
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:18:1
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
||||||
|
|
|
|
||||||
18 | #[frame_support::pallet]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `EncodeLike` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `EncodeLike` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `EncodeLike<T>`:
|
= help: the following other types implement trait `EncodeLike<T>`:
|
||||||
<bool as EncodeLike>
|
<bool as EncodeLike>
|
||||||
@@ -164,13 +196,14 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied
|
|||||||
= note: required for `Bar` to implement `FullEncode`
|
= note: required for `Bar` to implement `FullEncode`
|
||||||
= note: required for `Bar` to implement `FullCodec`
|
= note: required for `Bar` to implement `FullCodec`
|
||||||
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
||||||
= note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
||||||
|
|
||||||
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
||||||
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:18:1
|
--> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12
|
||||||
|
|
|
|
||||||
18 | #[frame_support::pallet]
|
38 | #[pallet::storage]
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
| _______________^
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `WrapperTypeEncode`:
|
= help: the following other types implement trait `WrapperTypeEncode`:
|
||||||
Box<T>
|
Box<T>
|
||||||
@@ -186,4 +219,3 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied
|
|||||||
= note: required for `Bar` to implement `FullEncode`
|
= note: required for `Bar` to implement `FullEncode`
|
||||||
= note: required for `Bar` to implement `FullCodec`
|
= note: required for `Bar` to implement `FullCodec`
|
||||||
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo<T>, Bar>` to implement `TryDecodeEntireStorage`
|
||||||
= note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
||||||
|
|||||||
@@ -1,8 +1,15 @@
|
|||||||
error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied
|
error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied
|
||||||
--> tests/pallet_ui/storage_info_unsatisfied.rs:26:12
|
--> tests/pallet_ui/storage_info_unsatisfied.rs:26:12
|
||||||
|
|
|
|
||||||
26 | #[pallet::pallet]
|
26 | #[pallet::pallet]
|
||||||
| ^^^^^^ the trait `MaxEncodedLen` is not implemented for `Bar`
|
| _______________^
|
||||||
|
27 | | pub struct Pallet<T>(core::marker::PhantomData<T>);
|
||||||
|
28 | |
|
||||||
|
29 | | #[pallet::hooks]
|
||||||
|
... |
|
||||||
|
38 | | #[pallet::storage]
|
||||||
|
39 | | type Foo<T> = StorageValue<_, Bar>;
|
||||||
|
| |____________^ the trait `MaxEncodedLen` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `MaxEncodedLen`:
|
= help: the following other types implement trait `MaxEncodedLen`:
|
||||||
bool
|
bool
|
||||||
|
|||||||
@@ -1,8 +1,15 @@
|
|||||||
error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied
|
error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied
|
||||||
--> tests/pallet_ui/storage_info_unsatisfied_nmap.rs:29:12
|
--> tests/pallet_ui/storage_info_unsatisfied_nmap.rs:29:12
|
||||||
|
|
|
|
||||||
29 | #[pallet::pallet]
|
29 | #[pallet::pallet]
|
||||||
| ^^^^^^ the trait `MaxEncodedLen` is not implemented for `Bar`
|
| _______________^
|
||||||
|
30 | | pub struct Pallet<T>(core::marker::PhantomData<T>);
|
||||||
|
31 | |
|
||||||
|
32 | | #[pallet::hooks]
|
||||||
|
... |
|
||||||
|
41 | | #[pallet::storage]
|
||||||
|
42 | | type Foo<T> = StorageNMap<_, Key<Twox64Concat, Bar>, u32>;
|
||||||
|
| |____________^ the trait `MaxEncodedLen` is not implemented for `Bar`
|
||||||
|
|
|
|
||||||
= help: the following other types implement trait `MaxEncodedLen`:
|
= help: the following other types implement trait `MaxEncodedLen`:
|
||||||
bool
|
bool
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ error: use of deprecated struct `pallet::_::Store`:
|
|||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
|
||||||
= note: `-D deprecated` implied by `-D warnings`
|
= note: `-D deprecated` implied by `-D warnings`
|
||||||
|
= help: to override `-D warnings` add `#[allow(deprecated)]`
|
||||||
|
|
||||||
error[E0446]: private type `_GeneratedPrefixForStorageFoo<T>` in public interface
|
error[E0446]: private type `_GeneratedPrefixForStorageFoo<T>` in public interface
|
||||||
--> tests/pallet_ui/store_trait_leak_private.rs:28:37
|
--> tests/pallet_ui/store_trait_leak_private.rs:28:37
|
||||||
|
|||||||
@@ -1,3 +1,21 @@
|
|||||||
|
error[E0603]: struct `RuntimeVersion` is private
|
||||||
|
--> tests/ui/impl_incorrect_method_signature.rs:37:27
|
||||||
|
|
|
||||||
|
37 | fn version() -> sp_api::RuntimeVersion {
|
||||||
|
| ^^^^^^^^^^^^^^ private struct
|
||||||
|
|
|
||||||
|
note: the struct `RuntimeVersion` is defined here
|
||||||
|
--> $WORKSPACE/substrate/primitives/api/src/lib.rs
|
||||||
|
|
|
||||||
|
| use sp_version::RuntimeVersion;
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
help: consider importing one of these items instead
|
||||||
|
|
|
||||||
|
37 | fn version() -> sp_api::__private::RuntimeVersion {
|
||||||
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
37 | fn version() -> sp_version::RuntimeVersion {
|
||||||
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
error[E0053]: method `test` has an incompatible type for trait
|
error[E0053]: method `test` has an incompatible type for trait
|
||||||
--> tests/ui/impl_incorrect_method_signature.rs:33:17
|
--> tests/ui/impl_incorrect_method_signature.rs:33:17
|
||||||
|
|
|
|
||||||
|
|||||||
+18
@@ -1,3 +1,21 @@
|
|||||||
|
error[E0603]: struct `RuntimeVersion` is private
|
||||||
|
--> tests/ui/type_reference_in_impl_runtime_apis_call.rs:39:27
|
||||||
|
|
|
||||||
|
39 | fn version() -> sp_api::RuntimeVersion {
|
||||||
|
| ^^^^^^^^^^^^^^ private struct
|
||||||
|
|
|
||||||
|
note: the struct `RuntimeVersion` is defined here
|
||||||
|
--> $WORKSPACE/substrate/primitives/api/src/lib.rs
|
||||||
|
|
|
||||||
|
| use sp_version::RuntimeVersion;
|
||||||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
help: consider importing one of these items instead
|
||||||
|
|
|
||||||
|
39 | fn version() -> sp_api::__private::RuntimeVersion {
|
||||||
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
39 | fn version() -> sp_version::RuntimeVersion {
|
||||||
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
error[E0053]: method `test` has an incompatible type for trait
|
error[E0053]: method `test` has an incompatible type for trait
|
||||||
--> tests/ui/type_reference_in_impl_runtime_apis_call.rs:33:17
|
--> tests/ui/type_reference_in_impl_runtime_apis_call.rs:33:17
|
||||||
|
|
|
|
||||||
|
|||||||
Reference in New Issue
Block a user