[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
@@ -23,133 +23,139 @@ error: use of deprecated constant `WhereSection::_w`:
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/substrate/frame/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied in `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ within `RuntimeEvent`, the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeEvent: Sized`
|
note: required because it appears within the type `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `Clone`
--> $RUST/core/src/clone.rs
|
| pub trait Clone: Sized {
| ^^^^^ required by this bound in `Clone`
= note: this error originates in the derive macro `Clone` 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 derive macro `Clone` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied in `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ within `RuntimeEvent`, the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeEvent: Sized`
|
note: required because it appears within the type `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `EncodeLike`
--> $CARGO/parity-scale-codec-3.6.5/src/encode_like.rs
|
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
| ^^^^^ required by this bound in `EncodeLike`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied in `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ within `RuntimeEvent`, the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeEvent: Sized`
|
note: required because it appears within the type `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `Decode`
--> $CARGO/parity-scale-codec-3.6.5/src/codec.rs
|
| pub trait Decode: Sized {
| ^^^^^ required by this bound in `Decode`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied in `frame_system::Event<Runtime>`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ within `frame_system::Event<Runtime>`, the trait `Config` is not implemented for `Runtime`, which is required by `frame_system::Event<Runtime>: Sized`
|
note: required because it appears within the type `Event<Runtime>`
note: required because it appears within the type `frame_system::Event<Runtime>`
--> $WORKSPACE/substrate/frame/system/src/lib.rs
|
| pub enum Event<T: Config> {
@@ -159,22 +165,21 @@ note: required by a bound in `From`
|
| pub trait From<T>: Sized {
| ^ required by this bound in `From`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied in `frame_system::Event<Runtime>`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ within `frame_system::Event<Runtime>`, the trait `Config` is not implemented for `Runtime`, which is required by `frame_system::Event<Runtime>: Sized`
|
note: required because it appears within the type `Event<Runtime>`
note: required because it appears within the type `frame_system::Event<Runtime>`
--> $WORKSPACE/substrate/frame/system/src/lib.rs
|
| pub enum Event<T: Config> {
@@ -184,22 +189,7 @@ note: required by a bound in `TryInto`
|
| pub trait TryInto<T>: Sized {
| ^ required by this bound in `TryInto`
= note: this error originates in the macro `frame_support::construct_runtime` 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
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
|
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -212,134 +202,157 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
error[E0277]: the trait bound `RawOrigin<_>: TryFrom<OriginCaller>` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `TryFrom<OriginCaller>` is not implemented for `RawOrigin<_>`
|
= help: the trait `TryFrom<OriginCaller>` is implemented for `RawOrigin<<Runtime as Config>::AccountId>`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`, which is required by `Pallet<Runtime>: Callable<Runtime>`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeCall: Sized`
|
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
note: required because it appears within the type `RuntimeCall`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `Clone`
--> $RUST/core/src/clone.rs
|
| pub trait Clone: Sized {
| ^^^^^ required by this bound in `Clone`
= note: this error originates in the derive macro `Clone` 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 derive macro `Clone` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeCall: Sized`
|
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
note: required because it appears within the type `RuntimeCall`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `EncodeLike`
--> $CARGO/parity-scale-codec-3.6.5/src/encode_like.rs
|
| pub trait EncodeLike<T: Encode = Self>: Sized + Encode {}
| ^^^^^ required by this bound in `EncodeLike`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeCall: Sized`
|
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
note: required because it appears within the type `RuntimeCall`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `Decode`
--> $CARGO/parity-scale-codec-3.6.5/src/codec.rs
|
| pub trait Decode: Sized {
| ^^^^^ required by this bound in `Decode`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeCall: Sized`
|
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
note: required because it appears within the type `RuntimeCall`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `frame_support::sp_runtime::traits::Dispatchable::Config`
--> $WORKSPACE/substrate/primitives/runtime/src/traits.rs
|
| type Config;
| ^^^^^^^^^^^^ required by this bound in `Dispatchable::Config`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:3
@@ -353,165 +366,124 @@ note: required by a bound in `GenesisConfig`
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
error[E0277]: the trait bound `Runtime: Config` is not satisfied in `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
|
note: required because it appears within the type `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
note: required by a bound in `Result`
--> $RUST/core/src/result.rs
|
| pub enum Result<T, E> {
| ^ required by this bound in `Result`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Decode` 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 in `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
|
note: required because it appears within the type `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
note: required by a bound in `TryInto`
--> $RUST/core/src/convert/mod.rs
|
| pub trait TryInto<T>: Sized {
| ^^^^^ required by this bound in `TryInto`
= note: this error originates in the macro `frame_support::construct_runtime` 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
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeCall: Sized`
|
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
note: required because it appears within the type `RuntimeCall`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
note: required by a bound in `Result`
--> $RUST/core/src/result.rs
|
| pub enum Result<T, E> {
| ^ required by this bound in `Result`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Decode` 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
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
|
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
note: required because it appears within the type `RuntimeCall`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
note: required by a bound in `frame_support::sp_runtime::traits::Dispatchable::Config`
--> $WORKSPACE/substrate/primitives/runtime/src/traits.rs
|
| type Config;
| ^^^^^^^^^^^^ required by this bound in `Dispatchable::Config`
= note: this error originates in the macro `frame_support::construct_runtime` 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
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
... |
|
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
note: required because it appears within the type `RuntimeCall`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | // construct_runtime! {
21 | || pub struct Runtime where
22 | || Block = Block,
23 | || NodeBlock = Block,
... ||
27 | || }
28 | || }
| ||_- in this macro invocation
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `frame_support::pallet_prelude::ValidateUnsigned::Call`
--> $WORKSPACE/substrate/primitives/runtime/src/traits.rs
|
| type Call;
| ^^^^^^^^^^ required by this bound in `ValidateUnsigned::Call`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied in `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ within `RuntimeEvent`, the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeEvent: Sized`
|
note: required because it appears within the type `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `Result`
--> $RUST/core/src/result.rs
|
| pub enum Result<T, E> {
| ^ required by this bound in `Result`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Decode` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied in `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ within `RuntimeEvent`, the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeEvent: Sized`
|
note: required because it appears within the type `RuntimeEvent`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `TryInto`
--> $RUST/core/src/convert/mod.rs
|
| pub trait TryInto<T>: Sized {
| ^^^^^ required by this bound in `TryInto`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`, which is required by `RuntimeCall: Sized`
|
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
note: required because it appears within the type `RuntimeCall`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
21 | | pub struct Runtime where
22 | | Block = Block,
23 | | NodeBlock = Block,
... |
27 | | }
28 | | }
| |_^
note: required by a bound in `Result`
--> $RUST/core/src/result.rs
|
| pub enum Result<T, E> {
| ^ required by this bound in `Result`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Decode` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -5,23 +5,16 @@ error: The number of pallets exceeds the maximum number of tuple elements. To in
| ^^^
error: recursion limit reached while expanding `frame_support::__private::tt_return!`
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:22:1
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:66:1
|
22 | / #[frame_support::pallet]
23 | | mod pallet {
24 | | #[pallet::config]
25 | | pub trait Config: frame_system::Config {}
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
... |
66 | |/ construct_runtime! {
67 | || pub struct Runtime
68 | || {
69 | || System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
... ||
180 | || }
181 | || }
| ||_^
| |_|
| in this macro invocation
180 | | }
181 | | }
| |_^
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`$CRATE`)
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -10,4 +10,4 @@ error[E0080]: evaluation of constant value failed
97 | | }
| |_^ the evaluated program panicked at 'The maximum encoded size of the error type in the `Pallet` pallet exceeds `MAX_MODULE_ERROR_ENCODED_SIZE`', $DIR/tests/construct_runtime_ui/pallet_error_too_large.rs:91:1
|
= note: this error originates in the macro `$crate::panic::panic_2021` 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 `$crate::panic::panic_2021` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -13,4 +13,4 @@ error: `Pallet` does not have #[pallet::call] defined, perhaps you should remove
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_call_check::is_call_part_defined` 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 `pallet::__substrate_call_check::is_call_part_defined` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -13,7 +13,7 @@ error: `Pallet` does not have #[pallet::validate_unsigned] defined, perhaps you
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_validate_unsigned_check::is_validate_unsigned_part_defined` 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 `pallet::__substrate_validate_unsigned_check::is_validate_unsigned_part_defined` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no variant or associated item named `Pallet` found for enum `RuntimeCall` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:70:3
@@ -26,54 +26,50 @@ error[E0599]: no variant or associated item named `Pallet` found for enum `Runti
| || -^^^^^^ variant or associated item not found in `RuntimeCall`
| ||________|
| |
... |
71 | | }
72 | | }
| |__- variant or associated item `Pallet` not found for this enum
error[E0599]: no function or associated item named `pre_dispatch` found for struct `pallet::Pallet` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `pre_dispatch` not found for this struct
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `pre_dispatch` not found for this struct
...
66 | construct_runtime! {
| __^
| | _|
| ||
67 | || pub struct Runtime
68 | || {
69 | || System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
70 | || Pallet: pallet::{Pallet, ValidateUnsigned},
71 | || }
72 | || }
| ||_- in this macro invocation
... |
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
70 | | Pallet: pallet::{Pallet, ValidateUnsigned},
71 | | }
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `pre_dispatch`, perhaps you need to implement one of them:
candidate #1: `SignedExtension`
candidate #2: `ValidateUnsigned`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `validate_unsigned` found for struct `pallet::Pallet` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `validate_unsigned` not found for this struct
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `validate_unsigned` not found for this struct
...
66 | construct_runtime! {
| __^
| | _|
| ||
67 | || pub struct Runtime
68 | || {
69 | || System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
70 | || Pallet: pallet::{Pallet, ValidateUnsigned},
71 | || }
72 | || }
| ||_- in this macro invocation
... |
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
70 | | Pallet: pallet::{Pallet, ValidateUnsigned},
71 | | }
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `validate_unsigned`, perhaps you need to implement one of them:
candidate #1: `SignedExtension`
candidate #2: `ValidateUnsigned`
= note: this error originates in the macro `frame_support::construct_runtime` 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::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)