You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be sure that I am using the up-to-date command to check and testorml
Running make check locally returns
error[E0405]: cannot find trait `GenesisBuild`in this scope
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/xcm/pallet-xcm/src/lib.rs:648:18
|
648 | impl<T: Config> GenesisBuild<T>for GenesisConfig {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
150 | use frame_support::traits::GenesisBuild;|
Running make test locally also fails with similar error in addition to the error similar to the one below in multiple files.
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:555:12
|
555 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
Full error for make test is shown below
olkadot-v1.0.0#a188eb95)
error[E0433]: failed to resolve: use of undeclared crate or module `sp_runtime`
--> /Users/cenwadike/.cargo/git/checkouts/cumulus-59522f43471fa161/a188eb9/parachains/pallets/parachain-info/src/lib.rs:52:12
|
52 |#[pallet::genesis_build]| ^^^^^^^^^^^^^ use of undeclared crate or module `sp_runtime`
error[E0405]: cannot find trait `GenesisBuild`in this scope
--> /Users/cenwadike/.cargo/git/checkouts/cumulus-59522f43471fa161/a188eb9/parachains/pallets/parachain-info/src/lib.rs:53:18
|
53 | impl<T: Config> GenesisBuild<T>for GenesisConfig {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
25 | use frame_support::traits::GenesisBuild;|
Some errors have detailed explanations: E0405, E0433.
For more information about an error, try `rustc --explain E0405`.
error: could not compile `parachain-info` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0405]: cannot find trait `GenesisBuild`in this scope
--> /Users/cenwadike/Dev/Workstation/OSS/open-runtime-module-library/tokens/src/lib.rs:433:18
|
433 | impl<T: Config> GenesisBuild<T>for GenesisConfig<T> {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
179 | use frame_support::traits::GenesisBuild;|
error[E0405]: cannot find trait `GenesisBuild`in this scope
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/xcm/pallet-xcm/src/lib.rs:648:18
|
648 | impl<T: Config> GenesisBuild<T>for GenesisConfig {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
150 | use frame_support::traits::GenesisBuild;|
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/xcm/pallet-xcm/src/lib.rs:1131:24
|
1131 |type BlockNumber = T::BlockNumber;| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/xcm/pallet-xcm/src/lib.rs:1138:15
|
1138 | timeout: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/xcm/pallet-xcm/src/lib.rs:1541:15
|
1541 | timeout: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/xcm/pallet-xcm/src/lib.rs:1586:15
|
1586 | timeout: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/xcm/pallet-xcm/src/lib.rs:1606:15
|
1606 | timeout: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/xcm/pallet-xcm/src/lib.rs:511:59
|
511 | StorageMap<_, Blake2_128Concat, QueryId, QueryStatus<T::BlockNumber>, OptionQuery>;| ^^^^^^^^^^^ associated type`BlockNumber` not found
Some errors have detailed explanations: E0220, E0405.
For more information about an error, try `rustc --explain E0220`.
error: could not compile `pallet-xcm` due to 7 previous errors
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/cumulus-59522f43471fa161/a188eb9/pallets/dmp-queue/src/lib.rs:142:23
|
142 | fn on_idle(_now: T::BlockNumber, max_weight: Weight) -> Weight {
| ^^^^^^^^^^^ there is a similarly named associated type`BlockNumber`in the trait `BlockNumberProvider`
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/Dev/Workstation/OSS/open-runtime-module-library/tokens/src/lib.rs:1277:19
|
1277 |type Moment = T::BlockNumber;| ^^^^^^^^^^^ there is a similarly named associated type`BlockNumber`in the trait `BlockNumberProvider`
For more information about this error, try `rustc --explain E0220`.
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/Dev/Workstation/OSS/open-runtime-module-library/tokens/src/lib.rs:2403:19
|
2403 |type Moment = T::BlockNumber;| ^^^^^^^^^^^ there is a similarly named associated type`BlockNumber`in the trait `BlockNumberProvider`
error: could not compile `cumulus-pallet-dmp-queue` due to previous error
error: could not compile `orml-tokens` due to 3 previous errors
error[E0405]: cannot find trait `GenesisBuild`in this scope
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:538:18
|
538 | impl<T: Config> GenesisBuild<T>for GenesisConfig<T> {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
478 | use frame_support::traits::GenesisBuild;|
error[E0576]: cannot find associated type`BlockNumber`in trait `frame_system::Config`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/disputes.rs:940:67
|
940 | post_conclusion_acceptance_period: <T as frame_system::Config>::BlockNumber,
| ^^^^^^^^^^^ not found in`frame_system::Config`
error[E0405]: cannot find trait `GenesisBuild`in this scope
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/hrmp.rs:444:18
|
444 | impl<T: Config> GenesisBuild<T>for GenesisConfig {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
235 | use frame_support::traits::GenesisBuild;|
error[E0405]: cannot find trait `GenesisBuild`in this scope
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/paras/mod.rs:776:18
|
776 | impl<T: Config> GenesisBuild<T>for GenesisConfig {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
531 | use frame_support::traits::GenesisBuild;|
error[E0576]: cannot find associated type`BlockNumber`in trait `frame_system::Config`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/runtime_api_impl/v5.rs:179:36
|
179 | ) -> (<T as frame_system::Config>::BlockNumber, <T as frame_system::Config>::Hash) {
| ^^^^^^^^^^^ not found in`frame_system::Config`
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:534:36
|
534 | pub config: HostConfiguration<T::BlockNumber>,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:555:12
|
555 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:571:12
|
571 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:587:12
|
587 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:668:12
|
668 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:684:12
|
684 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:700:12
|
700 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:771:12
|
771 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:1111:12
|
1111 | new: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/disputes.rs:450:13
|
450 | Revert(T::BlockNumber),
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/inclusion/mod.rs:1165:46
|
1165 | config: configuration::HostConfiguration<T::BlockNumber>,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/inclusion/mod.rs:1166:10
|
1166 | now: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/inclusion/mod.rs:1167:26
|
1167 | relay_parent_number: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/paras/mod.rs:839:28
|
839 | relay_parent_number: T::BlockNumber,
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`Header` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/paras_inherent/mod.rs:265:36
|
265 | data: ParachainsInherentData<T::Header>,
| ^^^^^^ associated type`Header` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:1186:48
|
1186 | pub(crate) fn initializer_initialize(_now: T::BlockNumber) -> Weight {
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:1200:31
|
1200 | ) -> SessionChangeOutcome<T::BlockNumber> {
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:1241:62
|
1241 | pub fn force_set_active_config(config: HostConfiguration<T::BlockNumber>) {
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:1261:50
|
1261 | updater: impl FnOnce(&mut HostConfiguration<T::BlockNumber>),
| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:513:40
|
513 | StorageValue<_, HostConfiguration<T::BlockNumber>, ValueQuery>;| ^^^^^^^^^^^ associated type`BlockNumber` not found
error[E0220]: associated type`BlockNumber` not found for`T`
--> /Users/cenwadike/.cargo/git/checkouts/polkadot-4038f27d5e4ea2e8/ff1c1d9/runtime/parachains/src/configuration.rs:524:59
|
524 | StorageValue<_, Vec<(SessionIndex, HostConfiguration<T::BlockNumber>)>, ValueQuery>;| ^^^^^^^^^^^ associated type`BlockNumber` not found
The text was updated successfully, but these errors were encountered:
I would like to be sure that I am using the up-to-date command to
check
andtest
orml
Running
make check
locally returnsRunning
make test
locally also fails with similar error in addition to the error similar to the one below in multiple files.Full error for
make test
is shown belowThe text was updated successfully, but these errors were encountered: