Fix broken pallet_shards benchmarks #36
Annotations
10 errors
try-runtime (testnet):
pallets/shards/src/lib.rs#L495
error[E0221]: ambiguous associated type `WeightInfo` in bounds of `T`
--> pallets/shards/src/lib.rs:495:4
|
124 | type WeightInfo: WeightInfo;
| --------------------------- ambiguous `WeightInfo` from `pallet::Config`
...
495 | T::WeightInfo::member_offline()
| ^^^^^^^^^^^^^ ambiguous associated type `WeightInfo`
|
= note: associated type `WeightInfo` could derive from `pallet_balances::Config`
help: use fully-qualified syntax to disambiguate
|
495 | <T as pallet::Config>::WeightInfo::member_offline()
| ~~~~~~~~~~~~~~~~~~~~~~~
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L124
error[E0221]: ambiguous associated type `WeightInfo` in bounds of `T`
--> pallets/shards/src/lib.rs:495:4
|
124 | type WeightInfo: WeightInfo;
| --------------------------- ambiguous `WeightInfo` from `pallet::Config`
...
495 | T::WeightInfo::member_offline()
| ^^^^^^^^^^^^^ ambiguous associated type `WeightInfo`
|
= note: associated type `WeightInfo` could derive from `pallet_balances::Config`
help: use fully-qualified syntax to disambiguate
|
495 | <T as pallet::Config>::WeightInfo::member_offline()
| ~~~~~~~~~~~~~~~~~~~~~~~
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L495
error[E0599]: no function or associated item named `member_offline` found for associated type `<T as pallet_balances::Config>::WeightInfo` in the current scope
--> pallets/shards/src/lib.rs:495:19
|
495 | T::WeightInfo::member_offline()
| ^^^^^^^^^^^^^^ function or associated item not found in `<T as Config>::WeightInfo`
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `pallet::WeightInfo` defines an item `member_offline`, perhaps you need to implement it
--> pallets/shards/src/lib.rs:90:2
|
90 | pub trait WeightInfo {
| ^^^^^^^^^^^^^^^^^^^^
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L233
error[E0221]: ambiguous associated type `WeightInfo` in bounds of `T`
--> pallets/shards/src/lib.rs:233:20
|
124 | type WeightInfo: WeightInfo;
| --------------------------- ambiguous `WeightInfo` from `pallet::Config`
...
233 | #[pallet::weight(T::WeightInfo::commit())]
| ^^^^^^^^^^^^^ ambiguous associated type `WeightInfo`
|
= note: associated type `WeightInfo` could derive from `pallet_balances::Config`
help: use fully-qualified syntax to disambiguate
|
233 | #[pallet::weight(<T as pallet::Config>::WeightInfo::commit())]
| ~~~~~~~~~~~~~~~~~~~~~~~
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L124
error[E0221]: ambiguous associated type `WeightInfo` in bounds of `T`
--> pallets/shards/src/lib.rs:233:20
|
124 | type WeightInfo: WeightInfo;
| --------------------------- ambiguous `WeightInfo` from `pallet::Config`
...
233 | #[pallet::weight(T::WeightInfo::commit())]
| ^^^^^^^^^^^^^ ambiguous associated type `WeightInfo`
|
= note: associated type `WeightInfo` could derive from `pallet_balances::Config`
help: use fully-qualified syntax to disambiguate
|
233 | #[pallet::weight(<T as pallet::Config>::WeightInfo::commit())]
| ~~~~~~~~~~~~~~~~~~~~~~~
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L233
error[E0599]: no function or associated item named `commit` found for associated type `<T as pallet_balances::Config>::WeightInfo` in the current scope
--> pallets/shards/src/lib.rs:233:35
|
233 | #[pallet::weight(T::WeightInfo::commit())]
| ^^^^^^ function or associated item not found in `<T as Config>::WeightInfo`
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `pallet::WeightInfo` defines an item `commit`, perhaps you need to implement it
--> pallets/shards/src/lib.rs:90:2
|
90 | pub trait WeightInfo {
| ^^^^^^^^^^^^^^^^^^^^
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L295
error[E0221]: ambiguous associated type `WeightInfo` in bounds of `T`
--> pallets/shards/src/lib.rs:295:20
|
124 | type WeightInfo: WeightInfo;
| --------------------------- ambiguous `WeightInfo` from `pallet::Config`
...
295 | #[pallet::weight(T::WeightInfo::ready())]
| ^^^^^^^^^^^^^ ambiguous associated type `WeightInfo`
|
= note: associated type `WeightInfo` could derive from `pallet_balances::Config`
help: use fully-qualified syntax to disambiguate
|
295 | #[pallet::weight(<T as pallet::Config>::WeightInfo::ready())]
| ~~~~~~~~~~~~~~~~~~~~~~~
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L124
error[E0221]: ambiguous associated type `WeightInfo` in bounds of `T`
--> pallets/shards/src/lib.rs:295:20
|
124 | type WeightInfo: WeightInfo;
| --------------------------- ambiguous `WeightInfo` from `pallet::Config`
...
295 | #[pallet::weight(T::WeightInfo::ready())]
| ^^^^^^^^^^^^^ ambiguous associated type `WeightInfo`
|
= note: associated type `WeightInfo` could derive from `pallet_balances::Config`
help: use fully-qualified syntax to disambiguate
|
295 | #[pallet::weight(<T as pallet::Config>::WeightInfo::ready())]
| ~~~~~~~~~~~~~~~~~~~~~~~
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L295
error[E0599]: no function or associated item named `ready` found for associated type `<T as pallet_balances::Config>::WeightInfo` in the current scope
--> pallets/shards/src/lib.rs:295:35
|
295 | #[pallet::weight(T::WeightInfo::ready())]
| ^^^^^ function or associated item not found in `<T as Config>::WeightInfo`
|
= help: items from traits can only be used if the trait is implemented and in scope
note: `pallet::WeightInfo` defines an item `ready`, perhaps you need to implement it
--> pallets/shards/src/lib.rs:90:2
|
90 | pub trait WeightInfo {
| ^^^^^^^^^^^^^^^^^^^^
|
try-runtime (testnet):
pallets/shards/src/lib.rs#L322
error[E0221]: ambiguous associated type `WeightInfo` in bounds of `T`
--> pallets/shards/src/lib.rs:322:20
|
124 | type WeightInfo: WeightInfo;
| --------------------------- ambiguous `WeightInfo` from `pallet::Config`
...
322 | #[pallet::weight(T::WeightInfo::force_shard_offline())]
| ^^^^^^^^^^^^^ ambiguous associated type `WeightInfo`
|
= note: associated type `WeightInfo` could derive from `pallet_balances::Config`
help: use fully-qualified syntax to disambiguate
|
322 | #[pallet::weight(<T as pallet::Config>::WeightInfo::force_shard_offline())]
| ~~~~~~~~~~~~~~~~~~~~~~~
|