mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Update UI tests for Rust 1.64 (#12440)
* Update UI tests for Rust 1.64 * Test with the staging image * Switch back to production
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ error: `Pallet` does not have the std feature enabled, this will cause the `test
|
||||
49 | | }
|
||||
| |_^
|
||||
|
|
||||
= note: this error originates in the macro `test_pallet::__substrate_genesis_config_check::is_std_enabled_for_genesis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the macro `test_pallet::__substrate_genesis_config_check::is_std_enabled_for_genesis` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0412]: cannot find type `GenesisConfig` in crate `test_pallet`
|
||||
--> tests/construct_runtime_ui/no_std_genesis_config.rs:40:1
|
||||
|
||||
+1
-1
@@ -10,4 +10,4 @@ error[E0080]: evaluation of constant value failed
|
||||
83 | | }
|
||||
| |_^ 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:74:1
|
||||
|
|
||||
= note: this error originates in the macro `$crate::panic::panic_2021` (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 `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
|
||||
58 | | }
|
||||
| |_- in this macro invocation
|
||||
|
|
||||
= note: this error originates in the macro `pallet::__substrate_call_check::is_call_part_defined` (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 `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
@@ -13,7 +13,7 @@ error: `Pallet` does not have #[pallet::event] defined, perhaps you should remov
|
||||
58 | | }
|
||||
| |_- in this macro invocation
|
||||
|
|
||||
= note: this error originates in the macro `pallet::__substrate_event_check::is_event_part_defined` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the macro `pallet::__substrate_event_check::is_event_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0412]: cannot find type `Event` in module `pallet`
|
||||
--> tests/construct_runtime_ui/undefined_event_part.rs:49:1
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ error: `Pallet` does not have #[pallet::genesis_config] defined, perhaps you sho
|
||||
58 | | }
|
||||
| |_- in this macro invocation
|
||||
|
|
||||
= note: this error originates in the macro `pallet::__substrate_genesis_config_check::is_genesis_config_defined` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the macro `pallet::__substrate_genesis_config_check::is_genesis_config_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0412]: cannot find type `GenesisConfig` in module `pallet`
|
||||
--> tests/construct_runtime_ui/undefined_genesis_config_part.rs:49:1
|
||||
|
||||
+6
-6
@@ -13,13 +13,13 @@ error: `Pallet` does not have #[pallet::inherent] defined, perhaps you should re
|
||||
58 | | }
|
||||
| |_- in this macro invocation
|
||||
|
|
||||
= note: this error originates in the macro `pallet::__substrate_inherent_check::is_inherent_part_defined` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the macro `pallet::__substrate_inherent_check::is_inherent_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0599]: no function or associated item named `create_inherent` found for struct `pallet::Pallet` in the current scope
|
||||
--> tests/construct_runtime_ui/undefined_inherent_part.rs:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| ------------------------ function or associated item `create_inherent` not found for this
|
||||
| -------------------- function or associated item `create_inherent` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
50 | | pub enum Runtime where
|
||||
@@ -39,7 +39,7 @@ error[E0599]: no function or associated item named `is_inherent` found for struc
|
||||
--> tests/construct_runtime_ui/undefined_inherent_part.rs:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| ------------------------ function or associated item `is_inherent` not found for this
|
||||
| -------------------- function or associated item `is_inherent` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
50 | | pub enum Runtime where
|
||||
@@ -59,7 +59,7 @@ error[E0599]: no function or associated item named `check_inherent` found for st
|
||||
--> tests/construct_runtime_ui/undefined_inherent_part.rs:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| ------------------------ function or associated item `check_inherent` not found for this
|
||||
| -------------------- function or associated item `check_inherent` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
50 | | pub enum Runtime where
|
||||
@@ -79,7 +79,7 @@ error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `p
|
||||
--> tests/construct_runtime_ui/undefined_inherent_part.rs:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| ------------------------ associated item `INHERENT_IDENTIFIER` not found for this
|
||||
| -------------------- associated item `INHERENT_IDENTIFIER` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
50 | | pub enum Runtime where
|
||||
@@ -99,7 +99,7 @@ error[E0599]: no function or associated item named `is_inherent_required` found
|
||||
--> tests/construct_runtime_ui/undefined_inherent_part.rs:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| ------------------------ function or associated item `is_inherent_required` not found for this
|
||||
| -------------------- function or associated item `is_inherent_required` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
50 | | pub enum Runtime where
|
||||
|
||||
+6
-2
@@ -13,7 +13,7 @@ error: `Pallet` does not have #[pallet::origin] defined, perhaps you should remo
|
||||
58 | | }
|
||||
| |_- in this macro invocation
|
||||
|
|
||||
= note: this error originates in the macro `pallet::__substrate_origin_check::is_origin_part_defined` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
= note: this error originates in the macro `pallet::__substrate_origin_check::is_origin_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0412]: cannot find type `Origin` in module `pallet`
|
||||
--> tests/construct_runtime_ui/undefined_origin_part.rs:49:1
|
||||
@@ -56,6 +56,10 @@ error[E0282]: type annotations needed
|
||||
... |
|
||||
57 | | }
|
||||
58 | | }
|
||||
| |_^ cannot infer type for type parameter `AccountId` declared on the enum `RawOrigin`
|
||||
| |_^ cannot infer type of the type parameter `AccountId` declared on the enum `RawOrigin`
|
||||
|
|
||||
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
help: consider specifying the generic argument
|
||||
|
|
||||
58 | }::<AccountId>
|
||||
| +++++++++++++
|
||||
|
||||
+13
-8
@@ -13,22 +13,27 @@ error: `Pallet` does not have #[pallet::validate_unsigned] defined, perhaps you
|
||||
58 | | }
|
||||
| |_- in this macro invocation
|
||||
|
|
||||
= note: this error originates in the macro `pallet::__substrate_validate_unsigned_check::is_validate_unsigned_part_defined` (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 `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:56:3
|
||||
|
|
||||
49 | construct_runtime! {
|
||||
| ------------------ variant or associated item `Pallet` not found here
|
||||
...
|
||||
56 | Pallet: pallet::{Pallet, ValidateUnsigned},
|
||||
| ^^^^^^ variant or associated item not found in `RuntimeCall`
|
||||
49 | / construct_runtime! {
|
||||
50 | | pub enum Runtime where
|
||||
51 | | Block = Block,
|
||||
52 | | NodeBlock = Block,
|
||||
... |
|
||||
56 | | Pallet: pallet::{Pallet, ValidateUnsigned},
|
||||
| | ^^^^^^ variant or associated item not found in `RuntimeCall`
|
||||
57 | | }
|
||||
58 | | }
|
||||
| |_- 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:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| ------------------------ function or associated item `pre_dispatch` not found for this
|
||||
| -------------------- function or associated item `pre_dispatch` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
50 | | pub enum Runtime where
|
||||
@@ -49,7 +54,7 @@ error[E0599]: no function or associated item named `validate_unsigned` found for
|
||||
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| ------------------------ function or associated item `validate_unsigned` not found for this
|
||||
| -------------------- function or associated item `validate_unsigned` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
50 | | pub enum Runtime where
|
||||
|
||||
Reference in New Issue
Block a user