mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 01:27:56 +00:00
Bump ci-linux to rust 1.69 (#14060)
* Pin ci-linux image for rust 1.69 * Update ui tests for rust 1.69 * Address new rust 1.69 clippy lints * `derive_hash_xor_eq` has been renamed to `derived_hash_with_manual_eq` * The new `extra-unused-type-parameters` complains about a bunch of callsites where extraneous type parameters are used for consistency with other functions.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
error[E0599]: no variant or associated item named `new_call_variant_thing` found for enum `Call` in the current scope
|
||||
error[E0599]: no variant or associated item named `new_call_variant_thing` found for enum `frame_support_test::Call` in the current scope
|
||||
--> tests/benchmark_ui/invalid_origin.rs:6:1
|
||||
|
|
||||
6 | #[benchmarks]
|
||||
|
||||
+15
-10
@@ -15,13 +15,14 @@ error: `Pallet` does not have #[pallet::inherent] defined, perhaps you should re
|
||||
|
|
||||
= 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` in the current scope
|
||||
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 struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
49 | construct_runtime! {
|
||||
| _^
|
||||
50 | | pub struct Runtime where
|
||||
51 | | Block = Block,
|
||||
52 | | NodeBlock = Block,
|
||||
@@ -35,13 +36,14 @@ error[E0599]: no function or associated item named `create_inherent` found for s
|
||||
candidate #1: `ProvideInherent`
|
||||
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0599]: no function or associated item named `is_inherent` found for struct `Pallet` in the current scope
|
||||
error[E0599]: no function or associated item named `is_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 `is_inherent` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
49 | construct_runtime! {
|
||||
| _^
|
||||
50 | | pub struct Runtime where
|
||||
51 | | Block = Block,
|
||||
52 | | NodeBlock = Block,
|
||||
@@ -55,13 +57,14 @@ error[E0599]: no function or associated item named `is_inherent` found for struc
|
||||
candidate #1: `ProvideInherent`
|
||||
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0599]: no function or associated item named `check_inherent` found for struct `Pallet` in the current scope
|
||||
error[E0599]: no function or associated item named `check_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 `check_inherent` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
49 | construct_runtime! {
|
||||
| _^
|
||||
50 | | pub struct Runtime where
|
||||
51 | | Block = Block,
|
||||
52 | | NodeBlock = Block,
|
||||
@@ -75,13 +78,14 @@ error[E0599]: no function or associated item named `check_inherent` found for st
|
||||
candidate #1: `ProvideInherent`
|
||||
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `Pallet` in the current scope
|
||||
error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `pallet::Pallet` in the current scope
|
||||
--> tests/construct_runtime_ui/undefined_inherent_part.rs:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| -------------------- associated item `INHERENT_IDENTIFIER` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
49 | construct_runtime! {
|
||||
| _^
|
||||
50 | | pub struct Runtime where
|
||||
51 | | Block = Block,
|
||||
52 | | NodeBlock = Block,
|
||||
@@ -95,13 +99,14 @@ error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `P
|
||||
candidate #1: `ProvideInherent`
|
||||
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0599]: no function or associated item named `is_inherent_required` found for struct `Pallet` in the current scope
|
||||
error[E0599]: no function or associated item named `is_inherent_required` 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 `is_inherent_required` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
49 | construct_runtime! {
|
||||
| _^
|
||||
50 | | pub struct Runtime where
|
||||
51 | | Block = Block,
|
||||
52 | | NodeBlock = Block,
|
||||
|
||||
+19
-14
@@ -18,24 +18,28 @@ error: `Pallet` does not have #[pallet::validate_unsigned] defined, perhaps you
|
||||
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! {
|
||||
50 | | pub struct 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
|
||||
49 | // construct_runtime! {
|
||||
50 | || pub struct Runtime where
|
||||
51 | || Block = Block,
|
||||
52 | || NodeBlock = Block,
|
||||
... ||
|
||||
55 | || System: frame_system::{Pallet, Call, Storage, Config, Event<T>},
|
||||
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` in the current scope
|
||||
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 struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
49 | construct_runtime! {
|
||||
| _^
|
||||
50 | | pub struct Runtime where
|
||||
51 | | Block = Block,
|
||||
52 | | NodeBlock = Block,
|
||||
@@ -50,13 +54,14 @@ error[E0599]: no function or associated item named `pre_dispatch` found for stru
|
||||
candidate #2: `ValidateUnsigned`
|
||||
= note: this error originates in the macro `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` in the current scope
|
||||
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:49:1
|
||||
|
|
||||
11 | pub struct Pallet<T>(_);
|
||||
| -------------------- function or associated item `validate_unsigned` not found for this struct
|
||||
...
|
||||
49 | / construct_runtime! {
|
||||
49 | construct_runtime! {
|
||||
| _^
|
||||
50 | | pub struct Runtime where
|
||||
51 | | Block = Block,
|
||||
52 | | NodeBlock = Block,
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
error[E0599]: no function or associated item named `foo` found for associated type `<T as Config>::WeightInfo` in the current scope
|
||||
error[E0599]: no function or associated item named `foo` found for associated type `<T as parentheses::Config>::WeightInfo` in the current scope
|
||||
--> tests/pallet_ui/call_weight_inherited_invalid4.rs:24:10
|
||||
|
|
||||
24 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
|
||||
| ^^^ function or associated item not found in `<T as Config>::WeightInfo`
|
||||
|
||||
error[E0599]: no function or associated item named `foo` found for associated type `<T as Config>::WeightInfo` in the current scope
|
||||
error[E0599]: no function or associated item named `foo` found for associated type `<T as assign::Config>::WeightInfo` in the current scope
|
||||
--> tests/pallet_ui/call_weight_inherited_invalid4.rs:45:10
|
||||
|
|
||||
45 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
|
||||
|
||||
+3
-3
@@ -8,7 +8,7 @@ note: required by a bound in `pallet::Config`
|
||||
--> tests/pallet_ui/type_value_forgotten_where_clause.rs:8:51
|
||||
|
|
||||
7 | pub trait Config: frame_system::Config
|
||||
| ------ required by a bound in this
|
||||
| ------ required by a bound in this trait
|
||||
8 | where <Self as frame_system::Config>::AccountId: From<u32>
|
||||
| ^^^^^^^^^ required by this bound in `Config`
|
||||
help: consider further restricting the associated type
|
||||
@@ -26,7 +26,7 @@ note: required by a bound in `pallet::Config`
|
||||
--> tests/pallet_ui/type_value_forgotten_where_clause.rs:8:51
|
||||
|
|
||||
7 | pub trait Config: frame_system::Config
|
||||
| ------ required by a bound in this
|
||||
| ------ required by a bound in this trait
|
||||
8 | where <Self as frame_system::Config>::AccountId: From<u32>
|
||||
| ^^^^^^^^^ required by this bound in `Config`
|
||||
help: consider further restricting the associated type
|
||||
@@ -44,7 +44,7 @@ note: required by a bound in `pallet::Config`
|
||||
--> tests/pallet_ui/type_value_forgotten_where_clause.rs:8:51
|
||||
|
|
||||
7 | pub trait Config: frame_system::Config
|
||||
| ------ required by a bound in this
|
||||
| ------ required by a bound in this trait
|
||||
8 | where <Self as frame_system::Config>::AccountId: From<u32>
|
||||
| ^^^^^^^^^ required by this bound in `Config`
|
||||
help: consider further restricting the associated type
|
||||
|
||||
Reference in New Issue
Block a user